From 99c93c0557672fc45201bb34fcead1bb2c30d478 Mon Sep 17 00:00:00 2001 From: Mikita Kuzniatsou Date: Tue, 19 Mar 2024 02:07:42 +0400 Subject: [PATCH] fixed documentation --- README.MD | 102 +- RELEASE_NOTES.MD | 72 +- codegen/README.MD | 137 +- pygqlmap/README.MD | 18 +- pyproject.toml | 15 +- setup.py | 12 +- tests/README.MD | 34 +- tests/output/gdbc/__init__.py | 0 tests/output/gdbc/country.py | 49 + tests/output/gdbc/country_region.py | 43 + tests/output/gdbc/enums.py | 73 +- tests/output/gdbc/gql_forward_reference.py | 45 + tests/output/gdbc/gql_simple_types.py | 112 +- tests/output/gdbc/gql_types.py | 681 +- tests/output/gdbc/gql_unions.py | 0 tests/output/gdbc/populated_place.py | 69 + tests/output/gdbc/populated_place_edge.py | 22 + tests/output/gdbc/queries.py | 289 - tests/output/gdbc/scalars.py | 16 +- tests/output/gdbc/type_refs.py | 6 - tests/output/gdbc_nodesc/__init__.py | 0 tests/output/gdbc_nodesc/country.py | 24 + tests/output/gdbc_nodesc/country_region.py | 22 + tests/output/gdbc_nodesc/enums.py | 45 +- .../gdbc_nodesc/gql_forward_reference.py | 45 + tests/output/gdbc_nodesc/gql_simple_types.py | 42 +- tests/output/gdbc_nodesc/gql_types.py | 350 +- tests/output/gdbc_nodesc/gql_unions.py | 0 tests/output/gdbc_nodesc/populated_place.py | 31 + .../gdbc_nodesc/populated_place_edge.py | 13 + tests/output/gdbc_nodesc/queries.py | 139 - tests/output/gdbc_nodesc/scalars.py | 8 +- tests/output/gdbc_nodesc/type_refs.py | 6 - tests/output/github/__init__.py | 0 tests/output/github/app.py | 51 + tests/output/github/branch_protection_rule.py | 126 + tests/output/github/check_suite.py | 78 + tests/output/github/commit.py | 171 + .../github/commit_comment_connection.py | 30 + .../output/github/contributions_collection.py | 173 + tests/output/github/deployment.py | 78 + tests/output/github/discussion.py | 171 + tests/output/github/discussion_comment.py | 137 + tests/output/github/discussion_poll.py | 40 + tests/output/github/enterprise.py | 85 + .../github/enterprise_server_installation.py | 43 + .../github/enterprise_server_user_account.py | 49 + tests/output/github/enums.py | 4375 +- tests/output/github/gist.py | 73 + tests/output/github/gql_forward_reference.py | 2203 + tests/output/github/gql_simple_types.py | 5426 +- tests/output/github/gql_types.py | 41603 ++++++---------- tests/output/github/gql_unions.py | 725 + .../github/ip_allow_list_entry_connection.py | 30 + tests/output/github/issue.py | 226 + tests/output/github/issue_comment.py | 121 + tests/output/github/issue_comment_edge.py | 22 + tests/output/github/merge_queue.py | 41 + tests/output/github/mutations.py | 4373 -- tests/output/github/organization.py | 327 + tests/output/github/package.py | 46 + tests/output/github/package_version.py | 51 + tests/output/github/project.py | 86 + tests/output/github/project_column.py | 50 + tests/output/github/project_v2.py | 112 + tests/output/github/project_v2_item.py | 59 + .../github/project_v2_item_connection.py | 30 + tests/output/github/pull_request.py | 370 + .../output/github/pull_request_connection.py | 30 + tests/output/github/pull_request_review.py | 138 + .../github/pull_request_review_comment.py | 162 + tests/output/github/queries.py | 634 - tests/output/github/reactable.py | 34 + tests/output/github/reaction_group.py | 35 + tests/output/github/ref.py | 54 + tests/output/github/release.py | 97 + tests/output/github/repository.py | 474 + tests/output/github/repository_ruleset.py | 55 + tests/output/github/scalars.py | 52 +- tests/output/github/security_advisory.py | 77 + .../sponsor_and_lifetime_value_connection.py | 30 + tests/output/github/sponsorable.py | 79 + tests/output/github/sponsors_listing.py | 98 + tests/output/github/sponsors_tier.py | 61 + tests/output/github/subscriptions.py | 30 - tests/output/github/team.py | 165 + tests/output/github/team_discussion.py | 91 + tests/output/github/topic.py | 41 + tests/output/github/type_refs.py | 36 - tests/output/github/user.py | 340 + tests/output/github/user_connection.py | 30 + tests/output/github/user_edge.py | 22 + tests/output/github/wa inconsistence.txt | 13 - tests/output/github/workflow_run.py | 61 + tests/output/github_nodesc/__init__.py | 0 tests/output/github_nodesc/app.py | 24 + .../github_nodesc/branch_protection_rule.py | 54 + tests/output/github_nodesc/check_suite.py | 39 + tests/output/github_nodesc/commit.py | 73 + .../commit_comment_connection.py | 17 + .../github_nodesc/contributions_collection.py | 72 + tests/output/github_nodesc/deployment.py | 37 + tests/output/github_nodesc/discussion.py | 74 + .../github_nodesc/discussion_comment.py | 56 + tests/output/github_nodesc/discussion_poll.py | 21 + tests/output/github_nodesc/enterprise.py | 37 + .../enterprise_server_installation.py | 22 + .../enterprise_server_user_account.py | 24 + tests/output/github_nodesc/enums.py | 3005 +- tests/output/github_nodesc/gist.py | 34 + .../github_nodesc/gql_forward_reference.py | 2203 + .../output/github_nodesc/gql_simple_types.py | 2667 +- tests/output/github_nodesc/gql_types.py | 20541 ++++---- tests/output/github_nodesc/gql_unions.py | 553 + .../ip_allow_list_entry_connection.py | 17 + tests/output/github_nodesc/issue.py | 101 + tests/output/github_nodesc/issue_comment.py | 51 + .../github_nodesc/issue_comment_edge.py | 13 + tests/output/github_nodesc/merge_queue.py | 22 + tests/output/github_nodesc/mutations.py | 2603 - tests/output/github_nodesc/organization.py | 138 + tests/output/github_nodesc/package.py | 25 + tests/output/github_nodesc/package_version.py | 26 + tests/output/github_nodesc/project.py | 39 + tests/output/github_nodesc/project_column.py | 25 + tests/output/github_nodesc/project_v2.py | 51 + tests/output/github_nodesc/project_v2_item.py | 30 + .../project_v2_item_connection.py | 17 + tests/output/github_nodesc/pull_request.py | 155 + .../github_nodesc/pull_request_connection.py | 17 + .../github_nodesc/pull_request_review.py | 61 + .../pull_request_review_comment.py | 69 + tests/output/github_nodesc/queries.py | 323 - tests/output/github_nodesc/reactable.py | 19 + tests/output/github_nodesc/reaction_group.py | 20 + tests/output/github_nodesc/ref.py | 29 + tests/output/github_nodesc/release.py | 44 + tests/output/github_nodesc/repository.py | 209 + .../github_nodesc/repository_ruleset.py | 28 + tests/output/github_nodesc/scalars.py | 50 +- .../output/github_nodesc/security_advisory.py | 36 + .../sponsor_and_lifetime_value_connection.py | 17 + tests/output/github_nodesc/sponsorable.py | 35 + .../output/github_nodesc/sponsors_listing.py | 40 + tests/output/github_nodesc/sponsors_tier.py | 27 + tests/output/github_nodesc/team.py | 72 + tests/output/github_nodesc/team_discussion.py | 40 + tests/output/github_nodesc/topic.py | 21 + tests/output/github_nodesc/type_refs.py | 36 - tests/output/github_nodesc/user.py | 145 + tests/output/github_nodesc/user_connection.py | 17 + tests/output/github_nodesc/user_edge.py | 13 + .../output/github_nodesc/wa inconsistence.txt | 14 - tests/output/github_nodesc/workflow_run.py | 30 + tests/output/rapidapi/enums.py | 703 - tests/output/rapidapi/gql_simple_types.py | 1362 - tests/output/rapidapi/gql_types.py | 4680 -- tests/output/rapidapi/mutations.py | 3106 -- tests/output/rapidapi/queries.py | 3534 -- tests/output/rapidapi/scalars.py | 21 - tests/output/rapidapi/type_refs.py | 4 - tests/output/rapidapi_nodesc/enums.py | 689 - .../rapidapi_nodesc/gql_simple_types.py | 1290 - tests/output/rapidapi_nodesc/gql_types.py | 4584 -- tests/output/rapidapi_nodesc/mutations.py | 2286 - tests/output/rapidapi_nodesc/queries.py | 2577 - tests/output/rapidapi_nodesc/scalars.py | 21 - tests/output/rapidapi_nodesc/type_refs.py | 4 - 168 files changed, 46693 insertions(+), 79486 deletions(-) create mode 100644 tests/output/gdbc/__init__.py create mode 100644 tests/output/gdbc/country.py create mode 100644 tests/output/gdbc/country_region.py create mode 100644 tests/output/gdbc/gql_forward_reference.py create mode 100644 tests/output/gdbc/gql_unions.py create mode 100644 tests/output/gdbc/populated_place.py create mode 100644 tests/output/gdbc/populated_place_edge.py delete mode 100644 tests/output/gdbc/queries.py delete mode 100644 tests/output/gdbc/type_refs.py create mode 100644 tests/output/gdbc_nodesc/__init__.py create mode 100644 tests/output/gdbc_nodesc/country.py create mode 100644 tests/output/gdbc_nodesc/country_region.py create mode 100644 tests/output/gdbc_nodesc/gql_forward_reference.py create mode 100644 tests/output/gdbc_nodesc/gql_unions.py create mode 100644 tests/output/gdbc_nodesc/populated_place.py create mode 100644 tests/output/gdbc_nodesc/populated_place_edge.py delete mode 100644 tests/output/gdbc_nodesc/queries.py delete mode 100644 tests/output/gdbc_nodesc/type_refs.py create mode 100644 tests/output/github/__init__.py create mode 100644 tests/output/github/app.py create mode 100644 tests/output/github/branch_protection_rule.py create mode 100644 tests/output/github/check_suite.py create mode 100644 tests/output/github/commit.py create mode 100644 tests/output/github/commit_comment_connection.py create mode 100644 tests/output/github/contributions_collection.py create mode 100644 tests/output/github/deployment.py create mode 100644 tests/output/github/discussion.py create mode 100644 tests/output/github/discussion_comment.py create mode 100644 tests/output/github/discussion_poll.py create mode 100644 tests/output/github/enterprise.py create mode 100644 tests/output/github/enterprise_server_installation.py create mode 100644 tests/output/github/enterprise_server_user_account.py create mode 100644 tests/output/github/gist.py create mode 100644 tests/output/github/gql_forward_reference.py create mode 100644 tests/output/github/gql_unions.py create mode 100644 tests/output/github/ip_allow_list_entry_connection.py create mode 100644 tests/output/github/issue.py create mode 100644 tests/output/github/issue_comment.py create mode 100644 tests/output/github/issue_comment_edge.py create mode 100644 tests/output/github/merge_queue.py delete mode 100644 tests/output/github/mutations.py create mode 100644 tests/output/github/organization.py create mode 100644 tests/output/github/package.py create mode 100644 tests/output/github/package_version.py create mode 100644 tests/output/github/project.py create mode 100644 tests/output/github/project_column.py create mode 100644 tests/output/github/project_v2.py create mode 100644 tests/output/github/project_v2_item.py create mode 100644 tests/output/github/project_v2_item_connection.py create mode 100644 tests/output/github/pull_request.py create mode 100644 tests/output/github/pull_request_connection.py create mode 100644 tests/output/github/pull_request_review.py create mode 100644 tests/output/github/pull_request_review_comment.py delete mode 100644 tests/output/github/queries.py create mode 100644 tests/output/github/reactable.py create mode 100644 tests/output/github/reaction_group.py create mode 100644 tests/output/github/ref.py create mode 100644 tests/output/github/release.py create mode 100644 tests/output/github/repository.py create mode 100644 tests/output/github/repository_ruleset.py create mode 100644 tests/output/github/security_advisory.py create mode 100644 tests/output/github/sponsor_and_lifetime_value_connection.py create mode 100644 tests/output/github/sponsorable.py create mode 100644 tests/output/github/sponsors_listing.py create mode 100644 tests/output/github/sponsors_tier.py delete mode 100644 tests/output/github/subscriptions.py create mode 100644 tests/output/github/team.py create mode 100644 tests/output/github/team_discussion.py create mode 100644 tests/output/github/topic.py delete mode 100644 tests/output/github/type_refs.py create mode 100644 tests/output/github/user.py create mode 100644 tests/output/github/user_connection.py create mode 100644 tests/output/github/user_edge.py delete mode 100644 tests/output/github/wa inconsistence.txt create mode 100644 tests/output/github/workflow_run.py create mode 100644 tests/output/github_nodesc/__init__.py create mode 100644 tests/output/github_nodesc/app.py create mode 100644 tests/output/github_nodesc/branch_protection_rule.py create mode 100644 tests/output/github_nodesc/check_suite.py create mode 100644 tests/output/github_nodesc/commit.py create mode 100644 tests/output/github_nodesc/commit_comment_connection.py create mode 100644 tests/output/github_nodesc/contributions_collection.py create mode 100644 tests/output/github_nodesc/deployment.py create mode 100644 tests/output/github_nodesc/discussion.py create mode 100644 tests/output/github_nodesc/discussion_comment.py create mode 100644 tests/output/github_nodesc/discussion_poll.py create mode 100644 tests/output/github_nodesc/enterprise.py create mode 100644 tests/output/github_nodesc/enterprise_server_installation.py create mode 100644 tests/output/github_nodesc/enterprise_server_user_account.py create mode 100644 tests/output/github_nodesc/gist.py create mode 100644 tests/output/github_nodesc/gql_forward_reference.py create mode 100644 tests/output/github_nodesc/gql_unions.py create mode 100644 tests/output/github_nodesc/ip_allow_list_entry_connection.py create mode 100644 tests/output/github_nodesc/issue.py create mode 100644 tests/output/github_nodesc/issue_comment.py create mode 100644 tests/output/github_nodesc/issue_comment_edge.py create mode 100644 tests/output/github_nodesc/merge_queue.py delete mode 100644 tests/output/github_nodesc/mutations.py create mode 100644 tests/output/github_nodesc/organization.py create mode 100644 tests/output/github_nodesc/package.py create mode 100644 tests/output/github_nodesc/package_version.py create mode 100644 tests/output/github_nodesc/project.py create mode 100644 tests/output/github_nodesc/project_column.py create mode 100644 tests/output/github_nodesc/project_v2.py create mode 100644 tests/output/github_nodesc/project_v2_item.py create mode 100644 tests/output/github_nodesc/project_v2_item_connection.py create mode 100644 tests/output/github_nodesc/pull_request.py create mode 100644 tests/output/github_nodesc/pull_request_connection.py create mode 100644 tests/output/github_nodesc/pull_request_review.py create mode 100644 tests/output/github_nodesc/pull_request_review_comment.py delete mode 100644 tests/output/github_nodesc/queries.py create mode 100644 tests/output/github_nodesc/reactable.py create mode 100644 tests/output/github_nodesc/reaction_group.py create mode 100644 tests/output/github_nodesc/ref.py create mode 100644 tests/output/github_nodesc/release.py create mode 100644 tests/output/github_nodesc/repository.py create mode 100644 tests/output/github_nodesc/repository_ruleset.py create mode 100644 tests/output/github_nodesc/security_advisory.py create mode 100644 tests/output/github_nodesc/sponsor_and_lifetime_value_connection.py create mode 100644 tests/output/github_nodesc/sponsorable.py create mode 100644 tests/output/github_nodesc/sponsors_listing.py create mode 100644 tests/output/github_nodesc/sponsors_tier.py create mode 100644 tests/output/github_nodesc/team.py create mode 100644 tests/output/github_nodesc/team_discussion.py create mode 100644 tests/output/github_nodesc/topic.py delete mode 100644 tests/output/github_nodesc/type_refs.py create mode 100644 tests/output/github_nodesc/user.py create mode 100644 tests/output/github_nodesc/user_connection.py create mode 100644 tests/output/github_nodesc/user_edge.py delete mode 100644 tests/output/github_nodesc/wa inconsistence.txt create mode 100644 tests/output/github_nodesc/workflow_run.py delete mode 100644 tests/output/rapidapi/enums.py delete mode 100644 tests/output/rapidapi/gql_simple_types.py delete mode 100644 tests/output/rapidapi/gql_types.py delete mode 100644 tests/output/rapidapi/mutations.py delete mode 100644 tests/output/rapidapi/queries.py delete mode 100644 tests/output/rapidapi/scalars.py delete mode 100644 tests/output/rapidapi/type_refs.py delete mode 100644 tests/output/rapidapi_nodesc/enums.py delete mode 100644 tests/output/rapidapi_nodesc/gql_simple_types.py delete mode 100644 tests/output/rapidapi_nodesc/gql_types.py delete mode 100644 tests/output/rapidapi_nodesc/mutations.py delete mode 100644 tests/output/rapidapi_nodesc/queries.py delete mode 100644 tests/output/rapidapi_nodesc/scalars.py delete mode 100644 tests/output/rapidapi_nodesc/type_refs.py diff --git a/README.MD b/README.MD index d0b393e..ff814e0 100644 --- a/README.MD +++ b/README.MD @@ -1,25 +1,16 @@ -[![Python package](https://github.com/dapalex/py-graphql-mapper/actions/workflows/python-package.yml/badge.svg)](https://github.com/dapalex/py-graphql-mapper/actions/workflows/python-package.yml) -[![Codacy Badge](https://app.codacy.com/project/badge/Grade/280533e425784f7da9ecb0f6e529886b)](https://www.codacy.com/gh/dapalex/py-graphql-mapper/dashboard?utm_source=github.com&utm_medium=referral&utm_content=dapalex/py-graphql-mapper&utm_campaign=Badge_Grade) --------------------------------------------------------------------------------- -# py-graphql-mapper -[![Code Generation Test](https://github.com/dapalex/py-graphql-mapper/actions/workflows/test-codegen.yml/badge.svg)](https://github.com/dapalex/py-graphql-mapper/actions/workflows/test-codegen.yml) -[![Pyhon-GraphQL Mapping Test](https://github.com/dapalex/py-graphql-mapper/actions/workflows/test-map.yml/badge.svg)](https://github.com/dapalex/py-graphql-mapper/actions/workflows/test-map.yml) +# graphql-dataclass -A python library to interact with GraphQL APIs with no need of hardcoded strings. +A python library to generate dataclasses for graphql schema. ## Introduction -This library acts as a mapper between python and GraphQL languages for GraphQL clients, allowing a code-first approach when calling a GraphQL API server. -It translates GraphQL entities into python objects and viceversa in order to avoid working with massive "copy&paste"s. +This library generates dataclasses which corresponding python code convention. Library is not working as client for graphql, only dataclasses mappers for GraphQL types This document contains a quick overview of the functionalities, for more details and options you can read here: -* [Code Generation](https://github.com/dapalex/py-graphql-mapper/blob/develop/codegen/README.MD) -* [Core Mapper](https://github.com/dapalex/py-graphql-mapper/blob/develop/pygqlmap/README.MD) -* [Use Cases](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/README.MD) +* [Code Generation](https://github.com/nikikuzi/graphql-dataclass/blob/develop/codegen/README.MD) - -The package does not use any third-party libraries, it relies only on python 3 (3.10+) standard libraries. +The package using [clean-py](https://github.com/samhardyhey/clean-py) library for generateed code formatting and also python 3 (3.10+) standard libraries. ## Usage in a nutshell @@ -29,7 +20,7 @@ The package does not use any third-party libraries, it relies only on python 3 ( Available in PyPI, the following command will install the library: ``` -pip install py-graphql-mapper +pip install graphql-dataclass ``` @@ -43,79 +34,20 @@ pgmcodegen generate ./pathToOutputFolder -apiArgs .//generatorAr This command requires a json file containing the parameters needed to get the GraphQL schema -![image](https://github.com/dapalex/py-graphql-mapper/blob/develop/docs/cli_args_nutshell.png) +![image](https://github.com/nikikuzi/graphql-dataclass/blob/develop/docs/cli_args_nutshell.png) -A sample is available in the main folder ['cli_args.json'](https://github.com/dapalex/py-graphql-mapper/blob/develop/cli_args.json). +A sample is available in the main folder ['cli_args.json'](https://github.com/nikikuzi/graphql-dataclass/blob/develop/cli_args.json). The following python files will be generated: -* enums.py -* scalars.py -* gql_simple_types.py -* gql_types.py -* type_refs.py -* queries.py -* mutations.py - -These links show code generated using the library [Github GraphQL API](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/output/github), [Rapid GraphQL API](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/output/rapidapi) and [GeoDBCities API](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/output/gdbc) - -More command options are available [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/codegen/README.MD#usage-via-command-line) - - -### Execution of a query - -Choose the query class you want to use from the generated file queries.py (or a mutation from mutations.py): - -Instantiate it adding GraphQL arguments if needed: -```python -from .output.gdbc.queries import currencies - -my_currencies = currencies(last=7, before='MTE=') -``` -or add them using the field _args_ - -```python -my_currencies._args.last = 7 -my_currencies._args.before = 'MTE=' -``` -Then call _export_gql_source_ property to pass the payload to the HTTP request: - -(example using _requests_ library) -```python -import requests - -response = requests.request('POST', url='https://geodb-cities-graphql.p.rapidapi.com/', - json= { "query": my_currencies.export_gql_source }, - headers={ - "content-type": "application/json", - "X-RapidAPI-Key": '123402mmri02fni230iif32jr420', - "X-RapidAPI-Host": "geodb-cities-graphql.p.rapidapi.com" - } - ) -``` - -More details on how to set a query [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/pygqlmap/README.MD#creation-of-an-operation) - - -### Retrieval of a response - -Obtained the response from the GraphQL API the following code will map the received json payload into the python object - -```python -from pygqlmap.network import GQLResponse - -gqlResponse = GQLResponse(response) - -gqlResponse.map_gqldata_to_obj(myCurrenciesQuery.type) - -print('Result object: ' + str(gqlResponse.result_obj)) -``` - -The mapped response from the GraphQL server will be available within _gqlResponse_ object: `_gqlResponse.result_obj_` - -More details [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/pygqlmap/README.MD#parsing-of-a-response) - +* scalars.py -> GraphQL scalar types as python type aliases +* enums.py -> GraphQL enum types as Enum classes +* gql_types.py -> GraphQL object types as classes +* gql_simple_types.py -> GraphQL object types as classes not using other object types +* unions.py -> GraphQL Unions as python Unions +* gql_forward_reference.py -> file with types forward references, [dacite](https://github.com/konradhalas/dacite)-compatible +* ${class_name}.py -> GraphQL object types as classes, which affected by circular dependencies -A suite of use cases [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/README.MD) +These links show code generated using the library [Github GraphQL API](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/output/github), and [GeoDBCities API](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/output/gdbc) -[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://github.com/sponsors/dapalex?frequency=one-time&sponsor=dapalex) +More command options are available [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/codegen/README.MD#usage-via-command-line) diff --git a/RELEASE_NOTES.MD b/RELEASE_NOTES.MD index 8bc3486..6c6321a 100644 --- a/RELEASE_NOTES.MD +++ b/RELEASE_NOTES.MD @@ -1,71 +1,11 @@ -# py-graphql-mapper Release Update - -## Release notes version: 1.1.2 - -Release date: Aug. 11, 2023 - -Changes - -* Extended visibility of fields feature allowing usage of symbol '*' in order to set same visibility for all fields in a type - -Bug fixes - -* Operations not exported when payload is scalar type -* List of custom scalar types unusable - -## Release notes version: 1.1.1 - -Release date: Jul. 2, 2023 - -Changes - -* Operation types not anymore based on the conventional "Query/Mutation" string definition but checking *__schema -> QueryType/MutationType -> name* definition - -Bug fixes - -* Queries having payload as list return only 1 element of the list: the issue has been solved, also the list type will not show anymore the element type fields - -## Release notes version: 1.1.0 - -Release date: Feb. 10, 2023 - -Features - -* Assignment of arguments using kwargs: other than using _arg object fields to set the arguments, now it is also possible to assign arguments using kwargs in the constructor of the parent object. - -Bug fixes - -* Check for NonNullability types: nonnull types will be recognized when using arguments and variables (setting ! in GraphQL syntax). - -Breaking changes: - -Implemented Pythonic naming convention. -The following signatures have changed: - -| Old | New | -|:---------|:-----------| -| fetchSchemaObject | fetch_schema_obj | -| querySchemaAndTypes | QUERY_SCHEMA_AND_TYPES | -| gqlTypes | gql_types | -| gqlArgBuiltin | arg_builtin | -| gqlOperations | gql_operations | -| exportGqlSource | export_gql_source | -| exportGQLVariables | export_gqlvariables | -| printMessageOutput | print_msg_out | -| mapGQLDataToObj | map_gqldata_to_obj | -| setShow | set_show | -| resultObject | result_obj | -| _argsType | _args_type | -| LiteralValues | LITERAL_VALUES | -| Variables | VARIABLES | - +# graphql-dataclass Release Update ## Release notes version: 1.0.0 -Release note date: Jan. 8, 2023 - -Overview +Release date: Mar. 19, 2024 -A python library to call a GraphQL API without using hardcoded strings. -Stable version allowing mapping of queries and mutations +Changes +* Removed graphql mutation/queries generation +* Added proper dataclasses generation without extra dependencies +* Added code cleanup of generated files to have(mostly automatic unused imports remove) \ No newline at end of file diff --git a/codegen/README.MD b/codegen/README.MD index 90ed585..3bd11a0 100644 --- a/codegen/README.MD +++ b/codegen/README.MD @@ -1,8 +1,8 @@ -# py-graphql-mapper - Generator +# graphql-dataclass - Generator ## Introduction -This module generates automatically python classes corresponding to schema GraphQL types, moreover it can save a GraphQL schema in json format. +This module generates automatically python dataclasses corresponding to GraphQL schema types, moreover it can download a GraphQL schema in json format. The generator can be launched through [command line](#usage-via-command-line) or [programmatically](#usage-programmatically). @@ -19,8 +19,8 @@ The generator can be launched through [command line](#usage-via-command-line) or Two functionalities are available: -1) Downloading a schema from a GraphQL server API -2) Generating python classes from a schema +1) Downloading a schema from a GraphQL server +2) Generating python dataclasses from a schema ## Usage programmatically @@ -40,7 +40,7 @@ schemaObject = fetch_schema_obj(, , QUERY_SC ### Generation -If a json schema is already available _build_schema_ can be used: +If json schema is already available _build_schema_ can be used: ```python from codegen.generator import build_schema @@ -48,7 +48,7 @@ from codegen.generator import build_schema schema_obj = build_schema(schema_json_str) ``` -Obtained the schema object the following function _CodeGenerator.generate_code_ has to be called: +After the schema object obtaining the following function _CodeGenerator.generate_code_ has to be called: ```python from codegen.generator import CodeGenerator @@ -66,6 +66,8 @@ Optional parameters: * log_progress: makes the generation verbose (default false) * add_desc: boolean telling if descriptions have to be added to the generated classes (default true) +* clean_folder: boolean, if True - output folder will be wiped before output generation, if False - changed filed will be re-writed, other files will be not changed. Default False +* create_forward_reference: if True - file with forward references dictionary will be generated. File can be used for dataclass converter library like [dacite](https://github.com/konradhalas/dacite). Default False _generate_code_ function will create the following python files containing the GraphQL schema objects as python classes: @@ -73,9 +75,9 @@ _generate_code_ function will create the following python files containing the G * enums.py -> GraphQL enum types as Enum classes * gql_types.py -> GraphQL object types as classes * gql_simple_types.py -> GraphQL object types as classes not using other object types -* queries.py -> GraphQL query types as classes and an Enum 'Queries' containing query names as name and query classes as value -* mutations.py -> mutation classes and an Enum 'Mutations' containing mutation names as name and mutation classes as value -* type_refs.py -> Only in case of objects containing recursive references this file will contain references to their types +* unions.py -> GraphQL Unions as python Unions +* gql_forward_reference.py -> file with types forward references, [dacite](https://github.com/konradhalas/dacite)-compatible +* ${class_name}.py -> GraphQL object types as classes, which affected by circular dependencies ## Usage via command line @@ -91,7 +93,7 @@ pgmcodegen download ./cmd_output/Github/schema.json -apiArgs ./downloaderArgs.js This command will create the file in _./cmd_output/Github/schema.json_ containing the schema in json version using the [information](#json-args-file) given in _./downloaderArgs.json_. -A few examples can be seen [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/gdbc_unittest.py#L9) and [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/gh_unittest.py#L13) +A few examples can be seen [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/gdbc_unittest.py#L9) and [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/gh_unittest.py#L13) ### Generation @@ -109,115 +111,20 @@ This command will generate python files in _./gdbc/_ relative folder using the [ This file is used by the generator command line interface, it contains: -```python +```json { - "addDescToGeneratedFiles": "True", # boolean telling if descriptions have to be added to the generated classes (strongly advised to be True) - ##USED FOR QUERYING A GRAPHQL SERVER - "apiURL": "https://mygraphqlapi.com/v2", # URL of the GraphQL server to query - "httpHeaders": { # HTTP Headers necessary to query the GraphQL server + "addDescToGeneratedFiles": true, // boolean telling if descriptions have to be added to the generated classes (strongly advised to be true) + "cleanOutputFolder": false, // clean or not output folder before generation + "createForwardReference": false, // create or not forward-reference file + // USED FOR QUERYING A GRAPHQL SERVER + "apiURL": "https://mygraphqlapi.com/v2", // URL of the GraphQL server to query + "httpHeaders": { // HTTP Headers necessary to query the GraphQL server "Authorization": "bearer abcdef12345678", "additionalHeader-content-type": "application/json" }, - ##USED FOR GENERATE COMMAND USING A SCHEMA FILE - "schemaFile": "./cmd_output/rapidapi/schema.json" # location of the json version of schema file + // USED FOR GENERATE COMMAND USING A SCHEMA FILE + "schemaFile": "./cmd_output/rapidapi/schema.json" // location of the json version of schema file } ``` -(_apiURL_, _httpHeaders_) and _schemaFile_ are mutually exclusive. - -## Using the generated files - -Classes generated in _mutations.py_ can be directly used for calling a GraphQL API. - -Supposed a generated mutation - -```python - -class createProject(GQLMutation): - """ - - input - Parameters for CreateProject - - """ - class createProjectArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AbortQueuedMigrations - - """ - input: CreateProjectInput ##NON NULL - - _args: createProjectArgs ##NON NULL - type: CreateProjectPayload - -``` - -having as input the following generated class - -```python -from pygqlmap.gql_types import ID - -class CreateProjectInput(): - """ - - ownerId - The owner ID to create the project under. - - name - The name of project. - - body - The description of project. - - template - The name of the GitHub-provided template. - - repositoryIds - A list of repository IDs to create as linked repositories for the project - - clientMutationId - A unique identifier for the client performing the mutation. - - """ - ownerId: ID ##NON NULL - name: str ##NON NULL - body: str - template: ProjectTemplate - repositoryIds: list[ID] ##NON NULL - clientMutationId: str - -``` - -The mutation class can be instantiated and defined - -```python -from .output.github.mutations import Mutations -from .output.github.types import CreateProjectInput - -mutation = Mutations.createProject.value() - -mutation.input.ownerId = 'MDQ6VXNlcjkxMzk2ODM3' -mutation.input.name = "Test create project from Mutation" + datetime.now().ctime() -mutation.input.repositoryIds = ["R_kgDOH7MI4g"] -``` - -then _export_gql_source_ function will be able to create the following GraphQL syntax: - -``` -mutation MycreateProjectMutation { - createProject ( input: { ownerId: "MDQ6VXNlcjkxMzk2ODM3", name: "Test create project from MutationMon Nov 21 10:19:09 2022", repositoryIds: ["R_kgDOH7MI4g"] } ) { - project { - id - } - } -} -``` - -Then executed using [pygqlmap](https://github.com/dapalex/py-graphql-mapper/blob/develop/pygqlmap/README.MD) - -```python -from pygqlmap.network import GQLResponse - -my_mutation = MycreateProjectMutation() -my_mutation.name = 'MycreateProjectMutation' - -response = request("POST", graphQLServerUrl, json=json={ "query": my_mutation.export_gql_source }, headers=headers) -gqlResponse = GQLResponse(response) - -print('Result object: ' + stringifyresult(gqlResponse.result_obj)) -``` - -It is possible also to create python classes manually (for a customized version for instance) using only [pygqlmap](https://github.com/dapalex/py-graphql-mapper/blob/develop/pygqlmap/README.MD) module. \ No newline at end of file +(_apiURL_, _httpHeaders_) and _schemaFile_ are mutually exclusive. \ No newline at end of file diff --git a/pygqlmap/README.MD b/pygqlmap/README.MD index f8e8d79..47570e5 100644 --- a/pygqlmap/README.MD +++ b/pygqlmap/README.MD @@ -52,7 +52,7 @@ myCustomObject { } ``` -A use case can be seen [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_test.py) +A use case can be seen [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_test.py) ### Adding arguments @@ -183,7 +183,7 @@ Calling the relating GraphQL API server (example using _requests_): response = request("POST", gql_url, json={ "query": query.export_gql_source }, headers=headers) ``` -Use cases can be seen [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/) +Use cases can be seen [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/) ### GQLMutation @@ -227,7 +227,7 @@ mutation myManualUpdateRepository { } ``` -Use cases can be seen [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstmutation/) +Use cases can be seen [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstmutation/) ### Arguments management @@ -280,13 +280,13 @@ request("POST", gql_url, json={ "query": query.export_gql_source, "variables": q Use cases for queries can be seen here: -[Object with arguments as literal values](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_args_literal_test.py) +[Object with arguments as literal values](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_args_literal_test.py) -[Object with arguments and variables ](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_args_vars_test.py) +[Object with arguments and variables ](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_args_vars_test.py) -[Connection with arguments as literal values](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/connobj_args_literal_test.py) +[Connection with arguments as literal values](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/connobj_args_literal_test.py) -[Connection with arguments and variables](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/connobj_args_vars_test.py) +[Connection with arguments and variables](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/connobj_args_vars_test.py) ## Dynamic visibility of fields @@ -349,10 +349,10 @@ query myQuery{ hiding _myCode_ and _fieldB_. -An use case can be seen [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_viewchange_test.py) +An use case can be seen [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_viewchange_test.py) It is possible also hiding all fields for a type using `*`. -An use case can be seen [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/complex_obj_test.py) +An use case can be seen [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/complex_obj_test.py) ## Parsing of a response diff --git a/pyproject.toml b/pyproject.toml index cc6dd6e..8acfd0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,12 +3,13 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] -name = "py-graphql-mapper" +name = "graphql-dataclass" authors = [ - { name="Alex Dap", email="shlisi2017@gmail.com" }, + { name="Alex Dap", email="shlisi2017@gmail.com" }, + { name="Mikita Kuzniatsou", email="nikikuzi@gmail.com" }, ] readme = "README.md" -keywords = ["python", "graphql", "mapping"] +keywords = ["python", "graphql", "mapping", "dataclass"] license = { file = "LICENSE" } requires-python = ">=3.10" classifiers = [ @@ -22,7 +23,7 @@ dynamic = ["version", "description"] pgmcodegen = "codegen.__main__:main" [project.urls] -"Homepage" = "https://github.com/dapalex/py-graphql-mapper/" -"Source Code" = "https://github.com/dapalex/py-graphql-mapper/tree/1.1.2" -"Bug Tracker" = "https://github.com/dapalex/py-graphql-mapper/issues" -"Release Notes" = "https://github.com/dapalex/py-graphql-mapper/tree/1.1.2/RELEASE_NOTES.MD" \ No newline at end of file +"Homepage" = "https://github.com/nikikuzi/graphql-dataclass/" +"Source Code" = "https://github.com/nikikuzi/graphql-dataclass/tree/1.0.0" +"Bug Tracker" = "https://github.com/nikikuzi/graphql-dataclass/issues" +"Release Notes" = "https://github.com/nikikuzi/graphql-dataclass/tree/1.0.0/RELEASE_NOTES.MD" \ No newline at end of file diff --git a/setup.py b/setup.py index 64dd1df..bebc336 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,12 @@ from setuptools import setup setup( - name='pygqlmap', - version='1.1.2', - url='https://github.com/dapalex/py-graphql-mapper/tree/1.1.2', - author='Alex Dap', - author_email='shlisi2017@gmail.com', - description='A python library to call GraphQL APIs without using hardcoded strings', + name='gqldataclass', + version='1.0.0', + url='https://github.com/nikikuzi/graphql-dataclass/tree/1.0.0', + author='Alex Dap, Mikita Kuzniatsou', + author_email='shlisi2017@gmail.com, nikikuzi@gmail.com', + description='A python library to generate dataclasses for GraphQL types', include_package_data=True, packages=['pygqlmap', 'pygqlmap.src', 'codegen', 'codegen.src', 'codegen.src.templates'], data_files=[('', ['pygqlmap/config.ini'])], diff --git a/tests/README.MD b/tests/README.MD index f211992..ebda87e 100644 --- a/tests/README.MD +++ b/tests/README.MD @@ -9,33 +9,33 @@ Tests have been made using: In order to launch the tests locally an API key has to be set for: - * GeoDBCities API [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/consts.py), available with a free subscription at https://rapidapi.com/wirefreethought/api/geodb-cities-graphql/ -* Github API [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/consts.py), available with a free subscription at https://github.com -* RapidAPI API [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/consts.py), available with a free subscription at https://rapidapi.com/ApiPlaygroundTestRapidapi/api/graphql-rapidapi-test/ + * GeoDBCities API [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/consts.py), available with a free subscription at https://rapidapi.com/wirefreethought/api/geodb-cities-graphql/ +* Github API [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/consts.py), available with a free subscription at https://github.com +* RapidAPI API [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/consts.py), available with a free subscription at https://rapidapi.com/ApiPlaygroundTestRapidapi/api/graphql-rapidapi-test/ ## Queries | Scenario | Description | Test case | |:---------|:-----------|:----------:| -| Querying a simple object type | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_test.py)| -| Querying a simple object type using arguments as literal values | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_args_literal_test.py) | -| Querying a simple object type using arguments and variables | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_args_vars_test.py) | -| Querying a simple object type changing the visibility of fields | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/simple_obj_viewchange_test.py) | -| Querying a connection | Create a GraphQL Query to fetch a GraphQL connection type and build the python class instance containing the data from the response | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/connobj_test.py) | -| Querying a connection using arguments as literal values | Create a GraphQL Query to fetch a GraphQL connection type using Args as literal values and build the python class instance containing the data from the response | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/connobj_args_literal_test.py) | -| Querying a connection using arguments and variables | Create a GraphQL Query to fetch a GraphQL connection type using Args and Variables and build the python class instance containing the data from the response | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/connobj_args_vars_test.py) | -| Querying a connection changing the visibility of fields | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/connobj_viewchange_test.py) | -| Querying a composed object | Create a GraphQL Query to fetch a GraphQL connection type using Args and Variables and build the python class instance containing the data from the response | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstquery/complex_obj_test.py) | - -Further queries can be found [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/unittests.py) +| Querying a simple object type | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_test.py)| +| Querying a simple object type using arguments as literal values | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_args_literal_test.py) | +| Querying a simple object type using arguments and variables | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_args_vars_test.py) | +| Querying a simple object type changing the visibility of fields | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/simple_obj_viewchange_test.py) | +| Querying a connection | Create a GraphQL Query to fetch a GraphQL connection type and build the python class instance containing the data from the response | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/connobj_test.py) | +| Querying a connection using arguments as literal values | Create a GraphQL Query to fetch a GraphQL connection type using Args as literal values and build the python class instance containing the data from the response | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/connobj_args_literal_test.py) | +| Querying a connection using arguments and variables | Create a GraphQL Query to fetch a GraphQL connection type using Args and Variables and build the python class instance containing the data from the response | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/connobj_args_vars_test.py) | +| Querying a connection changing the visibility of fields | Create a GraphQL Query to fetch a simple GraphQL type and build the python class instance containing the data from the response
_Note: This is only for descriptive purposes, the GraphQL server involved does not expose such a query, for real-world cases see other tests_ | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/connobj_viewchange_test.py) | +| Querying a composed object | Create a GraphQL Query to fetch a GraphQL connection type using Args and Variables and build the python class instance containing the data from the response | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstquery/complex_obj_test.py) | + +Further queries can be found [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/unittests.py) ## Mutations | Scenario | Description | Test case | |:---------|:-----------:|----------:| -| Executing a mutation with arguments as literal values | create a GraphQL Mutation to modify a GraphQL type and builds the python class instance containing the payload received from the response | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstmutation/mutation_test.py) | -| Executing a mutation manually created using only _pygqlmap_ with arguments as literal values | create a GraphQL Mutation to mutate a GraphQL type and builds the python class instance containing the payload received from the response | [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/tstmutation/manual_mutation_test.py) | +| Executing a mutation with arguments as literal values | create a GraphQL Mutation to modify a GraphQL type and builds the python class instance containing the payload received from the response | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstmutation/mutation_test.py) | +| Executing a mutation manually created using only _pygqlmap_ with arguments as literal values | create a GraphQL Mutation to mutate a GraphQL type and builds the python class instance containing the payload received from the response | [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/tstmutation/manual_mutation_test.py) | -Further tests can be found [here](https://github.com/dapalex/py-graphql-mapper/blob/develop/tests/unittests.py) +Further tests can be found [here](https://github.com/nikikuzi/graphql-dataclass/blob/develop/tests/unittests.py) diff --git a/tests/output/gdbc/__init__.py b/tests/output/gdbc/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/output/gdbc/country.py b/tests/output/gdbc/country.py new file mode 100644 index 0000000..30dbb7e --- /dev/null +++ b/tests/output/gdbc/country.py @@ -0,0 +1,49 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .country_region import CountryRegion + from .gql_types import CountryRegionsConnection + + +@dataclass(kw_only=True) +class Country: + """ + Country - A country + + code - The ISO-3166 country code + + callingCode - The country dialing prefix + + wikiDataId - The country WikiData id + + capital - The country's capital city + + name - The country name + + currencyCodes - A list of supported ISO-4217 currency codes + + flagImageUri - The country flag image + + numRegions - The number of regions in this country + + region - Look up a region in this country + + regions - Find regions in this country + + """ + + code: ID + calling_code: str + wiki_data_id: ID + capital: Optional[str] = None + name: str + currency_codes: list[str] + flag_image_uri: str + num_regions: int + region: Optional[CountryRegion] = None + regions: Optional[CountryRegionsConnection] = None diff --git a/tests/output/gdbc/country_region.py b/tests/output/gdbc/country_region.py new file mode 100644 index 0000000..a11ecd4 --- /dev/null +++ b/tests/output/gdbc/country_region.py @@ -0,0 +1,43 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .country import Country + from .gql_types import RegionPopulatedPlacesConnection + + +@dataclass(kw_only=True) +class CountryRegion: + """ + CountryRegion - A region in a country. This could be a state, province, district, or otherwise major political division. + + fipsCode - The region FIPS 10-4 code + + isoCode - The region ISO-3166 code + + wikiDataId - The region WikiData id + + name - The region name + + capital - The region's capital city + + country - The region's country + + numPopulatedPlaces - The number of populated places in this region + + populatedPlaces - Find populated places in this region + + """ + + fips_code: Optional[ID] = None + iso_code: ID + wiki_data_id: Optional[ID] = None + name: str + capital: Optional[str] = None + country: Country + num_populated_places: int + populated_places: Optional[RegionPopulatedPlacesConnection] = None diff --git a/tests/output/gdbc/enums.py b/tests/output/gdbc/enums.py index 011b9c5..fb5afeb 100644 --- a/tests/output/gdbc/enums.py +++ b/tests/output/gdbc/enums.py @@ -1,46 +1,49 @@ from enum import Enum + class DistanceUnit(Enum): - """ - DistanceUnit - The unit of distance to use when considering a distance arg (for example, in location-related criteria) + """ + DistanceUnit - The unit of distance to use when considering a distance arg (for example, in location-related criteria) + + """ + + KM = "KM" # Kilometers + MI = "MI" # Miles - """ - DEFAULT = None - KM = 'KM' ##Kilometers - MI = 'MI' ##Miles class IncludeDeletedFilterType(Enum): - """ - IncludeDeletedFilterType - What level of stale data is ok to pull + """ + IncludeDeletedFilterType - What level of stale data is ok to pull + + """ + + ALL = "ALL" # All data, regardless of if/when marked deleted + SINCE_YESTERDAY = "SINCE_YESTERDAY" # Only data not marked deleted before yesterday + SINCE_LAST_WEEK = "SINCE_LAST_WEEK" # Only data not marked deleted before last week + NONE = "NONE" # Only data not marked deleted - """ - DEFAULT = None - ALL = 'ALL' ##All data, regardless of if/when marked deleted - SINCE_YESTERDAY = 'SINCE_YESTERDAY' ##Only data not marked deleted before yesterday - SINCE_LAST_WEEK = 'SINCE_LAST_WEEK' ##Only data not marked deleted before last week - NONE = 'NONE' ##Only data not marked deleted class Language(Enum): - """ - Language - The languages currently supported - - """ - DEFAULT = None - DE = 'DE' ##German - EN = 'EN' ##English - ES = 'ES' ##Spanish - FR = 'FR' ##French - IT = 'IT' ##Italian - PT = 'PT' ##Portuguese - PT_BR = 'PT_BR' ##Portuguese (Brazil) - RU = 'RU' ##Russian + """ + Language - The languages currently supported + + """ + + DE = "DE" # German + EN = "EN" # English + ES = "ES" # Spanish + FR = "FR" # French + IT = "IT" # Italian + PT = "PT" # Portuguese + PT_BR = "PT_BR" # Portuguese (Brazil) + RU = "RU" # Russian + class PopulatedPlaceType(Enum): - """ - PopulatedPlaceType - The populated-place types currently supported - - """ - DEFAULT = None - ADM2 = 'ADM2' ##A level-2 administrative division (for example, a county) - CITY = 'CITY' ##A city, town, or village - ISLAND = 'ISLAND' ##An island + """ + PopulatedPlaceType - The populated-place types currently supported + + """ + + ADM2 = "ADM2" # A level-2 administrative division (for example, a county) + CITY = "CITY" # A city, town, or village diff --git a/tests/output/gdbc/gql_forward_reference.py b/tests/output/gdbc/gql_forward_reference.py new file mode 100644 index 0000000..1327bba --- /dev/null +++ b/tests/output/gdbc/gql_forward_reference.py @@ -0,0 +1,45 @@ +from .country import Country +from .country_region import CountryRegion +from .gql_types import ( + CountriesConnection, + CountryEdge, + CountryRegionEdge, + CountryRegionsConnection, + CurrenciesConnection, + Currency, + CurrencyEdge, + Locale, + LocaleEdge, + LocalesConnection, + NearbyPopulatedPlacesConnection, + PopulatedPlacesConnection, + RegionPopulatedPlacesConnection, + TimeZone, + TimeZoneEdge, + TimeZonesConnection, +) +from .populated_place import PopulatedPlace +from .populated_place_edge import PopulatedPlaceEdge + +forward_reference = { + "Currency": Currency, + "Locale": Locale, + "TimeZone": TimeZone, + "NearbyPopulatedPlacesConnection": NearbyPopulatedPlacesConnection, + "PopulatedPlace": PopulatedPlace, + "PopulatedPlaceEdge": PopulatedPlaceEdge, + "RegionPopulatedPlacesConnection": RegionPopulatedPlacesConnection, + "CountryRegion": CountryRegion, + "CountryRegionEdge": CountryRegionEdge, + "CountryRegionsConnection": CountryRegionsConnection, + "Country": Country, + "CountryEdge": CountryEdge, + "CountriesConnection": CountriesConnection, + "CurrencyEdge": CurrencyEdge, + "CurrenciesConnection": CurrenciesConnection, + "LocaleEdge": LocaleEdge, + "LocalesConnection": LocalesConnection, + "PopulatedPlacesConnection": PopulatedPlacesConnection, + "TimeZoneEdge": TimeZoneEdge, + "TimeZonesConnection": TimeZonesConnection, +} diff --git a/tests/output/gdbc/gql_simple_types.py b/tests/output/gdbc/gql_simple_types.py index d11596e..f4ee440 100644 --- a/tests/output/gdbc/gql_simple_types.py +++ b/tests/output/gdbc/gql_simple_types.py @@ -1,57 +1,55 @@ -from typing import Generic, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from .enums import * -from .scalars import * -from .type_refs import * - -class FRXHX_distance_Field(ArguedFloat): - """ - FRXHX_distance_Field - The distance result from some location-based query -This field has two forms: -- As a property (e.g., place.distance), returns the distance as part of a query returning places sorted by distance. -- As a function (e.g., place.distance(toPlaceId), returns the distance to the specified place. - - """ - class floatArgs(GQLArgsSet, GQLObject): - """ - toPlaceId - The distance to this place - - distanceUnit - The unit of distance to use - - """ - toPlaceId: ID - distanceUnit: DistanceUnit - - _args: floatArgs - - - -class TimeZone(GQLObject): - """ - TimeZone - A time-zone - - """ - id: ID - name: str - rawUtcOffsetHours: int - dateTime: str - time: str - -class Locale(GQLObject): - """ - Locale - A regional locale representing some country/language combination - - """ - code: ID - name: str - -class Currency(GQLObject): - """ - Currency - A country currency - - """ - countryCodes: list[ID] - code: ID - symbol: str +from dataclasses import dataclass +from typing import Optional + +from .enums import Language + + +@dataclass(kw_only=True) +class ConnectionPageInfo: + """ + ConnectionPageInfo - Info about the current connection page slice + + startCursor - The opaque id of the cursor representing the index of the first element in this page + + endCursor - The opaque id of the cursor representing the index of the last element in this page + + hasNextPage - Whether there are more pages in the results + + hasPreviousPage - Whether there are previous pages in the results + + """ + + start_cursor: str + end_cursor: str + has_next_page: bool + has_previous_page: bool + + +@dataclass(kw_only=True) +class DisplayOptions: + """ + DisplayOptions - How the results should be rendered + + asciiMode - Whether to display results using ASCII-only characters + + language - What language to display the results in + + """ + + ascii_mode: Optional[bool] = None + language: Optional[Language] = None + + +@dataclass(kw_only=True) +class Location: + """ + Location - Location GPS latitude/longitude coordinates + + latitude - DD.DDDD from -90 to 90 + + longitude - DD.DDDD from -180 to 180 + + """ + + latitude: Optional[float] = None + longitude: Optional[float] = None diff --git a/tests/output/gdbc/gql_types.py b/tests/output/gdbc/gql_types.py index 2223053..2820d63 100644 --- a/tests/output/gdbc/gql_types.py +++ b/tests/output/gdbc/gql_types.py @@ -1,615 +1,268 @@ -from typing import Generic, Union, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from typing import NewType -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * +from __future__ import annotations -class Location(GQLObject): - """ - Location - Location GPS latitude/longitude coordinates +from dataclasses import dataclass +from typing import TYPE_CHECKING - latitude - DD.DDDD from -90 to 90 +from .gql_simple_types import ConnectionPageInfo +from .scalars import ID - longitude - DD.DDDD from -180 to 180 +if TYPE_CHECKING: + from .country import Country + from .country_region import CountryRegion + from .populated_place_edge import PopulatedPlaceEdge - """ - latitude: float - longitude: float -class DisplayOptions(GQLObject): - """ - DisplayOptions - How the results should be rendered +@dataclass(kw_only=True) +class Currency: + """ + Currency - A country currency - asciiMode - Whether to display results using ASCII-only characters + """ - language - What language to display the results in + country_codes: list[ID] + code: ID + symbol: str - """ - asciiMode: bool - language: Language -class ConnectionPageInfo(GQLObject): - """ - ConnectionPageInfo - Info about the current connection page slice +@dataclass(kw_only=True) +class Locale: + """ + Locale - A regional locale representing some country/language combination - startCursor - The opaque id of the cursor representing the index of the first element in this page + """ - endCursor - The opaque id of the cursor representing the index of the last element in this page + code: ID + name: str - hasNextPage - Whether there are more pages in the results - hasPreviousPage - Whether there are previous pages in the results +@dataclass(kw_only=True) +class TimeZone: + """ + TimeZone - A time-zone - """ - startCursor: str - endCursor: str - hasNextPage: bool - hasPreviousPage: bool + """ -class TimeZoneEdge(GQLObject): - """ - TimeZoneEdge - When paging time-zones, wraps a time-zone node together with the cursor referencing its position in the results + id: ID + name: str + raw_utc_offset_hours: int + date_time: str + time: str - cursor - The cursor id referencing the position of this node in the results - node - The node value +@dataclass(kw_only=True) +class NearbyPopulatedPlacesConnection: + """ + NearbyPopulatedPlacesConnection - A pageable view into nearby populated-place results - """ - cursor: str - node: TimeZone + totalCount - The total number of results -class list_TimeZoneEdge(list, TimeZoneEdge): pass + edges - The edges in the current page of results -class TimeZonesConnection(GQLObject): - """ - TimeZonesConnection - A pageable view into time-zone results + pageInfo - Info about the current page of results - totalCount - The total number of results + """ - edges - The edges in the current page of results + total_count: int + edges: list[PopulatedPlaceEdge] + page_info: ConnectionPageInfo - pageInfo - Info about the current page of results - """ - totalCount: int - edges: list_TimeZoneEdge[TimeZoneEdge] - pageInfo: ConnectionPageInfo +@dataclass(kw_only=True) +class RegionPopulatedPlacesConnection: + """ + RegionPopulatedPlacesConnection - A pageable view into regional populated-place results -class list_GQLObject(list, GQLObject): pass + totalCount - The total number of results -class CountryPopulatedPlacesConnection(GQLObject): - """ - CountryPopulatedPlacesConnection - A pageable view into country populated-place results + edges - The edges in the current page of results - totalCount - The total number of results + pageInfo - Info about the current page of results - edges - The edges in the current page of results + """ - pageInfo - Info about the current page of results + total_count: int + edges: list[PopulatedPlaceEdge] + page_info: ConnectionPageInfo - """ - totalCount: int - edges: list_GQLObject[GQLObject] ## Circular Reference for PopulatedPlaceEdge - pageInfo: ConnectionPageInfo -class QRQPZ_RegionPopulatedPlacesConnection_Field(Generic[RegionPopulatedPlacesConnection]): - """ - QRQPZ_RegionPopulatedPlacesConnection_Field - Find populated places in this region +@dataclass(kw_only=True) +class CountryRegionEdge: + """ + CountryRegionEdge - When paging regions, wraps a region node together with the cursor referencing its position in the results - """ - class RegionPopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - """ - namePrefix - Only places whose names start with this prefix. If language is set, the prefix will be matched on the name as it appears in that language. + cursor - The cursor id referencing the position of this node in the results - namePrefixDefaultLangResults - When name-prefix matching, whether or not to match on names in the default language if a non-default language is requested. + node - The node value - minPopulation - Only places having at least this population + """ - maxPopulation - Only places having no more than this population + cursor: str + node: CountryRegion - timeZoneIds - Only places in these time-zones - types - Only places for these types +@dataclass(kw_only=True) +class CountryRegionsConnection: + """ + CountryRegionsConnection - A pageable view into region results - sort - How to sort place results -Format: ±SORT_FIELD,±SORT_FIELD -where SORT_FIELD = elevation | name | population + totalCount - The total number of results - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) + edges - The edges in the current page of results - after - The cursor id after which to get results + pageInfo - Info about the current page of results - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) + """ - before - The cursor id before which to get results + total_count: int + edges: list[CountryRegionEdge] + page_info: ConnectionPageInfo - includeDeleted - Whether to include any places marked deleted - """ - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - includeDeleted: IncludeDeletedFilterType +@dataclass(kw_only=True) +class CountryEdge: + """ + CountryEdge - When paging countries, wraps a country node together with the cursor referencing its position in the results - _args: RegionPopulatedPlacesConnectionArgs + cursor - The cursor id referencing the position of this node in the results + node - The node value + """ -class CountryRegion(GQLObject): - """ - CountryRegion - A region in a country. This could be a state, province, district, or otherwise major political division. + cursor: str + node: Country - fipsCode - The region FIPS 10-4 code - isoCode - The region ISO-3166 code +@dataclass(kw_only=True) +class CountriesConnection: + """ + CountriesConnection - A pageable view into country results - wikiDataId - The region WikiData id + totalCount - The total number of results - name - The region name + edges - The edges in the current page of results - capital - The region's capital city + pageInfo - Info about the current page of results - containingRegion - The region this region is in, if any + """ - country - The region's country + total_count: int + edges: list[CountryEdge] + page_info: ConnectionPageInfo - numPopulatedPlaces - The number of populated places in this region - populatedPlaces - Find populated places in this region +@dataclass(kw_only=True) +class CurrencyEdge: + """ + CurrencyEdge - When paging currencies, wraps a currency node together with the cursor referencing its position in the results - """ - fipsCode: ID - isoCode: ID - wikiDataId: ID - name: str - capital: str - containingRegion: NewType('CountryRegion', GQLObject) ## Circular Reference for CountryRegion - country: NewType('Country', GQLObject) ## Circular Reference for Country - numPopulatedPlaces: int - populatedPlaces: QRQPZ_RegionPopulatedPlacesConnection_Field ## Circular Reference for RegionPopulatedPlacesConnection + cursor - The cursor id referencing the position of this node in the results -class CountryRegionEdge(GQLObject): - """ - CountryRegionEdge - When paging regions, wraps a region node together with the cursor referencing its position in the results + node - The node value - cursor - The cursor id referencing the position of this node in the results + """ - node - The node value + cursor: str + node: Currency - """ - cursor: str - node: CountryRegion -class list_CountryRegionEdge(list, CountryRegionEdge): pass +@dataclass(kw_only=True) +class CurrenciesConnection: + """ + CurrenciesConnection - A pageable view into currency results -class CountryRegionsConnection(GQLObject): - """ - CountryRegionsConnection - A pageable view into region results + totalCount - The total number of results - totalCount - The total number of results + edges - The edges in the current page of results - edges - The edges in the current page of results + pageInfo - Info about the current page of results - pageInfo - Info about the current page of results + """ - """ - totalCount: int - edges: list_CountryRegionEdge[CountryRegionEdge] - pageInfo: ConnectionPageInfo + total_count: int + edges: list[CurrencyEdge] + page_info: ConnectionPageInfo -class VDSDT_CountryPopulatedPlacesConnection_Field(CountryPopulatedPlacesConnection): - """ - VDSDT_CountryPopulatedPlacesConnection_Field - Find populated places in this country - """ - class CountryPopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - """ - namePrefix - Only places whose names start with this prefix. If language is set, the prefix will be matched on the name as it appears in that language. +@dataclass(kw_only=True) +class LocaleEdge: + """ + LocaleEdge - When paging locales, wraps a locale node together with the cursor referencing its position in the results - namePrefixDefaultLangResults - When name-prefix matching, whether or not to match on names in the default language if a non-default language is requested. + cursor - The cursor id referencing the position of this node in the results - minPopulation - Only places having at least this population + node - The node value - maxPopulation - Only places having no more than this population + """ - timeZoneIds - Only places in these time-zones + cursor: str + node: Locale - types - Only places for these types - sort - How to sort place results -Format: ±SORT_FIELD,±SORT_FIELD -where SORT_FIELD = elevation | name | population +@dataclass(kw_only=True) +class LocalesConnection: + """ + LocalesConnection - A pageable view into locale results - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) + totalCount - The total number of results - after - The cursor id after which to get results + edges - The edges in the current page of results - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) + pageInfo - Info about the current page of results - before - The cursor id before which to get results + """ - includeDeleted - Whether to include any places marked deleted + total_count: int + edges: list[LocaleEdge] + page_info: ConnectionPageInfo - """ - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - includeDeleted: IncludeDeletedFilterType - _args: CountryPopulatedPlacesConnectionArgs +@dataclass(kw_only=True) +class PopulatedPlacesConnection: + """ + PopulatedPlacesConnection - A pageable view into populated-place results + totalCount - The total number of results + edges - The edges in the current page of results -class RHEOX_CountryRegion_Field(CountryRegion): - """ - RHEOX_CountryRegion_Field - Look up a region in this country + pageInfo - Info about the current page of results - """ - class CountryRegionArgs(GQLArgsSet, GQLObject): - """ - code - An ISO-3166 or FIPS region code + """ - """ - code: ID + total_count: int + edges: list[PopulatedPlaceEdge] + page_info: ConnectionPageInfo - _args: CountryRegionArgs +@dataclass(kw_only=True) +class TimeZoneEdge: + """ + TimeZoneEdge - When paging time-zones, wraps a time-zone node together with the cursor referencing its position in the results + cursor - The cursor id referencing the position of this node in the results -class HWGYK_CountryRegionsConnection_Field(CountryRegionsConnection): - """ - HWGYK_CountryRegionsConnection_Field - Find regions in this country + node - The node value - """ - class CountryRegionsConnectionArgs(GQLArgsSet, GQLObject): - """ - namePrefix - Only regions whose names start with this prefix. If language is set, the prefix will be matched on the name as it appears in that language. + """ - namePrefixDefaultLangResults - When name-prefix matching, whether or not to match on names in the default language if a non-default language is requested. + cursor: str + node: TimeZone - sort - How to sort regions -Format: ±SORT_FIELD -where SORT_FIELD = fipsCode | isoCode | name - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) +@dataclass(kw_only=True) +class TimeZonesConnection: + """ + TimeZonesConnection - A pageable view into time-zone results - after - The cursor id after which to get results + totalCount - The total number of results - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) + edges - The edges in the current page of results - before - The cursor id before which to get results + pageInfo - Info about the current page of results - """ - namePrefix: str - namePrefixDefaultLangResults: bool - sort: str - first: int - after: str - last: int - before: str + """ - _args: CountryRegionsConnectionArgs - - - -class Country(GQLObject): - """ - Country - A country - - code - The ISO-3166 country code - - callingCode - The country dialing prefix - - wikiDataId - The country WikiData id - - capital - The country's capital city - - name - The country name - - currencyCodes - A list of supported ISO-4217 currency codes - - flagImageUri - The country flag image - - numRegions - The number of regions in this country - - populatedPlaces - Find populated places in this country - - region - Look up a region in this country - - regions - Find regions in this country - - """ - code: ID - callingCode: str - wikiDataId: ID - capital: str - name: str - currencyCodes: list[str] - flagImageUri: str - numRegions: int - populatedPlaces: VDSDT_CountryPopulatedPlacesConnection_Field - region: RHEOX_CountryRegion_Field - regions: HWGYK_CountryRegionsConnection_Field - -class NearbyPopulatedPlacesConnection(GQLObject): - """ - NearbyPopulatedPlacesConnection - A pageable view into nearby populated-place results - - totalCount - The total number of results - - edges - The edges in the current page of results - - pageInfo - Info about the current page of results - - """ - totalCount: int - edges: list_GQLObject[GQLObject] ## Circular Reference for PopulatedPlaceEdge - pageInfo: ConnectionPageInfo - -class LCAZH_NearbyPopulatedPlacesConnection_Field(NearbyPopulatedPlacesConnection): - """ - LCAZH_NearbyPopulatedPlacesConnection_Field - Find nearby populated places - - """ - class NearbyPopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - """ - radius - The location radius within which to find places - - distanceUnit - The unit of distance to use - - countryIds - Only places in these countries - - excludedCountryIds - Only places NOT in these countries - - namePrefix - Only places whose names start with this prefix. If language is set, the prefix will be matched on the name as it appears in that language. - - namePrefixDefaultLangResults - When name-prefix matching, whether or not to match on names in the default language if a non-default language is requested. - - minPopulation - Only places having at least this population - - maxPopulation - Only places having no more than this population - - timeZoneIds - Only places in these time-zones - - types - Only places for these types - - sort - How to sort place results -Format: ±SORT_FIELD,±SORT_FIELD -where SORT_FIELD = countryCode | elevation | name | population - - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) - - after - The cursor id after which to get results - - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) - - before - The cursor id before which to get results - - includeDeleted - Whether to include any places marked deleted - - """ - radius: float - distanceUnit: DistanceUnit - countryIds: list[ID] - excludedCountryIds: list[ID] - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - includeDeleted: IncludeDeletedFilterType - - _args: NearbyPopulatedPlacesConnectionArgs - - - -class PopulatedPlace(GQLObject): - """ - PopulatedPlace - A place with some population of inhabitants - - id - The place native id - - wikiDataId - The place WikiData id - - name - The place name - - placeType - The place type - - elevationMeters - The place elevation (meters) above sea level - - latitude - The place latittude (-90.0 to 90.0) - - longitude - The place longitude (-180.0 to 180.0) - - population - The place population - - timezone - The place timezone id - - country - The place's country - - region - The place's region - - distance - The distance result from some location-based query -This field has two forms: -- As a property (e.g., place.distance), returns the distance as part of a query returning places sorted by distance. -- As a function (e.g., place.distance(toPlaceId), returns the distance to the specified place. - - locatedIn - The place containing this place, if any - - nearbyPopulatedPlaces - Find nearby populated places - - deleted - If this place has been marked deleted - - """ - id: ID - wikiDataId: ID - name: str - placeType: PopulatedPlaceType - elevationMeters: int - latitude: float - longitude: float - population: int - timezone: str - country: Country - region: CountryRegion - distance: FRXHX_distance_Field - locatedIn: NewType('PopulatedPlace', GQLObject) ## Circular Reference for PopulatedPlace - nearbyPopulatedPlaces: LCAZH_NearbyPopulatedPlacesConnection_Field - deleted: bool - -class PopulatedPlaceEdge(GQLObject): - """ - PopulatedPlaceEdge - When paging populated places, wraps a place node together with the cursor referencing its position in the results - - cursor - The cursor id referencing the position of this node in the results - - node - The node value - - """ - cursor: str - node: PopulatedPlace - -class list_PopulatedPlaceEdge(list, PopulatedPlaceEdge): pass - -class RegionPopulatedPlacesConnection(GQLObject): - """ - RegionPopulatedPlacesConnection - A pageable view into regional populated-place results - - totalCount - The total number of results - - edges - The edges in the current page of results - - pageInfo - Info about the current page of results - - """ - totalCount: int - edges: list_PopulatedPlaceEdge[PopulatedPlaceEdge] - pageInfo: ConnectionPageInfo - -class PopulatedPlacesConnection(GQLObject): - """ - PopulatedPlacesConnection - A pageable view into populated-place results - - totalCount - The total number of results - - edges - The edges in the current page of results - - pageInfo - Info about the current page of results - - """ - totalCount: int - edges: list_PopulatedPlaceEdge[PopulatedPlaceEdge] - pageInfo: ConnectionPageInfo - -class LocaleEdge(GQLObject): - """ - LocaleEdge - When paging locales, wraps a locale node together with the cursor referencing its position in the results - - cursor - The cursor id referencing the position of this node in the results - - node - The node value - - """ - cursor: str - node: Locale - -class list_LocaleEdge(list, LocaleEdge): pass - -class LocalesConnection(GQLObject): - """ - LocalesConnection - A pageable view into locale results - - totalCount - The total number of results - - edges - The edges in the current page of results - - pageInfo - Info about the current page of results - - """ - totalCount: int - edges: list_LocaleEdge[LocaleEdge] - pageInfo: ConnectionPageInfo - -class CurrencyEdge(GQLObject): - """ - CurrencyEdge - When paging currencies, wraps a currency node together with the cursor referencing its position in the results - - cursor - The cursor id referencing the position of this node in the results - - node - The node value - - """ - cursor: str - node: Currency - -class list_CurrencyEdge(list, CurrencyEdge): pass - -class CurrenciesConnection(GQLObject): - """ - CurrenciesConnection - A pageable view into currency results - - totalCount - The total number of results - - edges - The edges in the current page of results - - pageInfo - Info about the current page of results - - """ - totalCount: int - edges: list_CurrencyEdge[CurrencyEdge] - pageInfo: ConnectionPageInfo - -class CountryEdge(GQLObject): - """ - CountryEdge - When paging countries, wraps a country node together with the cursor referencing its position in the results - - cursor - The cursor id referencing the position of this node in the results - - node - The node value - - """ - cursor: str - node: Country - -class list_CountryEdge(list, CountryEdge): pass - -class CountriesConnection(GQLObject): - """ - CountriesConnection - A pageable view into country results - - totalCount - The total number of results - - edges - The edges in the current page of results - - pageInfo - Info about the current page of results - - """ - totalCount: int - edges: list_CountryEdge[CountryEdge] - pageInfo: ConnectionPageInfo + total_count: int + edges: list[TimeZoneEdge] + page_info: ConnectionPageInfo diff --git a/tests/output/gdbc/gql_unions.py b/tests/output/gdbc/gql_unions.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/output/gdbc/populated_place.py b/tests/output/gdbc/populated_place.py new file mode 100644 index 0000000..27613b0 --- /dev/null +++ b/tests/output/gdbc/populated_place.py @@ -0,0 +1,69 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import PopulatedPlaceType +from .scalars import ID + +if TYPE_CHECKING: + from .country import Country + from .country_region import CountryRegion + from .gql_types import NearbyPopulatedPlacesConnection + + +@dataclass(kw_only=True) +class PopulatedPlace: + """ + PopulatedPlace - A place with some population of inhabitants + + id - The place native id + + wikiDataId - The place WikiData id + + name - The place name + + placeType - The place type + + elevationMeters - The place elevation (meters) above sea level + + latitude - The place latittude (-90.0 to 90.0) + + longitude - The place longitude (-180.0 to 180.0) + + population - The place population + + timezone - The place timezone id + + country - The place's country + + region - The place's region + + distance - The distance result from some location-based query + This field has two forms: + - As a property (e.g., place.distance), returns the distance as part of a query returning places sorted by distance. + - As a function (e.g., place.distance(toPlaceId), returns the distance to the specified place. + + locatedIn - The place containing this place, if any + + nearbyPopulatedPlaces - Find nearby populated places + + deleted - If this place has been marked deleted + + """ + + id: ID + wiki_data_id: Optional[ID] = None + name: str + place_type: PopulatedPlaceType + elevation_meters: Optional[int] = None + latitude: Optional[float] = None + longitude: Optional[float] = None + population: int + timezone: str + country: Country + region: Optional[CountryRegion] = None + distance: Optional[float] = None + located_in: Optional["PopulatedPlace"] = None + nearby_populated_places: Optional[NearbyPopulatedPlacesConnection] = None + deleted: bool diff --git a/tests/output/gdbc/populated_place_edge.py b/tests/output/gdbc/populated_place_edge.py new file mode 100644 index 0000000..1201f93 --- /dev/null +++ b/tests/output/gdbc/populated_place_edge.py @@ -0,0 +1,22 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from .populated_place import PopulatedPlace + + +@dataclass(kw_only=True) +class PopulatedPlaceEdge: + """ + PopulatedPlaceEdge - When paging populated places, wraps a place node together with the cursor referencing its position in the results + + cursor - The cursor id referencing the position of this node in the results + + node - The node value + + """ + + cursor: str + node: PopulatedPlace diff --git a/tests/output/gdbc/queries.py b/tests/output/gdbc/queries.py deleted file mode 100644 index d3764c9..0000000 --- a/tests/output/gdbc/queries.py +++ /dev/null @@ -1,289 +0,0 @@ -from typing import List -from pygqlmap import GQLQuery -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class country(GQLQuery): - """ - country - Look up a country - - """ - class CountryArgs(GQLArgsSet, GQLObject): - """ - id - An ISO-3166 country code or WikiData id - - displayOptions - How to display the results - - """ - id: NonNull_ID - displayOptions: DisplayOptions - - _args: CountryArgs - - - type: Country - -class countries(GQLQuery): - """ - countries - Find countries, filtering by optional criteria. If no criteria are set, you will get back all known countries. - - """ - class CountriesConnectionArgs(GQLArgsSet, GQLObject): - """ - currencyCode - Only countries supporting this currency - - namePrefix - Only countries whose names start with this prefix. If language is set, the prefix will be matched on the name as it appears in that language. - - namePrefixDefaultLangResults - When name-prefix matching, whether or not to match on names in the default language if a non-default language is requested. - - sort - How to sort countries -Format: ±SORT_FIELD -where SORT_FIELD = code | name - - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) - - after - The cursor id after which to get results - - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) - - before - The cursor id before which to get results - - displayOptions - How to display the results - - """ - currencyCode: str - namePrefix: str - namePrefixDefaultLangResults: bool - sort: str - first: int - after: str - last: int - before: str - displayOptions: DisplayOptions - - _args: CountriesConnectionArgs - - - type: CountriesConnection - -class currencies(GQLQuery): - """ - currencies - Find currencies, filtering by optional criteria. If no criteria are set, you will get back all known currencies. - - """ - class CurrenciesConnectionArgs(GQLArgsSet, GQLObject): - """ - countryId - Currencies for this country id - - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) - - after - The cursor id after which to get results - - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) - - before - The cursor id before which to get results - - """ - countryId: ID - first: int - after: str - last: int - before: str - - _args: CurrenciesConnectionArgs - - - type: CurrenciesConnection - -class distanceBetween(GQLQuery): - """ - distanceBetween - Get the distance between any two places - - """ - class floatArgs(GQLArgsSet, GQLObject): - """ - fromPlaceId - From some place - - toPlaceId - To some place - - distanceUnit - The unit of distance to use - - """ - fromPlaceId: NonNull_ID - toPlaceId: NonNull_ID - distanceUnit: DistanceUnit - - _args: floatArgs - - - type: float - -class locales(GQLQuery): - """ - locales - Get all known locales - - """ - class LocalesConnectionArgs(GQLArgsSet, GQLObject): - """ - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) - - after - The cursor id after which to get results - - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) - - before - The cursor id before which to get results - - """ - first: int - after: str - last: int - before: str - - _args: LocalesConnectionArgs - - - type: LocalesConnection - -class populatedPlace(GQLQuery): - """ - populatedPlace - Look up a populated place - - """ - class PopulatedPlaceArgs(GQLArgsSet, GQLObject): - """ - id - A place id (either native id or Wikidata ID) - - displayOptions - How to display the results - - """ - id: NonNull_ID - displayOptions: DisplayOptions - - _args: PopulatedPlaceArgs - - - type: PopulatedPlace - -class populatedPlaces(GQLQuery): - """ - populatedPlaces - Find populated places, filtering by optional criteria. If no criteria are set, you will get back all known places. - - """ - class PopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - """ - location - Only places near this location - - radius - The location radius within which to find places - - distanceUnit - The unit of distance to use - - countryIds - Only places in these countries - - excludedCountryIds - Only places NOT in these countries - - namePrefix - Only places whose names start with this prefix. If language is set, the prefix will be matched on the name as it appears in that language. - - namePrefixDefaultLangResults - When name-prefix matching, whether or not to match on names in the default language if a non-default language is requested. - - minPopulation - Only places having at least this population - - maxPopulation - Only places having no more than this population - - timeZoneIds - Only places in these time-zones - - types - Only places for these types - - sort - How to sort places -Format: ±SORT_FIELD,±SORT_FIELD -where SORT_FIELD = countryCode | elevation | name | population - - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) - - after - The cursor id after which to get results - - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) - - before - The cursor id before which to get results - - displayOptions - How to display the results - - includeDeleted - Whether to include any places marked deleted - - """ - location: Location - radius: float - distanceUnit: DistanceUnit - countryIds: list[ID] - excludedCountryIds: list[ID] - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - displayOptions: DisplayOptions - includeDeleted: IncludeDeletedFilterType - - _args: PopulatedPlacesConnectionArgs - - - type: PopulatedPlacesConnection - -class timeZone(GQLQuery): - """ - timeZone - Look up a time-zone - - """ - class TimeZoneArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: TimeZoneArgs - - - type: TimeZone - -class timeZones(GQLQuery): - """ - timeZones - Get all known time-zones - - """ - class TimeZonesConnectionArgs(GQLArgsSet, GQLObject): - """ - first - How many results to retrieve from the beginning (or after the 'after' cursor, if specified) - - after - The cursor id after which to get results - - last - How many results to retrieve from the end (or before the 'before' cursor, if specified) - - before - The cursor id before which to get results - - """ - first: int - after: str - last: int - before: str - - _args: TimeZonesConnectionArgs - - - type: TimeZonesConnection - - -class Queries(Enum): - country = country - countries = countries - currencies = currencies - distanceBetween = distanceBetween - locales = locales - populatedPlace = populatedPlace - populatedPlaces = populatedPlaces - timeZone = timeZone - timeZones = timeZones diff --git a/tests/output/gdbc/scalars.py b/tests/output/gdbc/scalars.py index 1e1a412..e94cfa9 100644 --- a/tests/output/gdbc/scalars.py +++ b/tests/output/gdbc/scalars.py @@ -1,13 +1,15 @@ -from pygqlmap.gql_types import * +from pygqlmap.gql_types import ID -Boolean = bool ##Built-in Boolean +Boolean = bool # Built-in Boolean -Float = float ##Built-in Float -ID = ID ##Built-in ID +Float = float # Built-in Float -Int = int ##Built-in Int -String = str ##Built-in String +ID = ID # Built-in ID -distance = float ##The distance result from some location-based query - This field has two forms: - - As a property (e.g., place.distance), returns the distance as part of a query returning places sorted by distance. - - As a function (e.g., place.distance(toPlaceId), returns the distance to the specified place. + +Int = int # Built-in Int + + +String = str # Built-in String diff --git a/tests/output/gdbc/type_refs.py b/tests/output/gdbc/type_refs.py deleted file mode 100644 index bc49b32..0000000 --- a/tests/output/gdbc/type_refs.py +++ /dev/null @@ -1,6 +0,0 @@ -from typing import TypeVar, List -from pygqlmap.components import GQLObject -from pygqlmap.gql_types import ID - - -RegionPopulatedPlacesConnection = TypeVar('RegionPopulatedPlacesConnection', bound=GQLObject) diff --git a/tests/output/gdbc_nodesc/__init__.py b/tests/output/gdbc_nodesc/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/output/gdbc_nodesc/country.py b/tests/output/gdbc_nodesc/country.py new file mode 100644 index 0000000..ee5fe7d --- /dev/null +++ b/tests/output/gdbc_nodesc/country.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .country_region import CountryRegion + from .gql_types import CountryRegionsConnection + + +@dataclass(kw_only=True) +class Country: + code: ID + calling_code: str + wiki_data_id: ID + capital: Optional[str] = None + name: str + currency_codes: list[str] + flag_image_uri: str + num_regions: int + region: Optional[CountryRegion] = None + regions: Optional[CountryRegionsConnection] = None diff --git a/tests/output/gdbc_nodesc/country_region.py b/tests/output/gdbc_nodesc/country_region.py new file mode 100644 index 0000000..7504aa0 --- /dev/null +++ b/tests/output/gdbc_nodesc/country_region.py @@ -0,0 +1,22 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .country import Country + from .gql_types import RegionPopulatedPlacesConnection + + +@dataclass(kw_only=True) +class CountryRegion: + fips_code: Optional[ID] = None + iso_code: ID + wiki_data_id: Optional[ID] = None + name: str + capital: Optional[str] = None + country: Country + num_populated_places: int + populated_places: Optional[RegionPopulatedPlacesConnection] = None diff --git a/tests/output/gdbc_nodesc/enums.py b/tests/output/gdbc_nodesc/enums.py index e17ab1b..3d3e9c3 100644 --- a/tests/output/gdbc_nodesc/enums.py +++ b/tests/output/gdbc_nodesc/enums.py @@ -1,30 +1,33 @@ from enum import Enum + class DistanceUnit(Enum): - DEFAULT = None - KM = 'KM' ##Kilometers - MI = 'MI' ##Miles + + KM = "KM" # Kilometers + MI = "MI" # Miles + class IncludeDeletedFilterType(Enum): - DEFAULT = None - ALL = 'ALL' ##All data, regardless of if/when marked deleted - SINCE_YESTERDAY = 'SINCE_YESTERDAY' ##Only data not marked deleted before yesterday - SINCE_LAST_WEEK = 'SINCE_LAST_WEEK' ##Only data not marked deleted before last week - NONE = 'NONE' ##Only data not marked deleted + + ALL = "ALL" # All data, regardless of if/when marked deleted + SINCE_YESTERDAY = "SINCE_YESTERDAY" # Only data not marked deleted before yesterday + SINCE_LAST_WEEK = "SINCE_LAST_WEEK" # Only data not marked deleted before last week + NONE = "NONE" # Only data not marked deleted + class Language(Enum): - DEFAULT = None - DE = 'DE' ##German - EN = 'EN' ##English - ES = 'ES' ##Spanish - FR = 'FR' ##French - IT = 'IT' ##Italian - PT = 'PT' ##Portuguese - PT_BR = 'PT_BR' ##Portuguese (Brazil) - RU = 'RU' ##Russian + + DE = "DE" # German + EN = "EN" # English + ES = "ES" # Spanish + FR = "FR" # French + IT = "IT" # Italian + PT = "PT" # Portuguese + PT_BR = "PT_BR" # Portuguese (Brazil) + RU = "RU" # Russian + class PopulatedPlaceType(Enum): - DEFAULT = None - ADM2 = 'ADM2' ##A level-2 administrative division (for example, a county) - CITY = 'CITY' ##A city, town, or village - ISLAND = 'ISLAND' ##An island + + ADM2 = "ADM2" # A level-2 administrative division (for example, a county) + CITY = "CITY" # A city, town, or village diff --git a/tests/output/gdbc_nodesc/gql_forward_reference.py b/tests/output/gdbc_nodesc/gql_forward_reference.py new file mode 100644 index 0000000..1327bba --- /dev/null +++ b/tests/output/gdbc_nodesc/gql_forward_reference.py @@ -0,0 +1,45 @@ +from .country import Country +from .country_region import CountryRegion +from .gql_types import ( + CountriesConnection, + CountryEdge, + CountryRegionEdge, + CountryRegionsConnection, + CurrenciesConnection, + Currency, + CurrencyEdge, + Locale, + LocaleEdge, + LocalesConnection, + NearbyPopulatedPlacesConnection, + PopulatedPlacesConnection, + RegionPopulatedPlacesConnection, + TimeZone, + TimeZoneEdge, + TimeZonesConnection, +) +from .populated_place import PopulatedPlace +from .populated_place_edge import PopulatedPlaceEdge + +forward_reference = { + "Currency": Currency, + "Locale": Locale, + "TimeZone": TimeZone, + "NearbyPopulatedPlacesConnection": NearbyPopulatedPlacesConnection, + "PopulatedPlace": PopulatedPlace, + "PopulatedPlaceEdge": PopulatedPlaceEdge, + "RegionPopulatedPlacesConnection": RegionPopulatedPlacesConnection, + "CountryRegion": CountryRegion, + "CountryRegionEdge": CountryRegionEdge, + "CountryRegionsConnection": CountryRegionsConnection, + "Country": Country, + "CountryEdge": CountryEdge, + "CountriesConnection": CountriesConnection, + "CurrencyEdge": CurrencyEdge, + "CurrenciesConnection": CurrenciesConnection, + "LocaleEdge": LocaleEdge, + "LocalesConnection": LocalesConnection, + "PopulatedPlacesConnection": PopulatedPlacesConnection, + "TimeZoneEdge": TimeZoneEdge, + "TimeZonesConnection": TimeZonesConnection, +} diff --git a/tests/output/gdbc_nodesc/gql_simple_types.py b/tests/output/gdbc_nodesc/gql_simple_types.py index bfacca7..1c38860 100644 --- a/tests/output/gdbc_nodesc/gql_simple_types.py +++ b/tests/output/gdbc_nodesc/gql_simple_types.py @@ -1,32 +1,24 @@ -from typing import Generic, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from .enums import * -from .scalars import * -from .type_refs import * +from dataclasses import dataclass +from typing import Optional -class PFBPH_distance_Field(ArguedFloat): - class floatArgs(GQLArgsSet, GQLObject): - toPlaceId: ID - distanceUnit: DistanceUnit +from .enums import Language - _args: floatArgs +@dataclass(kw_only=True) +class ConnectionPageInfo: + start_cursor: str + end_cursor: str + has_next_page: bool + has_previous_page: bool -class TimeZone(GQLObject): - id: ID - name: str - rawUtcOffsetHours: int - dateTime: str - time: str +@dataclass(kw_only=True) +class DisplayOptions: + ascii_mode: Optional[bool] = None + language: Optional[Language] = None -class Locale(GQLObject): - code: ID - name: str -class Currency(GQLObject): - countryCodes: list[ID] - code: ID - symbol: str +@dataclass(kw_only=True) +class Location: + latitude: Optional[float] = None + longitude: Optional[float] = None diff --git a/tests/output/gdbc_nodesc/gql_types.py b/tests/output/gdbc_nodesc/gql_types.py index 69dc60e..6608de2 100644 --- a/tests/output/gdbc_nodesc/gql_types.py +++ b/tests/output/gdbc_nodesc/gql_types.py @@ -1,230 +1,120 @@ -from typing import Generic, Union, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from typing import NewType -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class Location(GQLObject): - latitude: float - longitude: float - -class DisplayOptions(GQLObject): - asciiMode: bool - language: Language - -class ConnectionPageInfo(GQLObject): - startCursor: str - endCursor: str - hasNextPage: bool - hasPreviousPage: bool - -class TimeZoneEdge(GQLObject): - cursor: str - node: TimeZone - -class list_TimeZoneEdge(list, TimeZoneEdge): pass - -class TimeZonesConnection(GQLObject): - totalCount: int - edges: list_TimeZoneEdge[TimeZoneEdge] - pageInfo: ConnectionPageInfo - -class list_GQLObject(list, GQLObject): pass - -class CountryPopulatedPlacesConnection(GQLObject): - totalCount: int - edges: list_GQLObject[GQLObject] ## Circular Reference for PopulatedPlaceEdge - pageInfo: ConnectionPageInfo - -class RDAZF_RegionPopulatedPlacesConnection_Field(Generic[RegionPopulatedPlacesConnection]): - class RegionPopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - includeDeleted: IncludeDeletedFilterType - - _args: RegionPopulatedPlacesConnectionArgs - - - -class CountryRegion(GQLObject): - fipsCode: ID - isoCode: ID - wikiDataId: ID - name: str - capital: str - containingRegion: NewType('CountryRegion', GQLObject) ## Circular Reference for CountryRegion - country: NewType('Country', GQLObject) ## Circular Reference for Country - numPopulatedPlaces: int - populatedPlaces: RDAZF_RegionPopulatedPlacesConnection_Field ## Circular Reference for RegionPopulatedPlacesConnection - -class CountryRegionEdge(GQLObject): - cursor: str - node: CountryRegion - -class list_CountryRegionEdge(list, CountryRegionEdge): pass - -class CountryRegionsConnection(GQLObject): - totalCount: int - edges: list_CountryRegionEdge[CountryRegionEdge] - pageInfo: ConnectionPageInfo - -class LUXDF_CountryPopulatedPlacesConnection_Field(CountryPopulatedPlacesConnection): - class CountryPopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - includeDeleted: IncludeDeletedFilterType - - _args: CountryPopulatedPlacesConnectionArgs - - - -class KRLEV_CountryRegion_Field(CountryRegion): - class CountryRegionArgs(GQLArgsSet, GQLObject): - code: ID - - _args: CountryRegionArgs - - - -class QJGAY_CountryRegionsConnection_Field(CountryRegionsConnection): - class CountryRegionsConnectionArgs(GQLArgsSet, GQLObject): - namePrefix: str - namePrefixDefaultLangResults: bool - sort: str - first: int - after: str - last: int - before: str - - _args: CountryRegionsConnectionArgs - - - -class Country(GQLObject): - code: ID - callingCode: str - wikiDataId: ID - capital: str - name: str - currencyCodes: list[str] - flagImageUri: str - numRegions: int - populatedPlaces: LUXDF_CountryPopulatedPlacesConnection_Field - region: KRLEV_CountryRegion_Field - regions: QJGAY_CountryRegionsConnection_Field - -class NearbyPopulatedPlacesConnection(GQLObject): - totalCount: int - edges: list_GQLObject[GQLObject] ## Circular Reference for PopulatedPlaceEdge - pageInfo: ConnectionPageInfo - -class VDGWH_NearbyPopulatedPlacesConnection_Field(NearbyPopulatedPlacesConnection): - class NearbyPopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - radius: float - distanceUnit: DistanceUnit - countryIds: list[ID] - excludedCountryIds: list[ID] - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - includeDeleted: IncludeDeletedFilterType - - _args: NearbyPopulatedPlacesConnectionArgs - - - -class PopulatedPlace(GQLObject): - id: ID - wikiDataId: ID - name: str - placeType: PopulatedPlaceType - elevationMeters: int - latitude: float - longitude: float - population: int - timezone: str - country: Country - region: CountryRegion - distance: PFBPH_distance_Field - locatedIn: NewType('PopulatedPlace', GQLObject) ## Circular Reference for PopulatedPlace - nearbyPopulatedPlaces: VDGWH_NearbyPopulatedPlacesConnection_Field - deleted: bool - -class PopulatedPlaceEdge(GQLObject): - cursor: str - node: PopulatedPlace - -class list_PopulatedPlaceEdge(list, PopulatedPlaceEdge): pass - -class RegionPopulatedPlacesConnection(GQLObject): - totalCount: int - edges: list_PopulatedPlaceEdge[PopulatedPlaceEdge] - pageInfo: ConnectionPageInfo - -class PopulatedPlacesConnection(GQLObject): - totalCount: int - edges: list_PopulatedPlaceEdge[PopulatedPlaceEdge] - pageInfo: ConnectionPageInfo - -class LocaleEdge(GQLObject): - cursor: str - node: Locale - -class list_LocaleEdge(list, LocaleEdge): pass - -class LocalesConnection(GQLObject): - totalCount: int - edges: list_LocaleEdge[LocaleEdge] - pageInfo: ConnectionPageInfo - -class CurrencyEdge(GQLObject): - cursor: str - node: Currency - -class list_CurrencyEdge(list, CurrencyEdge): pass - -class CurrenciesConnection(GQLObject): - totalCount: int - edges: list_CurrencyEdge[CurrencyEdge] - pageInfo: ConnectionPageInfo - -class CountryEdge(GQLObject): - cursor: str - node: Country - -class list_CountryEdge(list, CountryEdge): pass - -class CountriesConnection(GQLObject): - totalCount: int - edges: list_CountryEdge[CountryEdge] - pageInfo: ConnectionPageInfo +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +from .gql_simple_types import ConnectionPageInfo +from .scalars import ID + +if TYPE_CHECKING: + from .country import Country + from .country_region import CountryRegion + from .populated_place_edge import PopulatedPlaceEdge + + +@dataclass(kw_only=True) +class Currency: + country_codes: list[ID] + code: ID + symbol: str + + +@dataclass(kw_only=True) +class Locale: + code: ID + name: str + + +@dataclass(kw_only=True) +class TimeZone: + id: ID + name: str + raw_utc_offset_hours: int + date_time: str + time: str + + +@dataclass(kw_only=True) +class NearbyPopulatedPlacesConnection: + total_count: int + edges: list[PopulatedPlaceEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class RegionPopulatedPlacesConnection: + total_count: int + edges: list[PopulatedPlaceEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class CountryRegionEdge: + cursor: str + node: CountryRegion + + +@dataclass(kw_only=True) +class CountryRegionsConnection: + total_count: int + edges: list[CountryRegionEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class CountryEdge: + cursor: str + node: Country + + +@dataclass(kw_only=True) +class CountriesConnection: + total_count: int + edges: list[CountryEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class CurrencyEdge: + cursor: str + node: Currency + + +@dataclass(kw_only=True) +class CurrenciesConnection: + total_count: int + edges: list[CurrencyEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class LocaleEdge: + cursor: str + node: Locale + + +@dataclass(kw_only=True) +class LocalesConnection: + total_count: int + edges: list[LocaleEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class PopulatedPlacesConnection: + total_count: int + edges: list[PopulatedPlaceEdge] + page_info: ConnectionPageInfo + + +@dataclass(kw_only=True) +class TimeZoneEdge: + cursor: str + node: TimeZone + + +@dataclass(kw_only=True) +class TimeZonesConnection: + total_count: int + edges: list[TimeZoneEdge] + page_info: ConnectionPageInfo diff --git a/tests/output/gdbc_nodesc/gql_unions.py b/tests/output/gdbc_nodesc/gql_unions.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/output/gdbc_nodesc/populated_place.py b/tests/output/gdbc_nodesc/populated_place.py new file mode 100644 index 0000000..c9bc78e --- /dev/null +++ b/tests/output/gdbc_nodesc/populated_place.py @@ -0,0 +1,31 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import PopulatedPlaceType +from .scalars import ID + +if TYPE_CHECKING: + from .country import Country + from .country_region import CountryRegion + from .gql_types import NearbyPopulatedPlacesConnection + + +@dataclass(kw_only=True) +class PopulatedPlace: + id: ID + wiki_data_id: Optional[ID] = None + name: str + place_type: PopulatedPlaceType + elevation_meters: Optional[int] = None + latitude: Optional[float] = None + longitude: Optional[float] = None + population: int + timezone: str + country: Country + region: Optional[CountryRegion] = None + distance: Optional[float] = None + located_in: Optional["PopulatedPlace"] = None + nearby_populated_places: Optional[NearbyPopulatedPlacesConnection] = None + deleted: bool diff --git a/tests/output/gdbc_nodesc/populated_place_edge.py b/tests/output/gdbc_nodesc/populated_place_edge.py new file mode 100644 index 0000000..1693feb --- /dev/null +++ b/tests/output/gdbc_nodesc/populated_place_edge.py @@ -0,0 +1,13 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from .populated_place import PopulatedPlace + + +@dataclass(kw_only=True) +class PopulatedPlaceEdge: + cursor: str + node: PopulatedPlace diff --git a/tests/output/gdbc_nodesc/queries.py b/tests/output/gdbc_nodesc/queries.py deleted file mode 100644 index 6522b28..0000000 --- a/tests/output/gdbc_nodesc/queries.py +++ /dev/null @@ -1,139 +0,0 @@ -from typing import List -from pygqlmap import GQLQuery -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class country(GQLQuery): - class CountryArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - displayOptions: DisplayOptions - - _args: CountryArgs - - - type: Country - -class countries(GQLQuery): - class CountriesConnectionArgs(GQLArgsSet, GQLObject): - currencyCode: str - namePrefix: str - namePrefixDefaultLangResults: bool - sort: str - first: int - after: str - last: int - before: str - displayOptions: DisplayOptions - - _args: CountriesConnectionArgs - - - type: CountriesConnection - -class currencies(GQLQuery): - class CurrenciesConnectionArgs(GQLArgsSet, GQLObject): - countryId: ID - first: int - after: str - last: int - before: str - - _args: CurrenciesConnectionArgs - - - type: CurrenciesConnection - -class distanceBetween(GQLQuery): - class floatArgs(GQLArgsSet, GQLObject): - fromPlaceId: NonNull_ID - toPlaceId: NonNull_ID - distanceUnit: DistanceUnit - - _args: floatArgs - - - type: float - -class locales(GQLQuery): - class LocalesConnectionArgs(GQLArgsSet, GQLObject): - first: int - after: str - last: int - before: str - - _args: LocalesConnectionArgs - - - type: LocalesConnection - -class populatedPlace(GQLQuery): - class PopulatedPlaceArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - displayOptions: DisplayOptions - - _args: PopulatedPlaceArgs - - - type: PopulatedPlace - -class populatedPlaces(GQLQuery): - class PopulatedPlacesConnectionArgs(GQLArgsSet, GQLObject): - location: Location - radius: float - distanceUnit: DistanceUnit - countryIds: list[ID] - excludedCountryIds: list[ID] - namePrefix: str - namePrefixDefaultLangResults: bool - minPopulation: int - maxPopulation: int - timeZoneIds: list[ID] - types: list[str] - sort: str - first: int - after: str - last: int - before: str - displayOptions: DisplayOptions - includeDeleted: IncludeDeletedFilterType - - _args: PopulatedPlacesConnectionArgs - - - type: PopulatedPlacesConnection - -class timeZone(GQLQuery): - class TimeZoneArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: TimeZoneArgs - - - type: TimeZone - -class timeZones(GQLQuery): - class TimeZonesConnectionArgs(GQLArgsSet, GQLObject): - first: int - after: str - last: int - before: str - - _args: TimeZonesConnectionArgs - - - type: TimeZonesConnection - - -class Queries(Enum): - country = country - countries = countries - currencies = currencies - distanceBetween = distanceBetween - locales = locales - populatedPlace = populatedPlace - populatedPlaces = populatedPlaces - timeZone = timeZone - timeZones = timeZones diff --git a/tests/output/gdbc_nodesc/scalars.py b/tests/output/gdbc_nodesc/scalars.py index 33b2e3e..e0e5f9c 100644 --- a/tests/output/gdbc_nodesc/scalars.py +++ b/tests/output/gdbc_nodesc/scalars.py @@ -1,13 +1,15 @@ -from pygqlmap.gql_types import * +from pygqlmap.gql_types import ID Boolean = bool + Float = float + ID = ID + Int = int -String = str -distance = float +String = str diff --git a/tests/output/gdbc_nodesc/type_refs.py b/tests/output/gdbc_nodesc/type_refs.py deleted file mode 100644 index bc49b32..0000000 --- a/tests/output/gdbc_nodesc/type_refs.py +++ /dev/null @@ -1,6 +0,0 @@ -from typing import TypeVar, List -from pygqlmap.components import GQLObject -from pygqlmap.gql_types import ID - - -RegionPopulatedPlacesConnection = TypeVar('RegionPopulatedPlacesConnection', bound=GQLObject) diff --git a/tests/output/github/__init__.py b/tests/output/github/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/output/github/app.py b/tests/output/github/app.py new file mode 100644 index 0000000..f536762 --- /dev/null +++ b/tests/output/github/app.py @@ -0,0 +1,51 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .ip_allow_list_entry_connection import IpAllowListEntryConnection + + +@dataclass(kw_only=True) +class App: + """ + App - A GitHub App. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + description - The description of the app. + + id - The Node ID of the App object + + ipAllowListEntries - The IP addresses of the app. + + logoBackgroundColor - The hex color code, without the leading '#', for the logo background. + + logoUrl - A URL pointing to the app's logo. + + name - The name of the app. + + slug - A slug based on the name of the app for use in URLs. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The URL to the app's homepage. + + """ + + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + id: ID + ip_allow_list_entries: IpAllowListEntryConnection + logo_background_color: str + logo_url: URI + name: str + slug: str + updated_at: DateTime + url: URI diff --git a/tests/output/github/branch_protection_rule.py b/tests/output/github/branch_protection_rule.py new file mode 100644 index 0000000..125329b --- /dev/null +++ b/tests/output/github/branch_protection_rule.py @@ -0,0 +1,126 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import Actor +from .scalars import ID + +if TYPE_CHECKING: + from .repository import Repository + from .gql_types import BranchProtectionRuleConflictConnection + from .gql_types import RefConnection + from .gql_types import BypassForcePushAllowanceConnection + from .gql_types import BypassPullRequestAllowanceConnection + from .gql_types import PushAllowanceConnection + from .gql_types import RequiredStatusCheckDescription + from .gql_types import ReviewDismissalAllowanceConnection + + +@dataclass(kw_only=True) +class BranchProtectionRule: + """ + BranchProtectionRule - A branch protection rule. + + allowsDeletions - Can this branch be deleted. + + allowsForcePushes - Are force pushes allowed on this branch. + + blocksCreations - Is branch creation a protected operation. + + branchProtectionRuleConflicts - A list of conflicts matching branches protection rule and other branch protection rules + + bypassForcePushAllowances - A list of actors able to force push for this branch protection rule. + + bypassPullRequestAllowances - A list of actors able to bypass PRs for this branch protection rule. + + creator - The actor who created this branch protection rule. + + databaseId - Identifies the primary key from the database. + + dismissesStaleReviews - Will new commits pushed to matching branches dismiss pull request review approvals. + + id - The Node ID of the BranchProtectionRule object + + isAdminEnforced - Can admins override branch protection. + + lockAllowsFetchAndMerge - 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. + + lockBranch - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. + + matchingRefs - Repository refs that are protected by this rule + + pattern - Identifies the protection rule pattern. + + pushAllowances - A list push allowances for this branch protection rule. + + repository - The repository associated with this branch protection rule. + + requireLastPushApproval - Whether the most recent push must be approved by someone other than the person who pushed it + + requiredApprovingReviewCount - Number of approving reviews required to update matching branches. + + requiredDeploymentEnvironments - List of required deployment environments that must be deployed successfully to update matching branches + + requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. + + requiredStatusChecks - List of required status checks that must pass for commits to be accepted to matching branches. + + requiresApprovingReviews - Are approving reviews required to update matching branches. + + requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. + + requiresCommitSignatures - Are commits required to be signed. + + requiresConversationResolution - Are conversations required to be resolved before merging. + + requiresDeployments - Does this branch require deployment to specific environments before merging + + requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. + + requiresStatusChecks - Are status checks required to update matching branches. + + requiresStrictStatusChecks - Are branches required to be up to date before merging. + + restrictsPushes - Is pushing to matching branches restricted. + + restrictsReviewDismissals - Is dismissal of pull request reviews restricted. + + reviewDismissalAllowances - A list review dismissal allowances for this branch protection rule. + + """ + + allows_deletions: bool + allows_force_pushes: bool + blocks_creations: bool + branch_protection_rule_conflicts: BranchProtectionRuleConflictConnection + bypass_force_push_allowances: BypassForcePushAllowanceConnection + bypass_pull_request_allowances: BypassPullRequestAllowanceConnection + creator: Optional[Actor] = None + database_id: Optional[int] = None + dismisses_stale_reviews: bool + id: ID + is_admin_enforced: bool + lock_allows_fetch_and_merge: bool + lock_branch: bool + matching_refs: RefConnection + pattern: str + push_allowances: PushAllowanceConnection + repository: Optional[Repository] = None + require_last_push_approval: bool + required_approving_review_count: Optional[int] = None + required_deployment_environments: Optional[list[str]] = None + required_status_check_contexts: Optional[list[str]] = None + required_status_checks: Optional[list[RequiredStatusCheckDescription]] = None + requires_approving_reviews: bool + requires_code_owner_reviews: bool + requires_commit_signatures: bool + requires_conversation_resolution: bool + requires_deployments: bool + requires_linear_history: bool + requires_status_checks: bool + requires_strict_status_checks: bool + restricts_pushes: bool + restricts_review_dismissals: bool + review_dismissal_allowances: ReviewDismissalAllowanceConnection diff --git a/tests/output/github/check_suite.py b/tests/output/github/check_suite.py new file mode 100644 index 0000000..9d2b858 --- /dev/null +++ b/tests/output/github/check_suite.py @@ -0,0 +1,78 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CheckConclusionState, CheckStatusState +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .ref import Ref + from .app import App + from .user import User + from .repository import Repository + from .commit import Commit + from .workflow_run import WorkflowRun + from .gql_types import CheckRunConnection + from .gql_types import Push + + +@dataclass(kw_only=True) +class CheckSuite: + """ + CheckSuite - A check suite. + + app - The GitHub App which created this check suite. + + branch - The name of the branch for this check suite. + + checkRuns - The check runs associated with a check suite. + + commit - The commit for this check suite + + conclusion - The conclusion of this check suite. + + createdAt - Identifies the date and time when the object was created. + + creator - The user who triggered the check suite. + + databaseId - Identifies the primary key from the database. + + id - The Node ID of the CheckSuite object + + matchingPullRequests - A list of open pull requests matching the check suite. + + push - The push that triggered this check suite. + + repository - The repository associated with this check suite. + + resourcePath - The HTTP path for this check suite + + status - The status of this check suite. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this check suite + + workflowRun - The workflow run associated with this check suite. + + """ + + app: Optional[App] = None + branch: Optional[Ref] = None + check_runs: Optional[CheckRunConnection] = None + commit: Commit + conclusion: Optional[CheckConclusionState] = None + created_at: DateTime + creator: Optional[User] = None + database_id: Optional[int] = None + id: ID + matching_pull_requests: Optional[PullRequestConnection] = None + push: Optional[Push] = None + repository: Repository + resource_path: URI + status: CheckStatusState + updated_at: DateTime + url: URI + workflow_run: Optional[WorkflowRun] = None diff --git a/tests/output/github/commit.py b/tests/output/github/commit.py new file mode 100644 index 0000000..8fd82b5 --- /dev/null +++ b/tests/output/github/commit.py @@ -0,0 +1,171 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import SubscriptionState +from .scalars import HTML, ID, URI, DateTime, GitObjectID + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .organization import Organization + from .repository import Repository + from .commit_comment_connection import CommitCommentConnection + from .gql_types import DeploymentConnection + from .gql_types import SubmoduleConnection + from .gql_types import GitActor + from .gql_types import GitActorConnection + from .gql_types import Blame + from .gql_types import CheckSuiteConnection + from .gql_types import TreeEntry + from .gql_types import CommitHistoryConnection + from .gql_types import CommitConnection + from .gql_types import GitSignature + from .gql_types import Status + from .gql_types import StatusCheckRollup + from .gql_types import Tree + + +@dataclass(kw_only=True) +class Commit: + """ + Commit - Represents a Git commit. + + abbreviatedOid - An abbreviated version of the Git object ID + + additions - The number of additions in this commit. + + associatedPullRequests - The merged Pull Request that introduced the commit to the repository. If the + commit is not present in the default branch, additionally returns open Pull + Requests associated with the commit + + author - Authorship details of the commit. + + authoredByCommitter - Check if the committer and the author match. + + authoredDate - The datetime when this commit was authored. + + authors - The list of authors for this commit based on the git author and the Co-authored-by + message trailer. The git author will always be first. + + blame - Fetches `git blame` information. + + changedFilesIfAvailable - The number of changed files in this commit. If GitHub is unable to calculate + the number of changed files (for example due to a timeout), this will return + `null`. We recommend using this field instead of `changedFiles`. + + checkSuites - The check suites associated with a commit. + + comments - Comments made on the commit. + + commitResourcePath - The HTTP path for this Git object + + commitUrl - The HTTP URL for this Git object + + committedDate - The datetime when this commit was committed. + + committedViaWeb - Check if committed via GitHub web UI. + + committer - Committer details of the commit. + + deletions - The number of deletions in this commit. + + deployments - The deployments associated with a commit. + + file - The tree entry representing the file located at the given path. + + history - The linear commit history starting from (and including) this commit, in the same order as `git log`. + + id - The Node ID of the Commit object + + message - The Git commit message + + messageBody - The Git commit message body + + messageBodyHTML - The commit message body rendered to HTML. + + messageHeadline - The Git commit message headline + + messageHeadlineHTML - The commit message headline rendered to HTML. + + oid - The Git object ID + + onBehalfOf - The organization this commit was made on behalf of. + + parents - The parents of a commit. + + repository - The Repository this commit belongs to + + resourcePath - The HTTP path for this commit + + signature - Commit signing information, if present. + + status - Status information for this commit + + statusCheckRollup - Check and Status rollup information for this commit. + + submodules - Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. + + tarballUrl - Returns a URL to download a tarball archive for a repository. + Note: For private repositories, these links are temporary and expire after five minutes. + + tree - Commit's root Tree + + treeResourcePath - The HTTP path for the tree of this commit + + treeUrl - The HTTP URL for the tree of this commit + + url - The HTTP URL for this commit + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + zipballUrl - Returns a URL to download a zipball archive for a repository. + Note: For private repositories, these links are temporary and expire after five minutes. + + """ + + abbreviated_oid: str + additions: int + associated_pull_requests: Optional[PullRequestConnection] = None + author: Optional[GitActor] = None + authored_by_committer: bool + authored_date: DateTime + authors: GitActorConnection + blame: Blame + changed_files_if_available: Optional[int] = None + check_suites: Optional[CheckSuiteConnection] = None + comments: CommitCommentConnection + commit_resource_path: URI + commit_url: URI + committed_date: DateTime + committed_via_web: bool + committer: Optional[GitActor] = None + deletions: int + deployments: Optional[DeploymentConnection] = None + file: Optional[TreeEntry] = None + history: CommitHistoryConnection + id: ID + message: str + message_body: str + message_body_h_t_m_l: HTML + message_headline: str + message_headline_h_t_m_l: HTML + oid: GitObjectID + on_behalf_of: Optional[Organization] = None + parents: CommitConnection + repository: Repository + resource_path: URI + signature: Optional[GitSignature] = None + status: Optional[Status] = None + status_check_rollup: Optional[StatusCheckRollup] = None + submodules: SubmoduleConnection + tarball_url: URI + tree: Tree + tree_resource_path: URI + tree_url: URI + url: URI + viewer_can_subscribe: bool + viewer_subscription: Optional[SubscriptionState] = None + zipball_url: URI diff --git a/tests/output/github/commit_comment_connection.py b/tests/output/github/commit_comment_connection.py new file mode 100644 index 0000000..2ab51ae --- /dev/null +++ b/tests/output/github/commit_comment_connection.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .gql_types import PageInfo + from .gql_types import CommitComment + from .gql_types import CommitCommentEdge + + +@dataclass(kw_only=True) +class CommitCommentConnection: + """ + CommitCommentConnection - The connection type for CommitComment. + + edges - A list of edges. + + nodes - A list of nodes. + + pageInfo - Information to aid in pagination. + + totalCount - Identifies the total count of items in the connection. + + """ + + edges: Optional[list[CommitCommentEdge]] = None + nodes: Optional[list[CommitComment]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github/contributions_collection.py b/tests/output/github/contributions_collection.py new file mode 100644 index 0000000..e52f6ba --- /dev/null +++ b/tests/output/github/contributions_collection.py @@ -0,0 +1,173 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import Date, DateTime + +if TYPE_CHECKING: + from .user import User + from .gql_types import CommitContributionsByRepository + from .gql_types import ContributionCalendar + from .gql_types import CreatedIssueContribution + from .gql_unions import CreatedIssueOrRestrictedContribution + from .gql_types import CreatedPullRequestContribution + from .gql_unions import CreatedPullRequestOrRestrictedContribution + from .gql_unions import CreatedRepositoryOrRestrictedContribution + from .gql_types import CreatedIssueContributionConnection + from .gql_types import IssueContributionsByRepository + from .gql_types import JoinedGitHubContribution + from .gql_types import CreatedPullRequestContributionConnection + from .gql_types import PullRequestContributionsByRepository + from .gql_types import CreatedPullRequestReviewContributionConnection + from .gql_types import PullRequestReviewContributionsByRepository + from .gql_types import CreatedRepositoryContributionConnection + + +@dataclass(kw_only=True) +class ContributionsCollection: + """ + ContributionsCollection - A contributions collection aggregates contributions such as opened issues and commits created by a user. + + commitContributionsByRepository - Commit contributions made by the user, grouped by repository. + + contributionCalendar - A calendar of this user's contributions on GitHub. + + contributionYears - The years the user has been making contributions with the most recent year first. + + doesEndInCurrentMonth - Determine if this collection's time span ends in the current month. + + earliestRestrictedContributionDate - The date of the first restricted contribution the user made in this time + period. Can only be non-null when the user has enabled private contribution counts. + + endedAt - The ending date and time of this collection. + + firstIssueContribution - The first issue the user opened on GitHub. This will be null if that issue was + opened outside the collection's time range and ignoreTimeRange is false. If + the issue is not visible but the user has opted to show private contributions, + a RestrictedContribution will be returned. + + firstPullRequestContribution - The first pull request the user opened on GitHub. This will be null if that + pull request was opened outside the collection's time range and + ignoreTimeRange is not true. If the pull request is not visible but the user + has opted to show private contributions, a RestrictedContribution will be returned. + + firstRepositoryContribution - The first repository the user created on GitHub. This will be null if that + first repository was created outside the collection's time range and + ignoreTimeRange is false. If the repository is not visible, then a + RestrictedContribution is returned. + + hasActivityInThePast - Does the user have any more activity in the timeline that occurred prior to the collection's time range? + + hasAnyContributions - Determine if there are any contributions in this collection. + + hasAnyRestrictedContributions - Determine if the user made any contributions in this time frame whose details + are not visible because they were made in a private repository. Can only be + true if the user enabled private contribution counts. + + isSingleDay - Whether or not the collector's time span is all within the same day. + + issueContributions - A list of issues the user opened. + + issueContributionsByRepository - Issue contributions made by the user, grouped by repository. + + joinedGitHubContribution - When the user signed up for GitHub. This will be null if that sign up date + falls outside the collection's time range and ignoreTimeRange is false. + + latestRestrictedContributionDate - The date of the most recent restricted contribution the user made in this time + period. Can only be non-null when the user has enabled private contribution counts. + + mostRecentCollectionWithActivity - When this collection's time range does not include any activity from the user, use this + to get a different collection from an earlier time range that does have activity. + + mostRecentCollectionWithoutActivity - Returns a different contributions collection from an earlier time range than this one + that does not have any contributions. + + popularIssueContribution - The issue the user opened on GitHub that received the most comments in the specified + time frame. + + popularPullRequestContribution - The pull request the user opened on GitHub that received the most comments in the + specified time frame. + + pullRequestContributions - Pull request contributions made by the user. + + pullRequestContributionsByRepository - Pull request contributions made by the user, grouped by repository. + + pullRequestReviewContributions - Pull request review contributions made by the user. Returns the most recently + submitted review for each PR reviewed by the user. + + pullRequestReviewContributionsByRepository - Pull request review contributions made by the user, grouped by repository. + + repositoryContributions - A list of repositories owned by the user that the user created in this time range. + + restrictedContributionsCount - A count of contributions made by the user that the viewer cannot access. Only + non-zero when the user has chosen to share their private contribution counts. + + startedAt - The beginning date and time of this collection. + + totalCommitContributions - How many commits were made by the user in this time span. + + totalIssueContributions - How many issues the user opened. + + totalPullRequestContributions - How many pull requests the user opened. + + totalPullRequestReviewContributions - How many pull request reviews the user left. + + totalRepositoriesWithContributedCommits - How many different repositories the user committed to. + + totalRepositoriesWithContributedIssues - How many different repositories the user opened issues in. + + totalRepositoriesWithContributedPullRequestReviews - How many different repositories the user left pull request reviews in. + + totalRepositoriesWithContributedPullRequests - How many different repositories the user opened pull requests in. + + totalRepositoryContributions - How many repositories the user created. + + user - The user who made the contributions in this collection. + + """ + + commit_contributions_by_repository: list[CommitContributionsByRepository] + contribution_calendar: ContributionCalendar + contribution_years: list[int] + does_end_in_current_month: bool + earliest_restricted_contribution_date: Optional[Date] = None + ended_at: DateTime + first_issue_contribution: Optional[CreatedIssueOrRestrictedContribution] = None + first_pull_request_contribution: Optional[ + CreatedPullRequestOrRestrictedContribution + ] = None + first_repository_contribution: Optional[ + CreatedRepositoryOrRestrictedContribution + ] = None + has_activity_in_the_past: bool + has_any_contributions: bool + has_any_restricted_contributions: bool + is_single_day: bool + issue_contributions: CreatedIssueContributionConnection + issue_contributions_by_repository: list[IssueContributionsByRepository] + joined_git_hub_contribution: Optional[JoinedGitHubContribution] = None + latest_restricted_contribution_date: Optional[Date] = None + most_recent_collection_with_activity: Optional["ContributionsCollection"] = None + most_recent_collection_without_activity: Optional["ContributionsCollection"] = None + popular_issue_contribution: Optional[CreatedIssueContribution] = None + popular_pull_request_contribution: Optional[CreatedPullRequestContribution] = None + pull_request_contributions: CreatedPullRequestContributionConnection + pull_request_contributions_by_repository: list[PullRequestContributionsByRepository] + pull_request_review_contributions: CreatedPullRequestReviewContributionConnection + pull_request_review_contributions_by_repository: list[ + PullRequestReviewContributionsByRepository + ] + repository_contributions: CreatedRepositoryContributionConnection + restricted_contributions_count: int + started_at: DateTime + total_commit_contributions: int + total_issue_contributions: int + total_pull_request_contributions: int + total_pull_request_review_contributions: int + total_repositories_with_contributed_commits: int + total_repositories_with_contributed_issues: int + total_repositories_with_contributed_pull_request_reviews: int + total_repositories_with_contributed_pull_requests: int + total_repository_contributions: int + user: User diff --git a/tests/output/github/deployment.py b/tests/output/github/deployment.py new file mode 100644 index 0000000..34d7ebc --- /dev/null +++ b/tests/output/github/deployment.py @@ -0,0 +1,78 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import DeploymentState +from .gql_simple_types import Actor +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .ref import Ref + from .repository import Repository + from .commit import Commit + from .gql_types import DeploymentStatus + from .gql_types import DeploymentStatusConnection + + +@dataclass(kw_only=True) +class Deployment: + """ + Deployment - Represents triggered deployment instance. + + commit - Identifies the commit sha of the deployment. + + commitOid - Identifies the oid of the deployment commit, even if the commit has been deleted. + + createdAt - Identifies the date and time when the object was created. + + creator - Identifies the actor who triggered the deployment. + + databaseId - Identifies the primary key from the database. + + description - The deployment description. + + environment - The latest environment to which this deployment was made. + + id - The Node ID of the Deployment object + + latestEnvironment - The latest environment to which this deployment was made. + + latestStatus - The latest status of this deployment. + + originalEnvironment - The original environment to which this deployment was made. + + payload - Extra information that a deployment system might need. + + ref - Identifies the Ref of the deployment, if the deployment was created by ref. + + repository - Identifies the repository associated with the deployment. + + state - The current state of the deployment. + + statuses - A list of statuses associated with the deployment. + + task - The deployment task. + + updatedAt - Identifies the date and time when the object was last updated. + + """ + + commit: Optional[Commit] = None + commit_oid: str + created_at: DateTime + creator: Actor + database_id: Optional[int] = None + description: Optional[str] = None + environment: Optional[str] = None + id: ID + latest_environment: Optional[str] = None + latest_status: Optional[DeploymentStatus] = None + original_environment: Optional[str] = None + payload: Optional[str] = None + ref: Optional[Ref] = None + repository: Repository + state: Optional[DeploymentState] = None + statuses: Optional[DeploymentStatusConnection] = None + task: Optional[str] = None + updated_at: DateTime diff --git a/tests/output/github/discussion.py b/tests/output/github/discussion.py new file mode 100644 index 0000000..141f472 --- /dev/null +++ b/tests/output/github/discussion.py @@ -0,0 +1,171 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + DiscussionStateReason, + LockReason, + SubscriptionState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .repository import Repository + from .reaction_group import ReactionGroup + from .discussion_comment import DiscussionComment + from .discussion_poll import DiscussionPoll + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import LabelConnection + from .gql_types import DiscussionCommentConnection + from .gql_types import DiscussionCategory + + +@dataclass(kw_only=True) +class Discussion: + """ + Discussion - A discussion in a repository. + + activeLockReason - Reason that the conversation was locked. + + answer - The comment chosen as this discussion's answer, if any. + + answerChosenAt - The time when a user chose this discussion's answer, if answered. + + answerChosenBy - The user who chose this discussion's answer, if answered. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + body - The main text of the discussion post. + + bodyHTML - The body rendered to HTML. + + bodyText - The body rendered to text. + + category - The category for this discussion. + + closed - Indicates if the object is closed (definition of closed may depend on type) + + closedAt - Identifies the date and time when the object was closed. + + comments - The replies to the discussion. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + databaseId - Identifies the primary key from the database. + + editor - The actor who edited the comment. + + id - The Node ID of the Discussion object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isAnswered - Only return answered/unanswered discussions + + labels - A list of labels associated with the object. + + lastEditedAt - The moment the editor made the last edit + + locked - `true` if the object is locked + + number - The number identifying this discussion within the repository. + + poll - The poll associated with this discussion, if one exists. + + publishedAt - Identifies when the comment was published at. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + repository - The repository associated with this node. + + resourcePath - The path for this discussion. + + stateReason - Identifies the reason for the discussion's state. + + title - The title of this discussion. + + updatedAt - Identifies the date and time when the object was last updated. + + upvoteCount - Number of upvotes that this subject has received. + + url - The URL for this discussion. + + userContentEdits - A list of edits to this content. + + viewerCanClose - Indicates if the object can be closed by the viewer. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanReact - Can user react to this subject + + viewerCanReopen - Indicates if the object can be reopened by the viewer. + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCanUpvote - Whether or not the current user can add or remove an upvote on this subject. + + viewerDidAuthor - Did the viewer author this comment. + + viewerHasUpvoted - Whether or not the current user has already upvoted this subject. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + """ + + active_lock_reason: Optional[LockReason] = None + answer: Optional[DiscussionComment] = None + answer_chosen_at: Optional[DateTime] = None + answer_chosen_by: Optional[Actor] = None + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + category: DiscussionCategory + closed: bool + closed_at: Optional[DateTime] = None + comments: DiscussionCommentConnection + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + is_answered: Optional[bool] = None + labels: Optional[LabelConnection] = None + last_edited_at: Optional[DateTime] = None + locked: bool + number: int + poll: Optional[DiscussionPoll] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + state_reason: Optional[DiscussionStateReason] = None + title: str + updated_at: DateTime + upvote_count: int + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_close: bool + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_reopen: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_can_upvote: bool + viewer_did_author: bool + viewer_has_upvoted: bool + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github/discussion_comment.py b/tests/output/github/discussion_comment.py new file mode 100644 index 0000000..f5a702c --- /dev/null +++ b/tests/output/github/discussion_comment.py @@ -0,0 +1,137 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CommentAuthorAssociation, CommentCannotUpdateReason +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .reaction_group import ReactionGroup + from .discussion import Discussion + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import DiscussionCommentConnection + + +@dataclass(kw_only=True) +class DiscussionComment: + """ + DiscussionComment - A comment on a discussion. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + body - The body as Markdown. + + bodyHTML - The body rendered to HTML. + + bodyText - The body rendered to text. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + databaseId - Identifies the primary key from the database. + + deletedAt - The time when this replied-to comment was deleted + + discussion - The discussion this comment was created in + + editor - The actor who edited the comment. + + id - The Node ID of the DiscussionComment object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isAnswer - Has this comment been chosen as the answer of its discussion? + + isMinimized - Returns whether or not a comment has been minimized. + + lastEditedAt - The moment the editor made the last edit + + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + + publishedAt - Identifies when the comment was published at. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + replies - The threaded replies to this comment. + + replyTo - The discussion comment this comment is a reply to + + resourcePath - The path for this discussion comment. + + updatedAt - Identifies the date and time when the object was last updated. + + upvoteCount - Number of upvotes that this subject has received. + + url - The URL for this discussion comment. + + userContentEdits - A list of edits to this content. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanMarkAsAnswer - Can the current user mark this comment as an answer? + + viewerCanMinimize - Check if the current viewer can minimize this object. + + viewerCanReact - Can user react to this subject + + viewerCanUnmarkAsAnswer - Can the current user unmark this comment as an answer? + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCanUpvote - Whether or not the current user can add or remove an upvote on this subject. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + viewerHasUpvoted - Whether or not the current user has already upvoted this subject. + + """ + + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + deleted_at: Optional[DateTime] = None + discussion: Optional[Discussion] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + is_answer: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + replies: DiscussionCommentConnection + reply_to: Optional["DiscussionComment"] = None + resource_path: URI + updated_at: DateTime + upvote_count: int + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_mark_as_answer: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_unmark_as_answer: bool + viewer_can_update: bool + viewer_can_upvote: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_has_upvoted: bool diff --git a/tests/output/github/discussion_poll.py b/tests/output/github/discussion_poll.py new file mode 100644 index 0000000..fcc856f --- /dev/null +++ b/tests/output/github/discussion_poll.py @@ -0,0 +1,40 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .discussion import Discussion + from .gql_types import DiscussionPollOptionConnection + + +@dataclass(kw_only=True) +class DiscussionPoll: + """ + DiscussionPoll - A poll for a discussion. + + discussion - The discussion that this poll belongs to. + + id - The Node ID of the DiscussionPoll object + + options - The options for this poll. + + question - The question that is being asked by this poll. + + totalVoteCount - The total number of votes that have been cast for this poll. + + viewerCanVote - Indicates if the viewer has permission to vote in this poll. + + viewerHasVoted - Indicates if the viewer has voted for any option in this poll. + + """ + + discussion: Optional[Discussion] = None + id: ID + options: Optional[DiscussionPollOptionConnection] = None + question: str + total_vote_count: int + viewer_can_vote: bool + viewer_has_voted: bool diff --git a/tests/output/github/enterprise.py b/tests/output/github/enterprise.py new file mode 100644 index 0000000..d06b4e7 --- /dev/null +++ b/tests/output/github/enterprise.py @@ -0,0 +1,85 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import EnterpriseBillingInfo +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import EnterpriseMemberConnection + from .gql_types import OrganizationConnection + from .gql_types import EnterpriseOwnerInfo + + +@dataclass(kw_only=True) +class Enterprise: + """ + Enterprise - An account to manage multiple organizations with consolidated policy and billing. + + announcement - The text of the announcement + + announcementExpiresAt - The expiration date of the announcement, if any + + announcementUserDismissible - Whether the announcement can be dismissed by the user + + avatarUrl - A URL pointing to the enterprise's public avatar. + + billingEmail - The enterprise's billing email. + + billingInfo - Enterprise billing information visible to enterprise billing managers. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + description - The description of the enterprise. + + descriptionHTML - The description of the enterprise as HTML. + + id - The Node ID of the Enterprise object + + location - The location of the enterprise. + + members - A list of users who are members of this enterprise. + + name - The name of the enterprise. + + organizations - A list of organizations that belong to this enterprise. + + ownerInfo - Enterprise information visible to enterprise owners or enterprise owners' + personal access tokens (classic) with read:enterprise or admin:enterprise scope. + + resourcePath - The HTTP path for this enterprise. + + slug - The URL-friendly identifier for the enterprise. + + url - The HTTP URL for this enterprise. + + viewerIsAdmin - Is the current viewer an admin of this enterprise? + + websiteUrl - The URL of the enterprise website. + + """ + + announcement: Optional[str] = None + announcement_expires_at: Optional[DateTime] = None + announcement_user_dismissible: Optional[bool] = None + avatar_url: URI + billing_email: Optional[str] = None + billing_info: Optional[EnterpriseBillingInfo] = None + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: HTML + id: ID + location: Optional[str] = None + members: EnterpriseMemberConnection + name: str + organizations: OrganizationConnection + owner_info: Optional[EnterpriseOwnerInfo] = None + resource_path: URI + slug: str + url: URI + viewer_is_admin: bool + website_url: Optional[URI] = None diff --git a/tests/output/github/enterprise_server_installation.py b/tests/output/github/enterprise_server_installation.py new file mode 100644 index 0000000..05192b1 --- /dev/null +++ b/tests/output/github/enterprise_server_installation.py @@ -0,0 +1,43 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .gql_types import EnterpriseServerUserAccountConnection + from .gql_types import EnterpriseServerUserAccountsUploadConnection + + +@dataclass(kw_only=True) +class EnterpriseServerInstallation: + """ + EnterpriseServerInstallation - An Enterprise Server installation. + + createdAt - Identifies the date and time when the object was created. + + customerName - The customer name to which the Enterprise Server installation belongs. + + hostName - The host name of the Enterprise Server installation. + + id - The Node ID of the EnterpriseServerInstallation object + + isConnected - Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect. + + updatedAt - Identifies the date and time when the object was last updated. + + userAccounts - User accounts on this Enterprise Server installation. + + userAccountsUploads - User accounts uploads for the Enterprise Server installation. + + """ + + created_at: DateTime + customer_name: str + host_name: str + id: ID + is_connected: bool + updated_at: DateTime + user_accounts: EnterpriseServerUserAccountConnection + user_accounts_uploads: EnterpriseServerUserAccountsUploadConnection diff --git a/tests/output/github/enterprise_server_user_account.py b/tests/output/github/enterprise_server_user_account.py new file mode 100644 index 0000000..9a67289 --- /dev/null +++ b/tests/output/github/enterprise_server_user_account.py @@ -0,0 +1,49 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .enterprise_server_installation import EnterpriseServerInstallation + from .gql_types import EnterpriseServerUserAccountEmailConnection + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccount: + """ + EnterpriseServerUserAccount - A user account on an Enterprise Server installation. + + createdAt - Identifies the date and time when the object was created. + + emails - User emails belonging to this user account. + + enterpriseServerInstallation - The Enterprise Server installation on which this user account exists. + + id - The Node ID of the EnterpriseServerUserAccount object + + isSiteAdmin - Whether the user account is a site administrator on the Enterprise Server installation. + + login - The login of the user account on the Enterprise Server installation. + + profileName - The profile name of the user account on the Enterprise Server installation. + + remoteCreatedAt - The date and time when the user account was created on the Enterprise Server installation. + + remoteUserId - The ID of the user account on the Enterprise Server installation. + + updatedAt - Identifies the date and time when the object was last updated. + + """ + + created_at: DateTime + emails: EnterpriseServerUserAccountEmailConnection + enterprise_server_installation: EnterpriseServerInstallation + id: ID + is_site_admin: bool + login: str + profile_name: Optional[str] = None + remote_created_at: DateTime + remote_user_id: int + updated_at: DateTime diff --git a/tests/output/github/enums.py b/tests/output/github/enums.py index 0010791..30fb6ae 100644 --- a/tests/output/github/enums.py +++ b/tests/output/github/enums.py @@ -1,2563 +1,3020 @@ from enum import Enum + class ActorType(Enum): - """ - ActorType - The actor's type. + """ + ActorType - The actor's type. + + """ + + TEAM = "TEAM" # Indicates a team actor. + USER = "USER" # Indicates a user actor. - """ - DEFAULT = None - USER = 'USER' ##Indicates a user actor. - TEAM = 'TEAM' ##Indicates a team actor. class AuditLogOrderField(Enum): - """ - AuditLogOrderField - Properties by which Audit Log connections can be ordered. + """ + AuditLogOrderField - Properties by which Audit Log connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order audit log entries by timestamp - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order audit log entries by timestamp class CheckAnnotationLevel(Enum): - """ - CheckAnnotationLevel - Represents an annotation's information level. + """ + CheckAnnotationLevel - Represents an annotation's information level. + + """ + + FAILURE = "FAILURE" # An annotation indicating an inescapable error. + NOTICE = "NOTICE" # An annotation indicating some information. + WARNING = "WARNING" # An annotation indicating an ignorable error. - """ - DEFAULT = None - FAILURE = 'FAILURE' ##An annotation indicating an inescapable error. - NOTICE = 'NOTICE' ##An annotation indicating some information. - WARNING = 'WARNING' ##An annotation indicating an ignorable error. class CheckConclusionState(Enum): - """ - CheckConclusionState - The possible states for a check suite or run conclusion. - - """ - DEFAULT = None - ACTION_REQUIRED = 'ACTION_REQUIRED' ##The check suite or run requires action. - TIMED_OUT = 'TIMED_OUT' ##The check suite or run has timed out. - CANCELLED = 'CANCELLED' ##The check suite or run has been cancelled. - FAILURE = 'FAILURE' ##The check suite or run has failed. - SUCCESS = 'SUCCESS' ##The check suite or run has succeeded. - NEUTRAL = 'NEUTRAL' ##The check suite or run was neutral. - SKIPPED = 'SKIPPED' ##The check suite or run was skipped. - STARTUP_FAILURE = 'STARTUP_FAILURE' ##The check suite or run has failed at startup. - STALE = 'STALE' ##The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. + """ + CheckConclusionState - The possible states for a check suite or run conclusion. + + """ + + ACTION_REQUIRED = "ACTION_REQUIRED" # The check suite or run requires action. + CANCELLED = "CANCELLED" # The check suite or run has been cancelled. + FAILURE = "FAILURE" # The check suite or run has failed. + NEUTRAL = "NEUTRAL" # The check suite or run was neutral. + SKIPPED = "SKIPPED" # The check suite or run was skipped. + STALE = "STALE" # The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. + STARTUP_FAILURE = "STARTUP_FAILURE" # The check suite or run has failed at startup. + SUCCESS = "SUCCESS" # The check suite or run has succeeded. + TIMED_OUT = "TIMED_OUT" # The check suite or run has timed out. + class CheckRunState(Enum): - """ - CheckRunState - The possible states of a check run in a status rollup. - - """ - DEFAULT = None - ACTION_REQUIRED = 'ACTION_REQUIRED' ##The check run requires action. - CANCELLED = 'CANCELLED' ##The check run has been cancelled. - COMPLETED = 'COMPLETED' ##The check run has been completed. - FAILURE = 'FAILURE' ##The check run has failed. - IN_PROGRESS = 'IN_PROGRESS' ##The check run is in progress. - NEUTRAL = 'NEUTRAL' ##The check run was neutral. - PENDING = 'PENDING' ##The check run is in pending state. - QUEUED = 'QUEUED' ##The check run has been queued. - SKIPPED = 'SKIPPED' ##The check run was skipped. - STALE = 'STALE' ##The check run was marked stale by GitHub. Only GitHub can use this conclusion. - STARTUP_FAILURE = 'STARTUP_FAILURE' ##The check run has failed at startup. - SUCCESS = 'SUCCESS' ##The check run has succeeded. - TIMED_OUT = 'TIMED_OUT' ##The check run has timed out. - WAITING = 'WAITING' ##The check run is in waiting state. + """ + CheckRunState - The possible states of a check run in a status rollup. + + """ + + ACTION_REQUIRED = "ACTION_REQUIRED" # The check run requires action. + CANCELLED = "CANCELLED" # The check run has been cancelled. + COMPLETED = "COMPLETED" # The check run has been completed. + FAILURE = "FAILURE" # The check run has failed. + IN_PROGRESS = "IN_PROGRESS" # The check run is in progress. + NEUTRAL = "NEUTRAL" # The check run was neutral. + PENDING = "PENDING" # The check run is in pending state. + QUEUED = "QUEUED" # The check run has been queued. + SKIPPED = "SKIPPED" # The check run was skipped. + STALE = "STALE" # The check run was marked stale by GitHub. Only GitHub can use this conclusion. + STARTUP_FAILURE = "STARTUP_FAILURE" # The check run has failed at startup. + SUCCESS = "SUCCESS" # The check run has succeeded. + TIMED_OUT = "TIMED_OUT" # The check run has timed out. + WAITING = "WAITING" # The check run is in waiting state. + class CheckRunType(Enum): - """ - CheckRunType - The possible types of check runs. + """ + CheckRunType - The possible types of check runs. + + """ + + ALL = "ALL" # Every check run available. + LATEST = "LATEST" # The latest check run. - """ - DEFAULT = None - ALL = 'ALL' ##Every check run available. - LATEST = 'LATEST' ##The latest check run. class CheckStatusState(Enum): - """ - CheckStatusState - The possible states for a check suite or run status. - - """ - DEFAULT = None - QUEUED = 'QUEUED' ##The check suite or run has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The check suite or run is in progress. - COMPLETED = 'COMPLETED' ##The check suite or run has been completed. - WAITING = 'WAITING' ##The check suite or run is in waiting state. - PENDING = 'PENDING' ##The check suite or run is in pending state. - REQUESTED = 'REQUESTED' ##The check suite or run has been requested. + """ + CheckStatusState - The possible states for a check suite or run status. + + """ + + COMPLETED = "COMPLETED" # The check suite or run has been completed. + IN_PROGRESS = "IN_PROGRESS" # The check suite or run is in progress. + PENDING = "PENDING" # The check suite or run is in pending state. + QUEUED = "QUEUED" # The check suite or run has been queued. + REQUESTED = "REQUESTED" # The check suite or run has been requested. + WAITING = "WAITING" # The check suite or run is in waiting state. + class CollaboratorAffiliation(Enum): - """ - CollaboratorAffiliation - Collaborators affiliation level with a subject. + """ + CollaboratorAffiliation - Collaborators affiliation level with a subject. + + """ + + ALL = "ALL" # All collaborators the authenticated user can see. + DIRECT = "DIRECT" # All collaborators with permissions to an organization-owned subject, regardless of organization membership status. + OUTSIDE = "OUTSIDE" # All outside collaborators of an organization-owned subject. - """ - DEFAULT = None - OUTSIDE = 'OUTSIDE' ##All outside collaborators of an organization-owned subject. - DIRECT = 'DIRECT' ##All collaborators with permissions to an organization-owned subject, regardless of organization membership status. - ALL = 'ALL' ##All collaborators the authenticated user can see. class CommentAuthorAssociation(Enum): - """ - CommentAuthorAssociation - A comment author association with repository. - - """ - DEFAULT = None - MEMBER = 'MEMBER' ##Author is a member of the organization that owns the repository. - OWNER = 'OWNER' ##Author is the owner of the repository. - MANNEQUIN = 'MANNEQUIN' ##Author is a placeholder for an unclaimed user. - COLLABORATOR = 'COLLABORATOR' ##Author has been invited to collaborate on the repository. - CONTRIBUTOR = 'CONTRIBUTOR' ##Author has previously committed to the repository. - FIRST_TIME_CONTRIBUTOR = 'FIRST_TIME_CONTRIBUTOR' ##Author has not previously committed to the repository. - FIRST_TIMER = 'FIRST_TIMER' ##Author has not previously committed to GitHub. - NONE = 'NONE' ##Author has no association with the repository. + """ + CommentAuthorAssociation - A comment author association with repository. + + """ + + COLLABORATOR = ( + "COLLABORATOR" # Author has been invited to collaborate on the repository. + ) + CONTRIBUTOR = "CONTRIBUTOR" # Author has previously committed to the repository. + FIRST_TIMER = "FIRST_TIMER" # Author has not previously committed to GitHub. + FIRST_TIME_CONTRIBUTOR = "FIRST_TIME_CONTRIBUTOR" # Author has not previously committed to the repository. + MANNEQUIN = "MANNEQUIN" # Author is a placeholder for an unclaimed user. + MEMBER = ( + "MEMBER" # Author is a member of the organization that owns the repository. + ) + NONE = "NONE" # Author has no association with the repository. + OWNER = "OWNER" # Author is the owner of the repository. + class CommentCannotUpdateReason(Enum): - """ - CommentCannotUpdateReason - The possible errors that will prevent a user from updating a comment. - - """ - DEFAULT = None - ARCHIVED = 'ARCHIVED' ##Unable to create comment because repository is archived. - INSUFFICIENT_ACCESS = 'INSUFFICIENT_ACCESS' ##You must be the author or have write access to this repository to update this comment. - LOCKED = 'LOCKED' ##Unable to create comment because issue is locked. - LOGIN_REQUIRED = 'LOGIN_REQUIRED' ##You must be logged in to update this comment. - MAINTENANCE = 'MAINTENANCE' ##Repository is under maintenance. - VERIFIED_EMAIL_REQUIRED = 'VERIFIED_EMAIL_REQUIRED' ##At least one email address must be verified to update this comment. - DENIED = 'DENIED' ##You cannot update this comment + """ + CommentCannotUpdateReason - The possible errors that will prevent a user from updating a comment. + + """ + + ARCHIVED = "ARCHIVED" # Unable to create comment because repository is archived. + DENIED = "DENIED" # You cannot update this comment + INSUFFICIENT_ACCESS = "INSUFFICIENT_ACCESS" # You must be the author or have write access to this repository to update this comment. + LOCKED = "LOCKED" # Unable to create comment because issue is locked. + LOGIN_REQUIRED = "LOGIN_REQUIRED" # You must be logged in to update this comment. + MAINTENANCE = "MAINTENANCE" # Repository is under maintenance. + VERIFIED_EMAIL_REQUIRED = "VERIFIED_EMAIL_REQUIRED" # At least one email address must be verified to update this comment. + class CommitContributionOrderField(Enum): - """ - CommitContributionOrderField - Properties by which commit contribution connections can be ordered. + """ + CommitContributionOrderField - Properties by which commit contribution connections can be ordered. + + """ + + COMMIT_COUNT = ( + "COMMIT_COUNT" # Order commit contributions by how many commits they represent. + ) + OCCURRED_AT = "OCCURRED_AT" # Order commit contributions by when they were made. - """ - DEFAULT = None - OCCURRED_AT = 'OCCURRED_AT' ##Order commit contributions by when they were made. - COMMIT_COUNT = 'COMMIT_COUNT' ##Order commit contributions by how many commits they represent. class ComparisonStatus(Enum): - """ - ComparisonStatus - The status of a git comparison between two refs. + """ + ComparisonStatus - The status of a git comparison between two refs. + + """ + + AHEAD = "AHEAD" # The head ref is ahead of the base ref. + BEHIND = "BEHIND" # The head ref is behind the base ref. + DIVERGED = "DIVERGED" # The head ref is both ahead and behind of the base ref, indicating git history has diverged. + IDENTICAL = "IDENTICAL" # The head ref and base ref are identical. - """ - DEFAULT = None - DIVERGED = 'DIVERGED' ##The head ref is both ahead and behind of the base ref, indicating git history has diverged. - AHEAD = 'AHEAD' ##The head ref is ahead of the base ref. - BEHIND = 'BEHIND' ##The head ref is behind the base ref. - IDENTICAL = 'IDENTICAL' ##The head ref and base ref are identical. class ContributionLevel(Enum): - """ - ContributionLevel - Varying levels of contributions from none to many. + """ + ContributionLevel - Varying levels of contributions from none to many. + + """ + + FIRST_QUARTILE = "FIRST_QUARTILE" # Lowest 25% of days of contributions. + FOURTH_QUARTILE = "FOURTH_QUARTILE" # Highest 25% of days of contributions. More contributions than the third quartile. + NONE = "NONE" # No contributions occurred. + SECOND_QUARTILE = "SECOND_QUARTILE" # Second lowest 25% of days of contributions. More contributions than the first quartile. + THIRD_QUARTILE = "THIRD_QUARTILE" # Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. - """ - DEFAULT = None - NONE = 'NONE' ##No contributions occurred. - FIRST_QUARTILE = 'FIRST_QUARTILE' ##Lowest 25% of days of contributions. - SECOND_QUARTILE = 'SECOND_QUARTILE' ##Second lowest 25% of days of contributions. More contributions than the first quartile. - THIRD_QUARTILE = 'THIRD_QUARTILE' ##Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. - FOURTH_QUARTILE = 'FOURTH_QUARTILE' ##Highest 25% of days of contributions. More contributions than the third quartile. class DefaultRepositoryPermissionField(Enum): - """ - DefaultRepositoryPermissionField - The possible base permissions for repositories. + """ + DefaultRepositoryPermissionField - The possible base permissions for repositories. + + """ + + ADMIN = "ADMIN" # Can read, write, and administrate repos by default + NONE = "NONE" # No access + READ = "READ" # Can read repos by default + WRITE = "WRITE" # Can read and write repos by default - """ - DEFAULT = None - NONE = 'NONE' ##No access - READ = 'READ' ##Can read repos by default - WRITE = 'WRITE' ##Can read and write repos by default - ADMIN = 'ADMIN' ##Can read, write, and administrate repos by default class DependencyGraphEcosystem(Enum): - """ - DependencyGraphEcosystem - The possible ecosystems of a dependency graph package. - - """ - DEFAULT = None - RUBYGEMS = 'RUBYGEMS' ##Ruby gems hosted at RubyGems.org - NPM = 'NPM' ##JavaScript packages hosted at npmjs.com - PIP = 'PIP' ##Python packages hosted at PyPI.org - MAVEN = 'MAVEN' ##Java artifacts hosted at the Maven central repository - NUGET = 'NUGET' ##.NET packages hosted at the NuGet Gallery - COMPOSER = 'COMPOSER' ##PHP packages hosted at packagist.org - GO = 'GO' ##Go modules - ACTIONS = 'ACTIONS' ##GitHub Actions - RUST = 'RUST' ##Rust crates - PUB = 'PUB' ##Dart packages hosted at pub.dev - SWIFT = 'SWIFT' ##Swift packages + """ + DependencyGraphEcosystem - The possible ecosystems of a dependency graph package. + + """ + + ACTIONS = "ACTIONS" # GitHub Actions + COMPOSER = "COMPOSER" # PHP packages hosted at packagist.org + GO = "GO" # Go modules + MAVEN = "MAVEN" # Java artifacts hosted at the Maven central repository + NPM = "NPM" # JavaScript packages hosted at npmjs.com + NUGET = "NUGET" # .NET packages hosted at the NuGet Gallery + PIP = "PIP" # Python packages hosted at PyPI.org + PUB = "PUB" # Dart packages hosted at pub.dev + RUBYGEMS = "RUBYGEMS" # Ruby gems hosted at RubyGems.org + RUST = "RUST" # Rust crates + SWIFT = "SWIFT" # Swift packages + class DeploymentOrderField(Enum): - """ - DeploymentOrderField - Properties by which deployment connections can be ordered. + """ + DeploymentOrderField - Properties by which deployment connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order collection by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order collection by creation time class DeploymentProtectionRuleType(Enum): - """ - DeploymentProtectionRuleType - The possible protection rule types. + """ + DeploymentProtectionRuleType - The possible protection rule types. + + """ + + REQUIRED_REVIEWERS = "REQUIRED_REVIEWERS" # Required reviewers + WAIT_TIMER = "WAIT_TIMER" # Wait timer - """ - DEFAULT = None - REQUIRED_REVIEWERS = 'REQUIRED_REVIEWERS' ##Required reviewers - WAIT_TIMER = 'WAIT_TIMER' ##Wait timer class DeploymentReviewState(Enum): - """ - DeploymentReviewState - The possible states for a deployment review. + """ + DeploymentReviewState - The possible states for a deployment review. + + """ + + APPROVED = "APPROVED" # The deployment was approved. + REJECTED = "REJECTED" # The deployment was rejected. - """ - DEFAULT = None - APPROVED = 'APPROVED' ##The deployment was approved. - REJECTED = 'REJECTED' ##The deployment was rejected. class DeploymentState(Enum): - """ - DeploymentState - The possible states in which a deployment can be. - - """ - DEFAULT = None - ABANDONED = 'ABANDONED' ##The pending deployment was not updated after 30 minutes. - ACTIVE = 'ACTIVE' ##The deployment is currently active. - DESTROYED = 'DESTROYED' ##An inactive transient deployment. - ERROR = 'ERROR' ##The deployment experienced an error. - FAILURE = 'FAILURE' ##The deployment has failed. - INACTIVE = 'INACTIVE' ##The deployment is inactive. - PENDING = 'PENDING' ##The deployment is pending. - SUCCESS = 'SUCCESS' ##The deployment was successful. - QUEUED = 'QUEUED' ##The deployment has queued - IN_PROGRESS = 'IN_PROGRESS' ##The deployment is in progress. - WAITING = 'WAITING' ##The deployment is waiting. + """ + DeploymentState - The possible states in which a deployment can be. + + """ + + ABANDONED = "ABANDONED" # The pending deployment was not updated after 30 minutes. + ACTIVE = "ACTIVE" # The deployment is currently active. + DESTROYED = "DESTROYED" # An inactive transient deployment. + ERROR = "ERROR" # The deployment experienced an error. + FAILURE = "FAILURE" # The deployment has failed. + INACTIVE = "INACTIVE" # The deployment is inactive. + IN_PROGRESS = "IN_PROGRESS" # The deployment is in progress. + PENDING = "PENDING" # The deployment is pending. + QUEUED = "QUEUED" # The deployment has queued + SUCCESS = "SUCCESS" # The deployment was successful. + WAITING = "WAITING" # The deployment is waiting. + class DeploymentStatusState(Enum): - """ - DeploymentStatusState - The possible states for a deployment status. - - """ - DEFAULT = None - PENDING = 'PENDING' ##The deployment is pending. - SUCCESS = 'SUCCESS' ##The deployment was successful. - FAILURE = 'FAILURE' ##The deployment has failed. - INACTIVE = 'INACTIVE' ##The deployment is inactive. - ERROR = 'ERROR' ##The deployment experienced an error. - QUEUED = 'QUEUED' ##The deployment is queued - IN_PROGRESS = 'IN_PROGRESS' ##The deployment is in progress. - WAITING = 'WAITING' ##The deployment is waiting. + """ + DeploymentStatusState - The possible states for a deployment status. + + """ + + ERROR = "ERROR" # The deployment experienced an error. + FAILURE = "FAILURE" # The deployment has failed. + INACTIVE = "INACTIVE" # The deployment is inactive. + IN_PROGRESS = "IN_PROGRESS" # The deployment is in progress. + PENDING = "PENDING" # The deployment is pending. + QUEUED = "QUEUED" # The deployment is queued + SUCCESS = "SUCCESS" # The deployment was successful. + WAITING = "WAITING" # The deployment is waiting. + class DiffSide(Enum): - """ - DiffSide - The possible sides of a diff. + """ + DiffSide - The possible sides of a diff. + + """ + + LEFT = "LEFT" # The left side of the diff. + RIGHT = "RIGHT" # The right side of the diff. - """ - DEFAULT = None - LEFT = 'LEFT' ##The left side of the diff. - RIGHT = 'RIGHT' ##The right side of the diff. class DiscussionCloseReason(Enum): - """ - DiscussionCloseReason - The possible reasons for closing a discussion. + """ + DiscussionCloseReason - The possible reasons for closing a discussion. + + """ + + DUPLICATE = "DUPLICATE" # The discussion is a duplicate of another + OUTDATED = "OUTDATED" # The discussion is no longer relevant + RESOLVED = "RESOLVED" # The discussion has been resolved - """ - DEFAULT = None - RESOLVED = 'RESOLVED' ##The discussion has been resolved - OUTDATED = 'OUTDATED' ##The discussion is no longer relevant - DUPLICATE = 'DUPLICATE' ##The discussion is a duplicate of another class DiscussionOrderField(Enum): - """ - DiscussionOrderField - Properties by which discussion connections can be ordered. + """ + DiscussionOrderField - Properties by which discussion connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order discussions by creation time. + UPDATED_AT = "UPDATED_AT" # Order discussions by most recent modification time. - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order discussions by creation time. - UPDATED_AT = 'UPDATED_AT' ##Order discussions by most recent modification time. class DiscussionPollOptionOrderField(Enum): - """ - DiscussionPollOptionOrderField - Properties by which discussion poll option connections can be ordered. + """ + DiscussionPollOptionOrderField - Properties by which discussion poll option connections can be ordered. + + """ + + AUTHORED_ORDER = "AUTHORED_ORDER" # Order poll options by the order that the poll author specified when creating the poll. + VOTE_COUNT = "VOTE_COUNT" # Order poll options by the number of votes it has. - """ - DEFAULT = None - AUTHORED_ORDER = 'AUTHORED_ORDER' ##Order poll options by the order that the poll author specified when creating the poll. - VOTE_COUNT = 'VOTE_COUNT' ##Order poll options by the number of votes it has. class DiscussionState(Enum): - """ - DiscussionState - The possible states of a discussion. + """ + DiscussionState - The possible states of a discussion. + + """ + + CLOSED = "CLOSED" # A discussion that has been closed + OPEN = "OPEN" # A discussion that is open - """ - DEFAULT = None - OPEN = 'OPEN' ##A discussion that is open - CLOSED = 'CLOSED' ##A discussion that has been closed class DiscussionStateReason(Enum): - """ - DiscussionStateReason - The possible state reasons of a discussion. + """ + DiscussionStateReason - The possible state reasons of a discussion. + + """ + + DUPLICATE = "DUPLICATE" # The discussion is a duplicate of another + OUTDATED = "OUTDATED" # The discussion is no longer relevant + REOPENED = "REOPENED" # The discussion was reopened + RESOLVED = "RESOLVED" # The discussion has been resolved - """ - DEFAULT = None - RESOLVED = 'RESOLVED' ##The discussion has been resolved - OUTDATED = 'OUTDATED' ##The discussion is no longer relevant - DUPLICATE = 'DUPLICATE' ##The discussion is a duplicate of another - REOPENED = 'REOPENED' ##The discussion was reopened class DismissReason(Enum): - """ - DismissReason - The possible reasons that a Dependabot alert was dismissed. + """ + DismissReason - The possible reasons that a Dependabot alert was dismissed. + + """ + + FIX_STARTED = "FIX_STARTED" # A fix has already been started + INACCURATE = "INACCURATE" # This alert is inaccurate or incorrect + NOT_USED = "NOT_USED" # Vulnerable code is not actually used + NO_BANDWIDTH = "NO_BANDWIDTH" # No bandwidth to fix this + TOLERABLE_RISK = "TOLERABLE_RISK" # Risk is tolerable to this project - """ - DEFAULT = None - FIX_STARTED = 'FIX_STARTED' ##A fix has already been started - NO_BANDWIDTH = 'NO_BANDWIDTH' ##No bandwidth to fix this - TOLERABLE_RISK = 'TOLERABLE_RISK' ##Risk is tolerable to this project - INACCURATE = 'INACCURATE' ##This alert is inaccurate or incorrect - NOT_USED = 'NOT_USED' ##Vulnerable code is not actually used class EnterpriseAdministratorInvitationOrderField(Enum): - """ - EnterpriseAdministratorInvitationOrderField - Properties by which enterprise administrator invitation connections can be ordered. + """ + EnterpriseAdministratorInvitationOrderField - Properties by which enterprise administrator invitation connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order enterprise administrator member invitations by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order enterprise administrator member invitations by creation time class EnterpriseAdministratorRole(Enum): - """ - EnterpriseAdministratorRole - The possible administrator roles in an enterprise account. + """ + EnterpriseAdministratorRole - The possible administrator roles in an enterprise account. + + """ + + BILLING_MANAGER = ( + "BILLING_MANAGER" # Represents a billing manager of the enterprise account. + ) + OWNER = "OWNER" # Represents an owner of the enterprise account. - """ - DEFAULT = None - OWNER = 'OWNER' ##Represents an owner of the enterprise account. - BILLING_MANAGER = 'BILLING_MANAGER' ##Represents a billing manager of the enterprise account. class EnterpriseAllowPrivateRepositoryForkingPolicyValue(Enum): - """ - EnterpriseAllowPrivateRepositoryForkingPolicyValue - The possible values for the enterprise allow private repository forking policy value. - - """ - DEFAULT = None - ENTERPRISE_ORGANIZATIONS = 'ENTERPRISE_ORGANIZATIONS' ##Members can fork a repository to an organization within this enterprise. - SAME_ORGANIZATION = 'SAME_ORGANIZATION' ##Members can fork a repository only within the same organization (intra-org). - SAME_ORGANIZATION_USER_ACCOUNTS = 'SAME_ORGANIZATION_USER_ACCOUNTS' ##Members can fork a repository to their user account or within the same organization. - ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS = 'ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS' ##Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. - USER_ACCOUNTS = 'USER_ACCOUNTS' ##Members can fork a repository to their user account. - EVERYWHERE = 'EVERYWHERE' ##Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. + """ + EnterpriseAllowPrivateRepositoryForkingPolicyValue - The possible values for the enterprise allow private repository forking policy value. + + """ + + ENTERPRISE_ORGANIZATIONS = "ENTERPRISE_ORGANIZATIONS" # Members can fork a repository to an organization within this enterprise. + ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS = "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS" # Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. + EVERYWHERE = "EVERYWHERE" # Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. + SAME_ORGANIZATION = "SAME_ORGANIZATION" # Members can fork a repository only within the same organization (intra-org). + SAME_ORGANIZATION_USER_ACCOUNTS = "SAME_ORGANIZATION_USER_ACCOUNTS" # Members can fork a repository to their user account or within the same organization. + USER_ACCOUNTS = ( + "USER_ACCOUNTS" # Members can fork a repository to their user account. + ) + class EnterpriseDefaultRepositoryPermissionSettingValue(Enum): - """ - EnterpriseDefaultRepositoryPermissionSettingValue - The possible values for the enterprise base repository permission setting. + """ + EnterpriseDefaultRepositoryPermissionSettingValue - The possible values for the enterprise base repository permission setting. + + """ + + ADMIN = "ADMIN" # Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. + NONE = "NONE" # Organization members will only be able to clone and pull public repositories. + NO_POLICY = "NO_POLICY" # Organizations in the enterprise choose base repository permissions for their members. + READ = "READ" # Organization members will be able to clone and pull all organization repositories. + WRITE = "WRITE" # Organization members will be able to clone, pull, and push all organization repositories. - """ - DEFAULT = None - NO_POLICY = 'NO_POLICY' ##Organizations in the enterprise choose base repository permissions for their members. - ADMIN = 'ADMIN' ##Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. - WRITE = 'WRITE' ##Organization members will be able to clone, pull, and push all organization repositories. - READ = 'READ' ##Organization members will be able to clone and pull all organization repositories. - NONE = 'NONE' ##Organization members will only be able to clone and pull public repositories. class EnterpriseEnabledDisabledSettingValue(Enum): - """ - EnterpriseEnabledDisabledSettingValue - The possible values for an enabled/disabled enterprise setting. + """ + EnterpriseEnabledDisabledSettingValue - The possible values for an enabled/disabled enterprise setting. + + """ + + DISABLED = ( + "DISABLED" # The setting is disabled for organizations in the enterprise. + ) + ENABLED = "ENABLED" # The setting is enabled for organizations in the enterprise. + NO_POLICY = ( + "NO_POLICY" # There is no policy set for organizations in the enterprise. + ) - """ - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for organizations in the enterprise. - DISABLED = 'DISABLED' ##The setting is disabled for organizations in the enterprise. - NO_POLICY = 'NO_POLICY' ##There is no policy set for organizations in the enterprise. class EnterpriseEnabledSettingValue(Enum): - """ - EnterpriseEnabledSettingValue - The possible values for an enabled/no policy enterprise setting. + """ + EnterpriseEnabledSettingValue - The possible values for an enabled/no policy enterprise setting. + + """ + + ENABLED = "ENABLED" # The setting is enabled for organizations in the enterprise. + NO_POLICY = ( + "NO_POLICY" # There is no policy set for organizations in the enterprise. + ) - """ - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for organizations in the enterprise. - NO_POLICY = 'NO_POLICY' ##There is no policy set for organizations in the enterprise. class EnterpriseMemberOrderField(Enum): - """ - EnterpriseMemberOrderField - Properties by which enterprise member connections can be ordered. + """ + EnterpriseMemberOrderField - Properties by which enterprise member connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order enterprise members by creation time + LOGIN = "LOGIN" # Order enterprise members by login - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order enterprise members by login - CREATED_AT = 'CREATED_AT' ##Order enterprise members by creation time class EnterpriseMembersCanCreateRepositoriesSettingValue(Enum): - """ - EnterpriseMembersCanCreateRepositoriesSettingValue - The possible values for the enterprise members can create repositories setting. + """ + EnterpriseMembersCanCreateRepositoriesSettingValue - The possible values for the enterprise members can create repositories setting. + + """ + + ALL = "ALL" # Members will be able to create public and private repositories. + DISABLED = ( + "DISABLED" # Members will not be able to create public or private repositories. + ) + NO_POLICY = "NO_POLICY" # Organization owners choose whether to allow members to create repositories. + PRIVATE = "PRIVATE" # Members will be able to create only private repositories. + PUBLIC = "PUBLIC" # Members will be able to create only public repositories. - """ - DEFAULT = None - NO_POLICY = 'NO_POLICY' ##Organization administrators choose whether to allow members to create repositories. - ALL = 'ALL' ##Members will be able to create public and private repositories. - PUBLIC = 'PUBLIC' ##Members will be able to create only public repositories. - PRIVATE = 'PRIVATE' ##Members will be able to create only private repositories. - DISABLED = 'DISABLED' ##Members will not be able to create public or private repositories. class EnterpriseMembersCanMakePurchasesSettingValue(Enum): - """ - EnterpriseMembersCanMakePurchasesSettingValue - The possible values for the members can make purchases setting. + """ + EnterpriseMembersCanMakePurchasesSettingValue - The possible values for the members can make purchases setting. + + """ + + DISABLED = ( + "DISABLED" # The setting is disabled for organizations in the enterprise. + ) + ENABLED = "ENABLED" # The setting is enabled for organizations in the enterprise. + + +class EnterpriseMembershipType(Enum): + """ + EnterpriseMembershipType - The possible values we have for filtering Platform::Objects::User#enterprises. + + """ + + ADMIN = "ADMIN" # Returns all enterprises in which the user is an admin. + ALL = "ALL" # Returns all enterprises in which the user is a member, admin, or billing manager. + BILLING_MANAGER = "BILLING_MANAGER" # Returns all enterprises in which the user is a billing manager. + ORG_MEMBERSHIP = "ORG_MEMBERSHIP" # Returns all enterprises in which the user is a member of an org that is owned by the enterprise. + + +class EnterpriseOrderField(Enum): + """ + EnterpriseOrderField - Properties by which enterprise connections can be ordered. + + """ + + NAME = "NAME" # Order enterprises by name - """ - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for organizations in the enterprise. - DISABLED = 'DISABLED' ##The setting is disabled for organizations in the enterprise. class EnterpriseServerInstallationOrderField(Enum): - """ - EnterpriseServerInstallationOrderField - Properties by which Enterprise Server installation connections can be ordered. + """ + EnterpriseServerInstallationOrderField - Properties by which Enterprise Server installation connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order Enterprise Server installations by creation time + CUSTOMER_NAME = ( + "CUSTOMER_NAME" # Order Enterprise Server installations by customer name + ) + HOST_NAME = "HOST_NAME" # Order Enterprise Server installations by host name - """ - DEFAULT = None - HOST_NAME = 'HOST_NAME' ##Order Enterprise Server installations by host name - CUSTOMER_NAME = 'CUSTOMER_NAME' ##Order Enterprise Server installations by customer name - CREATED_AT = 'CREATED_AT' ##Order Enterprise Server installations by creation time class EnterpriseServerUserAccountEmailOrderField(Enum): - """ - EnterpriseServerUserAccountEmailOrderField - Properties by which Enterprise Server user account email connections can be ordered. + """ + EnterpriseServerUserAccountEmailOrderField - Properties by which Enterprise Server user account email connections can be ordered. + + """ + + EMAIL = "EMAIL" # Order emails by email - """ - DEFAULT = None - EMAIL = 'EMAIL' ##Order emails by email class EnterpriseServerUserAccountOrderField(Enum): - """ - EnterpriseServerUserAccountOrderField - Properties by which Enterprise Server user account connections can be ordered. + """ + EnterpriseServerUserAccountOrderField - Properties by which Enterprise Server user account connections can be ordered. + + """ + + LOGIN = "LOGIN" # Order user accounts by login + REMOTE_CREATED_AT = "REMOTE_CREATED_AT" # Order user accounts by creation time on the Enterprise Server installation - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order user accounts by login - REMOTE_CREATED_AT = 'REMOTE_CREATED_AT' ##Order user accounts by creation time on the Enterprise Server installation class EnterpriseServerUserAccountsUploadOrderField(Enum): - """ - EnterpriseServerUserAccountsUploadOrderField - Properties by which Enterprise Server user accounts upload connections can be ordered. + """ + EnterpriseServerUserAccountsUploadOrderField - Properties by which Enterprise Server user accounts upload connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order user accounts uploads by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order user accounts uploads by creation time class EnterpriseServerUserAccountsUploadSyncState(Enum): - """ - EnterpriseServerUserAccountsUploadSyncState - Synchronization state of the Enterprise Server user accounts upload + """ + EnterpriseServerUserAccountsUploadSyncState - Synchronization state of the Enterprise Server user accounts upload + + """ + + FAILURE = "FAILURE" # The synchronization of the upload failed. + PENDING = "PENDING" # The synchronization of the upload is pending. + SUCCESS = "SUCCESS" # The synchronization of the upload succeeded. - """ - DEFAULT = None - PENDING = 'PENDING' ##The synchronization of the upload is pending. - SUCCESS = 'SUCCESS' ##The synchronization of the upload succeeded. - FAILURE = 'FAILURE' ##The synchronization of the upload failed. class EnterpriseUserAccountMembershipRole(Enum): - """ - EnterpriseUserAccountMembershipRole - The possible roles for enterprise membership. + """ + EnterpriseUserAccountMembershipRole - The possible roles for enterprise membership. + + """ + + MEMBER = "MEMBER" # The user is a member of an organization in the enterprise. + OWNER = "OWNER" # The user is an owner of an organization in the enterprise. + UNAFFILIATED = "UNAFFILIATED" # The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. - """ - DEFAULT = None - MEMBER = 'MEMBER' ##The user is a member of an organization in the enterprise. - OWNER = 'OWNER' ##The user is an owner of an organization in the enterprise. - UNAFFILIATED = 'UNAFFILIATED' ##The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. class EnterpriseUserDeployment(Enum): - """ - EnterpriseUserDeployment - The possible GitHub Enterprise deployments where this user can exist. + """ + EnterpriseUserDeployment - The possible GitHub Enterprise deployments where this user can exist. + + """ + + CLOUD = "CLOUD" # The user is part of a GitHub Enterprise Cloud deployment. + SERVER = "SERVER" # The user is part of a GitHub Enterprise Server deployment. - """ - DEFAULT = None - CLOUD = 'CLOUD' ##The user is part of a GitHub Enterprise Cloud deployment. - SERVER = 'SERVER' ##The user is part of a GitHub Enterprise Server deployment. class EnvironmentOrderField(Enum): - """ - EnvironmentOrderField - Properties by which environments connections can be ordered + """ + EnvironmentOrderField - Properties by which environments connections can be ordered + + """ + + NAME = "NAME" # Order environments by name. - """ - DEFAULT = None - NAME = 'NAME' ##Order environments by name. class FileViewedState(Enum): - """ - FileViewedState - The possible viewed states of a file . + """ + FileViewedState - The possible viewed states of a file . + + """ + + DISMISSED = "DISMISSED" # The file has new changes since last viewed. + UNVIEWED = "UNVIEWED" # The file has not been marked as viewed. + VIEWED = "VIEWED" # The file has been marked as viewed. - """ - DEFAULT = None - DISMISSED = 'DISMISSED' ##The file has new changes since last viewed. - VIEWED = 'VIEWED' ##The file has been marked as viewed. - UNVIEWED = 'UNVIEWED' ##The file has not been marked as viewed. class FundingPlatform(Enum): - """ - FundingPlatform - The possible funding platforms for repository funding links. - - """ - DEFAULT = None - GITHUB = 'GITHUB' ##GitHub funding platform. - PATREON = 'PATREON' ##Patreon funding platform. - OPEN_COLLECTIVE = 'OPEN_COLLECTIVE' ##Open Collective funding platform. - KO_FI = 'KO_FI' ##Ko-fi funding platform. - TIDELIFT = 'TIDELIFT' ##Tidelift funding platform. - COMMUNITY_BRIDGE = 'COMMUNITY_BRIDGE' ##Community Bridge funding platform. - LIBERAPAY = 'LIBERAPAY' ##Liberapay funding platform. - ISSUEHUNT = 'ISSUEHUNT' ##IssueHunt funding platform. - OTECHIE = 'OTECHIE' ##Otechie funding platform. - LFX_CROWDFUNDING = 'LFX_CROWDFUNDING' ##LFX Crowdfunding funding platform. - CUSTOM = 'CUSTOM' ##Custom funding platform. + """ + FundingPlatform - The possible funding platforms for repository funding links. + + """ + + BUY_ME_A_COFFEE = "BUY_ME_A_COFFEE" # Buy Me a Coffee funding platform. + COMMUNITY_BRIDGE = "COMMUNITY_BRIDGE" # Community Bridge funding platform. + CUSTOM = "CUSTOM" # Custom funding platform. + GITHUB = "GITHUB" # GitHub funding platform. + ISSUEHUNT = "ISSUEHUNT" # IssueHunt funding platform. + KO_FI = "KO_FI" # Ko-fi funding platform. + LFX_CROWDFUNDING = "LFX_CROWDFUNDING" # LFX Crowdfunding funding platform. + LIBERAPAY = "LIBERAPAY" # Liberapay funding platform. + OPEN_COLLECTIVE = "OPEN_COLLECTIVE" # Open Collective funding platform. + PATREON = "PATREON" # Patreon funding platform. + POLAR = "POLAR" # Polar funding platform. + TIDELIFT = "TIDELIFT" # Tidelift funding platform. + class GistOrderField(Enum): - """ - GistOrderField - Properties by which gist connections can be ordered. + """ + GistOrderField - Properties by which gist connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order gists by creation time + PUSHED_AT = "PUSHED_AT" # Order gists by push time + UPDATED_AT = "UPDATED_AT" # Order gists by update time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order gists by creation time - UPDATED_AT = 'UPDATED_AT' ##Order gists by update time - PUSHED_AT = 'PUSHED_AT' ##Order gists by push time class GistPrivacy(Enum): - """ - GistPrivacy - The privacy of a Gist + """ + GistPrivacy - The privacy of a Gist + + """ + + ALL = "ALL" # Gists that are public and secret + PUBLIC = "PUBLIC" # Public + SECRET = "SECRET" # Secret - """ - DEFAULT = None - PUBLIC = 'PUBLIC' ##Public - SECRET = 'SECRET' ##Secret - ALL = 'ALL' ##Gists that are public and secret class GitSignatureState(Enum): - """ - GitSignatureState - The state of a Git signature. - - """ - DEFAULT = None - VALID = 'VALID' ##Valid signature and verified by GitHub - INVALID = 'INVALID' ##Invalid signature - MALFORMED_SIG = 'MALFORMED_SIG' ##Malformed signature - UNKNOWN_KEY = 'UNKNOWN_KEY' ##Key used for signing not known to GitHub - BAD_EMAIL = 'BAD_EMAIL' ##Invalid email used for signing - UNVERIFIED_EMAIL = 'UNVERIFIED_EMAIL' ##Email used for signing unverified on GitHub - NO_USER = 'NO_USER' ##Email used for signing not known to GitHub - UNKNOWN_SIG_TYPE = 'UNKNOWN_SIG_TYPE' ##Unknown signature type - UNSIGNED = 'UNSIGNED' ##Unsigned - GPGVERIFY_UNAVAILABLE = 'GPGVERIFY_UNAVAILABLE' ##Internal error - the GPG verification service is unavailable at the moment - GPGVERIFY_ERROR = 'GPGVERIFY_ERROR' ##Internal error - the GPG verification service misbehaved - NOT_SIGNING_KEY = 'NOT_SIGNING_KEY' ##The usage flags for the key that signed this don't allow signing - EXPIRED_KEY = 'EXPIRED_KEY' ##Signing key expired - OCSP_PENDING = 'OCSP_PENDING' ##Valid signature, pending certificate revocation checking - OCSP_ERROR = 'OCSP_ERROR' ##Valid signature, though certificate revocation check failed - BAD_CERT = 'BAD_CERT' ##The signing certificate or its chain could not be verified - OCSP_REVOKED = 'OCSP_REVOKED' ##One or more certificates in chain has been revoked + """ + GitSignatureState - The state of a Git signature. + + """ + + BAD_CERT = "BAD_CERT" # The signing certificate or its chain could not be verified + BAD_EMAIL = "BAD_EMAIL" # Invalid email used for signing + EXPIRED_KEY = "EXPIRED_KEY" # Signing key expired + GPGVERIFY_ERROR = ( + "GPGVERIFY_ERROR" # Internal error - the GPG verification service misbehaved + ) + GPGVERIFY_UNAVAILABLE = "GPGVERIFY_UNAVAILABLE" # Internal error - the GPG verification service is unavailable at the moment + INVALID = "INVALID" # Invalid signature + MALFORMED_SIG = "MALFORMED_SIG" # Malformed signature + NOT_SIGNING_KEY = "NOT_SIGNING_KEY" # The usage flags for the key that signed this don't allow signing + NO_USER = "NO_USER" # Email used for signing not known to GitHub + OCSP_ERROR = ( + "OCSP_ERROR" # Valid signature, though certificate revocation check failed + ) + OCSP_PENDING = ( + "OCSP_PENDING" # Valid signature, pending certificate revocation checking + ) + OCSP_REVOKED = "OCSP_REVOKED" # One or more certificates in chain has been revoked + UNKNOWN_KEY = "UNKNOWN_KEY" # Key used for signing not known to GitHub + UNKNOWN_SIG_TYPE = "UNKNOWN_SIG_TYPE" # Unknown signature type + UNSIGNED = "UNSIGNED" # Unsigned + UNVERIFIED_EMAIL = "UNVERIFIED_EMAIL" # Email used for signing unverified on GitHub + VALID = "VALID" # Valid signature and verified by GitHub + class IdentityProviderConfigurationState(Enum): - """ - IdentityProviderConfigurationState - The possible states in which authentication can be configured with an identity provider. + """ + IdentityProviderConfigurationState - The possible states in which authentication can be configured with an identity provider. + + """ + + CONFIGURED = "CONFIGURED" # Authentication with an identity provider is configured but not enforced. + ENFORCED = "ENFORCED" # Authentication with an identity provider is configured and enforced. + UNCONFIGURED = ( + "UNCONFIGURED" # Authentication with an identity provider is not configured. + ) - """ - DEFAULT = None - ENFORCED = 'ENFORCED' ##Authentication with an identity provider is configured and enforced. - CONFIGURED = 'CONFIGURED' ##Authentication with an identity provider is configured but not enforced. - UNCONFIGURED = 'UNCONFIGURED' ##Authentication with an identity provider is not configured. class IpAllowListEnabledSettingValue(Enum): - """ - IpAllowListEnabledSettingValue - The possible values for the IP allow list enabled setting. + """ + IpAllowListEnabledSettingValue - The possible values for the IP allow list enabled setting. + + """ + + DISABLED = "DISABLED" # The setting is disabled for the owner. + ENABLED = "ENABLED" # The setting is enabled for the owner. - """ - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for the owner. - DISABLED = 'DISABLED' ##The setting is disabled for the owner. class IpAllowListEntryOrderField(Enum): - """ - IpAllowListEntryOrderField - Properties by which IP allow list entry connections can be ordered. + """ + IpAllowListEntryOrderField - Properties by which IP allow list entry connections can be ordered. + + """ + + ALLOW_LIST_VALUE = ( + "ALLOW_LIST_VALUE" # Order IP allow list entries by the allow list value. + ) + CREATED_AT = "CREATED_AT" # Order IP allow list entries by creation time. - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order IP allow list entries by creation time. - ALLOW_LIST_VALUE = 'ALLOW_LIST_VALUE' ##Order IP allow list entries by the allow list value. class IpAllowListForInstalledAppsEnabledSettingValue(Enum): - """ - IpAllowListForInstalledAppsEnabledSettingValue - The possible values for the IP allow list configuration for installed GitHub Apps setting. + """ + IpAllowListForInstalledAppsEnabledSettingValue - The possible values for the IP allow list configuration for installed GitHub Apps setting. + + """ + + DISABLED = "DISABLED" # The setting is disabled for the owner. + ENABLED = "ENABLED" # The setting is enabled for the owner. - """ - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for the owner. - DISABLED = 'DISABLED' ##The setting is disabled for the owner. class IssueClosedStateReason(Enum): - """ - IssueClosedStateReason - The possible state reasons of a closed issue. + """ + IssueClosedStateReason - The possible state reasons of a closed issue. + + """ + + COMPLETED = "COMPLETED" # An issue that has been closed as completed + NOT_PLANNED = "NOT_PLANNED" # An issue that has been closed as not planned - """ - DEFAULT = None - COMPLETED = 'COMPLETED' ##An issue that has been closed as completed - NOT_PLANNED = 'NOT_PLANNED' ##An issue that has been closed as not planned class IssueCommentOrderField(Enum): - """ - IssueCommentOrderField - Properties by which issue comment connections can be ordered. + """ + IssueCommentOrderField - Properties by which issue comment connections can be ordered. + + """ + + UPDATED_AT = "UPDATED_AT" # Order issue comments by update time - """ - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order issue comments by update time class IssueOrderField(Enum): - """ - IssueOrderField - Properties by which issue connections can be ordered. + """ + IssueOrderField - Properties by which issue connections can be ordered. + + """ + + COMMENTS = "COMMENTS" # Order issues by comment count + CREATED_AT = "CREATED_AT" # Order issues by creation time + UPDATED_AT = "UPDATED_AT" # Order issues by update time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order issues by creation time - UPDATED_AT = 'UPDATED_AT' ##Order issues by update time - COMMENTS = 'COMMENTS' ##Order issues by comment count class IssueState(Enum): - """ - IssueState - The possible states of an issue. + """ + IssueState - The possible states of an issue. + + """ + + CLOSED = "CLOSED" # An issue that has been closed + OPEN = "OPEN" # An issue that is still open - """ - DEFAULT = None - OPEN = 'OPEN' ##An issue that is still open - CLOSED = 'CLOSED' ##An issue that has been closed class IssueStateReason(Enum): - """ - IssueStateReason - The possible state reasons of an issue. + """ + IssueStateReason - The possible state reasons of an issue. + + """ + + COMPLETED = "COMPLETED" # An issue that has been closed as completed + NOT_PLANNED = "NOT_PLANNED" # An issue that has been closed as not planned + REOPENED = "REOPENED" # An issue that has been reopened - """ - DEFAULT = None - REOPENED = 'REOPENED' ##An issue that has been reopened - NOT_PLANNED = 'NOT_PLANNED' ##An issue that has been closed as not planned - COMPLETED = 'COMPLETED' ##An issue that has been closed as completed class IssueTimelineItemsItemType(Enum): - """ - IssueTimelineItemsItemType - The possible item types found in a timeline. - - """ - DEFAULT = None - ISSUE_COMMENT = 'ISSUE_COMMENT' ##Represents a comment on an Issue. - CROSS_REFERENCED_EVENT = 'CROSS_REFERENCED_EVENT' ##Represents a mention made by one issue or pull request to another. - ADDED_TO_PROJECT_EVENT = 'ADDED_TO_PROJECT_EVENT' ##Represents a 'added_to_project' event on a given issue or pull request. - ASSIGNED_EVENT = 'ASSIGNED_EVENT' ##Represents an 'assigned' event on any assignable object. - CLOSED_EVENT = 'CLOSED_EVENT' ##Represents a 'closed' event on any `Closable`. - COMMENT_DELETED_EVENT = 'COMMENT_DELETED_EVENT' ##Represents a 'comment_deleted' event on a given issue or pull request. - CONNECTED_EVENT = 'CONNECTED_EVENT' ##Represents a 'connected' event on a given issue or pull request. - CONVERTED_NOTE_TO_ISSUE_EVENT = 'CONVERTED_NOTE_TO_ISSUE_EVENT' ##Represents a 'converted_note_to_issue' event on a given issue or pull request. - CONVERTED_TO_DISCUSSION_EVENT = 'CONVERTED_TO_DISCUSSION_EVENT' ##Represents a 'converted_to_discussion' event on a given issue. - DEMILESTONED_EVENT = 'DEMILESTONED_EVENT' ##Represents a 'demilestoned' event on a given issue or pull request. - DISCONNECTED_EVENT = 'DISCONNECTED_EVENT' ##Represents a 'disconnected' event on a given issue or pull request. - LABELED_EVENT = 'LABELED_EVENT' ##Represents a 'labeled' event on a given issue or pull request. - LOCKED_EVENT = 'LOCKED_EVENT' ##Represents a 'locked' event on a given issue or pull request. - MARKED_AS_DUPLICATE_EVENT = 'MARKED_AS_DUPLICATE_EVENT' ##Represents a 'marked_as_duplicate' event on a given issue or pull request. - MENTIONED_EVENT = 'MENTIONED_EVENT' ##Represents a 'mentioned' event on a given issue or pull request. - MILESTONED_EVENT = 'MILESTONED_EVENT' ##Represents a 'milestoned' event on a given issue or pull request. - MOVED_COLUMNS_IN_PROJECT_EVENT = 'MOVED_COLUMNS_IN_PROJECT_EVENT' ##Represents a 'moved_columns_in_project' event on a given issue or pull request. - PINNED_EVENT = 'PINNED_EVENT' ##Represents a 'pinned' event on a given issue or pull request. - REFERENCED_EVENT = 'REFERENCED_EVENT' ##Represents a 'referenced' event on a given `ReferencedSubject`. - REMOVED_FROM_PROJECT_EVENT = 'REMOVED_FROM_PROJECT_EVENT' ##Represents a 'removed_from_project' event on a given issue or pull request. - RENAMED_TITLE_EVENT = 'RENAMED_TITLE_EVENT' ##Represents a 'renamed' event on a given issue or pull request - REOPENED_EVENT = 'REOPENED_EVENT' ##Represents a 'reopened' event on any `Closable`. - SUBSCRIBED_EVENT = 'SUBSCRIBED_EVENT' ##Represents a 'subscribed' event on a given `Subscribable`. - TRANSFERRED_EVENT = 'TRANSFERRED_EVENT' ##Represents a 'transferred' event on a given issue or pull request. - UNASSIGNED_EVENT = 'UNASSIGNED_EVENT' ##Represents an 'unassigned' event on any assignable object. - UNLABELED_EVENT = 'UNLABELED_EVENT' ##Represents an 'unlabeled' event on a given issue or pull request. - UNLOCKED_EVENT = 'UNLOCKED_EVENT' ##Represents an 'unlocked' event on a given issue or pull request. - USER_BLOCKED_EVENT = 'USER_BLOCKED_EVENT' ##Represents a 'user_blocked' event on a given user. - UNMARKED_AS_DUPLICATE_EVENT = 'UNMARKED_AS_DUPLICATE_EVENT' ##Represents an 'unmarked_as_duplicate' event on a given issue or pull request. - UNPINNED_EVENT = 'UNPINNED_EVENT' ##Represents an 'unpinned' event on a given issue or pull request. - UNSUBSCRIBED_EVENT = 'UNSUBSCRIBED_EVENT' ##Represents an 'unsubscribed' event on a given `Subscribable`. + """ + IssueTimelineItemsItemType - The possible item types found in a timeline. + + """ + + ADDED_TO_PROJECT_EVENT = "ADDED_TO_PROJECT_EVENT" # Represents a 'added_to_project' event on a given issue or pull request. + ASSIGNED_EVENT = ( + "ASSIGNED_EVENT" # Represents an 'assigned' event on any assignable object. + ) + CLOSED_EVENT = "CLOSED_EVENT" # Represents a 'closed' event on any `Closable`. + COMMENT_DELETED_EVENT = "COMMENT_DELETED_EVENT" # Represents a 'comment_deleted' event on a given issue or pull request. + CONNECTED_EVENT = "CONNECTED_EVENT" # Represents a 'connected' event on a given issue or pull request. + CONVERTED_NOTE_TO_ISSUE_EVENT = "CONVERTED_NOTE_TO_ISSUE_EVENT" # Represents a 'converted_note_to_issue' event on a given issue or pull request. + CONVERTED_TO_DISCUSSION_EVENT = "CONVERTED_TO_DISCUSSION_EVENT" # Represents a 'converted_to_discussion' event on a given issue. + CROSS_REFERENCED_EVENT = "CROSS_REFERENCED_EVENT" # Represents a mention made by one issue or pull request to another. + DEMILESTONED_EVENT = "DEMILESTONED_EVENT" # Represents a 'demilestoned' event on a given issue or pull request. + DISCONNECTED_EVENT = "DISCONNECTED_EVENT" # Represents a 'disconnected' event on a given issue or pull request. + ISSUE_COMMENT = "ISSUE_COMMENT" # Represents a comment on an Issue. + LABELED_EVENT = "LABELED_EVENT" # Represents a 'labeled' event on a given issue or pull request. + LOCKED_EVENT = ( + "LOCKED_EVENT" # Represents a 'locked' event on a given issue or pull request. + ) + MARKED_AS_DUPLICATE_EVENT = "MARKED_AS_DUPLICATE_EVENT" # Represents a 'marked_as_duplicate' event on a given issue or pull request. + MENTIONED_EVENT = "MENTIONED_EVENT" # Represents a 'mentioned' event on a given issue or pull request. + MILESTONED_EVENT = "MILESTONED_EVENT" # Represents a 'milestoned' event on a given issue or pull request. + MOVED_COLUMNS_IN_PROJECT_EVENT = "MOVED_COLUMNS_IN_PROJECT_EVENT" # Represents a 'moved_columns_in_project' event on a given issue or pull request. + PINNED_EVENT = ( + "PINNED_EVENT" # Represents a 'pinned' event on a given issue or pull request. + ) + REFERENCED_EVENT = "REFERENCED_EVENT" # Represents a 'referenced' event on a given `ReferencedSubject`. + REMOVED_FROM_PROJECT_EVENT = "REMOVED_FROM_PROJECT_EVENT" # Represents a 'removed_from_project' event on a given issue or pull request. + RENAMED_TITLE_EVENT = "RENAMED_TITLE_EVENT" # Represents a 'renamed' event on a given issue or pull request + REOPENED_EVENT = ( + "REOPENED_EVENT" # Represents a 'reopened' event on any `Closable`. + ) + SUBSCRIBED_EVENT = ( + "SUBSCRIBED_EVENT" # Represents a 'subscribed' event on a given `Subscribable`. + ) + TRANSFERRED_EVENT = "TRANSFERRED_EVENT" # Represents a 'transferred' event on a given issue or pull request. + UNASSIGNED_EVENT = ( + "UNASSIGNED_EVENT" # Represents an 'unassigned' event on any assignable object. + ) + UNLABELED_EVENT = "UNLABELED_EVENT" # Represents an 'unlabeled' event on a given issue or pull request. + UNLOCKED_EVENT = "UNLOCKED_EVENT" # Represents an 'unlocked' event on a given issue or pull request. + UNMARKED_AS_DUPLICATE_EVENT = "UNMARKED_AS_DUPLICATE_EVENT" # Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + UNPINNED_EVENT = "UNPINNED_EVENT" # Represents an 'unpinned' event on a given issue or pull request. + UNSUBSCRIBED_EVENT = "UNSUBSCRIBED_EVENT" # Represents an 'unsubscribed' event on a given `Subscribable`. + USER_BLOCKED_EVENT = ( + "USER_BLOCKED_EVENT" # Represents a 'user_blocked' event on a given user. + ) + class LabelOrderField(Enum): - """ - LabelOrderField - Properties by which label connections can be ordered. + """ + LabelOrderField - Properties by which label connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order labels by creation time + NAME = "NAME" # Order labels by name - """ - DEFAULT = None - NAME = 'NAME' ##Order labels by name - CREATED_AT = 'CREATED_AT' ##Order labels by creation time class LanguageOrderField(Enum): - """ - LanguageOrderField - Properties by which language connections can be ordered. + """ + LanguageOrderField - Properties by which language connections can be ordered. + + """ + + SIZE = "SIZE" # Order languages by the size of all files containing the language - """ - DEFAULT = None - SIZE = 'SIZE' ##Order languages by the size of all files containing the language class LockReason(Enum): - """ - LockReason - The possible reasons that an issue or pull request was locked. + """ + LockReason - The possible reasons that an issue or pull request was locked. + + """ + + OFF_TOPIC = "OFF_TOPIC" # The issue or pull request was locked because the conversation was off-topic. + RESOLVED = "RESOLVED" # The issue or pull request was locked because the conversation was resolved. + SPAM = "SPAM" # The issue or pull request was locked because the conversation was spam. + TOO_HEATED = "TOO_HEATED" # The issue or pull request was locked because the conversation was too heated. - """ - DEFAULT = None - OFF_TOPIC = 'OFF_TOPIC' ##The issue or pull request was locked because the conversation was off-topic. - TOO_HEATED = 'TOO_HEATED' ##The issue or pull request was locked because the conversation was too heated. - RESOLVED = 'RESOLVED' ##The issue or pull request was locked because the conversation was resolved. - SPAM = 'SPAM' ##The issue or pull request was locked because the conversation was spam. class MannequinOrderField(Enum): - """ - MannequinOrderField - Properties by which mannequins can be ordered. + """ + MannequinOrderField - Properties by which mannequins can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order mannequins why when they were created. + LOGIN = "LOGIN" # Order mannequins alphabetically by their source login. - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order mannequins alphabetically by their source login. - CREATED_AT = 'CREATED_AT' ##Order mannequins why when they were created. class MergeCommitMessage(Enum): - """ - MergeCommitMessage - The possible default commit messages for merges. + """ + MergeCommitMessage - The possible default commit messages for merges. + + """ + + BLANK = "BLANK" # Default to a blank commit message. + PR_BODY = "PR_BODY" # Default to the pull request's body. + PR_TITLE = "PR_TITLE" # Default to the pull request's title. - """ - DEFAULT = None - PR_TITLE = 'PR_TITLE' ##Default to the pull request's title. - PR_BODY = 'PR_BODY' ##Default to the pull request's body. - BLANK = 'BLANK' ##Default to a blank commit message. class MergeCommitTitle(Enum): - """ - MergeCommitTitle - The possible default commit titles for merges. + """ + MergeCommitTitle - The possible default commit titles for merges. + + """ + + MERGE_MESSAGE = "MERGE_MESSAGE" # Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + PR_TITLE = "PR_TITLE" # Default to the pull request's title. - """ - DEFAULT = None - PR_TITLE = 'PR_TITLE' ##Default to the pull request's title. - MERGE_MESSAGE = 'MERGE_MESSAGE' ##Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). class MergeQueueEntryState(Enum): - """ - MergeQueueEntryState - The possible states for a merge queue entry. + """ + MergeQueueEntryState - The possible states for a merge queue entry. + + """ + + AWAITING_CHECKS = ( + "AWAITING_CHECKS" # The entry is currently waiting for checks to pass. + ) + LOCKED = "LOCKED" # The entry is currently locked. + MERGEABLE = "MERGEABLE" # The entry is currently mergeable. + QUEUED = "QUEUED" # The entry is currently queued. + UNMERGEABLE = "UNMERGEABLE" # The entry is currently unmergeable. - """ - DEFAULT = None - QUEUED = 'QUEUED' ##The entry is currently queued. - AWAITING_CHECKS = 'AWAITING_CHECKS' ##The entry is currently waiting for checks to pass. - MERGEABLE = 'MERGEABLE' ##The entry is currently mergeable. - UNMERGEABLE = 'UNMERGEABLE' ##The entry is currently unmergeable. - LOCKED = 'LOCKED' ##The entry is currently locked. class MergeQueueMergingStrategy(Enum): - """ - MergeQueueMergingStrategy - The possible merging strategies for a merge queue. + """ + MergeQueueMergingStrategy - The possible merging strategies for a merge queue. + + """ + + ALLGREEN = "ALLGREEN" # Entries only allowed to merge if they are passing. + HEADGREEN = "HEADGREEN" # Failing Entires are allowed to merge if they are with a passing entry. + + +class MergeStateStatus(Enum): + """ + MergeStateStatus - Detailed status information about a pull request merge. + + """ + + BEHIND = "BEHIND" # The head ref is out of date. + BLOCKED = "BLOCKED" # The merge is blocked. + CLEAN = "CLEAN" # Mergeable and passing commit status. + DIRTY = "DIRTY" # The merge commit cannot be cleanly created. + HAS_HOOKS = ( + "HAS_HOOKS" # Mergeable with passing commit status and pre-receive hooks. + ) + UNKNOWN = "UNKNOWN" # The state cannot currently be determined. + UNSTABLE = "UNSTABLE" # Mergeable with non-passing commit status. - """ - DEFAULT = None - ALLGREEN = 'ALLGREEN' ##Entries only allowed to merge if they are passing. - HEADGREEN = 'HEADGREEN' ##Failing Entires are allowed to merge if they are with a passing entry. class MergeableState(Enum): - """ - MergeableState - Whether or not a PullRequest can be merged. + """ + MergeableState - Whether or not a PullRequest can be merged. + + """ + + CONFLICTING = ( + "CONFLICTING" # The pull request cannot be merged due to merge conflicts. + ) + MERGEABLE = "MERGEABLE" # The pull request can be merged. + UNKNOWN = ( + "UNKNOWN" # The mergeability of the pull request is still being calculated. + ) - """ - DEFAULT = None - MERGEABLE = 'MERGEABLE' ##The pull request can be merged. - CONFLICTING = 'CONFLICTING' ##The pull request cannot be merged due to merge conflicts. - UNKNOWN = 'UNKNOWN' ##The mergeability of the pull request is still being calculated. class MigrationSourceType(Enum): - """ - MigrationSourceType - Represents the different GitHub Enterprise Importer (GEI) migration sources. + """ + MigrationSourceType - Represents the different GitHub Enterprise Importer (GEI) migration sources. + + """ + + AZURE_DEVOPS = "AZURE_DEVOPS" # An Azure DevOps migration source. + BITBUCKET_SERVER = "BITBUCKET_SERVER" # A Bitbucket Server migration source. + GITHUB_ARCHIVE = "GITHUB_ARCHIVE" # A GitHub Migration API source. - """ - DEFAULT = None - AZURE_DEVOPS = 'AZURE_DEVOPS' ##An Azure DevOps migration source. - BITBUCKET_SERVER = 'BITBUCKET_SERVER' ##A Bitbucket Server migration source. - GITHUB_ARCHIVE = 'GITHUB_ARCHIVE' ##A GitHub Migration API source. class MigrationState(Enum): - """ - MigrationState - The GitHub Enterprise Importer (GEI) migration state. - - """ - DEFAULT = None - NOT_STARTED = 'NOT_STARTED' ##The migration has not started. - QUEUED = 'QUEUED' ##The migration has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The migration is in progress. - SUCCEEDED = 'SUCCEEDED' ##The migration has succeeded. - FAILED = 'FAILED' ##The migration has failed. - PENDING_VALIDATION = 'PENDING_VALIDATION' ##The migration needs to have its credentials validated. - FAILED_VALIDATION = 'FAILED_VALIDATION' ##The migration has invalid credentials. + """ + MigrationState - The GitHub Enterprise Importer (GEI) migration state. + + """ + + FAILED = "FAILED" # The migration has failed. + FAILED_VALIDATION = "FAILED_VALIDATION" # The migration has invalid credentials. + IN_PROGRESS = "IN_PROGRESS" # The migration is in progress. + NOT_STARTED = "NOT_STARTED" # The migration has not started. + PENDING_VALIDATION = ( + "PENDING_VALIDATION" # The migration needs to have its credentials validated. + ) + QUEUED = "QUEUED" # The migration has been queued. + SUCCEEDED = "SUCCEEDED" # The migration has succeeded. + class MilestoneOrderField(Enum): - """ - MilestoneOrderField - Properties by which milestone connections can be ordered. + """ + MilestoneOrderField - Properties by which milestone connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order milestones by when they were created. + DUE_DATE = "DUE_DATE" # Order milestones by when they are due. + NUMBER = "NUMBER" # Order milestones by their number. + UPDATED_AT = "UPDATED_AT" # Order milestones by when they were last updated. - """ - DEFAULT = None - DUE_DATE = 'DUE_DATE' ##Order milestones by when they are due. - CREATED_AT = 'CREATED_AT' ##Order milestones by when they were created. - UPDATED_AT = 'UPDATED_AT' ##Order milestones by when they were last updated. - NUMBER = 'NUMBER' ##Order milestones by their number. class MilestoneState(Enum): - """ - MilestoneState - The possible states of a milestone. + """ + MilestoneState - The possible states of a milestone. + + """ + + CLOSED = "CLOSED" # A milestone that has been closed. + OPEN = "OPEN" # A milestone that is still open. - """ - DEFAULT = None - OPEN = 'OPEN' ##A milestone that is still open. - CLOSED = 'CLOSED' ##A milestone that has been closed. class NotificationRestrictionSettingValue(Enum): - """ - NotificationRestrictionSettingValue - The possible values for the notification restriction setting. + """ + NotificationRestrictionSettingValue - The possible values for the notification restriction setting. + + """ + + DISABLED = "DISABLED" # The setting is disabled for the owner. + ENABLED = "ENABLED" # The setting is enabled for the owner. - """ - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for the owner. - DISABLED = 'DISABLED' ##The setting is disabled for the owner. class OIDCProviderType(Enum): - """ - OIDCProviderType - The OIDC identity provider type + """ + OIDCProviderType - The OIDC identity provider type + + """ + + AAD = "AAD" # Azure Active Directory - """ - DEFAULT = None - AAD = 'AAD' ##Azure Active Directory class OauthApplicationCreateAuditEntryState(Enum): - """ - OauthApplicationCreateAuditEntryState - The state of an OAuth application when it was created. + """ + OauthApplicationCreateAuditEntryState - The state of an OAuth application when it was created. + + """ + + ACTIVE = ( + "ACTIVE" # The OAuth application was active and allowed to have OAuth Accesses. + ) + PENDING_DELETION = ( + "PENDING_DELETION" # The OAuth application was in the process of being deleted. + ) + SUSPENDED = "SUSPENDED" # The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. - """ - DEFAULT = None - ACTIVE = 'ACTIVE' ##The OAuth application was active and allowed to have OAuth Accesses. - SUSPENDED = 'SUSPENDED' ##The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. - PENDING_DELETION = 'PENDING_DELETION' ##The OAuth application was in the process of being deleted. class OperationType(Enum): - """ - OperationType - The corresponding operation type for the action - - """ - DEFAULT = None - ACCESS = 'ACCESS' ##An existing resource was accessed - AUTHENTICATION = 'AUTHENTICATION' ##A resource performed an authentication event - CREATE = 'CREATE' ##A new resource was created - MODIFY = 'MODIFY' ##An existing resource was modified - REMOVE = 'REMOVE' ##An existing resource was removed - RESTORE = 'RESTORE' ##An existing resource was restored - TRANSFER = 'TRANSFER' ##An existing resource was transferred between multiple resources + """ + OperationType - The corresponding operation type for the action + + """ + + ACCESS = "ACCESS" # An existing resource was accessed + AUTHENTICATION = "AUTHENTICATION" # A resource performed an authentication event + CREATE = "CREATE" # A new resource was created + MODIFY = "MODIFY" # An existing resource was modified + REMOVE = "REMOVE" # An existing resource was removed + RESTORE = "RESTORE" # An existing resource was restored + TRANSFER = ( + "TRANSFER" # An existing resource was transferred between multiple resources + ) + class OrderDirection(Enum): - """ - OrderDirection - Possible directions in which to order a list of items when provided an `orderBy` argument. + """ + OrderDirection - Possible directions in which to order a list of items when provided an `orderBy` argument. + + """ + + ASC = "ASC" # Specifies an ascending order for a given `orderBy` argument. + DESC = "DESC" # Specifies a descending order for a given `orderBy` argument. - """ - DEFAULT = None - ASC = 'ASC' ##Specifies an ascending order for a given `orderBy` argument. - DESC = 'DESC' ##Specifies a descending order for a given `orderBy` argument. class OrgAddMemberAuditEntryPermission(Enum): - """ - OrgAddMemberAuditEntryPermission - The permissions available to members on an Organization. + """ + OrgAddMemberAuditEntryPermission - The permissions available to members on an Organization. + + """ + + ADMIN = "ADMIN" # Can read, clone, push, and add collaborators to repositories. + READ = "READ" # Can read and clone repositories. - """ - DEFAULT = None - READ = 'READ' ##Can read and clone repositories. - ADMIN = 'ADMIN' ##Can read, clone, push, and add collaborators to repositories. class OrgCreateAuditEntryBillingPlan(Enum): - """ - OrgCreateAuditEntryBillingPlan - The billing plans available for organizations. + """ + OrgCreateAuditEntryBillingPlan - The billing plans available for organizations. + + """ + + BUSINESS = "BUSINESS" # Team Plan + BUSINESS_PLUS = "BUSINESS_PLUS" # Enterprise Cloud Plan + FREE = "FREE" # Free Plan + TIERED_PER_SEAT = "TIERED_PER_SEAT" # Tiered Per Seat Plan + UNLIMITED = "UNLIMITED" # Legacy Unlimited Plan - """ - DEFAULT = None - FREE = 'FREE' ##Free Plan - BUSINESS = 'BUSINESS' ##Team Plan - BUSINESS_PLUS = 'BUSINESS_PLUS' ##Enterprise Cloud Plan - UNLIMITED = 'UNLIMITED' ##Legacy Unlimited Plan - TIERED_PER_SEAT = 'TIERED_PER_SEAT' ##Tiered Per Seat Plan class OrgEnterpriseOwnerOrderField(Enum): - """ - OrgEnterpriseOwnerOrderField - Properties by which enterprise owners can be ordered. + """ + OrgEnterpriseOwnerOrderField - Properties by which enterprise owners can be ordered. + + """ + + LOGIN = "LOGIN" # Order enterprise owners by login. - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order enterprise owners by login. class OrgRemoveBillingManagerAuditEntryReason(Enum): - """ - OrgRemoveBillingManagerAuditEntryReason - The reason a billing manager was removed from an Organization. + """ + OrgRemoveBillingManagerAuditEntryReason - The reason a billing manager was removed from an Organization. + + """ + + SAML_EXTERNAL_IDENTITY_MISSING = ( + "SAML_EXTERNAL_IDENTITY_MISSING" # SAML external identity missing + ) + SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" # SAML SSO enforcement requires an external identity + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" # The organization required 2FA of its billing managers and this user did not have 2FA enabled. - """ - DEFAULT = None - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' ##The organization required 2FA of its billing managers and this user did not have 2FA enabled. - SAML_EXTERNAL_IDENTITY_MISSING = 'SAML_EXTERNAL_IDENTITY_MISSING' ##SAML external identity missing - SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = 'SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY' ##SAML SSO enforcement requires an external identity class OrgRemoveMemberAuditEntryMembershipType(Enum): - """ - OrgRemoveMemberAuditEntryMembershipType - The type of membership a user has with an Organization. - - """ - DEFAULT = None - SUSPENDED = 'SUSPENDED' ##A suspended member. - DIRECT_MEMBER = 'DIRECT_MEMBER' ##A direct member is a user that is a member of the Organization. - ADMIN = 'ADMIN' ##Organization administrators have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization admins can delete the organization and all of its repositories. - BILLING_MANAGER = 'BILLING_MANAGER' ##A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. - UNAFFILIATED = 'UNAFFILIATED' ##An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization. - OUTSIDE_COLLABORATOR = 'OUTSIDE_COLLABORATOR' ##An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. + """ + OrgRemoveMemberAuditEntryMembershipType - The type of membership a user has with an Organization. + + """ + + ADMIN = "ADMIN" # Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization owners can delete the organization and all of its repositories. + BILLING_MANAGER = "BILLING_MANAGER" # A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + DIRECT_MEMBER = "DIRECT_MEMBER" # A direct member is a user that is a member of the Organization. + OUTSIDE_COLLABORATOR = "OUTSIDE_COLLABORATOR" # An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. + SUSPENDED = "SUSPENDED" # A suspended member. + UNAFFILIATED = "UNAFFILIATED" # An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization. + class OrgRemoveMemberAuditEntryReason(Enum): - """ - OrgRemoveMemberAuditEntryReason - The reason a member was removed from an Organization. + """ + OrgRemoveMemberAuditEntryReason - The reason a member was removed from an Organization. + + """ + + SAML_EXTERNAL_IDENTITY_MISSING = ( + "SAML_EXTERNAL_IDENTITY_MISSING" # SAML external identity missing + ) + SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" # SAML SSO enforcement requires an external identity + TWO_FACTOR_ACCOUNT_RECOVERY = "TWO_FACTOR_ACCOUNT_RECOVERY" # User was removed from organization during account recovery + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" # The organization required 2FA of its billing managers and this user did not have 2FA enabled. + USER_ACCOUNT_DELETED = "USER_ACCOUNT_DELETED" # User account has been deleted - """ - DEFAULT = None - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' ##The organization required 2FA of its billing managers and this user did not have 2FA enabled. - SAML_EXTERNAL_IDENTITY_MISSING = 'SAML_EXTERNAL_IDENTITY_MISSING' ##SAML external identity missing - SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = 'SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY' ##SAML SSO enforcement requires an external identity - USER_ACCOUNT_DELETED = 'USER_ACCOUNT_DELETED' ##User account has been deleted - TWO_FACTOR_ACCOUNT_RECOVERY = 'TWO_FACTOR_ACCOUNT_RECOVERY' ##User was removed from organization during account recovery class OrgRemoveOutsideCollaboratorAuditEntryMembershipType(Enum): - """ - OrgRemoveOutsideCollaboratorAuditEntryMembershipType - The type of membership a user has with an Organization. + """ + OrgRemoveOutsideCollaboratorAuditEntryMembershipType - The type of membership a user has with an Organization. + + """ + + BILLING_MANAGER = "BILLING_MANAGER" # A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + OUTSIDE_COLLABORATOR = "OUTSIDE_COLLABORATOR" # An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. + UNAFFILIATED = "UNAFFILIATED" # An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization. - """ - DEFAULT = None - OUTSIDE_COLLABORATOR = 'OUTSIDE_COLLABORATOR' ##An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. - UNAFFILIATED = 'UNAFFILIATED' ##An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization. - BILLING_MANAGER = 'BILLING_MANAGER' ##A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. class OrgRemoveOutsideCollaboratorAuditEntryReason(Enum): - """ - OrgRemoveOutsideCollaboratorAuditEntryReason - The reason an outside collaborator was removed from an Organization. + """ + OrgRemoveOutsideCollaboratorAuditEntryReason - The reason an outside collaborator was removed from an Organization. + + """ + + SAML_EXTERNAL_IDENTITY_MISSING = ( + "SAML_EXTERNAL_IDENTITY_MISSING" # SAML external identity missing + ) + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" # The organization required 2FA of its billing managers and this user did not have 2FA enabled. - """ - DEFAULT = None - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' ##The organization required 2FA of its billing managers and this user did not have 2FA enabled. - SAML_EXTERNAL_IDENTITY_MISSING = 'SAML_EXTERNAL_IDENTITY_MISSING' ##SAML external identity missing class OrgUpdateDefaultRepositoryPermissionAuditEntryPermission(Enum): - """ - OrgUpdateDefaultRepositoryPermissionAuditEntryPermission - The default permission a repository can have in an Organization. + """ + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission - The default permission a repository can have in an Organization. + + """ + + ADMIN = "ADMIN" # Can read, clone, push, and add collaborators to repositories. + NONE = "NONE" # No default permission value. + READ = "READ" # Can read and clone repositories. + WRITE = "WRITE" # Can read, clone and push to repositories. - """ - DEFAULT = None - READ = 'READ' ##Can read and clone repositories. - WRITE = 'WRITE' ##Can read, clone and push to repositories. - ADMIN = 'ADMIN' ##Can read, clone, push, and add collaborators to repositories. - NONE = 'NONE' ##No default permission value. class OrgUpdateMemberAuditEntryPermission(Enum): - """ - OrgUpdateMemberAuditEntryPermission - The permissions available to members on an Organization. + """ + OrgUpdateMemberAuditEntryPermission - The permissions available to members on an Organization. + + """ + + ADMIN = "ADMIN" # Can read, clone, push, and add collaborators to repositories. + READ = "READ" # Can read and clone repositories. - """ - DEFAULT = None - READ = 'READ' ##Can read and clone repositories. - ADMIN = 'ADMIN' ##Can read, clone, push, and add collaborators to repositories. class OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility(Enum): - """ - OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility - The permissions available for repository creation on an Organization. - - """ - DEFAULT = None - ALL = 'ALL' ##All organization members are restricted from creating any repositories. - PUBLIC = 'PUBLIC' ##All organization members are restricted from creating public repositories. - NONE = 'NONE' ##All organization members are allowed to create any repositories. - PRIVATE = 'PRIVATE' ##All organization members are restricted from creating private repositories. - INTERNAL = 'INTERNAL' ##All organization members are restricted from creating internal repositories. - PUBLIC_INTERNAL = 'PUBLIC_INTERNAL' ##All organization members are restricted from creating public or internal repositories. - PRIVATE_INTERNAL = 'PRIVATE_INTERNAL' ##All organization members are restricted from creating private or internal repositories. - PUBLIC_PRIVATE = 'PUBLIC_PRIVATE' ##All organization members are restricted from creating public or private repositories. + """ + OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility - The permissions available for repository creation on an Organization. + + """ + + ALL = ( + "ALL" # All organization members are restricted from creating any repositories. + ) + INTERNAL = "INTERNAL" # All organization members are restricted from creating internal repositories. + NONE = "NONE" # All organization members are allowed to create any repositories. + PRIVATE = "PRIVATE" # All organization members are restricted from creating private repositories. + PRIVATE_INTERNAL = "PRIVATE_INTERNAL" # All organization members are restricted from creating private or internal repositories. + PUBLIC = "PUBLIC" # All organization members are restricted from creating public repositories. + PUBLIC_INTERNAL = "PUBLIC_INTERNAL" # All organization members are restricted from creating public or internal repositories. + PUBLIC_PRIVATE = "PUBLIC_PRIVATE" # All organization members are restricted from creating public or private repositories. + class OrganizationInvitationRole(Enum): - """ - OrganizationInvitationRole - The possible organization invitation roles. + """ + OrganizationInvitationRole - The possible organization invitation roles. + + """ + + ADMIN = "ADMIN" # The user is invited to be an admin of the organization. + BILLING_MANAGER = "BILLING_MANAGER" # The user is invited to be a billing manager of the organization. + DIRECT_MEMBER = "DIRECT_MEMBER" # The user is invited to be a direct member of the organization. + REINSTATE = "REINSTATE" # The user's previous role will be reinstated. - """ - DEFAULT = None - DIRECT_MEMBER = 'DIRECT_MEMBER' ##The user is invited to be a direct member of the organization. - ADMIN = 'ADMIN' ##The user is invited to be an admin of the organization. - BILLING_MANAGER = 'BILLING_MANAGER' ##The user is invited to be a billing manager of the organization. - REINSTATE = 'REINSTATE' ##The user's previous role will be reinstated. class OrganizationInvitationSource(Enum): - """ - OrganizationInvitationSource - The possible organization invitation sources. + """ + OrganizationInvitationSource - The possible organization invitation sources. + + """ + + MEMBER = "MEMBER" # The invitation was created from the web interface or from API + SCIM = "SCIM" # The invitation was created from SCIM + UNKNOWN = "UNKNOWN" # The invitation was sent before this feature was added - """ - DEFAULT = None - UNKNOWN = 'UNKNOWN' ##The invitation was sent before this feature was added - MEMBER = 'MEMBER' ##The invitation was created from the web interface or from API - SCIM = 'SCIM' ##The invitation was created from SCIM class OrganizationInvitationType(Enum): - """ - OrganizationInvitationType - The possible organization invitation types. + """ + OrganizationInvitationType - The possible organization invitation types. + + """ + + EMAIL = "EMAIL" # The invitation was to an email address. + USER = "USER" # The invitation was to an existing user. - """ - DEFAULT = None - USER = 'USER' ##The invitation was to an existing user. - EMAIL = 'EMAIL' ##The invitation was to an email address. class OrganizationMemberRole(Enum): - """ - OrganizationMemberRole - The possible roles within an organization for its members. + """ + OrganizationMemberRole - The possible roles within an organization for its members. + + """ + + ADMIN = "ADMIN" # The user is an administrator of the organization. + MEMBER = "MEMBER" # The user is a member of the organization. - """ - DEFAULT = None - MEMBER = 'MEMBER' ##The user is a member of the organization. - ADMIN = 'ADMIN' ##The user is an administrator of the organization. class OrganizationMembersCanCreateRepositoriesSettingValue(Enum): - """ - OrganizationMembersCanCreateRepositoriesSettingValue - The possible values for the members can create repositories setting on an organization. + """ + OrganizationMembersCanCreateRepositoriesSettingValue - The possible values for the members can create repositories setting on an organization. + + """ + + ALL = "ALL" # Members will be able to create public and private repositories. + DISABLED = ( + "DISABLED" # Members will not be able to create public or private repositories. + ) + INTERNAL = "INTERNAL" # Members will be able to create only internal repositories. + PRIVATE = "PRIVATE" # Members will be able to create only private repositories. - """ - DEFAULT = None - ALL = 'ALL' ##Members will be able to create public and private repositories. - PRIVATE = 'PRIVATE' ##Members will be able to create only private repositories. - INTERNAL = 'INTERNAL' ##Members will be able to create only internal repositories. - DISABLED = 'DISABLED' ##Members will not be able to create public or private repositories. class OrganizationMigrationState(Enum): - """ - OrganizationMigrationState - The Octoshift Organization migration state. - - """ - DEFAULT = None - NOT_STARTED = 'NOT_STARTED' ##The Octoshift migration has not started. - QUEUED = 'QUEUED' ##The Octoshift migration has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The Octoshift migration is in progress. - PRE_REPO_MIGRATION = 'PRE_REPO_MIGRATION' ##The Octoshift migration is performing pre repository migrations. - REPO_MIGRATION = 'REPO_MIGRATION' ##The Octoshift org migration is performing repository migrations. - POST_REPO_MIGRATION = 'POST_REPO_MIGRATION' ##The Octoshift migration is performing post repository migrations. - SUCCEEDED = 'SUCCEEDED' ##The Octoshift migration has succeeded. - FAILED = 'FAILED' ##The Octoshift migration has failed. - PENDING_VALIDATION = 'PENDING_VALIDATION' ##The Octoshift migration needs to have its credentials validated. - FAILED_VALIDATION = 'FAILED_VALIDATION' ##The Octoshift migration has invalid credentials. + """ + OrganizationMigrationState - The Octoshift Organization migration state. + + """ + + FAILED = "FAILED" # The Octoshift migration has failed. + FAILED_VALIDATION = ( + "FAILED_VALIDATION" # The Octoshift migration has invalid credentials. + ) + IN_PROGRESS = "IN_PROGRESS" # The Octoshift migration is in progress. + NOT_STARTED = "NOT_STARTED" # The Octoshift migration has not started. + PENDING_VALIDATION = "PENDING_VALIDATION" # The Octoshift migration needs to have its credentials validated. + POST_REPO_MIGRATION = "POST_REPO_MIGRATION" # The Octoshift migration is performing post repository migrations. + PRE_REPO_MIGRATION = "PRE_REPO_MIGRATION" # The Octoshift migration is performing pre repository migrations. + QUEUED = "QUEUED" # The Octoshift migration has been queued. + REPO_MIGRATION = "REPO_MIGRATION" # The Octoshift org migration is performing repository migrations. + SUCCEEDED = "SUCCEEDED" # The Octoshift migration has succeeded. + class OrganizationOrderField(Enum): - """ - OrganizationOrderField - Properties by which organization connections can be ordered. + """ + OrganizationOrderField - Properties by which organization connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order organizations by creation time + LOGIN = "LOGIN" # Order organizations by login - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order organizations by creation time - LOGIN = 'LOGIN' ##Order organizations by login class PackageFileOrderField(Enum): - """ - PackageFileOrderField - Properties by which package file connections can be ordered. + """ + PackageFileOrderField - Properties by which package file connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order package files by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order package files by creation time class PackageOrderField(Enum): - """ - PackageOrderField - Properties by which package connections can be ordered. + """ + PackageOrderField - Properties by which package connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order packages by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order packages by creation time class PackageType(Enum): - """ - PackageType - The possible types of a package. + """ + PackageType - The possible types of a package. + + """ + + DEBIAN = "DEBIAN" # A debian package. + PYPI = "PYPI" # A python package. - """ - DEFAULT = None - DEBIAN = 'DEBIAN' ##A debian package. - PYPI = 'PYPI' ##A python package. class PackageVersionOrderField(Enum): - """ - PackageVersionOrderField - Properties by which package version connections can be ordered. + """ + PackageVersionOrderField - Properties by which package version connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order package versions by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order package versions by creation time class PatchStatus(Enum): - """ - PatchStatus - The possible types of patch statuses. - - """ - DEFAULT = None - ADDED = 'ADDED' ##The file was added. Git status 'A'. - DELETED = 'DELETED' ##The file was deleted. Git status 'D'. - RENAMED = 'RENAMED' ##The file was renamed. Git status 'R'. - COPIED = 'COPIED' ##The file was copied. Git status 'C'. - MODIFIED = 'MODIFIED' ##The file's contents were changed. Git status 'M'. - CHANGED = 'CHANGED' ##The file's type was changed. Git status 'T'. + """ + PatchStatus - The possible types of patch statuses. + + """ + + ADDED = "ADDED" # The file was added. Git status 'A'. + CHANGED = "CHANGED" # The file's type was changed. Git status 'T'. + COPIED = "COPIED" # The file was copied. Git status 'C'. + DELETED = "DELETED" # The file was deleted. Git status 'D'. + MODIFIED = "MODIFIED" # The file's contents were changed. Git status 'M'. + RENAMED = "RENAMED" # The file was renamed. Git status 'R'. + class PinnableItemType(Enum): - """ - PinnableItemType - Represents items that can be pinned to a profile page or dashboard. - - """ - DEFAULT = None - REPOSITORY = 'REPOSITORY' ##A repository. - GIST = 'GIST' ##A gist. - ISSUE = 'ISSUE' ##An issue. - PROJECT = 'PROJECT' ##A project. - PULL_REQUEST = 'PULL_REQUEST' ##A pull request. - USER = 'USER' ##A user. - ORGANIZATION = 'ORGANIZATION' ##An organization. - TEAM = 'TEAM' ##A team. + """ + PinnableItemType - Represents items that can be pinned to a profile page or dashboard. + + """ + + GIST = "GIST" # A gist. + ISSUE = "ISSUE" # An issue. + ORGANIZATION = "ORGANIZATION" # An organization. + PROJECT = "PROJECT" # A project. + PULL_REQUEST = "PULL_REQUEST" # A pull request. + REPOSITORY = "REPOSITORY" # A repository. + TEAM = "TEAM" # A team. + USER = "USER" # A user. + class PinnedDiscussionGradient(Enum): - """ - PinnedDiscussionGradient - Preconfigured gradients that may be used to style discussions pinned within a repository. + """ + PinnedDiscussionGradient - Preconfigured gradients that may be used to style discussions pinned within a repository. + + """ + + BLUE_MINT = "BLUE_MINT" # A gradient of blue to mint + BLUE_PURPLE = "BLUE_PURPLE" # A gradient of blue to purple + PINK_BLUE = "PINK_BLUE" # A gradient of pink to blue + PURPLE_CORAL = "PURPLE_CORAL" # A gradient of purple to coral + RED_ORANGE = "RED_ORANGE" # A gradient of red to orange - """ - DEFAULT = None - RED_ORANGE = 'RED_ORANGE' ##A gradient of red to orange - BLUE_MINT = 'BLUE_MINT' ##A gradient of blue to mint - BLUE_PURPLE = 'BLUE_PURPLE' ##A gradient of blue to purple - PINK_BLUE = 'PINK_BLUE' ##A gradient of pink to blue - PURPLE_CORAL = 'PURPLE_CORAL' ##A gradient of purple to coral class PinnedDiscussionPattern(Enum): - """ - PinnedDiscussionPattern - Preconfigured background patterns that may be used to style discussions pinned within a repository. - - """ - DEFAULT = None - DOT_FILL = 'DOT_FILL' ##A solid dot pattern - PLUS = 'PLUS' ##A plus sign pattern - ZAP = 'ZAP' ##A lightning bolt pattern - CHEVRON_UP = 'CHEVRON_UP' ##An upward-facing chevron pattern - DOT = 'DOT' ##A hollow dot pattern - HEART_FILL = 'HEART_FILL' ##A heart pattern + """ + PinnedDiscussionPattern - Preconfigured background patterns that may be used to style discussions pinned within a repository. + + """ + + CHEVRON_UP = "CHEVRON_UP" # An upward-facing chevron pattern + DOT = "DOT" # A hollow dot pattern + DOT_FILL = "DOT_FILL" # A solid dot pattern + HEART_FILL = "HEART_FILL" # A heart pattern + PLUS = "PLUS" # A plus sign pattern + ZAP = "ZAP" # A lightning bolt pattern + class ProjectCardArchivedState(Enum): - """ - ProjectCardArchivedState - The possible archived states of a project card. + """ + ProjectCardArchivedState - The possible archived states of a project card. + + """ + + ARCHIVED = "ARCHIVED" # A project card that is archived + NOT_ARCHIVED = "NOT_ARCHIVED" # A project card that is not archived - """ - DEFAULT = None - ARCHIVED = 'ARCHIVED' ##A project card that is archived - NOT_ARCHIVED = 'NOT_ARCHIVED' ##A project card that is not archived class ProjectCardState(Enum): - """ - ProjectCardState - Various content states of a ProjectCard + """ + ProjectCardState - Various content states of a ProjectCard + + """ + + CONTENT_ONLY = "CONTENT_ONLY" # The card has content only. + NOTE_ONLY = "NOTE_ONLY" # The card has a note only. + REDACTED = "REDACTED" # The card is redacted. - """ - DEFAULT = None - CONTENT_ONLY = 'CONTENT_ONLY' ##The card has content only. - NOTE_ONLY = 'NOTE_ONLY' ##The card has a note only. - REDACTED = 'REDACTED' ##The card is redacted. class ProjectColumnPurpose(Enum): - """ - ProjectColumnPurpose - The semantic purpose of the column - todo, in progress, or done. + """ + ProjectColumnPurpose - The semantic purpose of the column - todo, in progress, or done. + + """ + + DONE = "DONE" # The column contains cards which are complete + IN_PROGRESS = ( + "IN_PROGRESS" # The column contains cards which are currently being worked on + ) + TODO = "TODO" # The column contains cards still to be worked on - """ - DEFAULT = None - TODO = 'TODO' ##The column contains cards still to be worked on - IN_PROGRESS = 'IN_PROGRESS' ##The column contains cards which are currently being worked on - DONE = 'DONE' ##The column contains cards which are complete class ProjectOrderField(Enum): - """ - ProjectOrderField - Properties by which project connections can be ordered. + """ + ProjectOrderField - Properties by which project connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order projects by creation time + NAME = "NAME" # Order projects by name + UPDATED_AT = "UPDATED_AT" # Order projects by update time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order projects by creation time - UPDATED_AT = 'UPDATED_AT' ##Order projects by update time - NAME = 'NAME' ##Order projects by name class ProjectState(Enum): - """ - ProjectState - State of the project; either 'open' or 'closed' + """ + ProjectState - State of the project; either 'open' or 'closed' + + """ + + CLOSED = "CLOSED" # The project is closed. + OPEN = "OPEN" # The project is open. - """ - DEFAULT = None - OPEN = 'OPEN' ##The project is open. - CLOSED = 'CLOSED' ##The project is closed. class ProjectTemplate(Enum): - """ - ProjectTemplate - GitHub-provided templates for Projects + """ + ProjectTemplate - GitHub-provided templates for Projects + + """ + + AUTOMATED_KANBAN_V2 = "AUTOMATED_KANBAN_V2" # Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. + AUTOMATED_REVIEWS_KANBAN = "AUTOMATED_REVIEWS_KANBAN" # Create a board with triggers to automatically move cards across columns with review automation. + BASIC_KANBAN = ( + "BASIC_KANBAN" # Create a board with columns for To do, In progress and Done. + ) + BUG_TRIAGE = "BUG_TRIAGE" # Create a board to triage and prioritize bugs with To do, priority, and Done columns. - """ - DEFAULT = None - BASIC_KANBAN = 'BASIC_KANBAN' ##Create a board with columns for To do, In progress and Done. - AUTOMATED_KANBAN_V2 = 'AUTOMATED_KANBAN_V2' ##Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. - AUTOMATED_REVIEWS_KANBAN = 'AUTOMATED_REVIEWS_KANBAN' ##Create a board with triggers to automatically move cards across columns with review automation. - BUG_TRIAGE = 'BUG_TRIAGE' ##Create a board to triage and prioritize bugs with To do, priority, and Done columns. class ProjectV2CustomFieldType(Enum): - """ - ProjectV2CustomFieldType - The type of a project field. + """ + ProjectV2CustomFieldType - The type of a project field. + + """ + + DATE = "DATE" # Date + NUMBER = "NUMBER" # Number + SINGLE_SELECT = "SINGLE_SELECT" # Single Select + TEXT = "TEXT" # Text - """ - DEFAULT = None - TEXT = 'TEXT' ##Text - SINGLE_SELECT = 'SINGLE_SELECT' ##Single Select - NUMBER = 'NUMBER' ##Number - DATE = 'DATE' ##Date class ProjectV2FieldOrderField(Enum): - """ - ProjectV2FieldOrderField - Properties by which project v2 field connections can be ordered. + """ + ProjectV2FieldOrderField - Properties by which project v2 field connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order project v2 fields by creation time + NAME = "NAME" # Order project v2 fields by name + POSITION = "POSITION" # Order project v2 fields by position - """ - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 fields by position - CREATED_AT = 'CREATED_AT' ##Order project v2 fields by creation time - NAME = 'NAME' ##Order project v2 fields by name class ProjectV2FieldType(Enum): - """ - ProjectV2FieldType - The type of a project field. - - """ - DEFAULT = None - ASSIGNEES = 'ASSIGNEES' ##Assignees - LINKED_PULL_REQUESTS = 'LINKED_PULL_REQUESTS' ##Linked Pull Requests - REVIEWERS = 'REVIEWERS' ##Reviewers - LABELS = 'LABELS' ##Labels - MILESTONE = 'MILESTONE' ##Milestone - REPOSITORY = 'REPOSITORY' ##Repository - TITLE = 'TITLE' ##Title - TEXT = 'TEXT' ##Text - SINGLE_SELECT = 'SINGLE_SELECT' ##Single Select - NUMBER = 'NUMBER' ##Number - DATE = 'DATE' ##Date - ITERATION = 'ITERATION' ##Iteration - TRACKS = 'TRACKS' ##Tracks - TRACKED_BY = 'TRACKED_BY' ##Tracked by + """ + ProjectV2FieldType - The type of a project field. + + """ + + ASSIGNEES = "ASSIGNEES" # Assignees + DATE = "DATE" # Date + ITERATION = "ITERATION" # Iteration + LABELS = "LABELS" # Labels + LINKED_PULL_REQUESTS = "LINKED_PULL_REQUESTS" # Linked Pull Requests + MILESTONE = "MILESTONE" # Milestone + NUMBER = "NUMBER" # Number + REPOSITORY = "REPOSITORY" # Repository + REVIEWERS = "REVIEWERS" # Reviewers + SINGLE_SELECT = "SINGLE_SELECT" # Single Select + TEXT = "TEXT" # Text + TITLE = "TITLE" # Title + TRACKED_BY = "TRACKED_BY" # Tracked by + TRACKS = "TRACKS" # Tracks + class ProjectV2ItemFieldValueOrderField(Enum): - """ - ProjectV2ItemFieldValueOrderField - Properties by which project v2 item field value connections can be ordered. + """ + ProjectV2ItemFieldValueOrderField - Properties by which project v2 item field value connections can be ordered. + + """ + + POSITION = "POSITION" # Order project v2 item field values by the their position in the project - """ - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 item field values by the their position in the project class ProjectV2ItemOrderField(Enum): - """ - ProjectV2ItemOrderField - Properties by which project v2 item connections can be ordered. + """ + ProjectV2ItemOrderField - Properties by which project v2 item connections can be ordered. + + """ + + POSITION = "POSITION" # Order project v2 items by the their position in the project - """ - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 items by the their position in the project class ProjectV2ItemType(Enum): - """ - ProjectV2ItemType - The type of a project item. + """ + ProjectV2ItemType - The type of a project item. + + """ + + DRAFT_ISSUE = "DRAFT_ISSUE" # Draft Issue + ISSUE = "ISSUE" # Issue + PULL_REQUEST = "PULL_REQUEST" # Pull Request + REDACTED = "REDACTED" # Redacted Item - """ - DEFAULT = None - ISSUE = 'ISSUE' ##Issue - PULL_REQUEST = 'PULL_REQUEST' ##Pull Request - DRAFT_ISSUE = 'DRAFT_ISSUE' ##Draft Issue - REDACTED = 'REDACTED' ##Redacted Item class ProjectV2OrderField(Enum): - """ - ProjectV2OrderField - Properties by which projects can be ordered. + """ + ProjectV2OrderField - Properties by which projects can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # The project's date and time of creation + NUMBER = "NUMBER" # The project's number + TITLE = "TITLE" # The project's title + UPDATED_AT = "UPDATED_AT" # The project's date and time of update - """ - DEFAULT = None - TITLE = 'TITLE' ##The project's title - NUMBER = 'NUMBER' ##The project's number - UPDATED_AT = 'UPDATED_AT' ##The project's date and time of update - CREATED_AT = 'CREATED_AT' ##The project's date and time of creation class ProjectV2Roles(Enum): - """ - ProjectV2Roles - The possible roles of a collaborator on a project. + """ + ProjectV2Roles - The possible roles of a collaborator on a project. + + """ + + ADMIN = "ADMIN" # The collaborator can view, edit, and maange the settings of the project + NONE = "NONE" # The collaborator has no direct access to the project + READER = "READER" # The collaborator can view the project + WRITER = "WRITER" # The collaborator can view and edit the project - """ - DEFAULT = None - NONE = 'NONE' ##The collaborator has no direct access to the project - READER = 'READER' ##The collaborator can view the project - WRITER = 'WRITER' ##The collaborator can view and edit the project - ADMIN = 'ADMIN' ##The collaborator can view, edit, and maange the settings of the project class ProjectV2SingleSelectFieldOptionColor(Enum): - """ - ProjectV2SingleSelectFieldOptionColor - The display color of a single-select field option. - - """ - DEFAULT = None - GRAY = 'GRAY' ##GRAY - BLUE = 'BLUE' ##BLUE - GREEN = 'GREEN' ##GREEN - YELLOW = 'YELLOW' ##YELLOW - ORANGE = 'ORANGE' ##ORANGE - RED = 'RED' ##RED - PINK = 'PINK' ##PINK - PURPLE = 'PURPLE' ##PURPLE + """ + ProjectV2SingleSelectFieldOptionColor - The display color of a single-select field option. + + """ + + BLUE = "BLUE" # BLUE + GRAY = "GRAY" # GRAY + GREEN = "GREEN" # GREEN + ORANGE = "ORANGE" # ORANGE + PINK = "PINK" # PINK + PURPLE = "PURPLE" # PURPLE + RED = "RED" # RED + YELLOW = "YELLOW" # YELLOW + class ProjectV2State(Enum): - """ - ProjectV2State - The possible states of a project v2. + """ + ProjectV2State - The possible states of a project v2. + + """ + + CLOSED = "CLOSED" # A project v2 that has been closed + OPEN = "OPEN" # A project v2 that is still open - """ - DEFAULT = None - OPEN = 'OPEN' ##A project v2 that is still open - CLOSED = 'CLOSED' ##A project v2 that has been closed class ProjectV2ViewLayout(Enum): - """ - ProjectV2ViewLayout - The layout of a project v2 view. + """ + ProjectV2ViewLayout - The layout of a project v2 view. + + """ + + BOARD_LAYOUT = "BOARD_LAYOUT" # Board layout + ROADMAP_LAYOUT = "ROADMAP_LAYOUT" # Roadmap layout + TABLE_LAYOUT = "TABLE_LAYOUT" # Table layout - """ - DEFAULT = None - BOARD_LAYOUT = 'BOARD_LAYOUT' ##Board layout - TABLE_LAYOUT = 'TABLE_LAYOUT' ##Table layout - ROADMAP_LAYOUT = 'ROADMAP_LAYOUT' ##Roadmap layout class ProjectV2ViewOrderField(Enum): - """ - ProjectV2ViewOrderField - Properties by which project v2 view connections can be ordered. + """ + ProjectV2ViewOrderField - Properties by which project v2 view connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order project v2 views by creation time + NAME = "NAME" # Order project v2 views by name + POSITION = "POSITION" # Order project v2 views by position - """ - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 views by position - CREATED_AT = 'CREATED_AT' ##Order project v2 views by creation time - NAME = 'NAME' ##Order project v2 views by name class ProjectV2WorkflowsOrderField(Enum): - """ - ProjectV2WorkflowsOrderField - Properties by which project workflows can be ordered. + """ + ProjectV2WorkflowsOrderField - Properties by which project workflows can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # The date and time of the workflow creation + NAME = "NAME" # The name of the workflow + NUMBER = "NUMBER" # The number of the workflow + UPDATED_AT = "UPDATED_AT" # The date and time of the workflow update - """ - DEFAULT = None - NAME = 'NAME' ##The workflows' name - NUMBER = 'NUMBER' ##The workflows' number - UPDATED_AT = 'UPDATED_AT' ##The workflows' date and time of update - CREATED_AT = 'CREATED_AT' ##The workflows' date and time of creation class PullRequestBranchUpdateMethod(Enum): - """ - PullRequestBranchUpdateMethod - The possible methods for updating a pull request's head branch with the base branch. + """ + PullRequestBranchUpdateMethod - The possible methods for updating a pull request's head branch with the base branch. + + """ + + MERGE = "MERGE" # Update branch via merge + REBASE = "REBASE" # Update branch via rebase - """ - DEFAULT = None - MERGE = 'MERGE' ##Update branch via merge - REBASE = 'REBASE' ##Update branch via rebase class PullRequestMergeMethod(Enum): - """ - PullRequestMergeMethod - Represents available types of methods to use when merging a pull request. + """ + PullRequestMergeMethod - Represents available types of methods to use when merging a pull request. + + """ + + MERGE = "MERGE" # Add all commits from the head branch to the base branch with a merge commit. + REBASE = "REBASE" # Add all commits from the head branch onto the base branch individually. + SQUASH = "SQUASH" # Combine all commits from the head branch into a single commit in the base branch. - """ - DEFAULT = None - MERGE = 'MERGE' ##Add all commits from the head branch to the base branch with a merge commit. - SQUASH = 'SQUASH' ##Combine all commits from the head branch into a single commit in the base branch. - REBASE = 'REBASE' ##Add all commits from the head branch onto the base branch individually. class PullRequestOrderField(Enum): - """ - PullRequestOrderField - Properties by which pull_requests connections can be ordered. + """ + PullRequestOrderField - Properties by which pull_requests connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order pull_requests by creation time + UPDATED_AT = "UPDATED_AT" # Order pull_requests by update time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order pull_requests by creation time - UPDATED_AT = 'UPDATED_AT' ##Order pull_requests by update time class PullRequestReviewCommentState(Enum): - """ - PullRequestReviewCommentState - The possible states of a pull request review comment. + """ + PullRequestReviewCommentState - The possible states of a pull request review comment. + + """ + + PENDING = "PENDING" # A comment that is part of a pending review + SUBMITTED = "SUBMITTED" # A comment that is part of a submitted review - """ - DEFAULT = None - PENDING = 'PENDING' ##A comment that is part of a pending review - SUBMITTED = 'SUBMITTED' ##A comment that is part of a submitted review class PullRequestReviewDecision(Enum): - """ - PullRequestReviewDecision - The review status of a pull request. + """ + PullRequestReviewDecision - The review status of a pull request. + + """ + + APPROVED = "APPROVED" # The pull request has received an approving review. + CHANGES_REQUESTED = ( + "CHANGES_REQUESTED" # Changes have been requested on the pull request. + ) + REVIEW_REQUIRED = ( + "REVIEW_REQUIRED" # A review is required before the pull request can be merged. + ) - """ - DEFAULT = None - CHANGES_REQUESTED = 'CHANGES_REQUESTED' ##Changes have been requested on the pull request. - APPROVED = 'APPROVED' ##The pull request has received an approving review. - REVIEW_REQUIRED = 'REVIEW_REQUIRED' ##A review is required before the pull request can be merged. class PullRequestReviewEvent(Enum): - """ - PullRequestReviewEvent - The possible events to perform on a pull request review. + """ + PullRequestReviewEvent - The possible events to perform on a pull request review. + + """ + + APPROVE = "APPROVE" # Submit feedback and approve merging these changes. + COMMENT = "COMMENT" # Submit general feedback without explicit approval. + DISMISS = "DISMISS" # Dismiss review so it now longer effects merging. + REQUEST_CHANGES = ( + "REQUEST_CHANGES" # Submit feedback that must be addressed before merging. + ) - """ - DEFAULT = None - COMMENT = 'COMMENT' ##Submit general feedback without explicit approval. - APPROVE = 'APPROVE' ##Submit feedback and approve merging these changes. - REQUEST_CHANGES = 'REQUEST_CHANGES' ##Submit feedback that must be addressed before merging. - DISMISS = 'DISMISS' ##Dismiss review so it now longer effects merging. class PullRequestReviewState(Enum): - """ - PullRequestReviewState - The possible states of a pull request review. + """ + PullRequestReviewState - The possible states of a pull request review. + + """ + + APPROVED = "APPROVED" # A review allowing the pull request to merge. + CHANGES_REQUESTED = ( + "CHANGES_REQUESTED" # A review blocking the pull request from merging. + ) + COMMENTED = "COMMENTED" # An informational review. + DISMISSED = "DISMISSED" # A review that has been dismissed. + PENDING = "PENDING" # A review that has not yet been submitted. - """ - DEFAULT = None - PENDING = 'PENDING' ##A review that has not yet been submitted. - COMMENTED = 'COMMENTED' ##An informational review. - APPROVED = 'APPROVED' ##A review allowing the pull request to merge. - CHANGES_REQUESTED = 'CHANGES_REQUESTED' ##A review blocking the pull request from merging. - DISMISSED = 'DISMISSED' ##A review that has been dismissed. class PullRequestReviewThreadSubjectType(Enum): - """ - PullRequestReviewThreadSubjectType - The possible subject types of a pull request review comment. + """ + PullRequestReviewThreadSubjectType - The possible subject types of a pull request review comment. + + """ + + FILE = "FILE" # A comment that has been made against the file of a pull request + LINE = "LINE" # A comment that has been made against the line of a pull request - """ - DEFAULT = None - LINE = 'LINE' ##A comment that has been made against the line of a pull request - FILE = 'FILE' ##A comment that has been made against the file of a pull request class PullRequestState(Enum): - """ - PullRequestState - The possible states of a pull request. + """ + PullRequestState - The possible states of a pull request. + + """ + + CLOSED = "CLOSED" # A pull request that has been closed without being merged. + MERGED = "MERGED" # A pull request that has been closed by being merged. + OPEN = "OPEN" # A pull request that is still open. - """ - DEFAULT = None - OPEN = 'OPEN' ##A pull request that is still open. - CLOSED = 'CLOSED' ##A pull request that has been closed without being merged. - MERGED = 'MERGED' ##A pull request that has been closed by being merged. class PullRequestTimelineItemsItemType(Enum): - """ - PullRequestTimelineItemsItemType - The possible item types found in a timeline. - - """ - DEFAULT = None - PULL_REQUEST_COMMIT = 'PULL_REQUEST_COMMIT' ##Represents a Git commit part of a pull request. - PULL_REQUEST_COMMIT_COMMENT_THREAD = 'PULL_REQUEST_COMMIT_COMMENT_THREAD' ##Represents a commit comment thread part of a pull request. - PULL_REQUEST_REVIEW = 'PULL_REQUEST_REVIEW' ##A review object for a given pull request. - PULL_REQUEST_REVIEW_THREAD = 'PULL_REQUEST_REVIEW_THREAD' ##A threaded list of comments for a given pull request. - PULL_REQUEST_REVISION_MARKER = 'PULL_REQUEST_REVISION_MARKER' ##Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. - AUTOMATIC_BASE_CHANGE_FAILED_EVENT = 'AUTOMATIC_BASE_CHANGE_FAILED_EVENT' ##Represents a 'automatic_base_change_failed' event on a given pull request. - AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT = 'AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT' ##Represents a 'automatic_base_change_succeeded' event on a given pull request. - AUTO_MERGE_DISABLED_EVENT = 'AUTO_MERGE_DISABLED_EVENT' ##Represents a 'auto_merge_disabled' event on a given pull request. - AUTO_MERGE_ENABLED_EVENT = 'AUTO_MERGE_ENABLED_EVENT' ##Represents a 'auto_merge_enabled' event on a given pull request. - AUTO_REBASE_ENABLED_EVENT = 'AUTO_REBASE_ENABLED_EVENT' ##Represents a 'auto_rebase_enabled' event on a given pull request. - AUTO_SQUASH_ENABLED_EVENT = 'AUTO_SQUASH_ENABLED_EVENT' ##Represents a 'auto_squash_enabled' event on a given pull request. - BASE_REF_CHANGED_EVENT = 'BASE_REF_CHANGED_EVENT' ##Represents a 'base_ref_changed' event on a given issue or pull request. - BASE_REF_FORCE_PUSHED_EVENT = 'BASE_REF_FORCE_PUSHED_EVENT' ##Represents a 'base_ref_force_pushed' event on a given pull request. - BASE_REF_DELETED_EVENT = 'BASE_REF_DELETED_EVENT' ##Represents a 'base_ref_deleted' event on a given pull request. - DEPLOYED_EVENT = 'DEPLOYED_EVENT' ##Represents a 'deployed' event on a given pull request. - DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT = 'DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT' ##Represents a 'deployment_environment_changed' event on a given pull request. - HEAD_REF_DELETED_EVENT = 'HEAD_REF_DELETED_EVENT' ##Represents a 'head_ref_deleted' event on a given pull request. - HEAD_REF_FORCE_PUSHED_EVENT = 'HEAD_REF_FORCE_PUSHED_EVENT' ##Represents a 'head_ref_force_pushed' event on a given pull request. - HEAD_REF_RESTORED_EVENT = 'HEAD_REF_RESTORED_EVENT' ##Represents a 'head_ref_restored' event on a given pull request. - MERGED_EVENT = 'MERGED_EVENT' ##Represents a 'merged' event on a given pull request. - REVIEW_DISMISSED_EVENT = 'REVIEW_DISMISSED_EVENT' ##Represents a 'review_dismissed' event on a given issue or pull request. - REVIEW_REQUESTED_EVENT = 'REVIEW_REQUESTED_EVENT' ##Represents an 'review_requested' event on a given pull request. - REVIEW_REQUEST_REMOVED_EVENT = 'REVIEW_REQUEST_REMOVED_EVENT' ##Represents an 'review_request_removed' event on a given pull request. - READY_FOR_REVIEW_EVENT = 'READY_FOR_REVIEW_EVENT' ##Represents a 'ready_for_review' event on a given pull request. - CONVERT_TO_DRAFT_EVENT = 'CONVERT_TO_DRAFT_EVENT' ##Represents a 'convert_to_draft' event on a given pull request. - ADDED_TO_MERGE_QUEUE_EVENT = 'ADDED_TO_MERGE_QUEUE_EVENT' ##Represents an 'added_to_merge_queue' event on a given pull request. - REMOVED_FROM_MERGE_QUEUE_EVENT = 'REMOVED_FROM_MERGE_QUEUE_EVENT' ##Represents a 'removed_from_merge_queue' event on a given pull request. - ISSUE_COMMENT = 'ISSUE_COMMENT' ##Represents a comment on an Issue. - CROSS_REFERENCED_EVENT = 'CROSS_REFERENCED_EVENT' ##Represents a mention made by one issue or pull request to another. - ADDED_TO_PROJECT_EVENT = 'ADDED_TO_PROJECT_EVENT' ##Represents a 'added_to_project' event on a given issue or pull request. - ASSIGNED_EVENT = 'ASSIGNED_EVENT' ##Represents an 'assigned' event on any assignable object. - CLOSED_EVENT = 'CLOSED_EVENT' ##Represents a 'closed' event on any `Closable`. - COMMENT_DELETED_EVENT = 'COMMENT_DELETED_EVENT' ##Represents a 'comment_deleted' event on a given issue or pull request. - CONNECTED_EVENT = 'CONNECTED_EVENT' ##Represents a 'connected' event on a given issue or pull request. - CONVERTED_NOTE_TO_ISSUE_EVENT = 'CONVERTED_NOTE_TO_ISSUE_EVENT' ##Represents a 'converted_note_to_issue' event on a given issue or pull request. - CONVERTED_TO_DISCUSSION_EVENT = 'CONVERTED_TO_DISCUSSION_EVENT' ##Represents a 'converted_to_discussion' event on a given issue. - DEMILESTONED_EVENT = 'DEMILESTONED_EVENT' ##Represents a 'demilestoned' event on a given issue or pull request. - DISCONNECTED_EVENT = 'DISCONNECTED_EVENT' ##Represents a 'disconnected' event on a given issue or pull request. - LABELED_EVENT = 'LABELED_EVENT' ##Represents a 'labeled' event on a given issue or pull request. - LOCKED_EVENT = 'LOCKED_EVENT' ##Represents a 'locked' event on a given issue or pull request. - MARKED_AS_DUPLICATE_EVENT = 'MARKED_AS_DUPLICATE_EVENT' ##Represents a 'marked_as_duplicate' event on a given issue or pull request. - MENTIONED_EVENT = 'MENTIONED_EVENT' ##Represents a 'mentioned' event on a given issue or pull request. - MILESTONED_EVENT = 'MILESTONED_EVENT' ##Represents a 'milestoned' event on a given issue or pull request. - MOVED_COLUMNS_IN_PROJECT_EVENT = 'MOVED_COLUMNS_IN_PROJECT_EVENT' ##Represents a 'moved_columns_in_project' event on a given issue or pull request. - PINNED_EVENT = 'PINNED_EVENT' ##Represents a 'pinned' event on a given issue or pull request. - REFERENCED_EVENT = 'REFERENCED_EVENT' ##Represents a 'referenced' event on a given `ReferencedSubject`. - REMOVED_FROM_PROJECT_EVENT = 'REMOVED_FROM_PROJECT_EVENT' ##Represents a 'removed_from_project' event on a given issue or pull request. - RENAMED_TITLE_EVENT = 'RENAMED_TITLE_EVENT' ##Represents a 'renamed' event on a given issue or pull request - REOPENED_EVENT = 'REOPENED_EVENT' ##Represents a 'reopened' event on any `Closable`. - SUBSCRIBED_EVENT = 'SUBSCRIBED_EVENT' ##Represents a 'subscribed' event on a given `Subscribable`. - TRANSFERRED_EVENT = 'TRANSFERRED_EVENT' ##Represents a 'transferred' event on a given issue or pull request. - UNASSIGNED_EVENT = 'UNASSIGNED_EVENT' ##Represents an 'unassigned' event on any assignable object. - UNLABELED_EVENT = 'UNLABELED_EVENT' ##Represents an 'unlabeled' event on a given issue or pull request. - UNLOCKED_EVENT = 'UNLOCKED_EVENT' ##Represents an 'unlocked' event on a given issue or pull request. - USER_BLOCKED_EVENT = 'USER_BLOCKED_EVENT' ##Represents a 'user_blocked' event on a given user. - UNMARKED_AS_DUPLICATE_EVENT = 'UNMARKED_AS_DUPLICATE_EVENT' ##Represents an 'unmarked_as_duplicate' event on a given issue or pull request. - UNPINNED_EVENT = 'UNPINNED_EVENT' ##Represents an 'unpinned' event on a given issue or pull request. - UNSUBSCRIBED_EVENT = 'UNSUBSCRIBED_EVENT' ##Represents an 'unsubscribed' event on a given `Subscribable`. + """ + PullRequestTimelineItemsItemType - The possible item types found in a timeline. + + """ + + ADDED_TO_MERGE_QUEUE_EVENT = "ADDED_TO_MERGE_QUEUE_EVENT" # Represents an 'added_to_merge_queue' event on a given pull request. + ADDED_TO_PROJECT_EVENT = "ADDED_TO_PROJECT_EVENT" # Represents a 'added_to_project' event on a given issue or pull request. + ASSIGNED_EVENT = ( + "ASSIGNED_EVENT" # Represents an 'assigned' event on any assignable object. + ) + AUTOMATIC_BASE_CHANGE_FAILED_EVENT = "AUTOMATIC_BASE_CHANGE_FAILED_EVENT" # Represents a 'automatic_base_change_failed' event on a given pull request. + AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT = "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT" # Represents a 'automatic_base_change_succeeded' event on a given pull request. + AUTO_MERGE_DISABLED_EVENT = "AUTO_MERGE_DISABLED_EVENT" # Represents a 'auto_merge_disabled' event on a given pull request. + AUTO_MERGE_ENABLED_EVENT = "AUTO_MERGE_ENABLED_EVENT" # Represents a 'auto_merge_enabled' event on a given pull request. + AUTO_REBASE_ENABLED_EVENT = "AUTO_REBASE_ENABLED_EVENT" # Represents a 'auto_rebase_enabled' event on a given pull request. + AUTO_SQUASH_ENABLED_EVENT = "AUTO_SQUASH_ENABLED_EVENT" # Represents a 'auto_squash_enabled' event on a given pull request. + BASE_REF_CHANGED_EVENT = "BASE_REF_CHANGED_EVENT" # Represents a 'base_ref_changed' event on a given issue or pull request. + BASE_REF_DELETED_EVENT = "BASE_REF_DELETED_EVENT" # Represents a 'base_ref_deleted' event on a given pull request. + BASE_REF_FORCE_PUSHED_EVENT = "BASE_REF_FORCE_PUSHED_EVENT" # Represents a 'base_ref_force_pushed' event on a given pull request. + CLOSED_EVENT = "CLOSED_EVENT" # Represents a 'closed' event on any `Closable`. + COMMENT_DELETED_EVENT = "COMMENT_DELETED_EVENT" # Represents a 'comment_deleted' event on a given issue or pull request. + CONNECTED_EVENT = "CONNECTED_EVENT" # Represents a 'connected' event on a given issue or pull request. + CONVERTED_NOTE_TO_ISSUE_EVENT = "CONVERTED_NOTE_TO_ISSUE_EVENT" # Represents a 'converted_note_to_issue' event on a given issue or pull request. + CONVERTED_TO_DISCUSSION_EVENT = "CONVERTED_TO_DISCUSSION_EVENT" # Represents a 'converted_to_discussion' event on a given issue. + CONVERT_TO_DRAFT_EVENT = "CONVERT_TO_DRAFT_EVENT" # Represents a 'convert_to_draft' event on a given pull request. + CROSS_REFERENCED_EVENT = "CROSS_REFERENCED_EVENT" # Represents a mention made by one issue or pull request to another. + DEMILESTONED_EVENT = "DEMILESTONED_EVENT" # Represents a 'demilestoned' event on a given issue or pull request. + DEPLOYED_EVENT = ( + "DEPLOYED_EVENT" # Represents a 'deployed' event on a given pull request. + ) + DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT = "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT" # Represents a 'deployment_environment_changed' event on a given pull request. + DISCONNECTED_EVENT = "DISCONNECTED_EVENT" # Represents a 'disconnected' event on a given issue or pull request. + HEAD_REF_DELETED_EVENT = "HEAD_REF_DELETED_EVENT" # Represents a 'head_ref_deleted' event on a given pull request. + HEAD_REF_FORCE_PUSHED_EVENT = "HEAD_REF_FORCE_PUSHED_EVENT" # Represents a 'head_ref_force_pushed' event on a given pull request. + HEAD_REF_RESTORED_EVENT = "HEAD_REF_RESTORED_EVENT" # Represents a 'head_ref_restored' event on a given pull request. + ISSUE_COMMENT = "ISSUE_COMMENT" # Represents a comment on an Issue. + LABELED_EVENT = "LABELED_EVENT" # Represents a 'labeled' event on a given issue or pull request. + LOCKED_EVENT = ( + "LOCKED_EVENT" # Represents a 'locked' event on a given issue or pull request. + ) + MARKED_AS_DUPLICATE_EVENT = "MARKED_AS_DUPLICATE_EVENT" # Represents a 'marked_as_duplicate' event on a given issue or pull request. + MENTIONED_EVENT = "MENTIONED_EVENT" # Represents a 'mentioned' event on a given issue or pull request. + MERGED_EVENT = ( + "MERGED_EVENT" # Represents a 'merged' event on a given pull request. + ) + MILESTONED_EVENT = "MILESTONED_EVENT" # Represents a 'milestoned' event on a given issue or pull request. + MOVED_COLUMNS_IN_PROJECT_EVENT = "MOVED_COLUMNS_IN_PROJECT_EVENT" # Represents a 'moved_columns_in_project' event on a given issue or pull request. + PINNED_EVENT = ( + "PINNED_EVENT" # Represents a 'pinned' event on a given issue or pull request. + ) + PULL_REQUEST_COMMIT = ( + "PULL_REQUEST_COMMIT" # Represents a Git commit part of a pull request. + ) + PULL_REQUEST_COMMIT_COMMENT_THREAD = "PULL_REQUEST_COMMIT_COMMENT_THREAD" # Represents a commit comment thread part of a pull request. + PULL_REQUEST_REVIEW = ( + "PULL_REQUEST_REVIEW" # A review object for a given pull request. + ) + PULL_REQUEST_REVIEW_THREAD = "PULL_REQUEST_REVIEW_THREAD" # A threaded list of comments for a given pull request. + PULL_REQUEST_REVISION_MARKER = "PULL_REQUEST_REVISION_MARKER" # Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. + READY_FOR_REVIEW_EVENT = "READY_FOR_REVIEW_EVENT" # Represents a 'ready_for_review' event on a given pull request. + REFERENCED_EVENT = "REFERENCED_EVENT" # Represents a 'referenced' event on a given `ReferencedSubject`. + REMOVED_FROM_MERGE_QUEUE_EVENT = "REMOVED_FROM_MERGE_QUEUE_EVENT" # Represents a 'removed_from_merge_queue' event on a given pull request. + REMOVED_FROM_PROJECT_EVENT = "REMOVED_FROM_PROJECT_EVENT" # Represents a 'removed_from_project' event on a given issue or pull request. + RENAMED_TITLE_EVENT = "RENAMED_TITLE_EVENT" # Represents a 'renamed' event on a given issue or pull request + REOPENED_EVENT = ( + "REOPENED_EVENT" # Represents a 'reopened' event on any `Closable`. + ) + REVIEW_DISMISSED_EVENT = "REVIEW_DISMISSED_EVENT" # Represents a 'review_dismissed' event on a given issue or pull request. + REVIEW_REQUESTED_EVENT = "REVIEW_REQUESTED_EVENT" # Represents an 'review_requested' event on a given pull request. + REVIEW_REQUEST_REMOVED_EVENT = "REVIEW_REQUEST_REMOVED_EVENT" # Represents an 'review_request_removed' event on a given pull request. + SUBSCRIBED_EVENT = ( + "SUBSCRIBED_EVENT" # Represents a 'subscribed' event on a given `Subscribable`. + ) + TRANSFERRED_EVENT = "TRANSFERRED_EVENT" # Represents a 'transferred' event on a given issue or pull request. + UNASSIGNED_EVENT = ( + "UNASSIGNED_EVENT" # Represents an 'unassigned' event on any assignable object. + ) + UNLABELED_EVENT = "UNLABELED_EVENT" # Represents an 'unlabeled' event on a given issue or pull request. + UNLOCKED_EVENT = "UNLOCKED_EVENT" # Represents an 'unlocked' event on a given issue or pull request. + UNMARKED_AS_DUPLICATE_EVENT = "UNMARKED_AS_DUPLICATE_EVENT" # Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + UNPINNED_EVENT = "UNPINNED_EVENT" # Represents an 'unpinned' event on a given issue or pull request. + UNSUBSCRIBED_EVENT = "UNSUBSCRIBED_EVENT" # Represents an 'unsubscribed' event on a given `Subscribable`. + USER_BLOCKED_EVENT = ( + "USER_BLOCKED_EVENT" # Represents a 'user_blocked' event on a given user. + ) + class PullRequestUpdateState(Enum): - """ - PullRequestUpdateState - The possible target states when updating a pull request. + """ + PullRequestUpdateState - The possible target states when updating a pull request. + + """ + + CLOSED = "CLOSED" # A pull request that has been closed without being merged. + OPEN = "OPEN" # A pull request that is still open. - """ - DEFAULT = None - OPEN = 'OPEN' ##A pull request that is still open. - CLOSED = 'CLOSED' ##A pull request that has been closed without being merged. class ReactionContent(Enum): - """ - ReactionContent - Emojis that can be attached to Issues, Pull Requests and Comments. - - """ - DEFAULT = None - THUMBS_UP = 'THUMBS_UP' ##Represents the `:+1:` emoji. - THUMBS_DOWN = 'THUMBS_DOWN' ##Represents the `:-1:` emoji. - LAUGH = 'LAUGH' ##Represents the `:laugh:` emoji. - HOORAY = 'HOORAY' ##Represents the `:hooray:` emoji. - CONFUSED = 'CONFUSED' ##Represents the `:confused:` emoji. - HEART = 'HEART' ##Represents the `:heart:` emoji. - ROCKET = 'ROCKET' ##Represents the `:rocket:` emoji. - EYES = 'EYES' ##Represents the `:eyes:` emoji. + """ + ReactionContent - Emojis that can be attached to Issues, Pull Requests and Comments. + + """ + + CONFUSED = "CONFUSED" # Represents the `:confused:` emoji. + EYES = "EYES" # Represents the `:eyes:` emoji. + HEART = "HEART" # Represents the `:heart:` emoji. + HOORAY = "HOORAY" # Represents the `:hooray:` emoji. + LAUGH = "LAUGH" # Represents the `:laugh:` emoji. + ROCKET = "ROCKET" # Represents the `:rocket:` emoji. + THUMBS_DOWN = "THUMBS_DOWN" # Represents the `:-1:` emoji. + THUMBS_UP = "THUMBS_UP" # Represents the `:+1:` emoji. + class ReactionOrderField(Enum): - """ - ReactionOrderField - A list of fields that reactions can be ordered by. + """ + ReactionOrderField - A list of fields that reactions can be ordered by. + + """ + + CREATED_AT = ( + "CREATED_AT" # Allows ordering a list of reactions by when they were created. + ) - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Allows ordering a list of reactions by when they were created. class RefOrderField(Enum): - """ - RefOrderField - Properties by which ref connections can be ordered. + """ + RefOrderField - Properties by which ref connections can be ordered. + + """ + + ALPHABETICAL = "ALPHABETICAL" # Order refs by their alphanumeric name + TAG_COMMIT_DATE = "TAG_COMMIT_DATE" # Order refs by underlying commit date if the ref prefix is refs/tags/ - """ - DEFAULT = None - TAG_COMMIT_DATE = 'TAG_COMMIT_DATE' ##Order refs by underlying commit date if the ref prefix is refs/tags/ - ALPHABETICAL = 'ALPHABETICAL' ##Order refs by their alphanumeric name class ReleaseOrderField(Enum): - """ - ReleaseOrderField - Properties by which release connections can be ordered. + """ + ReleaseOrderField - Properties by which release connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order releases by creation time + NAME = "NAME" # Order releases alphabetically by name - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order releases by creation time - NAME = 'NAME' ##Order releases alphabetically by name class RepoAccessAuditEntryVisibility(Enum): - """ - RepoAccessAuditEntryVisibility - The privacy of a repository + """ + RepoAccessAuditEntryVisibility - The privacy of a repository + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. class RepoAddMemberAuditEntryVisibility(Enum): - """ - RepoAddMemberAuditEntryVisibility - The privacy of a repository + """ + RepoAddMemberAuditEntryVisibility - The privacy of a repository + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. class RepoArchivedAuditEntryVisibility(Enum): - """ - RepoArchivedAuditEntryVisibility - The privacy of a repository + """ + RepoArchivedAuditEntryVisibility - The privacy of a repository + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. class RepoChangeMergeSettingAuditEntryMergeType(Enum): - """ - RepoChangeMergeSettingAuditEntryMergeType - The merge options available for pull requests to this repository. + """ + RepoChangeMergeSettingAuditEntryMergeType - The merge options available for pull requests to this repository. + + """ + + MERGE = "MERGE" # The pull request is added to the base branch in a merge commit. + REBASE = "REBASE" # Commits from the pull request are added onto the base branch individually without a merge commit. + SQUASH = "SQUASH" # The pull request's commits are squashed into a single commit before they are merged to the base branch. - """ - DEFAULT = None - MERGE = 'MERGE' ##The pull request is added to the base branch in a merge commit. - REBASE = 'REBASE' ##Commits from the pull request are added onto the base branch individually without a merge commit. - SQUASH = 'SQUASH' ##The pull request's commits are squashed into a single commit before they are merged to the base branch. class RepoCreateAuditEntryVisibility(Enum): - """ - RepoCreateAuditEntryVisibility - The privacy of a repository + """ + RepoCreateAuditEntryVisibility - The privacy of a repository + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. class RepoDestroyAuditEntryVisibility(Enum): - """ - RepoDestroyAuditEntryVisibility - The privacy of a repository + """ + RepoDestroyAuditEntryVisibility - The privacy of a repository + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. class RepoRemoveMemberAuditEntryVisibility(Enum): - """ - RepoRemoveMemberAuditEntryVisibility - The privacy of a repository + """ + RepoRemoveMemberAuditEntryVisibility - The privacy of a repository + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. class ReportedContentClassifiers(Enum): - """ - ReportedContentClassifiers - The reasons a piece of content can be reported or minimized. - - """ - DEFAULT = None - SPAM = 'SPAM' ##A spammy piece of content - ABUSE = 'ABUSE' ##An abusive or harassing piece of content - OFF_TOPIC = 'OFF_TOPIC' ##An irrelevant piece of content - OUTDATED = 'OUTDATED' ##An outdated piece of content - DUPLICATE = 'DUPLICATE' ##A duplicated piece of content - RESOLVED = 'RESOLVED' ##The content has been resolved + """ + ReportedContentClassifiers - The reasons a piece of content can be reported or minimized. + + """ + + ABUSE = "ABUSE" # An abusive or harassing piece of content + DUPLICATE = "DUPLICATE" # A duplicated piece of content + OFF_TOPIC = "OFF_TOPIC" # An irrelevant piece of content + OUTDATED = "OUTDATED" # An outdated piece of content + RESOLVED = "RESOLVED" # The content has been resolved + SPAM = "SPAM" # A spammy piece of content + class RepositoryAffiliation(Enum): - """ - RepositoryAffiliation - The affiliation of a user to a repository + """ + RepositoryAffiliation - The affiliation of a user to a repository + + """ + + COLLABORATOR = "COLLABORATOR" # Repositories that the user has been added to as a collaborator. + ORGANIZATION_MEMBER = "ORGANIZATION_MEMBER" # Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. + OWNER = "OWNER" # Repositories that are owned by the authenticated user. - """ - DEFAULT = None - OWNER = 'OWNER' ##Repositories that are owned by the authenticated user. - COLLABORATOR = 'COLLABORATOR' ##Repositories that the user has been added to as a collaborator. - ORGANIZATION_MEMBER = 'ORGANIZATION_MEMBER' ##Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. class RepositoryContributionType(Enum): - """ - RepositoryContributionType - The reason a repository is listed as 'contributed'. + """ + RepositoryContributionType - The reason a repository is listed as 'contributed'. + + """ + + COMMIT = "COMMIT" # Created a commit + ISSUE = "ISSUE" # Created an issue + PULL_REQUEST = "PULL_REQUEST" # Created a pull request + PULL_REQUEST_REVIEW = "PULL_REQUEST_REVIEW" # Reviewed a pull request + REPOSITORY = "REPOSITORY" # Created the repository - """ - DEFAULT = None - COMMIT = 'COMMIT' ##Created a commit - ISSUE = 'ISSUE' ##Created an issue - PULL_REQUEST = 'PULL_REQUEST' ##Created a pull request - REPOSITORY = 'REPOSITORY' ##Created the repository - PULL_REQUEST_REVIEW = 'PULL_REQUEST_REVIEW' ##Reviewed a pull request class RepositoryInteractionLimit(Enum): - """ - RepositoryInteractionLimit - A repository interaction limit. + """ + RepositoryInteractionLimit - A repository interaction limit. + + """ + + COLLABORATORS_ONLY = "COLLABORATORS_ONLY" # Users that are not collaborators will not be able to interact with the repository. + CONTRIBUTORS_ONLY = "CONTRIBUTORS_ONLY" # Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. + EXISTING_USERS = "EXISTING_USERS" # Users that have recently created their account will be unable to interact with the repository. + NO_LIMIT = "NO_LIMIT" # No interaction limits are enabled. - """ - DEFAULT = None - EXISTING_USERS = 'EXISTING_USERS' ##Users that have recently created their account will be unable to interact with the repository. - CONTRIBUTORS_ONLY = 'CONTRIBUTORS_ONLY' ##Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. - COLLABORATORS_ONLY = 'COLLABORATORS_ONLY' ##Users that are not collaborators will not be able to interact with the repository. - NO_LIMIT = 'NO_LIMIT' ##No interaction limits are enabled. class RepositoryInteractionLimitExpiry(Enum): - """ - RepositoryInteractionLimitExpiry - The length for a repository interaction limit to be enabled for. + """ + RepositoryInteractionLimitExpiry - The length for a repository interaction limit to be enabled for. + + """ + + ONE_DAY = "ONE_DAY" # The interaction limit will expire after 1 day. + ONE_MONTH = "ONE_MONTH" # The interaction limit will expire after 1 month. + ONE_WEEK = "ONE_WEEK" # The interaction limit will expire after 1 week. + SIX_MONTHS = "SIX_MONTHS" # The interaction limit will expire after 6 months. + THREE_DAYS = "THREE_DAYS" # The interaction limit will expire after 3 days. - """ - DEFAULT = None - ONE_DAY = 'ONE_DAY' ##The interaction limit will expire after 1 day. - THREE_DAYS = 'THREE_DAYS' ##The interaction limit will expire after 3 days. - ONE_WEEK = 'ONE_WEEK' ##The interaction limit will expire after 1 week. - ONE_MONTH = 'ONE_MONTH' ##The interaction limit will expire after 1 month. - SIX_MONTHS = 'SIX_MONTHS' ##The interaction limit will expire after 6 months. class RepositoryInteractionLimitOrigin(Enum): - """ - RepositoryInteractionLimitOrigin - Indicates where an interaction limit is configured. + """ + RepositoryInteractionLimitOrigin - Indicates where an interaction limit is configured. + + """ + + ORGANIZATION = ( + "ORGANIZATION" # A limit that is configured at the organization level. + ) + REPOSITORY = "REPOSITORY" # A limit that is configured at the repository level. + USER = "USER" # A limit that is configured at the user-wide level. - """ - DEFAULT = None - REPOSITORY = 'REPOSITORY' ##A limit that is configured at the repository level. - ORGANIZATION = 'ORGANIZATION' ##A limit that is configured at the organization level. - USER = 'USER' ##A limit that is configured at the user-wide level. class RepositoryInvitationOrderField(Enum): - """ - RepositoryInvitationOrderField - Properties by which repository invitation connections can be ordered. + """ + RepositoryInvitationOrderField - Properties by which repository invitation connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order repository invitations by creation time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order repository invitations by creation time class RepositoryLockReason(Enum): - """ - RepositoryLockReason - The possible reasons a given repository could be in a locked state. + """ + RepositoryLockReason - The possible reasons a given repository could be in a locked state. + + """ + + BILLING = "BILLING" # The repository is locked due to a billing related reason. + MIGRATING = "MIGRATING" # The repository is locked due to a migration. + MOVING = "MOVING" # The repository is locked due to a move. + RENAME = "RENAME" # The repository is locked due to a rename. + TRADE_RESTRICTION = "TRADE_RESTRICTION" # The repository is locked due to a trade controls related reason. + TRANSFERRING_OWNERSHIP = "TRANSFERRING_OWNERSHIP" # The repository is locked due to an ownership transfer. - """ - DEFAULT = None - MOVING = 'MOVING' ##The repository is locked due to a move. - BILLING = 'BILLING' ##The repository is locked due to a billing related reason. - RENAME = 'RENAME' ##The repository is locked due to a rename. - MIGRATING = 'MIGRATING' ##The repository is locked due to a migration. - TRADE_RESTRICTION = 'TRADE_RESTRICTION' ##The repository is locked due to a trade controls related reason. class RepositoryMigrationOrderDirection(Enum): - """ - RepositoryMigrationOrderDirection - Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. + """ + RepositoryMigrationOrderDirection - Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. + + """ + + ASC = "ASC" # Specifies an ascending order for a given `orderBy` argument. + DESC = "DESC" # Specifies a descending order for a given `orderBy` argument. - """ - DEFAULT = None - ASC = 'ASC' ##Specifies an ascending order for a given `orderBy` argument. - DESC = 'DESC' ##Specifies a descending order for a given `orderBy` argument. class RepositoryMigrationOrderField(Enum): - """ - RepositoryMigrationOrderField - Properties by which repository migrations can be ordered. + """ + RepositoryMigrationOrderField - Properties by which repository migrations can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order mannequins why when they were created. - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order mannequins why when they were created. class RepositoryOrderField(Enum): - """ - RepositoryOrderField - Properties by which repository connections can be ordered. + """ + RepositoryOrderField - Properties by which repository connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order repositories by creation time + NAME = "NAME" # Order repositories by name + PUSHED_AT = "PUSHED_AT" # Order repositories by push time + STARGAZERS = "STARGAZERS" # Order repositories by number of stargazers + UPDATED_AT = "UPDATED_AT" # Order repositories by update time - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order repositories by creation time - UPDATED_AT = 'UPDATED_AT' ##Order repositories by update time - PUSHED_AT = 'PUSHED_AT' ##Order repositories by push time - NAME = 'NAME' ##Order repositories by name - STARGAZERS = 'STARGAZERS' ##Order repositories by number of stargazers class RepositoryPermission(Enum): - """ - RepositoryPermission - The access level to a repository + """ + RepositoryPermission - The access level to a repository + + """ + + ADMIN = "ADMIN" # Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators + MAINTAIN = "MAINTAIN" # Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings + READ = "READ" # Can read and clone this repository. Can also open and comment on issues and pull requests + TRIAGE = "TRIAGE" # Can read and clone this repository. Can also manage issues and pull requests + WRITE = "WRITE" # Can read, clone, and push to this repository. Can also manage issues and pull requests - """ - DEFAULT = None - ADMIN = 'ADMIN' ##Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators - MAINTAIN = 'MAINTAIN' ##Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings - WRITE = 'WRITE' ##Can read, clone, and push to this repository. Can also manage issues and pull requests - TRIAGE = 'TRIAGE' ##Can read and clone this repository. Can also manage issues and pull requests - READ = 'READ' ##Can read and clone this repository. Can also open and comment on issues and pull requests class RepositoryPrivacy(Enum): - """ - RepositoryPrivacy - The privacy of a repository + """ + RepositoryPrivacy - The privacy of a repository + + """ + + PRIVATE = "PRIVATE" # Private + PUBLIC = "PUBLIC" # Public + + +class RepositoryRuleOrderField(Enum): + """ + RepositoryRuleOrderField - Properties by which repository rule connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order repository rules by created time + TYPE = "TYPE" # Order repository rules by type + UPDATED_AT = "UPDATED_AT" # Order repository rules by updated time - """ - DEFAULT = None - PUBLIC = 'PUBLIC' ##Public - PRIVATE = 'PRIVATE' ##Private class RepositoryRuleType(Enum): - """ - RepositoryRuleType - The rule types supported in rulesets - - """ - DEFAULT = None - CREATION = 'CREATION' ##Only allow users with bypass permission to create matching refs. - UPDATE = 'UPDATE' ##Only allow users with bypass permission to update matching refs. - DELETION = 'DELETION' ##Only allow users with bypass permissions to delete matching refs. - REQUIRED_LINEAR_HISTORY = 'REQUIRED_LINEAR_HISTORY' ##Prevent merge commits from being pushed to matching branches. - REQUIRED_DEPLOYMENTS = 'REQUIRED_DEPLOYMENTS' ##Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. - REQUIRED_SIGNATURES = 'REQUIRED_SIGNATURES' ##Commits pushed to matching branches must have verified signatures. - PULL_REQUEST = 'PULL_REQUEST' ##Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. - REQUIRED_STATUS_CHECKS = 'REQUIRED_STATUS_CHECKS' ##Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. - NON_FAST_FORWARD = 'NON_FAST_FORWARD' ##Prevent users with push access from force pushing to branches. - COMMIT_MESSAGE_PATTERN = 'COMMIT_MESSAGE_PATTERN' ##Commit message pattern - COMMIT_AUTHOR_EMAIL_PATTERN = 'COMMIT_AUTHOR_EMAIL_PATTERN' ##Commit author email pattern - COMMITTER_EMAIL_PATTERN = 'COMMITTER_EMAIL_PATTERN' ##Committer email pattern - BRANCH_NAME_PATTERN = 'BRANCH_NAME_PATTERN' ##Branch name pattern - TAG_NAME_PATTERN = 'TAG_NAME_PATTERN' ##Tag name pattern + """ + RepositoryRuleType - The rule types supported in rulesets + + """ + + AUTHORIZATION = "AUTHORIZATION" # Authorization + BRANCH_NAME_PATTERN = "BRANCH_NAME_PATTERN" # Branch name pattern + COMMITTER_EMAIL_PATTERN = "COMMITTER_EMAIL_PATTERN" # Committer email pattern + COMMIT_AUTHOR_EMAIL_PATTERN = ( + "COMMIT_AUTHOR_EMAIL_PATTERN" # Commit author email pattern + ) + COMMIT_MESSAGE_PATTERN = "COMMIT_MESSAGE_PATTERN" # Commit message pattern + CREATION = ( + "CREATION" # Only allow users with bypass permission to create matching refs. + ) + DELETION = ( + "DELETION" # Only allow users with bypass permissions to delete matching refs. + ) + LOCK_BRANCH = "LOCK_BRANCH" # Branch is read-only. Users cannot push to the branch. + MAX_REF_UPDATES = "MAX_REF_UPDATES" # Max ref updates + MERGE_QUEUE = "MERGE_QUEUE" # Merges must be performed via a merge queue. + MERGE_QUEUE_LOCKED_REF = "MERGE_QUEUE_LOCKED_REF" # Merge queue locked ref + NON_FAST_FORWARD = ( + "NON_FAST_FORWARD" # Prevent users with push access from force pushing to refs. + ) + PULL_REQUEST = "PULL_REQUEST" # Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + REQUIRED_DEPLOYMENTS = "REQUIRED_DEPLOYMENTS" # Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. + REQUIRED_LINEAR_HISTORY = "REQUIRED_LINEAR_HISTORY" # Prevent merge commits from being pushed to matching refs. + REQUIRED_REVIEW_THREAD_RESOLUTION = "REQUIRED_REVIEW_THREAD_RESOLUTION" # When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule. + REQUIRED_SIGNATURES = "REQUIRED_SIGNATURES" # Commits pushed to matching refs must have verified signatures. + REQUIRED_STATUS_CHECKS = "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. + REQUIRED_WORKFLOW_STATUS_CHECKS = "REQUIRED_WORKFLOW_STATUS_CHECKS" # Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged. + SECRET_SCANNING = "SECRET_SCANNING" # Secret scanning + TAG = "TAG" # Tag + TAG_NAME_PATTERN = "TAG_NAME_PATTERN" # Tag name pattern + UPDATE = ( + "UPDATE" # Only allow users with bypass permission to update matching refs. + ) + WORKFLOWS = "WORKFLOWS" # Require all changes made to a targeted branch to pass the specified workflows before they can be merged. + WORKFLOW_UPDATES = "WORKFLOW_UPDATES" # Workflow files cannot be modified. + class RepositoryRulesetBypassActorBypassMode(Enum): - """ - RepositoryRulesetBypassActorBypassMode - The bypass mode for a specific actor on a ruleset. + """ + RepositoryRulesetBypassActorBypassMode - The bypass mode for a specific actor on a ruleset. + + """ + + ALWAYS = "ALWAYS" # The actor can always bypass rules + PULL_REQUEST = "PULL_REQUEST" # The actor can only bypass rules via a pull request - """ - DEFAULT = None - ALWAYS = 'ALWAYS' ##The actor can always bypass rules - PULL_REQUEST = 'PULL_REQUEST' ##The actor can only bypass rules via a pull request class RepositoryRulesetTarget(Enum): - """ - RepositoryRulesetTarget - The targets supported for rulesets + """ + RepositoryRulesetTarget - The targets supported for rulesets + + """ + + BRANCH = "BRANCH" # Branch + TAG = "TAG" # Tag - """ - DEFAULT = None - BRANCH = 'BRANCH' ##Branch - TAG = 'TAG' ##Tag class RepositoryVisibility(Enum): - """ - RepositoryVisibility - The repository's visibility level. + """ + RepositoryVisibility - The repository's visibility level. + + """ + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. - """ - DEFAULT = None - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. class RepositoryVulnerabilityAlertDependencyScope(Enum): - """ - RepositoryVulnerabilityAlertDependencyScope - The possible scopes of an alert's dependency. + """ + RepositoryVulnerabilityAlertDependencyScope - The possible scopes of an alert's dependency. + + """ + + DEVELOPMENT = "DEVELOPMENT" # A dependency that is only used in development + RUNTIME = "RUNTIME" # A dependency that is leveraged during application runtime - """ - DEFAULT = None - RUNTIME = 'RUNTIME' ##A dependency that is leveraged during application runtime - DEVELOPMENT = 'DEVELOPMENT' ##A dependency that is only used in development class RepositoryVulnerabilityAlertState(Enum): - """ - RepositoryVulnerabilityAlertState - The possible states of an alert + """ + RepositoryVulnerabilityAlertState - The possible states of an alert + + """ + + AUTO_DISMISSED = ( + "AUTO_DISMISSED" # An alert that has been automatically closed by Dependabot. + ) + DISMISSED = "DISMISSED" # An alert that has been manually closed by a user. + FIXED = "FIXED" # An alert that has been resolved by a code change. + OPEN = "OPEN" # An alert that is still open. - """ - DEFAULT = None - OPEN = 'OPEN' ##An alert that is still open. - FIXED = 'FIXED' ##An alert that has been resolved by a code change. - DISMISSED = 'DISMISSED' ##An alert that has been manually closed by a user. - AUTO_DISMISSED = 'AUTO_DISMISSED' ##An alert that has been automatically closed by Dependabot. class RequestableCheckStatusState(Enum): - """ - RequestableCheckStatusState - The possible states that can be requested when creating a check run. + """ + RequestableCheckStatusState - The possible states that can be requested when creating a check run. + + """ + + COMPLETED = "COMPLETED" # The check suite or run has been completed. + IN_PROGRESS = "IN_PROGRESS" # The check suite or run is in progress. + PENDING = "PENDING" # The check suite or run is in pending state. + QUEUED = "QUEUED" # The check suite or run has been queued. + WAITING = "WAITING" # The check suite or run is in waiting state. - """ - DEFAULT = None - QUEUED = 'QUEUED' ##The check suite or run has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The check suite or run is in progress. - COMPLETED = 'COMPLETED' ##The check suite or run has been completed. - WAITING = 'WAITING' ##The check suite or run is in waiting state. - PENDING = 'PENDING' ##The check suite or run is in pending state. class RoleInOrganization(Enum): - """ - RoleInOrganization - Possible roles a user may have in relation to an organization. + """ + RoleInOrganization - Possible roles a user may have in relation to an organization. + + """ + + DIRECT_MEMBER = ( + "DIRECT_MEMBER" # A user who is a direct member of the organization. + ) + OWNER = "OWNER" # A user with full administrative access to the organization. + UNAFFILIATED = "UNAFFILIATED" # A user who is unaffiliated with the organization. - """ - DEFAULT = None - OWNER = 'OWNER' ##A user with full administrative access to the organization. - DIRECT_MEMBER = 'DIRECT_MEMBER' ##A user who is a direct member of the organization. - UNAFFILIATED = 'UNAFFILIATED' ##A user who is unaffiliated with the organization. class RuleEnforcement(Enum): - """ - RuleEnforcement - The level of enforcement for a rule or ruleset. + """ + RuleEnforcement - The level of enforcement for a rule or ruleset. + + """ + + ACTIVE = "ACTIVE" # Rules will be enforced + DISABLED = "DISABLED" # Do not evaluate or enforce rules + EVALUATE = "EVALUATE" # Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). - """ - DEFAULT = None - DISABLED = 'DISABLED' ##Do not evaluate or enforce rules - ACTIVE = 'ACTIVE' ##Rules will be enforced - EVALUATE = 'EVALUATE' ##Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). class SamlDigestAlgorithm(Enum): - """ - SamlDigestAlgorithm - The possible digest algorithms used to sign SAML requests for an identity provider. + """ + SamlDigestAlgorithm - The possible digest algorithms used to sign SAML requests for an identity provider. + + """ + + SHA1 = "SHA1" # SHA1 + SHA256 = "SHA256" # SHA256 + SHA384 = "SHA384" # SHA384 + SHA512 = "SHA512" # SHA512 - """ - DEFAULT = None - SHA1 = 'SHA1' ##SHA1 - SHA256 = 'SHA256' ##SHA256 - SHA384 = 'SHA384' ##SHA384 - SHA512 = 'SHA512' ##SHA512 class SamlSignatureAlgorithm(Enum): - """ - SamlSignatureAlgorithm - The possible signature algorithms used to sign SAML requests for a Identity Provider. + """ + SamlSignatureAlgorithm - The possible signature algorithms used to sign SAML requests for a Identity Provider. + + """ + + RSA_SHA1 = "RSA_SHA1" # RSA-SHA1 + RSA_SHA256 = "RSA_SHA256" # RSA-SHA256 + RSA_SHA384 = "RSA_SHA384" # RSA-SHA384 + RSA_SHA512 = "RSA_SHA512" # RSA-SHA512 - """ - DEFAULT = None - RSA_SHA1 = 'RSA_SHA1' ##RSA-SHA1 - RSA_SHA256 = 'RSA_SHA256' ##RSA-SHA256 - RSA_SHA384 = 'RSA_SHA384' ##RSA-SHA384 - RSA_SHA512 = 'RSA_SHA512' ##RSA-SHA512 class SavedReplyOrderField(Enum): - """ - SavedReplyOrderField - Properties by which saved reply connections can be ordered. + """ + SavedReplyOrderField - Properties by which saved reply connections can be ordered. + + """ + + UPDATED_AT = "UPDATED_AT" # Order saved reply by when they were updated. - """ - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order saved reply by when they were updated. class SearchType(Enum): - """ - SearchType - Represents the individual results of a search. + """ + SearchType - Represents the individual results of a search. + + """ + + DISCUSSION = "DISCUSSION" # Returns matching discussions in repositories. + ISSUE = "ISSUE" # Returns results matching issues in repositories. + REPOSITORY = "REPOSITORY" # Returns results matching repositories. + USER = "USER" # Returns results matching users and organizations on GitHub. - """ - DEFAULT = None - ISSUE = 'ISSUE' ##Returns results matching issues in repositories. - REPOSITORY = 'REPOSITORY' ##Returns results matching repositories. - USER = 'USER' ##Returns results matching users and organizations on GitHub. - DISCUSSION = 'DISCUSSION' ##Returns matching discussions in repositories. class SecurityAdvisoryClassification(Enum): - """ - SecurityAdvisoryClassification - Classification of the advisory. + """ + SecurityAdvisoryClassification - Classification of the advisory. + + """ + + GENERAL = "GENERAL" # Classification of general advisories. + MALWARE = "MALWARE" # Classification of malware advisories. - """ - DEFAULT = None - GENERAL = 'GENERAL' ##Classification of general advisories. - MALWARE = 'MALWARE' ##Classification of malware advisories. class SecurityAdvisoryEcosystem(Enum): - """ - SecurityAdvisoryEcosystem - The possible ecosystems of a security vulnerability's package. - - """ - DEFAULT = None - COMPOSER = 'COMPOSER' ##PHP packages hosted at packagist.org - ERLANG = 'ERLANG' ##Erlang/Elixir packages hosted at hex.pm - ACTIONS = 'ACTIONS' ##GitHub Actions - GO = 'GO' ##Go modules - MAVEN = 'MAVEN' ##Java artifacts hosted at the Maven central repository - NPM = 'NPM' ##JavaScript packages hosted at npmjs.com - NUGET = 'NUGET' ##.NET packages hosted at the NuGet Gallery - PIP = 'PIP' ##Python packages hosted at PyPI.org - PUB = 'PUB' ##Dart packages hosted at pub.dev - RUBYGEMS = 'RUBYGEMS' ##Ruby gems hosted at RubyGems.org - RUST = 'RUST' ##Rust crates - SWIFT = 'SWIFT' ##Swift packages + """ + SecurityAdvisoryEcosystem - The possible ecosystems of a security vulnerability's package. + + """ + + ACTIONS = "ACTIONS" # GitHub Actions + COMPOSER = "COMPOSER" # PHP packages hosted at packagist.org + ERLANG = "ERLANG" # Erlang/Elixir packages hosted at hex.pm + GO = "GO" # Go modules + MAVEN = "MAVEN" # Java artifacts hosted at the Maven central repository + NPM = "NPM" # JavaScript packages hosted at npmjs.com + NUGET = "NUGET" # .NET packages hosted at the NuGet Gallery + PIP = "PIP" # Python packages hosted at PyPI.org + PUB = "PUB" # Dart packages hosted at pub.dev + RUBYGEMS = "RUBYGEMS" # Ruby gems hosted at RubyGems.org + RUST = "RUST" # Rust crates + SWIFT = "SWIFT" # Swift packages + class SecurityAdvisoryIdentifierType(Enum): - """ - SecurityAdvisoryIdentifierType - Identifier formats available for advisories. + """ + SecurityAdvisoryIdentifierType - Identifier formats available for advisories. + + """ + + CVE = "CVE" # Common Vulnerabilities and Exposures Identifier. + GHSA = "GHSA" # GitHub Security Advisory ID. - """ - DEFAULT = None - CVE = 'CVE' ##Common Vulnerabilities and Exposures Identifier. - GHSA = 'GHSA' ##GitHub Security Advisory ID. class SecurityAdvisoryOrderField(Enum): - """ - SecurityAdvisoryOrderField - Properties by which security advisory connections can be ordered. + """ + SecurityAdvisoryOrderField - Properties by which security advisory connections can be ordered. + + """ + + PUBLISHED_AT = "PUBLISHED_AT" # Order advisories by publication time + UPDATED_AT = "UPDATED_AT" # Order advisories by update time - """ - DEFAULT = None - PUBLISHED_AT = 'PUBLISHED_AT' ##Order advisories by publication time - UPDATED_AT = 'UPDATED_AT' ##Order advisories by update time class SecurityAdvisorySeverity(Enum): - """ - SecurityAdvisorySeverity - Severity of the vulnerability. + """ + SecurityAdvisorySeverity - Severity of the vulnerability. + + """ + + CRITICAL = "CRITICAL" # Critical. + HIGH = "HIGH" # High. + LOW = "LOW" # Low. + MODERATE = "MODERATE" # Moderate. - """ - DEFAULT = None - LOW = 'LOW' ##Low. - MODERATE = 'MODERATE' ##Moderate. - HIGH = 'HIGH' ##High. - CRITICAL = 'CRITICAL' ##Critical. class SecurityVulnerabilityOrderField(Enum): - """ - SecurityVulnerabilityOrderField - Properties by which security vulnerability connections can be ordered. + """ + SecurityVulnerabilityOrderField - Properties by which security vulnerability connections can be ordered. + + """ + + UPDATED_AT = "UPDATED_AT" # Order vulnerability by update time - """ - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order vulnerability by update time class SocialAccountProvider(Enum): - """ - SocialAccountProvider - Software or company that hosts social media accounts. - - """ - DEFAULT = None - GENERIC = 'GENERIC' ##Catch-all for social media providers that do not yet have specific handling. - FACEBOOK = 'FACEBOOK' ##Social media and networking website. - HOMETOWN = 'HOMETOWN' ##Fork of Mastodon with a greater focus on local posting. - INSTAGRAM = 'INSTAGRAM' ##Social media website with a focus on photo and video sharing. - LINKEDIN = 'LINKEDIN' ##Professional networking website. - MASTODON = 'MASTODON' ##Open-source federated microblogging service. - REDDIT = 'REDDIT' ##Social news aggregation and discussion website. - TWITCH = 'TWITCH' ##Live-streaming service. - TWITTER = 'TWITTER' ##Microblogging website. - YOUTUBE = 'YOUTUBE' ##Online video platform. + """ + SocialAccountProvider - Software or company that hosts social media accounts. + + """ + + FACEBOOK = "FACEBOOK" # Social media and networking website. + GENERIC = "GENERIC" # Catch-all for social media providers that do not yet have specific handling. + HOMETOWN = "HOMETOWN" # Fork of Mastodon with a greater focus on local posting. + INSTAGRAM = ( + "INSTAGRAM" # Social media website with a focus on photo and video sharing. + ) + LINKEDIN = "LINKEDIN" # Professional networking website. + MASTODON = "MASTODON" # Open-source federated microblogging service. + NPM = "NPM" # JavaScript package registry. + REDDIT = "REDDIT" # Social news aggregation and discussion website. + TWITCH = "TWITCH" # Live-streaming service. + TWITTER = "TWITTER" # Microblogging website. + YOUTUBE = "YOUTUBE" # Online video platform. + + +class SponsorAndLifetimeValueOrderField(Enum): + """ + SponsorAndLifetimeValueOrderField - Properties by which sponsor and lifetime value connections can be ordered. + + """ + + LIFETIME_VALUE = "LIFETIME_VALUE" # Order results by how much money the sponsor has paid in total. + SPONSOR_LOGIN = "SPONSOR_LOGIN" # Order results by the sponsor's login (username). + SPONSOR_RELEVANCE = ( + "SPONSOR_RELEVANCE" # Order results by the sponsor's relevance to the viewer. + ) + class SponsorOrderField(Enum): - """ - SponsorOrderField - Properties by which sponsor connections can be ordered. + """ + SponsorOrderField - Properties by which sponsor connections can be ordered. + + """ + + LOGIN = "LOGIN" # Order sponsorable entities by login (username). + RELEVANCE = "RELEVANCE" # Order sponsors by their relevance to the viewer. - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order sponsorable entities by login (username). - RELEVANCE = 'RELEVANCE' ##Order sponsors by their relevance to the viewer. class SponsorableOrderField(Enum): - """ - SponsorableOrderField - Properties by which sponsorable connections can be ordered. + """ + SponsorableOrderField - Properties by which sponsorable connections can be ordered. + + """ + + LOGIN = "LOGIN" # Order sponsorable entities by login (username). - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order sponsorable entities by login (username). class SponsorsActivityAction(Enum): - """ - SponsorsActivityAction - The possible actions that GitHub Sponsors activities can represent. - - """ - DEFAULT = None - NEW_SPONSORSHIP = 'NEW_SPONSORSHIP' ##The activity was starting a sponsorship. - CANCELLED_SPONSORSHIP = 'CANCELLED_SPONSORSHIP' ##The activity was cancelling a sponsorship. - TIER_CHANGE = 'TIER_CHANGE' ##The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. - REFUND = 'REFUND' ##The activity was funds being refunded to the sponsor or GitHub. - PENDING_CHANGE = 'PENDING_CHANGE' ##The activity was scheduling a downgrade or cancellation. - SPONSOR_MATCH_DISABLED = 'SPONSOR_MATCH_DISABLED' ##The activity was disabling matching for a previously matched sponsorship. + """ + SponsorsActivityAction - The possible actions that GitHub Sponsors activities can represent. + + """ + + CANCELLED_SPONSORSHIP = ( + "CANCELLED_SPONSORSHIP" # The activity was cancelling a sponsorship. + ) + NEW_SPONSORSHIP = "NEW_SPONSORSHIP" # The activity was starting a sponsorship. + PENDING_CHANGE = ( + "PENDING_CHANGE" # The activity was scheduling a downgrade or cancellation. + ) + REFUND = "REFUND" # The activity was funds being refunded to the sponsor or GitHub. + SPONSOR_MATCH_DISABLED = "SPONSOR_MATCH_DISABLED" # The activity was disabling matching for a previously matched sponsorship. + TIER_CHANGE = "TIER_CHANGE" # The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. + class SponsorsActivityOrderField(Enum): - """ - SponsorsActivityOrderField - Properties by which GitHub Sponsors activity connections can be ordered. + """ + SponsorsActivityOrderField - Properties by which GitHub Sponsors activity connections can be ordered. + + """ + + TIMESTAMP = "TIMESTAMP" # Order activities by when they happened. - """ - DEFAULT = None - TIMESTAMP = 'TIMESTAMP' ##Order activities by when they happened. class SponsorsActivityPeriod(Enum): - """ - SponsorsActivityPeriod - The possible time periods for which Sponsors activities can be requested. + """ + SponsorsActivityPeriod - The possible time periods for which Sponsors activities can be requested. + + """ + + ALL = "ALL" # Don't restrict the activity to any date range, include all activity. + DAY = "DAY" # The previous calendar day. + MONTH = "MONTH" # The previous thirty days. + WEEK = "WEEK" # The previous seven days. - """ - DEFAULT = None - DAY = 'DAY' ##The previous calendar day. - WEEK = 'WEEK' ##The previous seven days. - MONTH = 'MONTH' ##The previous thirty days. - ALL = 'ALL' ##Don't restrict the activity to any date range, include all activity. class SponsorsCountryOrRegionCode(Enum): - """ - SponsorsCountryOrRegionCode - Represents countries or regions for billing and residence for a GitHub Sponsors profile. - - """ - DEFAULT = None - AF = 'AF' ##Afghanistan - AX = 'AX' ##Åland - AL = 'AL' ##Albania - DZ = 'DZ' ##Algeria - AS = 'AS' ##American Samoa - AD = 'AD' ##Andorra - AO = 'AO' ##Angola - AI = 'AI' ##Anguilla - AQ = 'AQ' ##Antarctica - AG = 'AG' ##Antigua and Barbuda - AR = 'AR' ##Argentina - AM = 'AM' ##Armenia - AW = 'AW' ##Aruba - AU = 'AU' ##Australia - AT = 'AT' ##Austria - AZ = 'AZ' ##Azerbaijan - BS = 'BS' ##Bahamas - BH = 'BH' ##Bahrain - BD = 'BD' ##Bangladesh - BB = 'BB' ##Barbados - BY = 'BY' ##Belarus - BE = 'BE' ##Belgium - BZ = 'BZ' ##Belize - BJ = 'BJ' ##Benin - BM = 'BM' ##Bermuda - BT = 'BT' ##Bhutan - BO = 'BO' ##Bolivia - BQ = 'BQ' ##Bonaire, Sint Eustatius and Saba - BA = 'BA' ##Bosnia and Herzegovina - BW = 'BW' ##Botswana - BV = 'BV' ##Bouvet Island - BR = 'BR' ##Brazil - IO = 'IO' ##British Indian Ocean Territory - BN = 'BN' ##Brunei Darussalam - BG = 'BG' ##Bulgaria - BF = 'BF' ##Burkina Faso - BI = 'BI' ##Burundi - KH = 'KH' ##Cambodia - CM = 'CM' ##Cameroon - CA = 'CA' ##Canada - CV = 'CV' ##Cape Verde - KY = 'KY' ##Cayman Islands - CF = 'CF' ##Central African Republic - TD = 'TD' ##Chad - CL = 'CL' ##Chile - CN = 'CN' ##China - CX = 'CX' ##Christmas Island - CC = 'CC' ##Cocos (Keeling) Islands - CO = 'CO' ##Colombia - KM = 'KM' ##Comoros - CG = 'CG' ##Congo (Brazzaville) - CD = 'CD' ##Congo (Kinshasa) - CK = 'CK' ##Cook Islands - CR = 'CR' ##Costa Rica - CI = 'CI' ##Côte d'Ivoire - HR = 'HR' ##Croatia - CW = 'CW' ##Curaçao - CY = 'CY' ##Cyprus - CZ = 'CZ' ##Czech Republic - DK = 'DK' ##Denmark - DJ = 'DJ' ##Djibouti - DM = 'DM' ##Dominica - DO = 'DO' ##Dominican Republic - EC = 'EC' ##Ecuador - EG = 'EG' ##Egypt - SV = 'SV' ##El Salvador - GQ = 'GQ' ##Equatorial Guinea - ER = 'ER' ##Eritrea - EE = 'EE' ##Estonia - ET = 'ET' ##Ethiopia - FK = 'FK' ##Falkland Islands - FO = 'FO' ##Faroe Islands - FJ = 'FJ' ##Fiji - FI = 'FI' ##Finland - FR = 'FR' ##France - GF = 'GF' ##French Guiana - PF = 'PF' ##French Polynesia - TF = 'TF' ##French Southern Lands - GA = 'GA' ##Gabon - GM = 'GM' ##Gambia - GE = 'GE' ##Georgia - DE = 'DE' ##Germany - GH = 'GH' ##Ghana - GI = 'GI' ##Gibraltar - GR = 'GR' ##Greece - GL = 'GL' ##Greenland - GD = 'GD' ##Grenada - GP = 'GP' ##Guadeloupe - GU = 'GU' ##Guam - GT = 'GT' ##Guatemala - GG = 'GG' ##Guernsey - GN = 'GN' ##Guinea - GW = 'GW' ##Guinea-Bissau - GY = 'GY' ##Guyana - HT = 'HT' ##Haiti - HM = 'HM' ##Heard and McDonald Islands - HN = 'HN' ##Honduras - HK = 'HK' ##Hong Kong - HU = 'HU' ##Hungary - IS = 'IS' ##Iceland - IN = 'IN' ##India - ID = 'ID' ##Indonesia - IR = 'IR' ##Iran - IQ = 'IQ' ##Iraq - IE = 'IE' ##Ireland - IM = 'IM' ##Isle of Man - IL = 'IL' ##Israel - IT = 'IT' ##Italy - JM = 'JM' ##Jamaica - JP = 'JP' ##Japan - JE = 'JE' ##Jersey - JO = 'JO' ##Jordan - KZ = 'KZ' ##Kazakhstan - KE = 'KE' ##Kenya - KI = 'KI' ##Kiribati - KR = 'KR' ##Korea, South - KW = 'KW' ##Kuwait - KG = 'KG' ##Kyrgyzstan - LA = 'LA' ##Laos - LV = 'LV' ##Latvia - LB = 'LB' ##Lebanon - LS = 'LS' ##Lesotho - LR = 'LR' ##Liberia - LY = 'LY' ##Libya - LI = 'LI' ##Liechtenstein - LT = 'LT' ##Lithuania - LU = 'LU' ##Luxembourg - MO = 'MO' ##Macau - MK = 'MK' ##Macedonia - MG = 'MG' ##Madagascar - MW = 'MW' ##Malawi - MY = 'MY' ##Malaysia - MV = 'MV' ##Maldives - ML = 'ML' ##Mali - MT = 'MT' ##Malta - MH = 'MH' ##Marshall Islands - MQ = 'MQ' ##Martinique - MR = 'MR' ##Mauritania - MU = 'MU' ##Mauritius - YT = 'YT' ##Mayotte - MX = 'MX' ##Mexico - FM = 'FM' ##Micronesia - MD = 'MD' ##Moldova - MC = 'MC' ##Monaco - MN = 'MN' ##Mongolia - ME = 'ME' ##Montenegro - MS = 'MS' ##Montserrat - MA = 'MA' ##Morocco - MZ = 'MZ' ##Mozambique - MM = 'MM' ##Myanmar - NA = 'NA' ##Namibia - NR = 'NR' ##Nauru - NP = 'NP' ##Nepal - NL = 'NL' ##Netherlands - NC = 'NC' ##New Caledonia - NZ = 'NZ' ##New Zealand - NI = 'NI' ##Nicaragua - NE = 'NE' ##Niger - NG = 'NG' ##Nigeria - NU = 'NU' ##Niue - NF = 'NF' ##Norfolk Island - MP = 'MP' ##Northern Mariana Islands - NO = 'NO' ##Norway - OM = 'OM' ##Oman - PK = 'PK' ##Pakistan - PW = 'PW' ##Palau - PS = 'PS' ##Palestine - PA = 'PA' ##Panama - PG = 'PG' ##Papua New Guinea - PY = 'PY' ##Paraguay - PE = 'PE' ##Peru - PH = 'PH' ##Philippines - PN = 'PN' ##Pitcairn - PL = 'PL' ##Poland - PT = 'PT' ##Portugal - PR = 'PR' ##Puerto Rico - QA = 'QA' ##Qatar - RE = 'RE' ##Reunion - RO = 'RO' ##Romania - RU = 'RU' ##Russian Federation - RW = 'RW' ##Rwanda - BL = 'BL' ##Saint Barthélemy - SH = 'SH' ##Saint Helena - KN = 'KN' ##Saint Kitts and Nevis - LC = 'LC' ##Saint Lucia - MF = 'MF' ##Saint Martin (French part) - PM = 'PM' ##Saint Pierre and Miquelon - VC = 'VC' ##Saint Vincent and the Grenadines - WS = 'WS' ##Samoa - SM = 'SM' ##San Marino - ST = 'ST' ##Sao Tome and Principe - SA = 'SA' ##Saudi Arabia - SN = 'SN' ##Senegal - RS = 'RS' ##Serbia - SC = 'SC' ##Seychelles - SL = 'SL' ##Sierra Leone - SG = 'SG' ##Singapore - SX = 'SX' ##Sint Maarten (Dutch part) - SK = 'SK' ##Slovakia - SI = 'SI' ##Slovenia - SB = 'SB' ##Solomon Islands - SO = 'SO' ##Somalia - ZA = 'ZA' ##South Africa - GS = 'GS' ##South Georgia and South Sandwich Islands - SS = 'SS' ##South Sudan - ES = 'ES' ##Spain - LK = 'LK' ##Sri Lanka - SD = 'SD' ##Sudan - SR = 'SR' ##Suriname - SJ = 'SJ' ##Svalbard and Jan Mayen Islands - SZ = 'SZ' ##Swaziland - SE = 'SE' ##Sweden - CH = 'CH' ##Switzerland - TW = 'TW' ##Taiwan - TJ = 'TJ' ##Tajikistan - TZ = 'TZ' ##Tanzania - TH = 'TH' ##Thailand - TL = 'TL' ##Timor-Leste - TG = 'TG' ##Togo - TK = 'TK' ##Tokelau - TO = 'TO' ##Tonga - TT = 'TT' ##Trinidad and Tobago - TN = 'TN' ##Tunisia - TR = 'TR' ##Turkey - TM = 'TM' ##Turkmenistan - TC = 'TC' ##Turks and Caicos Islands - TV = 'TV' ##Tuvalu - UG = 'UG' ##Uganda - UA = 'UA' ##Ukraine - AE = 'AE' ##United Arab Emirates - GB = 'GB' ##United Kingdom - UM = 'UM' ##United States Minor Outlying Islands - US = 'US' ##United States of America - UY = 'UY' ##Uruguay - UZ = 'UZ' ##Uzbekistan - VU = 'VU' ##Vanuatu - VA = 'VA' ##Vatican City - VE = 'VE' ##Venezuela - VN = 'VN' ##Vietnam - VG = 'VG' ##Virgin Islands, British - VI = 'VI' ##Virgin Islands, U.S. - WF = 'WF' ##Wallis and Futuna Islands - EH = 'EH' ##Western Sahara - YE = 'YE' ##Yemen - ZM = 'ZM' ##Zambia - ZW = 'ZW' ##Zimbabwe + """ + SponsorsCountryOrRegionCode - Represents countries or regions for billing and residence for a GitHub Sponsors profile. + + """ + + AD = "AD" # Andorra + AE = "AE" # United Arab Emirates + AF = "AF" # Afghanistan + AG = "AG" # Antigua and Barbuda + AI = "AI" # Anguilla + AL = "AL" # Albania + AM = "AM" # Armenia + AO = "AO" # Angola + AQ = "AQ" # Antarctica + AR = "AR" # Argentina + AS = "AS" # American Samoa + AT = "AT" # Austria + AU = "AU" # Australia + AW = "AW" # Aruba + AX = "AX" # Åland + AZ = "AZ" # Azerbaijan + BA = "BA" # Bosnia and Herzegovina + BB = "BB" # Barbados + BD = "BD" # Bangladesh + BE = "BE" # Belgium + BF = "BF" # Burkina Faso + BG = "BG" # Bulgaria + BH = "BH" # Bahrain + BI = "BI" # Burundi + BJ = "BJ" # Benin + BL = "BL" # Saint Barthélemy + BM = "BM" # Bermuda + BN = "BN" # Brunei Darussalam + BO = "BO" # Bolivia + BQ = "BQ" # Bonaire, Sint Eustatius and Saba + BR = "BR" # Brazil + BS = "BS" # Bahamas + BT = "BT" # Bhutan + BV = "BV" # Bouvet Island + BW = "BW" # Botswana + BY = "BY" # Belarus + BZ = "BZ" # Belize + CA = "CA" # Canada + CC = "CC" # Cocos (Keeling) Islands + CD = "CD" # Congo (Kinshasa) + CF = "CF" # Central African Republic + CG = "CG" # Congo (Brazzaville) + CH = "CH" # Switzerland + CI = "CI" # Côte d'Ivoire + CK = "CK" # Cook Islands + CL = "CL" # Chile + CM = "CM" # Cameroon + CN = "CN" # China + CO = "CO" # Colombia + CR = "CR" # Costa Rica + CV = "CV" # Cape Verde + CW = "CW" # Curaçao + CX = "CX" # Christmas Island + CY = "CY" # Cyprus + CZ = "CZ" # Czech Republic + DE = "DE" # Germany + DJ = "DJ" # Djibouti + DK = "DK" # Denmark + DM = "DM" # Dominica + DO = "DO" # Dominican Republic + DZ = "DZ" # Algeria + EC = "EC" # Ecuador + EE = "EE" # Estonia + EG = "EG" # Egypt + EH = "EH" # Western Sahara + ER = "ER" # Eritrea + ES = "ES" # Spain + ET = "ET" # Ethiopia + FI = "FI" # Finland + FJ = "FJ" # Fiji + FK = "FK" # Falkland Islands + FM = "FM" # Micronesia + FO = "FO" # Faroe Islands + FR = "FR" # France + GA = "GA" # Gabon + GB = "GB" # United Kingdom + GD = "GD" # Grenada + GE = "GE" # Georgia + GF = "GF" # French Guiana + GG = "GG" # Guernsey + GH = "GH" # Ghana + GI = "GI" # Gibraltar + GL = "GL" # Greenland + GM = "GM" # Gambia + GN = "GN" # Guinea + GP = "GP" # Guadeloupe + GQ = "GQ" # Equatorial Guinea + GR = "GR" # Greece + GS = "GS" # South Georgia and South Sandwich Islands + GT = "GT" # Guatemala + GU = "GU" # Guam + GW = "GW" # Guinea-Bissau + GY = "GY" # Guyana + HK = "HK" # Hong Kong + HM = "HM" # Heard and McDonald Islands + HN = "HN" # Honduras + HR = "HR" # Croatia + HT = "HT" # Haiti + HU = "HU" # Hungary + ID = "ID" # Indonesia + IE = "IE" # Ireland + IL = "IL" # Israel + IM = "IM" # Isle of Man + IN = "IN" # India + IO = "IO" # British Indian Ocean Territory + IQ = "IQ" # Iraq + IR = "IR" # Iran + IS = "IS" # Iceland + IT = "IT" # Italy + JE = "JE" # Jersey + JM = "JM" # Jamaica + JO = "JO" # Jordan + JP = "JP" # Japan + KE = "KE" # Kenya + KG = "KG" # Kyrgyzstan + KH = "KH" # Cambodia + KI = "KI" # Kiribati + KM = "KM" # Comoros + KN = "KN" # Saint Kitts and Nevis + KR = "KR" # Korea, South + KW = "KW" # Kuwait + KY = "KY" # Cayman Islands + KZ = "KZ" # Kazakhstan + LA = "LA" # Laos + LB = "LB" # Lebanon + LC = "LC" # Saint Lucia + LI = "LI" # Liechtenstein + LK = "LK" # Sri Lanka + LR = "LR" # Liberia + LS = "LS" # Lesotho + LT = "LT" # Lithuania + LU = "LU" # Luxembourg + LV = "LV" # Latvia + LY = "LY" # Libya + MA = "MA" # Morocco + MC = "MC" # Monaco + MD = "MD" # Moldova + ME = "ME" # Montenegro + MF = "MF" # Saint Martin (French part) + MG = "MG" # Madagascar + MH = "MH" # Marshall Islands + MK = "MK" # Macedonia + ML = "ML" # Mali + MM = "MM" # Myanmar + MN = "MN" # Mongolia + MO = "MO" # Macau + MP = "MP" # Northern Mariana Islands + MQ = "MQ" # Martinique + MR = "MR" # Mauritania + MS = "MS" # Montserrat + MT = "MT" # Malta + MU = "MU" # Mauritius + MV = "MV" # Maldives + MW = "MW" # Malawi + MX = "MX" # Mexico + MY = "MY" # Malaysia + MZ = "MZ" # Mozambique + NA = "NA" # Namibia + NC = "NC" # New Caledonia + NE = "NE" # Niger + NF = "NF" # Norfolk Island + NG = "NG" # Nigeria + NI = "NI" # Nicaragua + NL = "NL" # Netherlands + NO = "NO" # Norway + NP = "NP" # Nepal + NR = "NR" # Nauru + NU = "NU" # Niue + NZ = "NZ" # New Zealand + OM = "OM" # Oman + PA = "PA" # Panama + PE = "PE" # Peru + PF = "PF" # French Polynesia + PG = "PG" # Papua New Guinea + PH = "PH" # Philippines + PK = "PK" # Pakistan + PL = "PL" # Poland + PM = "PM" # Saint Pierre and Miquelon + PN = "PN" # Pitcairn + PR = "PR" # Puerto Rico + PS = "PS" # Palestine + PT = "PT" # Portugal + PW = "PW" # Palau + PY = "PY" # Paraguay + QA = "QA" # Qatar + RE = "RE" # Reunion + RO = "RO" # Romania + RS = "RS" # Serbia + RU = "RU" # Russian Federation + RW = "RW" # Rwanda + SA = "SA" # Saudi Arabia + SB = "SB" # Solomon Islands + SC = "SC" # Seychelles + SD = "SD" # Sudan + SE = "SE" # Sweden + SG = "SG" # Singapore + SH = "SH" # Saint Helena + SI = "SI" # Slovenia + SJ = "SJ" # Svalbard and Jan Mayen Islands + SK = "SK" # Slovakia + SL = "SL" # Sierra Leone + SM = "SM" # San Marino + SN = "SN" # Senegal + SO = "SO" # Somalia + SR = "SR" # Suriname + SS = "SS" # South Sudan + ST = "ST" # Sao Tome and Principe + SV = "SV" # El Salvador + SX = "SX" # Sint Maarten (Dutch part) + SZ = "SZ" # Swaziland + TC = "TC" # Turks and Caicos Islands + TD = "TD" # Chad + TF = "TF" # French Southern Lands + TG = "TG" # Togo + TH = "TH" # Thailand + TJ = "TJ" # Tajikistan + TK = "TK" # Tokelau + TL = "TL" # Timor-Leste + TM = "TM" # Turkmenistan + TN = "TN" # Tunisia + TO = "TO" # Tonga + TR = "TR" # Türkiye + TT = "TT" # Trinidad and Tobago + TV = "TV" # Tuvalu + TW = "TW" # Taiwan + TZ = "TZ" # Tanzania + UA = "UA" # Ukraine + UG = "UG" # Uganda + UM = "UM" # United States Minor Outlying Islands + US = "US" # United States of America + UY = "UY" # Uruguay + UZ = "UZ" # Uzbekistan + VA = "VA" # Vatican City + VC = "VC" # Saint Vincent and the Grenadines + VE = "VE" # Venezuela + VG = "VG" # Virgin Islands, British + VI = "VI" # Virgin Islands, U.S. + VN = "VN" # Vietnam + VU = "VU" # Vanuatu + WF = "WF" # Wallis and Futuna Islands + WS = "WS" # Samoa + YE = "YE" # Yemen + YT = "YT" # Mayotte + ZA = "ZA" # South Africa + ZM = "ZM" # Zambia + ZW = "ZW" # Zimbabwe + class SponsorsGoalKind(Enum): - """ - SponsorsGoalKind - The different kinds of goals a GitHub Sponsors member can have. + """ + SponsorsGoalKind - The different kinds of goals a GitHub Sponsors member can have. + + """ + + MONTHLY_SPONSORSHIP_AMOUNT = "MONTHLY_SPONSORSHIP_AMOUNT" # The goal is about getting a certain amount in USD from sponsorships each month. + TOTAL_SPONSORS_COUNT = "TOTAL_SPONSORS_COUNT" # The goal is about reaching a certain number of sponsors. - """ - DEFAULT = None - TOTAL_SPONSORS_COUNT = 'TOTAL_SPONSORS_COUNT' ##The goal is about reaching a certain number of sponsors. - MONTHLY_SPONSORSHIP_AMOUNT = 'MONTHLY_SPONSORSHIP_AMOUNT' ##The goal is about getting a certain amount in USD from sponsorships each month. class SponsorsListingFeaturedItemFeatureableType(Enum): - """ - SponsorsListingFeaturedItemFeatureableType - The different kinds of records that can be featured on a GitHub Sponsors profile page. + """ + SponsorsListingFeaturedItemFeatureableType - The different kinds of records that can be featured on a GitHub Sponsors profile page. + + """ + + REPOSITORY = "REPOSITORY" # A repository owned by the user or organization with the GitHub Sponsors profile. + USER = "USER" # A user who belongs to the organization with the GitHub Sponsors profile. - """ - DEFAULT = None - REPOSITORY = 'REPOSITORY' ##A repository owned by the user or organization with the GitHub Sponsors profile. - USER = 'USER' ##A user who belongs to the organization with the GitHub Sponsors profile. class SponsorsTierOrderField(Enum): - """ - SponsorsTierOrderField - Properties by which Sponsors tiers connections can be ordered. + """ + SponsorsTierOrderField - Properties by which Sponsors tiers connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order tiers by creation time. + MONTHLY_PRICE_IN_CENTS = ( + "MONTHLY_PRICE_IN_CENTS" # Order tiers by their monthly price in cents + ) - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order tiers by creation time. - MONTHLY_PRICE_IN_CENTS = 'MONTHLY_PRICE_IN_CENTS' ##Order tiers by their monthly price in cents class SponsorshipNewsletterOrderField(Enum): - """ - SponsorshipNewsletterOrderField - Properties by which sponsorship update connections can be ordered. + """ + SponsorshipNewsletterOrderField - Properties by which sponsorship update connections can be ordered. + + """ + + CREATED_AT = ( + "CREATED_AT" # Order sponsorship newsletters by when they were created. + ) - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order sponsorship newsletters by when they were created. class SponsorshipOrderField(Enum): - """ - SponsorshipOrderField - Properties by which sponsorship connections can be ordered. + """ + SponsorshipOrderField - Properties by which sponsorship connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order sponsorship by creation time. + + +class SponsorshipPaymentSource(Enum): + """ + SponsorshipPaymentSource - How payment was made for funding a GitHub Sponsors sponsorship. + + """ + + GITHUB = "GITHUB" # Payment was made through GitHub. + PATREON = "PATREON" # Payment was made through Patreon. - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order sponsorship by creation time. class SponsorshipPrivacy(Enum): - """ - SponsorshipPrivacy - The privacy of a sponsorship + """ + SponsorshipPrivacy - The privacy of a sponsorship + + """ + + PRIVATE = "PRIVATE" # Private + PUBLIC = "PUBLIC" # Public - """ - DEFAULT = None - PUBLIC = 'PUBLIC' ##Public - PRIVATE = 'PRIVATE' ##Private class SquashMergeCommitMessage(Enum): - """ - SquashMergeCommitMessage - The possible default commit messages for squash merges. + """ + SquashMergeCommitMessage - The possible default commit messages for squash merges. + + """ + + BLANK = "BLANK" # Default to a blank commit message. + COMMIT_MESSAGES = "COMMIT_MESSAGES" # Default to the branch's commit messages. + PR_BODY = "PR_BODY" # Default to the pull request's body. - """ - DEFAULT = None - PR_BODY = 'PR_BODY' ##Default to the pull request's body. - COMMIT_MESSAGES = 'COMMIT_MESSAGES' ##Default to the branch's commit messages. - BLANK = 'BLANK' ##Default to a blank commit message. class SquashMergeCommitTitle(Enum): - """ - SquashMergeCommitTitle - The possible default commit titles for squash merges. + """ + SquashMergeCommitTitle - The possible default commit titles for squash merges. + + """ + + COMMIT_OR_PR_TITLE = "COMMIT_OR_PR_TITLE" # Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + PR_TITLE = "PR_TITLE" # Default to the pull request's title. - """ - DEFAULT = None - PR_TITLE = 'PR_TITLE' ##Default to the pull request's title. - COMMIT_OR_PR_TITLE = 'COMMIT_OR_PR_TITLE' ##Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). class StarOrderField(Enum): - """ - StarOrderField - Properties by which star connections can be ordered. + """ + StarOrderField - Properties by which star connections can be ordered. + + """ + + STARRED_AT = ( + "STARRED_AT" # Allows ordering a list of stars by when they were created. + ) - """ - DEFAULT = None - STARRED_AT = 'STARRED_AT' ##Allows ordering a list of stars by when they were created. class StatusState(Enum): - """ - StatusState - The possible commit status states. + """ + StatusState - The possible commit status states. + + """ + + ERROR = "ERROR" # Status is errored. + EXPECTED = "EXPECTED" # Status is expected. + FAILURE = "FAILURE" # Status is failing. + PENDING = "PENDING" # Status is pending. + SUCCESS = "SUCCESS" # Status is successful. - """ - DEFAULT = None - EXPECTED = 'EXPECTED' ##Status is expected. - ERROR = 'ERROR' ##Status is errored. - FAILURE = 'FAILURE' ##Status is failing. - PENDING = 'PENDING' ##Status is pending. - SUCCESS = 'SUCCESS' ##Status is successful. class SubscriptionState(Enum): - """ - SubscriptionState - The possible states of a subscription. + """ + SubscriptionState - The possible states of a subscription. + + """ + + IGNORED = "IGNORED" # The User is never notified. + SUBSCRIBED = "SUBSCRIBED" # The User is notified of all conversations. + UNSUBSCRIBED = ( + "UNSUBSCRIBED" # The User is only notified when participating or @mentioned. + ) - """ - DEFAULT = None - UNSUBSCRIBED = 'UNSUBSCRIBED' ##The User is only notified when participating or @mentioned. - SUBSCRIBED = 'SUBSCRIBED' ##The User is notified of all conversations. - IGNORED = 'IGNORED' ##The User is never notified. class TeamDiscussionCommentOrderField(Enum): - """ - TeamDiscussionCommentOrderField - Properties by which team discussion comment connections can be ordered. + """ + TeamDiscussionCommentOrderField - Properties by which team discussion comment connections can be ordered. + + """ + + NUMBER = "NUMBER" # Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). - """ - DEFAULT = None - NUMBER = 'NUMBER' ##Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). class TeamDiscussionOrderField(Enum): - """ - TeamDiscussionOrderField - Properties by which team discussion connections can be ordered. + """ + TeamDiscussionOrderField - Properties by which team discussion connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Allows chronological ordering of team discussions. - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Allows chronological ordering of team discussions. class TeamMemberOrderField(Enum): - """ - TeamMemberOrderField - Properties by which team member connections can be ordered. + """ + TeamMemberOrderField - Properties by which team member connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order team members by creation time + LOGIN = "LOGIN" # Order team members by login - """ - DEFAULT = None - LOGIN = 'LOGIN' ##Order team members by login - CREATED_AT = 'CREATED_AT' ##Order team members by creation time class TeamMemberRole(Enum): - """ - TeamMemberRole - The possible team member roles; either 'maintainer' or 'member'. + """ + TeamMemberRole - The possible team member roles; either 'maintainer' or 'member'. + + """ + + MAINTAINER = ( + "MAINTAINER" # A team maintainer has permission to add and remove team members. + ) + MEMBER = "MEMBER" # A team member has no administrative permissions on the team. - """ - DEFAULT = None - MAINTAINER = 'MAINTAINER' ##A team maintainer has permission to add and remove team members. - MEMBER = 'MEMBER' ##A team member has no administrative permissions on the team. class TeamMembershipType(Enum): - """ - TeamMembershipType - Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. + """ + TeamMembershipType - Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. + + """ + + ALL = "ALL" # Includes immediate and child team members for the team. + CHILD_TEAM = "CHILD_TEAM" # Includes only child team members for the team. + IMMEDIATE = "IMMEDIATE" # Includes only immediate members of the team. - """ - DEFAULT = None - IMMEDIATE = 'IMMEDIATE' ##Includes only immediate members of the team. - CHILD_TEAM = 'CHILD_TEAM' ##Includes only child team members for the team. - ALL = 'ALL' ##Includes immediate and child team members for the team. class TeamNotificationSetting(Enum): - """ - TeamNotificationSetting - The possible team notification values. + """ + TeamNotificationSetting - The possible team notification values. + + """ + + NOTIFICATIONS_DISABLED = ( + "NOTIFICATIONS_DISABLED" # No one will receive notifications. + ) + NOTIFICATIONS_ENABLED = "NOTIFICATIONS_ENABLED" # Everyone will receive notifications when the team is @mentioned. - """ - DEFAULT = None - NOTIFICATIONS_ENABLED = 'NOTIFICATIONS_ENABLED' ##Everyone will receive notifications when the team is @mentioned. - NOTIFICATIONS_DISABLED = 'NOTIFICATIONS_DISABLED' ##No one will receive notifications. class TeamOrderField(Enum): - """ - TeamOrderField - Properties by which team connections can be ordered. + """ + TeamOrderField - Properties by which team connections can be ordered. + + """ + + NAME = "NAME" # Allows ordering a list of teams by name. - """ - DEFAULT = None - NAME = 'NAME' ##Allows ordering a list of teams by name. class TeamPrivacy(Enum): - """ - TeamPrivacy - The possible team privacy values. + """ + TeamPrivacy - The possible team privacy values. + + """ + + SECRET = "SECRET" # A secret team can only be seen by its members. + VISIBLE = "VISIBLE" # A visible team can be seen and @mentioned by every member of the organization. - """ - DEFAULT = None - SECRET = 'SECRET' ##A secret team can only be seen by its members. - VISIBLE = 'VISIBLE' ##A visible team can be seen and @mentioned by every member of the organization. class TeamRepositoryOrderField(Enum): - """ - TeamRepositoryOrderField - Properties by which team repository connections can be ordered. - - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order repositories by creation time - UPDATED_AT = 'UPDATED_AT' ##Order repositories by update time - PUSHED_AT = 'PUSHED_AT' ##Order repositories by push time - NAME = 'NAME' ##Order repositories by name - PERMISSION = 'PERMISSION' ##Order repositories by permission - STARGAZERS = 'STARGAZERS' ##Order repositories by number of stargazers + """ + TeamRepositoryOrderField - Properties by which team repository connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order repositories by creation time + NAME = "NAME" # Order repositories by name + PERMISSION = "PERMISSION" # Order repositories by permission + PUSHED_AT = "PUSHED_AT" # Order repositories by push time + STARGAZERS = "STARGAZERS" # Order repositories by number of stargazers + UPDATED_AT = "UPDATED_AT" # Order repositories by update time + + +class TeamReviewAssignmentAlgorithm(Enum): + """ + TeamReviewAssignmentAlgorithm - The possible team review assignment algorithms + + """ + + LOAD_BALANCE = "LOAD_BALANCE" # Balance review load across the entire team + ROUND_ROBIN = "ROUND_ROBIN" # Alternate reviews between each team member + class TeamRole(Enum): - """ - TeamRole - The role of a user on a team. + """ + TeamRole - The role of a user on a team. + + """ + + ADMIN = "ADMIN" # User has admin rights on the team. + MEMBER = "MEMBER" # User is a member of the team. - """ - DEFAULT = None - ADMIN = 'ADMIN' ##User has admin rights on the team. - MEMBER = 'MEMBER' ##User is a member of the team. class ThreadSubscriptionFormAction(Enum): - """ - ThreadSubscriptionFormAction - The possible states of a thread subscription form action + """ + ThreadSubscriptionFormAction - The possible states of a thread subscription form action + + """ + + NONE = "NONE" # The User cannot subscribe or unsubscribe to the thread + SUBSCRIBE = "SUBSCRIBE" # The User can subscribe to the thread + UNSUBSCRIBE = "UNSUBSCRIBE" # The User can unsubscribe to the thread - """ - DEFAULT = None - NONE = 'NONE' ##The User cannot subscribe or unsubscribe to the thread - SUBSCRIBE = 'SUBSCRIBE' ##The User can subscribe to the thread - UNSUBSCRIBE = 'UNSUBSCRIBE' ##The User can unsubscribe to the thread class ThreadSubscriptionState(Enum): - """ - ThreadSubscriptionState - The possible states of a subscription. - - """ - DEFAULT = None - UNAVAILABLE = 'UNAVAILABLE' ##The subscription status is currently unavailable. - DISABLED = 'DISABLED' ##The subscription status is currently disabled. - IGNORING_LIST = 'IGNORING_LIST' ##The User is never notified because they are ignoring the list - SUBSCRIBED_TO_THREAD_EVENTS = 'SUBSCRIBED_TO_THREAD_EVENTS' ##The User is notified because they chose custom settings for this thread. - IGNORING_THREAD = 'IGNORING_THREAD' ##The User is never notified because they are ignoring the thread - SUBSCRIBED_TO_LIST = 'SUBSCRIBED_TO_LIST' ##The User is notified becuase they are watching the list - SUBSCRIBED_TO_THREAD_TYPE = 'SUBSCRIBED_TO_THREAD_TYPE' ##The User is notified because they chose custom settings for this thread. - SUBSCRIBED_TO_THREAD = 'SUBSCRIBED_TO_THREAD' ##The User is notified because they are subscribed to the thread - NONE = 'NONE' ##The User is not recieving notifications from this thread - -class TopicSuggestionDeclineReason(Enum): - """ - TopicSuggestionDeclineReason - Reason that the suggested topic is declined. - - """ - DEFAULT = None - NOT_RELEVANT = 'NOT_RELEVANT' ##The suggested topic is not relevant to the repository. - TOO_SPECIFIC = 'TOO_SPECIFIC' ##The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1). - PERSONAL_PREFERENCE = 'PERSONAL_PREFERENCE' ##The viewer does not like the suggested topic. - TOO_GENERAL = 'TOO_GENERAL' ##The suggested topic is too general for the repository. + """ + ThreadSubscriptionState - The possible states of a subscription. + + """ + + DISABLED = "DISABLED" # The subscription status is currently disabled. + IGNORING_LIST = ( + "IGNORING_LIST" # The User is never notified because they are ignoring the list + ) + IGNORING_THREAD = "IGNORING_THREAD" # The User is never notified because they are ignoring the thread + NONE = "NONE" # The User is not recieving notifications from this thread + SUBSCRIBED_TO_LIST = ( + "SUBSCRIBED_TO_LIST" # The User is notified becuase they are watching the list + ) + SUBSCRIBED_TO_THREAD = "SUBSCRIBED_TO_THREAD" # The User is notified because they are subscribed to the thread + SUBSCRIBED_TO_THREAD_EVENTS = "SUBSCRIBED_TO_THREAD_EVENTS" # The User is notified because they chose custom settings for this thread. + SUBSCRIBED_TO_THREAD_TYPE = "SUBSCRIBED_TO_THREAD_TYPE" # The User is notified because they chose custom settings for this thread. + UNAVAILABLE = "UNAVAILABLE" # The subscription status is currently unavailable. + class TrackedIssueStates(Enum): - """ - TrackedIssueStates - The possible states of a tracked issue. + """ + TrackedIssueStates - The possible states of a tracked issue. + + """ + + CLOSED = "CLOSED" # The tracked issue is closed + OPEN = "OPEN" # The tracked issue is open - """ - DEFAULT = None - OPEN = 'OPEN' ##The tracked issue is open - CLOSED = 'CLOSED' ##The tracked issue is closed class UserBlockDuration(Enum): - """ - UserBlockDuration - The possible durations that a user can be blocked for. + """ + UserBlockDuration - The possible durations that a user can be blocked for. + + """ + + ONE_DAY = "ONE_DAY" # The user was blocked for 1 day + ONE_MONTH = "ONE_MONTH" # The user was blocked for 30 days + ONE_WEEK = "ONE_WEEK" # The user was blocked for 7 days + PERMANENT = "PERMANENT" # The user was blocked permanently + THREE_DAYS = "THREE_DAYS" # The user was blocked for 3 days - """ - DEFAULT = None - ONE_DAY = 'ONE_DAY' ##The user was blocked for 1 day - THREE_DAYS = 'THREE_DAYS' ##The user was blocked for 3 days - ONE_WEEK = 'ONE_WEEK' ##The user was blocked for 7 days - ONE_MONTH = 'ONE_MONTH' ##The user was blocked for 30 days - PERMANENT = 'PERMANENT' ##The user was blocked permanently class UserStatusOrderField(Enum): - """ - UserStatusOrderField - Properties by which user status connections can be ordered. + """ + UserStatusOrderField - Properties by which user status connections can be ordered. + + """ + + UPDATED_AT = "UPDATED_AT" # Order user statuses by when they were updated. - """ - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order user statuses by when they were updated. class VerifiableDomainOrderField(Enum): - """ - VerifiableDomainOrderField - Properties by which verifiable domain connections can be ordered. + """ + VerifiableDomainOrderField - Properties by which verifiable domain connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order verifiable domains by their creation date. + DOMAIN = "DOMAIN" # Order verifiable domains by the domain name. - """ - DEFAULT = None - DOMAIN = 'DOMAIN' ##Order verifiable domains by the domain name. - CREATED_AT = 'CREATED_AT' ##Order verifiable domains by their creation date. class WorkflowRunOrderField(Enum): - """ - WorkflowRunOrderField - Properties by which workflow run connections can be ordered. + """ + WorkflowRunOrderField - Properties by which workflow run connections can be ordered. + + """ + + CREATED_AT = "CREATED_AT" # Order workflow runs by most recently created - """ - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order workflow runs by most recently created class WorkflowState(Enum): - """ - WorkflowState - The possible states for a workflow. - - """ - DEFAULT = None - ACTIVE = 'ACTIVE' ##The workflow is active. - DELETED = 'DELETED' ##The workflow was deleted from the git repository. - DISABLED_FORK = 'DISABLED_FORK' ##The workflow was disabled by default on a fork. - DISABLED_INACTIVITY = 'DISABLED_INACTIVITY' ##The workflow was disabled for inactivity in the repository. - DISABLED_MANUALLY = 'DISABLED_MANUALLY' ##The workflow was disabled manually. + """ + WorkflowState - The possible states for a workflow. + + """ + + ACTIVE = "ACTIVE" # The workflow is active. + DELETED = "DELETED" # The workflow was deleted from the git repository. + DISABLED_FORK = "DISABLED_FORK" # The workflow was disabled by default on a fork. + DISABLED_INACTIVITY = "DISABLED_INACTIVITY" # The workflow was disabled for inactivity in the repository. + DISABLED_MANUALLY = "DISABLED_MANUALLY" # The workflow was disabled manually. diff --git a/tests/output/github/gist.py b/tests/output/github/gist.py new file mode 100644 index 0000000..2fae9d3 --- /dev/null +++ b/tests/output/github/gist.py @@ -0,0 +1,73 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import RepositoryOwner + from .gql_types import StargazerConnection + from .gql_types import GistCommentConnection + from .gql_types import GistFile + from .gql_types import GistConnection + + +@dataclass(kw_only=True) +class Gist: + """ + Gist - A Gist. + + comments - A list of comments associated with the gist + + createdAt - Identifies the date and time when the object was created. + + description - The gist description. + + files - The files in this gist. + + forks - A list of forks associated with the gist + + id - The Node ID of the Gist object + + isFork - Identifies if the gist is a fork. + + isPublic - Whether the gist is public or not. + + name - The gist name. + + owner - The gist owner. + + pushedAt - Identifies when the gist was last pushed to. + + resourcePath - The HTML path to this resource. + + stargazerCount - Returns a count of how many stargazers there are on this object + + stargazers - A list of users who have starred this starrable. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this Gist. + + viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + + """ + + comments: GistCommentConnection + created_at: DateTime + description: Optional[str] = None + files: Optional[list[GistFile]] = None + forks: GistConnection + id: ID + is_fork: bool + is_public: bool + name: str + owner: Optional[RepositoryOwner] = None + pushed_at: Optional[DateTime] = None + resource_path: URI + stargazer_count: int + stargazers: StargazerConnection + updated_at: DateTime + url: URI + viewer_has_starred: bool diff --git a/tests/output/github/gql_forward_reference.py b/tests/output/github/gql_forward_reference.py new file mode 100644 index 0000000..846f5d4 --- /dev/null +++ b/tests/output/github/gql_forward_reference.py @@ -0,0 +1,2203 @@ +from .app import App +from .branch_protection_rule import BranchProtectionRule +from .check_suite import CheckSuite +from .commit import Commit +from .commit_comment_connection import CommitCommentConnection +from .contributions_collection import ContributionsCollection +from .deployment import Deployment +from .discussion import Discussion +from .discussion_comment import DiscussionComment +from .discussion_poll import DiscussionPoll +from .enterprise import Enterprise +from .enterprise_server_installation import EnterpriseServerInstallation +from .enterprise_server_user_account import EnterpriseServerUserAccount +from .gist import Gist +from .gql_types import ( + CVSS, + AbortQueuedMigrationsPayload, + AbortRepositoryMigrationPayload, + AcceptEnterpriseAdministratorInvitationPayload, + AcceptTopicSuggestionInput, + AcceptTopicSuggestionPayload, + ActorLocation, + AddAssigneesToAssignablePayload, + AddCommentInput, + AddCommentPayload, + AddDiscussionCommentPayload, + AddDiscussionPollVoteInput, + AddDiscussionPollVotePayload, + AddedToMergeQueueEvent, + AddedToProjectEvent, + AddEnterpriseOrganizationMemberPayload, + AddEnterpriseSupportEntitlementInput, + AddLabelsToLabelableInput, + AddLabelsToLabelablePayload, + AddProjectCardPayload, + AddProjectColumnInput, + AddProjectColumnPayload, + AddProjectV2DraftIssuePayload, + AddProjectV2ItemByIdInput, + AddProjectV2ItemByIdPayload, + AddPullRequestReviewCommentPayload, + AddPullRequestReviewInput, + AddPullRequestReviewPayload, + AddPullRequestReviewThreadInput, + AddPullRequestReviewThreadPayload, + AddPullRequestReviewThreadReplyPayload, + AddReactionInput, + AddReactionPayload, + AddStarPayload, + AddUpvoteInput, + AddUpvotePayload, + AddVerifiableDomainPayload, + AnnouncementBanner, + ApproveDeploymentsPayload, + ApproveVerifiableDomainInput, + ApproveVerifiableDomainPayload, + ArchiveProjectV2ItemPayload, + ArchiveRepositoryInput, + ArchiveRepositoryPayload, + Assignable, + AssignedEvent, + AuditEntry, + AutomaticBaseChangeFailedEvent, + AutomaticBaseChangeSucceededEvent, + AutoMergeDisabledEvent, + AutoMergeEnabledEvent, + AutoMergeRequest, + AutoRebaseEnabledEvent, + AutoSquashEnabledEvent, + BaseRefChangedEvent, + BaseRefDeletedEvent, + BaseRefForcePushedEvent, + Blame, + BlameRange, + Blob, + Bot, + BranchNamePatternParametersInput, + BranchProtectionRuleConflict, + BranchProtectionRuleConflictConnection, + BranchProtectionRuleConflictEdge, + BranchProtectionRuleConnection, + BranchProtectionRuleEdge, + BypassForcePushAllowance, + BypassForcePushAllowanceConnection, + BypassForcePushAllowanceEdge, + BypassPullRequestAllowance, + BypassPullRequestAllowanceConnection, + BypassPullRequestAllowanceEdge, + CancelEnterpriseAdminInvitationInput, + CancelEnterpriseAdminInvitationPayload, + CancelSponsorshipPayload, + ChangeUserStatusInput, + ChangeUserStatusPayload, + CheckAnnotation, + CheckAnnotationConnection, + CheckAnnotationData, + CheckAnnotationEdge, + CheckAnnotationRange, + CheckAnnotationSpan, + CheckRun, + CheckRunConnection, + CheckRunEdge, + CheckRunFilter, + CheckRunOutput, + CheckRunStateCount, + CheckStepConnection, + CheckStepEdge, + CheckSuiteAutoTriggerPreference, + CheckSuiteConnection, + CheckSuiteEdge, + ClearLabelsFromLabelableInput, + ClearLabelsFromLabelablePayload, + ClearProjectV2ItemFieldValuePayload, + CloneProjectInput, + CloneProjectPayload, + CloneTemplateRepositoryPayload, + Closable, + ClosedEvent, + CloseDiscussionPayload, + CloseIssueInput, + CloseIssuePayload, + ClosePullRequestPayload, + CodeOfConduct, + Comment, + CommentDeletedEvent, + CommitAuthorEmailPatternParameters, + CommitComment, + CommitCommentEdge, + CommitCommentThread, + CommitConnection, + CommitContributionOrder, + CommitContributionsByRepository, + CommitEdge, + CommitHistoryConnection, + CommitMessagePatternParameters, + CommittableBranch, + CommitterEmailPatternParametersInput, + Comparison, + ComparisonCommitConnection, + ConnectedEvent, + Contribution, + ContributionCalendar, + ContributionCalendarDay, + ContributionCalendarWeek, + ContributionOrder, + ConvertedNoteToIssueEvent, + ConvertedToDiscussionEvent, + ConvertProjectCardNoteToIssuePayload, + ConvertPullRequestToDraftInput, + ConvertPullRequestToDraftPayload, + ConvertToDraftEvent, + CopyProjectV2Payload, + CreateAttributionInvitationInput, + CreateAttributionInvitationPayload, + CreateBranchProtectionRuleInput, + CreateBranchProtectionRulePayload, + CreateCheckRunInput, + CreateCheckRunPayload, + CreateCheckSuitePayload, + CreateCommitOnBranchInput, + CreateCommitOnBranchPayload, + CreatedCommitContribution, + CreatedCommitContributionConnection, + CreatedCommitContributionEdge, + CreateDeploymentInput, + CreateDeploymentPayload, + CreateDeploymentStatusPayload, + CreateDiscussionInput, + CreateDiscussionPayload, + CreatedIssueContribution, + CreatedIssueContributionConnection, + CreatedIssueContributionEdge, + CreatedPullRequestContribution, + CreatedPullRequestContributionConnection, + CreatedPullRequestContributionEdge, + CreatedPullRequestReviewContribution, + CreatedPullRequestReviewContributionConnection, + CreatedPullRequestReviewContributionEdge, + CreatedRepositoryContribution, + CreatedRepositoryContributionConnection, + CreatedRepositoryContributionEdge, + CreateEnterpriseOrganizationPayload, + CreateEnvironmentInput, + CreateEnvironmentPayload, + CreateIpAllowListEntryPayload, + CreateIssueInput, + CreateIssuePayload, + CreateLabelPayload, + CreateLinkedBranchInput, + CreateLinkedBranchPayload, + CreateMigrationSourcePayload, + CreateProjectInput, + CreateProjectPayload, + CreateProjectV2FieldInput, + CreateProjectV2FieldPayload, + CreateProjectV2Payload, + CreatePullRequestInput, + CreatePullRequestPayload, + CreateRefPayload, + CreateRepositoryInput, + CreateRepositoryPayload, + CreateRepositoryRulesetInput, + CreateRepositoryRulesetPayload, + CreateSponsorshipPayload, + CreateSponsorshipsInput, + CreateSponsorshipsPayload, + CreateSponsorsListingPayload, + CreateSponsorsTierInput, + CreateSponsorsTierPayload, + CreateTeamDiscussionCommentInput, + CreateTeamDiscussionCommentPayload, + CreateTeamDiscussionPayload, + CreateUserListInput, + CreateUserListPayload, + CrossReferencedEvent, + CWEConnection, + CWEEdge, + DeclineTopicSuggestionPayload, + Deletable, + DeleteBranchProtectionRulePayload, + DeleteDeploymentPayload, + DeleteDiscussionCommentPayload, + DeleteDiscussionInput, + DeleteDiscussionPayload, + DeleteEnvironmentPayload, + DeleteIpAllowListEntryPayload, + DeleteIssueCommentInput, + DeleteIssueInput, + DeleteIssuePayload, + DeleteLabelPayload, + DeleteLinkedBranchPayload, + DeletePackageVersionInput, + DeleteProjectCardInput, + DeleteProjectCardPayload, + DeleteProjectColumnPayload, + DeleteProjectInput, + DeleteProjectPayload, + DeleteProjectV2FieldPayload, + DeleteProjectV2Input, + DeleteProjectV2ItemPayload, + DeleteProjectV2Payload, + DeleteProjectV2WorkflowPayload, + DeletePullRequestReviewCommentInput, + DeletePullRequestReviewCommentPayload, + DeletePullRequestReviewPayload, + DeleteRefInput, + DeleteRepositoryRulesetInput, + DeleteTeamDiscussionCommentInput, + DeleteTeamDiscussionInput, + DeleteUserListInput, + DeleteUserListPayload, + DeleteVerifiableDomainPayload, + DemilestonedEvent, + DependabotUpdate, + DependabotUpdateError, + DependencyGraphDependency, + DependencyGraphDependencyConnection, + DependencyGraphDependencyEdge, + DependencyGraphManifest, + DependencyGraphManifestConnection, + DependencyGraphManifestEdge, + DeployedEvent, + DeployKeyConnection, + DeployKeyEdge, + DeploymentConnection, + DeploymentEdge, + DeploymentEnvironmentChangedEvent, + DeploymentOrder, + DeploymentProtectionRule, + DeploymentProtectionRuleConnection, + DeploymentProtectionRuleEdge, + DeploymentRequest, + DeploymentRequestConnection, + DeploymentRequestEdge, + DeploymentReview, + DeploymentReviewConnection, + DeploymentReviewEdge, + DeploymentReviewerConnection, + DeploymentReviewerEdge, + DeploymentStatus, + DeploymentStatusConnection, + DeploymentStatusEdge, + DequeuePullRequestPayload, + DisablePullRequestAutoMergeInput, + DisablePullRequestAutoMergePayload, + DisconnectedEvent, + DiscussionCategory, + DiscussionCategoryConnection, + DiscussionCategoryEdge, + DiscussionCommentConnection, + DiscussionCommentEdge, + DiscussionConnection, + DiscussionEdge, + DiscussionPollOption, + DiscussionPollOptionConnection, + DiscussionPollOptionEdge, + DiscussionPollOptionOrder, + DismissPullRequestReviewPayload, + DismissRepositoryVulnerabilityAlertInput, + DismissRepositoryVulnerabilityAlertPayload, + DraftIssue, + DraftPullRequestReviewThread, + EnablePullRequestAutoMergePayload, + EnqueuePullRequestInput, + EnqueuePullRequestPayload, + EnterpriseAdministratorConnection, + EnterpriseAdministratorEdge, + EnterpriseAdministratorInvitation, + EnterpriseAdministratorInvitationConnection, + EnterpriseAdministratorInvitationEdge, + EnterpriseAuditEntryData, + EnterpriseConnection, + EnterpriseEdge, + EnterpriseFailedInvitationConnection, + EnterpriseFailedInvitationEdge, + EnterpriseIdentityProvider, + EnterpriseMemberConnection, + EnterpriseMemberEdge, + EnterpriseMemberOrder, + EnterpriseOrganizationMembershipConnection, + EnterpriseOrganizationMembershipEdge, + EnterpriseOutsideCollaboratorConnection, + EnterpriseOutsideCollaboratorEdge, + EnterpriseOwnerInfo, + EnterprisePendingMemberInvitationConnection, + EnterprisePendingMemberInvitationEdge, + EnterpriseRepositoryInfo, + EnterpriseRepositoryInfoConnection, + EnterpriseRepositoryInfoEdge, + EnterpriseServerInstallationConnection, + EnterpriseServerInstallationEdge, + EnterpriseServerInstallationMembershipConnection, + EnterpriseServerInstallationMembershipEdge, + EnterpriseServerUserAccountConnection, + EnterpriseServerUserAccountEdge, + EnterpriseServerUserAccountEmail, + EnterpriseServerUserAccountEmailConnection, + EnterpriseServerUserAccountEmailEdge, + EnterpriseServerUserAccountEmailOrder, + EnterpriseServerUserAccountsUpload, + EnterpriseServerUserAccountsUploadConnection, + EnterpriseServerUserAccountsUploadEdge, + EnterpriseServerUserAccountsUploadOrder, + EnterpriseUserAccount, + Environment, + EnvironmentConnection, + EnvironmentEdge, + ExternalIdentity, + ExternalIdentityAttribute, + ExternalIdentityConnection, + ExternalIdentityEdge, + ExternalIdentitySamlAttributes, + ExternalIdentityScimAttributes, + FileChanges, + FileDeletion, + FollowerConnection, + FollowingConnection, + FollowOrganizationPayload, + FollowUserInput, + FollowUserPayload, + GenericHovercardContext, + GistComment, + GistCommentConnection, + GistCommentEdge, + GistConnection, + GistEdge, + GistFile, + GitActor, + GitActorConnection, + GitActorEdge, + GitHubMetadata, + GitObject, + GitSignature, + GpgSignature, + GrantEnterpriseOrganizationsMigratorRolePayload, + GrantMigratorRoleInput, + HeadRefDeletedEvent, + HeadRefForcePushedEvent, + HeadRefRestoredEvent, + Hovercard, + HovercardContext, + ImportProjectInput, + ImportProjectPayload, + InviteEnterpriseAdminPayload, + IpAllowListEntry, + IpAllowListEntryEdge, + IpAllowListEntryOrder, + IssueCommentConnection, + IssueConnection, + IssueContributionsByRepository, + IssueEdge, + IssueFilters, + IssueTemplate, + IssueTimelineConnection, + IssueTimelineItemEdge, + IssueTimelineItemsConnection, + IssueTimelineItemsEdge, + JoinedGitHubContribution, + Label, + Labelable, + LabelConnection, + LabeledEvent, + LabelEdge, + LabelOrder, + LanguageConnection, + LanguageEdge, + LanguageOrder, + License, + LinkedBranch, + LinkedBranchConnection, + LinkedBranchEdge, + LinkProjectV2ToRepositoryInput, + LinkProjectV2ToRepositoryPayload, + LinkProjectV2ToTeamPayload, + LinkRepositoryToProjectInput, + LinkRepositoryToProjectPayload, + Lockable, + LockedEvent, + LockLockablePayload, + Mannequin, + MannequinConnection, + MannequinEdge, + MarkDiscussionCommentAsAnswerInput, + MarkDiscussionCommentAsAnswerPayload, + MarkedAsDuplicateEvent, + MarketplaceListing, + MarketplaceListingConnection, + MarketplaceListingEdge, + MarkFileAsViewedPayload, + MarkNotificationAsDoneInput, + MarkNotificationAsDonePayload, + MarkProjectV2AsTemplatePayload, + MarkPullRequestReadyForReviewInput, + MarkPullRequestReadyForReviewPayload, + MemberFeatureRequestNotification, + MembersCanDeleteReposClearAuditEntry, + MembersCanDeleteReposDisableAuditEntry, + MembersCanDeleteReposEnableAuditEntry, + MemberStatusable, + MentionedEvent, + MergeBranchPayload, + MergedEvent, + MergePullRequestInput, + MergePullRequestPayload, + MergeQueueEntry, + MergeQueueEntryConnection, + MergeQueueEntryEdge, + Migration, + MigrationSource, + Milestone, + MilestoneConnection, + MilestonedEvent, + MilestoneEdge, + Minimizable, + MinimizeCommentPayload, + MovedColumnsInProjectEvent, + MoveProjectCardInput, + MoveProjectCardPayload, + MoveProjectColumnPayload, + Node, + OauthApplicationCreateAuditEntry, + OIDCProvider, + OrgAddBillingManagerAuditEntry, + OrgAddMemberAuditEntry, + OrganizationAuditEntryConnection, + OrganizationAuditEntryData, + OrganizationAuditEntryEdge, + OrganizationConnection, + OrganizationEdge, + OrganizationEnterpriseOwnerConnection, + OrganizationEnterpriseOwnerEdge, + OrganizationIdentityProvider, + OrganizationInvitation, + OrganizationInvitationConnection, + OrganizationInvitationEdge, + OrganizationMemberConnection, + OrganizationMemberEdge, + OrganizationOrder, + OrganizationsHovercardContext, + OrganizationTeamsHovercardContext, + OrgBlockUserAuditEntry, + OrgConfigDisableCollaboratorsOnlyAuditEntry, + OrgConfigEnableCollaboratorsOnlyAuditEntry, + OrgCreateAuditEntry, + OrgDisableOauthAppRestrictionsAuditEntry, + OrgDisableSamlAuditEntry, + OrgDisableTwoFactorRequirementAuditEntry, + OrgEnableOauthAppRestrictionsAuditEntry, + OrgEnableSamlAuditEntry, + OrgEnableTwoFactorRequirementAuditEntry, + OrgEnterpriseOwnerOrder, + OrgInviteMemberAuditEntry, + OrgInviteToBusinessAuditEntry, + OrgOauthAppAccessApprovedAuditEntry, + OrgOauthAppAccessBlockedAuditEntry, + OrgOauthAppAccessDeniedAuditEntry, + OrgOauthAppAccessRequestedAuditEntry, + OrgOauthAppAccessUnblockedAuditEntry, + OrgRemoveBillingManagerAuditEntry, + OrgRemoveMemberAuditEntry, + OrgRemoveOutsideCollaboratorAuditEntry, + OrgRestoreMemberAuditEntry, + OrgRestoreMemberMembershipOrganizationAuditEntryData, + OrgRestoreMemberMembershipRepositoryAuditEntryData, + OrgRestoreMemberMembershipTeamAuditEntryData, + OrgUnblockUserAuditEntry, + OrgUpdateDefaultRepositoryPermissionAuditEntry, + OrgUpdateMemberAuditEntry, + OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + PackageConnection, + PackageEdge, + PackageFile, + PackageFileConnection, + PackageFileEdge, + PackageOrder, + PackageOwner, + PackageTag, + PackageVersionConnection, + PackageVersionEdge, + PackageVersionOrder, + PageInfo, + PermissionSource, + PinIssuePayload, + PinnableItemConnection, + PinnableItemEdge, + PinnedDiscussion, + PinnedDiscussionConnection, + PinnedDiscussionEdge, + PinnedEvent, + PinnedIssue, + PinnedIssueConnection, + PinnedIssueEdge, + PrivateRepositoryForkingDisableAuditEntry, + PrivateRepositoryForkingEnableAuditEntry, + ProfileItemShowcase, + ProfileOwner, + ProjectCard, + ProjectCardConnection, + ProjectCardEdge, + ProjectCardImport, + ProjectColumnConnection, + ProjectColumnEdge, + ProjectColumnImport, + ProjectConnection, + ProjectEdge, + ProjectOwner, + ProjectProgress, + ProjectV2ActorConnection, + ProjectV2ActorEdge, + ProjectV2Connection, + ProjectV2Edge, + ProjectV2Field, + ProjectV2FieldCommon, + ProjectV2FieldConfigurationConnection, + ProjectV2FieldConfigurationEdge, + ProjectV2FieldConnection, + ProjectV2FieldEdge, + ProjectV2FieldOrder, + ProjectV2Filters, + ProjectV2ItemEdge, + ProjectV2ItemFieldDateValue, + ProjectV2ItemFieldIterationValue, + ProjectV2ItemFieldLabelValue, + ProjectV2ItemFieldMilestoneValue, + ProjectV2ItemFieldNumberValue, + ProjectV2ItemFieldPullRequestValue, + ProjectV2ItemFieldRepositoryValue, + ProjectV2ItemFieldReviewerValue, + ProjectV2ItemFieldSingleSelectValue, + ProjectV2ItemFieldTextValue, + ProjectV2ItemFieldUserValue, + ProjectV2ItemFieldValueCommon, + ProjectV2ItemFieldValueConnection, + ProjectV2ItemFieldValueEdge, + ProjectV2ItemOrder, + ProjectV2IterationField, + ProjectV2IterationFieldConfiguration, + ProjectV2Order, + ProjectV2Owner, + ProjectV2Recent, + ProjectV2SingleSelectField, + ProjectV2SingleSelectFieldOptionInput, + ProjectV2SortBy, + ProjectV2SortByConnection, + ProjectV2SortByEdge, + ProjectV2SortByField, + ProjectV2SortByFieldConnection, + ProjectV2SortByFieldEdge, + ProjectV2View, + ProjectV2ViewConnection, + ProjectV2ViewEdge, + ProjectV2Workflow, + ProjectV2WorkflowConnection, + ProjectV2WorkflowEdge, + ProjectV2WorkflowOrder, + PropertyTargetDefinitionInput, + PublicKeyConnection, + PublicKeyEdge, + PublishSponsorsTierInput, + PublishSponsorsTierPayload, + PullRequestChangedFileConnection, + PullRequestChangedFileEdge, + PullRequestCommit, + PullRequestCommitCommentThread, + PullRequestCommitConnection, + PullRequestCommitEdge, + PullRequestContributionsByRepository, + PullRequestEdge, + PullRequestOrder, + PullRequestParametersInput, + PullRequestReviewCommentConnection, + PullRequestReviewCommentEdge, + PullRequestReviewConnection, + PullRequestReviewContributionsByRepository, + PullRequestReviewEdge, + PullRequestReviewThread, + PullRequestReviewThreadConnection, + PullRequestReviewThreadEdge, + PullRequestRevisionMarker, + PullRequestTemplate, + PullRequestThread, + PullRequestTimelineConnection, + PullRequestTimelineItemEdge, + PullRequestTimelineItemsConnection, + PullRequestTimelineItemsEdge, + Push, + PushAllowance, + PushAllowanceConnection, + PushAllowanceEdge, + ReactingUserConnection, + ReactingUserEdge, + Reaction, + ReactionConnection, + ReactionEdge, + ReactionOrder, + ReactorConnection, + ReactorEdge, + ReadyForReviewEvent, + RefConnection, + RefEdge, + ReferencedEvent, + RefNameConditionTargetInput, + RefUpdate, + RegenerateEnterpriseIdentityProviderRecoveryCodesInput, + RegenerateEnterpriseIdentityProviderRecoveryCodesPayload, + RegenerateVerifiableDomainTokenPayload, + RejectDeploymentsPayload, + ReleaseAsset, + ReleaseAssetConnection, + ReleaseAssetEdge, + ReleaseConnection, + ReleaseEdge, + ReleaseOrder, + RemoveAssigneesFromAssignablePayload, + RemovedFromMergeQueueEvent, + RemovedFromProjectEvent, + RemoveEnterpriseAdminInput, + RemoveEnterpriseAdminPayload, + RemoveEnterpriseIdentityProviderPayload, + RemoveEnterpriseMemberInput, + RemoveEnterpriseMemberPayload, + RemoveEnterpriseOrganizationPayload, + RemoveEnterpriseSupportEntitlementInput, + RemoveLabelsFromLabelableInput, + RemoveLabelsFromLabelablePayload, + RemoveOutsideCollaboratorPayload, + RemoveReactionInput, + RemoveReactionPayload, + RemoveStarPayload, + RemoveUpvoteInput, + RemoveUpvotePayload, + RenamedTitleEvent, + ReopenDiscussionPayload, + ReopenedEvent, + ReopenIssueInput, + ReopenIssuePayload, + ReopenPullRequestPayload, + RepoAccessAuditEntry, + RepoAddMemberAuditEntry, + RepoAddTopicAuditEntry, + RepoArchivedAuditEntry, + RepoChangeMergeSettingAuditEntry, + RepoConfigDisableAnonymousGitAccessAuditEntry, + RepoConfigDisableCollaboratorsOnlyAuditEntry, + RepoConfigDisableContributorsOnlyAuditEntry, + RepoConfigDisableSockpuppetDisallowedAuditEntry, + RepoConfigEnableAnonymousGitAccessAuditEntry, + RepoConfigEnableCollaboratorsOnlyAuditEntry, + RepoConfigEnableContributorsOnlyAuditEntry, + RepoConfigEnableSockpuppetDisallowedAuditEntry, + RepoConfigLockAnonymousGitAccessAuditEntry, + RepoConfigUnlockAnonymousGitAccessAuditEntry, + RepoCreateAuditEntry, + RepoDestroyAuditEntry, + RepoRemoveMemberAuditEntry, + RepoRemoveTopicAuditEntry, + RepositoryAuditEntryData, + RepositoryCodeowners, + RepositoryCodeownersError, + RepositoryCollaboratorConnection, + RepositoryCollaboratorEdge, + RepositoryConnection, + RepositoryDiscussionAuthor, + RepositoryDiscussionCommentAuthor, + RepositoryEdge, + RepositoryIdConditionTarget, + RepositoryInfo, + RepositoryInteractionAbility, + RepositoryInvitation, + RepositoryInvitationConnection, + RepositoryInvitationEdge, + RepositoryMigration, + RepositoryMigrationConnection, + RepositoryMigrationEdge, + RepositoryMigrationOrder, + RepositoryNameConditionTargetInput, + RepositoryNode, + RepositoryOwner, + RepositoryPropertyConditionTarget, + RepositoryPropertyConditionTargetInput, + RepositoryRule, + RepositoryRuleConditions, + RepositoryRuleConditionsInput, + RepositoryRuleConnection, + RepositoryRuleEdge, + RepositoryRuleInput, + RepositoryRuleOrder, + RepositoryRulesetBypassActor, + RepositoryRulesetBypassActorConnection, + RepositoryRulesetBypassActorEdge, + RepositoryRulesetConnection, + RepositoryRulesetEdge, + RepositoryTopic, + RepositoryTopicConnection, + RepositoryTopicEdge, + RepositoryVisibilityChangeDisableAuditEntry, + RepositoryVisibilityChangeEnableAuditEntry, + RepositoryVulnerabilityAlert, + RepositoryVulnerabilityAlertConnection, + RepositoryVulnerabilityAlertEdge, + RequestedReviewerConnection, + RequestedReviewerEdge, + RequestReviewsInput, + RequestReviewsPayload, + RequiredDeploymentsParameters, + RequiredStatusCheckDescription, + RequiredStatusCheckInput, + RequiredStatusChecksParameters, + RequiredStatusChecksParametersInput, + RerequestCheckSuitePayload, + ResolveReviewThreadInput, + ResolveReviewThreadPayload, + RestrictedContribution, + RetireSponsorsTierPayload, + RevertPullRequestInput, + RevertPullRequestPayload, + ReviewDismissalAllowance, + ReviewDismissalAllowanceConnection, + ReviewDismissalAllowanceEdge, + ReviewDismissedEvent, + ReviewRequest, + ReviewRequestConnection, + ReviewRequestedEvent, + ReviewRequestEdge, + ReviewRequestRemovedEvent, + RevokeEnterpriseOrganizationsMigratorRoleInput, + RevokeEnterpriseOrganizationsMigratorRolePayload, + RevokeMigratorRolePayload, + RuleParametersInput, + SavedReply, + SavedReplyConnection, + SavedReplyEdge, + SearchResultItemConnection, + SearchResultItemEdge, + SecurityAdvisoryConnection, + SecurityAdvisoryEdge, + SecurityAdvisoryIdentifier, + SecurityAdvisoryOrder, + SecurityAdvisoryPackageVersion, + SecurityVulnerability, + SecurityVulnerabilityConnection, + SecurityVulnerabilityEdge, + SecurityVulnerabilityOrder, + SetEnterpriseIdentityProviderPayload, + SetOrganizationInteractionLimitInput, + SetOrganizationInteractionLimitPayload, + SetRepositoryInteractionLimitPayload, + SetUserInteractionLimitInput, + SetUserInteractionLimitPayload, + SmimeSignature, + SocialAccountConnection, + SocialAccountEdge, + SponsorableItemConnection, + SponsorableItemEdge, + SponsorableOrder, + SponsorAndLifetimeValue, + SponsorAndLifetimeValueEdge, + SponsorAndLifetimeValueOrder, + SponsorConnection, + SponsorEdge, + SponsorsActivity, + SponsorsActivityConnection, + SponsorsActivityEdge, + SponsorsGoal, + Sponsorship, + SponsorshipConnection, + SponsorshipEdge, + SponsorshipNewsletter, + SponsorshipNewsletterConnection, + SponsorshipNewsletterEdge, + SponsorshipNewsletterOrder, + SponsorsListingFeaturedItem, + SponsorsTierAdminInfo, + SponsorsTierConnection, + SponsorsTierEdge, + SshSignature, + StargazerConnection, + StargazerEdge, + StarOrder, + Starrable, + StarredRepositoryConnection, + StarredRepositoryEdge, + StartOrganizationMigrationPayload, + StartRepositoryMigrationInput, + StartRepositoryMigrationPayload, + Status, + StatusCheckConfigurationInput, + StatusCheckRollup, + StatusCheckRollupContextConnection, + StatusCheckRollupContextEdge, + StatusContext, + StripeConnectAccount, + SubmitPullRequestReviewInput, + SubmitPullRequestReviewPayload, + SubmoduleConnection, + SubmoduleEdge, + Subscribable, + SubscribedEvent, + SuggestedReviewer, + Tag, + TagNamePatternParameters, + TeamAddMemberAuditEntry, + TeamAddRepositoryAuditEntry, + TeamAuditEntryData, + TeamChangeParentTeamAuditEntry, + TeamConnection, + TeamDiscussionComment, + TeamDiscussionCommentConnection, + TeamDiscussionCommentEdge, + TeamDiscussionCommentOrder, + TeamDiscussionConnection, + TeamDiscussionEdge, + TeamEdge, + TeamMemberConnection, + TeamMemberEdge, + TeamMemberOrder, + TeamRemoveMemberAuditEntry, + TeamRemoveRepositoryAuditEntry, + TeamRepositoryConnection, + TeamRepositoryEdge, + TeamRepositoryOrder, + TextMatch, + TopicAuditEntryData, + TransferEnterpriseOrganizationInput, + TransferEnterpriseOrganizationPayload, + TransferIssuePayload, + TransferredEvent, + Tree, + TreeEntry, + UnarchiveProjectV2ItemInput, + UnarchiveProjectV2ItemPayload, + UnarchiveRepositoryPayload, + UnassignedEvent, + UnfollowOrganizationInput, + UnfollowOrganizationPayload, + UnfollowUserPayload, + UniformResourceLocatable, + UnknownSignature, + UnlabeledEvent, + UnlinkProjectV2FromRepositoryPayload, + UnlinkProjectV2FromTeamInput, + UnlinkProjectV2FromTeamPayload, + UnlinkRepositoryFromProjectPayload, + UnlockedEvent, + UnlockLockableInput, + UnlockLockablePayload, + UnmarkDiscussionCommentAsAnswerPayload, + UnmarkedAsDuplicateEvent, + UnmarkFileAsViewedInput, + UnmarkFileAsViewedPayload, + UnmarkIssueAsDuplicatePayload, + UnmarkProjectV2AsTemplateInput, + UnmarkProjectV2AsTemplatePayload, + UnminimizeCommentPayload, + UnpinIssueInput, + UnpinIssuePayload, + UnpinnedEvent, + UnresolveReviewThreadPayload, + UnsubscribedEvent, + UnsubscribeFromNotificationsInput, + Updatable, + UpdateBranchProtectionRuleInput, + UpdateBranchProtectionRulePayload, + UpdateCheckRunInput, + UpdateCheckRunPayload, + UpdateCheckSuitePreferencesInput, + UpdateCheckSuitePreferencesPayload, + UpdateDiscussionCommentInput, + UpdateDiscussionCommentPayload, + UpdateDiscussionPayload, + UpdateEnterpriseAdministratorRoleInput, + UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, + UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload, + UpdateEnterpriseDefaultRepositoryPermissionSettingPayload, + UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, + UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload, + UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload, + UpdateEnterpriseMembersCanDeleteIssuesSettingInput, + UpdateEnterpriseMembersCanDeleteIssuesSettingPayload, + UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload, + UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, + UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload, + UpdateEnterpriseMembersCanMakePurchasesSettingPayload, + UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, + UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload, + UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload, + UpdateEnterpriseOrganizationProjectsSettingInput, + UpdateEnterpriseOrganizationProjectsSettingPayload, + UpdateEnterpriseOwnerOrganizationRolePayload, + UpdateEnterpriseProfilePayload, + UpdateEnterpriseRepositoryProjectsSettingInput, + UpdateEnterpriseRepositoryProjectsSettingPayload, + UpdateEnterpriseTeamDiscussionsSettingPayload, + UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, + UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload, + UpdateEnvironmentPayload, + UpdateIpAllowListEnabledSettingInput, + UpdateIpAllowListEnabledSettingPayload, + UpdateIpAllowListEntryPayload, + UpdateIpAllowListForInstalledAppsEnabledSettingInput, + UpdateIpAllowListForInstalledAppsEnabledSettingPayload, + UpdateIssueCommentPayload, + UpdateIssueInput, + UpdateIssuePayload, + UpdateLabelPayload, + UpdateNotificationRestrictionSettingInput, + UpdateNotificationRestrictionSettingPayload, + UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload, + UpdateOrganizationWebCommitSignoffSettingInput, + UpdateOrganizationWebCommitSignoffSettingPayload, + UpdateParametersInput, + UpdatePatreonSponsorabilityPayload, + UpdateProjectCardInput, + UpdateProjectCardPayload, + UpdateProjectColumnPayload, + UpdateProjectInput, + UpdateProjectPayload, + UpdateProjectV2CollaboratorsInput, + UpdateProjectV2CollaboratorsPayload, + UpdateProjectV2DraftIssuePayload, + UpdateProjectV2Input, + UpdateProjectV2ItemFieldValueInput, + UpdateProjectV2ItemFieldValuePayload, + UpdateProjectV2ItemPositionPayload, + UpdateProjectV2Payload, + UpdatePullRequestBranchInput, + UpdatePullRequestBranchPayload, + UpdatePullRequestPayload, + UpdatePullRequestReviewCommentInput, + UpdatePullRequestReviewCommentPayload, + UpdatePullRequestReviewPayload, + UpdateRefInput, + UpdateRefPayload, + UpdateRefsInput, + UpdateRepositoryInput, + UpdateRepositoryPayload, + UpdateRepositoryRulesetInput, + UpdateRepositoryRulesetPayload, + UpdateRepositoryWebCommitSignoffSettingPayload, + UpdateSponsorshipPreferencesInput, + UpdateSponsorshipPreferencesPayload, + UpdateSubscriptionPayload, + UpdateTeamDiscussionCommentInput, + UpdateTeamDiscussionCommentPayload, + UpdateTeamDiscussionPayload, + UpdateTeamReviewAssignmentInput, + UpdateTeamReviewAssignmentPayload, + UpdateTeamsRepositoryPayload, + UpdateTopicsInput, + UpdateTopicsPayload, + UpdateUserListPayload, + UpdateUserListsForItemInput, + UpdateUserListsForItemPayload, + UserBlockedEvent, + UserContentEdit, + UserContentEditConnection, + UserContentEditEdge, + UserList, + UserListConnection, + UserListEdge, + UserListItemsConnection, + UserListItemsEdge, + UserListSuggestion, + UserStatus, + UserStatusConnection, + UserStatusEdge, + VerifiableDomain, + VerifiableDomainConnection, + VerifiableDomainEdge, + VerifiableDomainOrder, + VerifyVerifiableDomainPayload, + ViewerHovercardContext, + Votable, + Workflow, + WorkflowFileReferenceInput, + WorkflowRunConnection, + WorkflowRunEdge, + WorkflowRunFile, + WorkflowsParameters, + WorkflowsParametersInput, +) +from .gql_unions import ( + Assignee, + AuditEntryActor, + BranchActorAllowanceActor, + BypassActor, + Claimable, + Closer, + CreatedIssueOrRestrictedContribution, + CreatedPullRequestOrRestrictedContribution, + CreatedRepositoryOrRestrictedContribution, + DeploymentReviewer, + EnterpriseMember, + IpAllowListOwner, + IssueOrPullRequest, + IssueTimelineItem, + IssueTimelineItems, + MilestoneItem, + OrganizationAuditEntry, + OrganizationOrUser, + OrgRestoreMemberAuditEntryMembership, + PermissionGranter, + PinnableItem, + ProjectCardItem, + ProjectV2Actor, + ProjectV2FieldConfiguration, + ProjectV2ItemContent, + ProjectV2ItemFieldValue, + PullRequestTimelineItem, + PullRequestTimelineItems, + PushAllowanceActor, + Reactor, + ReferencedSubject, + RenamedTitleSubject, + RequestedReviewer, + ReviewDismissalAllowanceActor, + RuleParameters, + RuleSource, + SearchResultItem, + Sponsor, + SponsorableItem, + SponsorsListingFeatureableItem, + StatusCheckRollupContext, + UserListItems, + VerifiableDomainOwner, +) +from .ip_allow_list_entry_connection import IpAllowListEntryConnection +from .issue import Issue +from .issue_comment import IssueComment +from .issue_comment_edge import IssueCommentEdge +from .merge_queue import MergeQueue +from .organization import Organization +from .package import Package +from .package_version import PackageVersion +from .project import Project +from .project_column import ProjectColumn +from .project_v2 import ProjectV2 +from .project_v2_item import ProjectV2Item +from .project_v2_item_connection import ProjectV2ItemConnection +from .pull_request import PullRequest +from .pull_request_connection import PullRequestConnection +from .pull_request_review import PullRequestReview +from .pull_request_review_comment import PullRequestReviewComment +from .reactable import Reactable +from .reaction_group import ReactionGroup +from .ref import Ref +from .release import Release +from .repository import Repository +from .repository_ruleset import RepositoryRuleset +from .security_advisory import SecurityAdvisory +from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection +from .sponsorable import Sponsorable +from .sponsors_listing import SponsorsListing +from .sponsors_tier import SponsorsTier +from .team import Team +from .team_discussion import TeamDiscussion +from .topic import Topic +from .user import User +from .user_connection import UserConnection +from .user_edge import UserEdge +from .workflow_run import WorkflowRun + +forward_reference = { + "AbortQueuedMigrationsPayload": AbortQueuedMigrationsPayload, + "AbortRepositoryMigrationPayload": AbortRepositoryMigrationPayload, + "AcceptTopicSuggestionInput": AcceptTopicSuggestionInput, + "ActorLocation": ActorLocation, + "AddCommentInput": AddCommentInput, + "AddDiscussionPollVoteInput": AddDiscussionPollVoteInput, + "AddEnterpriseSupportEntitlementInput": AddEnterpriseSupportEntitlementInput, + "AddLabelsToLabelableInput": AddLabelsToLabelableInput, + "AddProjectColumnInput": AddProjectColumnInput, + "AddProjectV2ItemByIdInput": AddProjectV2ItemByIdInput, + "AddPullRequestReviewThreadInput": AddPullRequestReviewThreadInput, + "AddReactionInput": AddReactionInput, + "AddUpvoteInput": AddUpvoteInput, + "AnnouncementBanner": AnnouncementBanner, + "ApproveVerifiableDomainInput": ApproveVerifiableDomainInput, + "ArchiveRepositoryInput": ArchiveRepositoryInput, + "Bot": Bot, + "BranchNamePatternParametersInput": BranchNamePatternParametersInput, + "CVSS": CVSS, + "CancelEnterpriseAdminInvitationInput": CancelEnterpriseAdminInvitationInput, + "ChangeUserStatusInput": ChangeUserStatusInput, + "CheckAnnotationRange": CheckAnnotationRange, + "CheckRunFilter": CheckRunFilter, + "CheckRunStateCount": CheckRunStateCount, + "CheckSuiteAutoTriggerPreference": CheckSuiteAutoTriggerPreference, + "ClearLabelsFromLabelableInput": ClearLabelsFromLabelableInput, + "CloneProjectInput": CloneProjectInput, + "Closable": Closable, + "CloseIssueInput": CloseIssueInput, + "CodeOfConduct": CodeOfConduct, + "CommitAuthorEmailPatternParameters": CommitAuthorEmailPatternParameters, + "CommitContributionOrder": CommitContributionOrder, + "CommitMessagePatternParameters": CommitMessagePatternParameters, + "CommittableBranch": CommittableBranch, + "CommitterEmailPatternParametersInput": CommitterEmailPatternParametersInput, + "ContributionCalendarDay": ContributionCalendarDay, + "ContributionOrder": ContributionOrder, + "ConvertPullRequestToDraftInput": ConvertPullRequestToDraftInput, + "CreateAttributionInvitationInput": CreateAttributionInvitationInput, + "CreateDeploymentInput": CreateDeploymentInput, + "CreateDiscussionInput": CreateDiscussionInput, + "CreateEnvironmentInput": CreateEnvironmentInput, + "CreateIssueInput": CreateIssueInput, + "CreateLinkedBranchInput": CreateLinkedBranchInput, + "CreateProjectInput": CreateProjectInput, + "CreatePullRequestInput": CreatePullRequestInput, + "CreateRepositoryInput": CreateRepositoryInput, + "CreateSponsorsTierInput": CreateSponsorsTierInput, + "CreateTeamDiscussionCommentInput": CreateTeamDiscussionCommentInput, + "CreateUserListInput": CreateUserListInput, + "Deletable": Deletable, + "DeleteBranchProtectionRulePayload": DeleteBranchProtectionRulePayload, + "DeleteDeploymentPayload": DeleteDeploymentPayload, + "DeleteDiscussionInput": DeleteDiscussionInput, + "DeleteEnvironmentPayload": DeleteEnvironmentPayload, + "DeleteIssueCommentInput": DeleteIssueCommentInput, + "DeleteIssueInput": DeleteIssueInput, + "DeleteLabelPayload": DeleteLabelPayload, + "DeletePackageVersionInput": DeletePackageVersionInput, + "DeleteProjectCardInput": DeleteProjectCardInput, + "DeleteProjectInput": DeleteProjectInput, + "DeleteProjectV2Input": DeleteProjectV2Input, + "DeleteProjectV2ItemPayload": DeleteProjectV2ItemPayload, + "DeletePullRequestReviewCommentInput": DeletePullRequestReviewCommentInput, + "DeleteRefInput": DeleteRefInput, + "DeleteRepositoryRulesetInput": DeleteRepositoryRulesetInput, + "DeleteTeamDiscussionCommentInput": DeleteTeamDiscussionCommentInput, + "DeleteTeamDiscussionInput": DeleteTeamDiscussionInput, + "DeleteUserListInput": DeleteUserListInput, + "DependabotUpdateError": DependabotUpdateError, + "DeploymentOrder": DeploymentOrder, + "DisablePullRequestAutoMergeInput": DisablePullRequestAutoMergeInput, + "DiscussionPollOptionOrder": DiscussionPollOptionOrder, + "DismissRepositoryVulnerabilityAlertInput": DismissRepositoryVulnerabilityAlertInput, + "DraftPullRequestReviewThread": DraftPullRequestReviewThread, + "EnqueuePullRequestInput": EnqueuePullRequestInput, + "EnterpriseAuditEntryData": EnterpriseAuditEntryData, + "EnterpriseMemberOrder": EnterpriseMemberOrder, + "EnterpriseRepositoryInfo": EnterpriseRepositoryInfo, + "EnterpriseServerUserAccountEmailOrder": EnterpriseServerUserAccountEmailOrder, + "EnterpriseServerUserAccountsUploadOrder": EnterpriseServerUserAccountsUploadOrder, + "ExternalIdentityAttribute": ExternalIdentityAttribute, + "FileDeletion": FileDeletion, + "FollowUserInput": FollowUserInput, + "GenericHovercardContext": GenericHovercardContext, + "GitHubMetadata": GitHubMetadata, + "GrantMigratorRoleInput": GrantMigratorRoleInput, + "HovercardContext": HovercardContext, + "IpAllowListEntryOrder": IpAllowListEntryOrder, + "IssueFilters": IssueFilters, + "LabelOrder": LabelOrder, + "LanguageOrder": LanguageOrder, + "LinkProjectV2ToRepositoryInput": LinkProjectV2ToRepositoryInput, + "LinkRepositoryToProjectInput": LinkRepositoryToProjectInput, + "Lockable": Lockable, + "MarkDiscussionCommentAsAnswerInput": MarkDiscussionCommentAsAnswerInput, + "MarkNotificationAsDoneInput": MarkNotificationAsDoneInput, + "MarkPullRequestReadyForReviewInput": MarkPullRequestReadyForReviewInput, + "MemberFeatureRequestNotification": MemberFeatureRequestNotification, + "MergePullRequestInput": MergePullRequestInput, + "MigrationSource": MigrationSource, + "Minimizable": Minimizable, + "MoveProjectCardInput": MoveProjectCardInput, + "Node": Node, + "OrgEnterpriseOwnerOrder": OrgEnterpriseOwnerOrder, + "OrganizationOrder": OrganizationOrder, + "PackageOrder": PackageOrder, + "PackageVersionOrder": PackageVersionOrder, + "PageInfo": PageInfo, + "ProjectCardImport": ProjectCardImport, + "ProjectProgress": ProjectProgress, + "ProjectV2FieldOrder": ProjectV2FieldOrder, + "ProjectV2Filters": ProjectV2Filters, + "ProjectV2ItemOrder": ProjectV2ItemOrder, + "ProjectV2Order": ProjectV2Order, + "ProjectV2SingleSelectFieldOptionInput": ProjectV2SingleSelectFieldOptionInput, + "ProjectV2WorkflowOrder": ProjectV2WorkflowOrder, + "PropertyTargetDefinitionInput": PropertyTargetDefinitionInput, + "PublishSponsorsTierInput": PublishSponsorsTierInput, + "PullRequestOrder": PullRequestOrder, + "PullRequestParametersInput": PullRequestParametersInput, + "ReactionOrder": ReactionOrder, + "RefNameConditionTargetInput": RefNameConditionTargetInput, + "RefUpdate": RefUpdate, + "RegenerateEnterpriseIdentityProviderRecoveryCodesInput": RegenerateEnterpriseIdentityProviderRecoveryCodesInput, + "RegenerateVerifiableDomainTokenPayload": RegenerateVerifiableDomainTokenPayload, + "ReleaseOrder": ReleaseOrder, + "RemoveEnterpriseAdminInput": RemoveEnterpriseAdminInput, + "RemoveEnterpriseMemberInput": RemoveEnterpriseMemberInput, + "RemoveEnterpriseSupportEntitlementInput": RemoveEnterpriseSupportEntitlementInput, + "RemoveLabelsFromLabelableInput": RemoveLabelsFromLabelableInput, + "RemoveReactionInput": RemoveReactionInput, + "RemoveUpvoteInput": RemoveUpvoteInput, + "ReopenIssueInput": ReopenIssueInput, + "RepositoryCodeownersError": RepositoryCodeownersError, + "RepositoryIdConditionTarget": RepositoryIdConditionTarget, + "RepositoryInteractionAbility": RepositoryInteractionAbility, + "RepositoryMigrationOrder": RepositoryMigrationOrder, + "RepositoryNameConditionTargetInput": RepositoryNameConditionTargetInput, + "RepositoryRuleOrder": RepositoryRuleOrder, + "RequestReviewsInput": RequestReviewsInput, + "RequiredDeploymentsParameters": RequiredDeploymentsParameters, + "RequiredStatusCheckInput": RequiredStatusCheckInput, + "ResolveReviewThreadInput": ResolveReviewThreadInput, + "RevertPullRequestInput": RevertPullRequestInput, + "RevokeEnterpriseOrganizationsMigratorRoleInput": RevokeEnterpriseOrganizationsMigratorRoleInput, + "RevokeMigratorRolePayload": RevokeMigratorRolePayload, + "SecurityAdvisoryIdentifier": SecurityAdvisoryIdentifier, + "SecurityAdvisoryOrder": SecurityAdvisoryOrder, + "SecurityAdvisoryPackageVersion": SecurityAdvisoryPackageVersion, + "SecurityVulnerabilityOrder": SecurityVulnerabilityOrder, + "SetOrganizationInteractionLimitInput": SetOrganizationInteractionLimitInput, + "SetUserInteractionLimitInput": SetUserInteractionLimitInput, + "SponsorAndLifetimeValueOrder": SponsorAndLifetimeValueOrder, + "SponsorableOrder": SponsorableOrder, + "SponsorsGoal": SponsorsGoal, + "SponsorshipNewsletterOrder": SponsorshipNewsletterOrder, + "StarOrder": StarOrder, + "StartRepositoryMigrationInput": StartRepositoryMigrationInput, + "StatusCheckConfigurationInput": StatusCheckConfigurationInput, + "SubmitPullRequestReviewInput": SubmitPullRequestReviewInput, + "Subscribable": Subscribable, + "TagNamePatternParameters": TagNamePatternParameters, + "TeamDiscussionCommentOrder": TeamDiscussionCommentOrder, + "TeamMemberOrder": TeamMemberOrder, + "TeamRepositoryOrder": TeamRepositoryOrder, + "TransferEnterpriseOrganizationInput": TransferEnterpriseOrganizationInput, + "UnarchiveProjectV2ItemInput": UnarchiveProjectV2ItemInput, + "UnfollowOrganizationInput": UnfollowOrganizationInput, + "UniformResourceLocatable": UniformResourceLocatable, + "UnlinkProjectV2FromTeamInput": UnlinkProjectV2FromTeamInput, + "UnlockLockableInput": UnlockLockableInput, + "UnmarkFileAsViewedInput": UnmarkFileAsViewedInput, + "UnmarkProjectV2AsTemplateInput": UnmarkProjectV2AsTemplateInput, + "UnpinIssueInput": UnpinIssueInput, + "UnsubscribeFromNotificationsInput": UnsubscribeFromNotificationsInput, + "Updatable": Updatable, + "UpdateDiscussionCommentInput": UpdateDiscussionCommentInput, + "UpdateEnterpriseAdministratorRoleInput": UpdateEnterpriseAdministratorRoleInput, + "UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput": UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, + "UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput": UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, + "UpdateEnterpriseMembersCanDeleteIssuesSettingInput": UpdateEnterpriseMembersCanDeleteIssuesSettingInput, + "UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput": UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, + "UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput": UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, + "UpdateEnterpriseOrganizationProjectsSettingInput": UpdateEnterpriseOrganizationProjectsSettingInput, + "UpdateEnterpriseOwnerOrganizationRolePayload": UpdateEnterpriseOwnerOrganizationRolePayload, + "UpdateEnterpriseRepositoryProjectsSettingInput": UpdateEnterpriseRepositoryProjectsSettingInput, + "UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput": UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, + "UpdateIpAllowListEnabledSettingInput": UpdateIpAllowListEnabledSettingInput, + "UpdateIpAllowListForInstalledAppsEnabledSettingInput": UpdateIpAllowListForInstalledAppsEnabledSettingInput, + "UpdateIssueInput": UpdateIssueInput, + "UpdateNotificationRestrictionSettingInput": UpdateNotificationRestrictionSettingInput, + "UpdateOrganizationWebCommitSignoffSettingInput": UpdateOrganizationWebCommitSignoffSettingInput, + "UpdateParametersInput": UpdateParametersInput, + "UpdateProjectCardInput": UpdateProjectCardInput, + "UpdateProjectInput": UpdateProjectInput, + "UpdateProjectV2Input": UpdateProjectV2Input, + "UpdatePullRequestBranchInput": UpdatePullRequestBranchInput, + "UpdatePullRequestReviewCommentInput": UpdatePullRequestReviewCommentInput, + "UpdateRefInput": UpdateRefInput, + "UpdateRepositoryInput": UpdateRepositoryInput, + "UpdateSponsorshipPreferencesInput": UpdateSponsorshipPreferencesInput, + "UpdateTeamDiscussionCommentInput": UpdateTeamDiscussionCommentInput, + "UpdateTeamReviewAssignmentInput": UpdateTeamReviewAssignmentInput, + "UpdateTopicsInput": UpdateTopicsInput, + "UpdateUserListsForItemInput": UpdateUserListsForItemInput, + "UserListSuggestion": UserListSuggestion, + "VerifiableDomainOrder": VerifiableDomainOrder, + "Votable": Votable, + "WorkflowFileReferenceInput": WorkflowFileReferenceInput, + "AutoMergeRequest": AutoMergeRequest, + "BranchProtectionRuleConflict": BranchProtectionRuleConflict, + "BranchProtectionRuleConflictEdge": BranchProtectionRuleConflictEdge, + "BranchProtectionRuleConflictConnection": BranchProtectionRuleConflictConnection, + "EnterpriseServerUserAccountEmail": EnterpriseServerUserAccountEmail, + "EnterpriseServerUserAccountEmailEdge": EnterpriseServerUserAccountEmailEdge, + "EnterpriseServerUserAccountEmailConnection": EnterpriseServerUserAccountEmailConnection, + "EnterpriseServerUserAccount": EnterpriseServerUserAccount, + "EnterpriseServerUserAccountEdge": EnterpriseServerUserAccountEdge, + "EnterpriseServerUserAccountConnection": EnterpriseServerUserAccountConnection, + "EnterpriseServerUserAccountsUpload": EnterpriseServerUserAccountsUpload, + "EnterpriseServerUserAccountsUploadEdge": EnterpriseServerUserAccountsUploadEdge, + "EnterpriseServerUserAccountsUploadConnection": EnterpriseServerUserAccountsUploadConnection, + "EnterpriseServerInstallation": EnterpriseServerInstallation, + "EnterpriseServerInstallationMembershipEdge": EnterpriseServerInstallationMembershipEdge, + "EnterpriseServerInstallationMembershipConnection": EnterpriseServerInstallationMembershipConnection, + "AuditEntryActor": AuditEntryActor, + "MembersCanDeleteReposClearAuditEntry": MembersCanDeleteReposClearAuditEntry, + "MembersCanDeleteReposDisableAuditEntry": MembersCanDeleteReposDisableAuditEntry, + "MembersCanDeleteReposEnableAuditEntry": MembersCanDeleteReposEnableAuditEntry, + "OauthApplicationCreateAuditEntry": OauthApplicationCreateAuditEntry, + "OrgAddBillingManagerAuditEntry": OrgAddBillingManagerAuditEntry, + "OrgAddMemberAuditEntry": OrgAddMemberAuditEntry, + "OrgBlockUserAuditEntry": OrgBlockUserAuditEntry, + "OrgConfigDisableCollaboratorsOnlyAuditEntry": OrgConfigDisableCollaboratorsOnlyAuditEntry, + "OrgConfigEnableCollaboratorsOnlyAuditEntry": OrgConfigEnableCollaboratorsOnlyAuditEntry, + "OrgCreateAuditEntry": OrgCreateAuditEntry, + "OrgDisableOauthAppRestrictionsAuditEntry": OrgDisableOauthAppRestrictionsAuditEntry, + "OrgDisableSamlAuditEntry": OrgDisableSamlAuditEntry, + "OrgDisableTwoFactorRequirementAuditEntry": OrgDisableTwoFactorRequirementAuditEntry, + "OrgEnableOauthAppRestrictionsAuditEntry": OrgEnableOauthAppRestrictionsAuditEntry, + "OrgEnableSamlAuditEntry": OrgEnableSamlAuditEntry, + "OrgEnableTwoFactorRequirementAuditEntry": OrgEnableTwoFactorRequirementAuditEntry, + "OrganizationInvitation": OrganizationInvitation, + "OrgInviteMemberAuditEntry": OrgInviteMemberAuditEntry, + "OrgInviteToBusinessAuditEntry": OrgInviteToBusinessAuditEntry, + "OrgOauthAppAccessApprovedAuditEntry": OrgOauthAppAccessApprovedAuditEntry, + "OrgOauthAppAccessBlockedAuditEntry": OrgOauthAppAccessBlockedAuditEntry, + "OrgOauthAppAccessDeniedAuditEntry": OrgOauthAppAccessDeniedAuditEntry, + "OrgOauthAppAccessRequestedAuditEntry": OrgOauthAppAccessRequestedAuditEntry, + "OrgOauthAppAccessUnblockedAuditEntry": OrgOauthAppAccessUnblockedAuditEntry, + "OrgRemoveBillingManagerAuditEntry": OrgRemoveBillingManagerAuditEntry, + "OrgRemoveMemberAuditEntry": OrgRemoveMemberAuditEntry, + "OrgRemoveOutsideCollaboratorAuditEntry": OrgRemoveOutsideCollaboratorAuditEntry, + "OrgRestoreMemberMembershipOrganizationAuditEntryData": OrgRestoreMemberMembershipOrganizationAuditEntryData, + "BranchProtectionRuleEdge": BranchProtectionRuleEdge, + "BranchProtectionRuleConnection": BranchProtectionRuleConnection, + "RepositoryCodeowners": RepositoryCodeowners, + "TeamEdge": TeamEdge, + "TeamConnection": TeamConnection, + "Mannequin": Mannequin, + "Reactor": Reactor, + "ReactorEdge": ReactorEdge, + "ReactorConnection": ReactorConnection, + "Reaction": Reaction, + "ReactionEdge": ReactionEdge, + "ReactionConnection": ReactionConnection, + "Reactable": Reactable, + "ReactingUserEdge": ReactingUserEdge, + "ReactingUserConnection": ReactingUserConnection, + "ReactionGroup": ReactionGroup, + "UserContentEdit": UserContentEdit, + "UserContentEditEdge": UserContentEditEdge, + "UserContentEditConnection": UserContentEditConnection, + "TeamDiscussionComment": TeamDiscussionComment, + "TeamDiscussionCommentEdge": TeamDiscussionCommentEdge, + "TeamDiscussionCommentConnection": TeamDiscussionCommentConnection, + "TeamDiscussion": TeamDiscussion, + "TeamDiscussionEdge": TeamDiscussionEdge, + "TeamDiscussionConnection": TeamDiscussionConnection, + "OrganizationInvitationEdge": OrganizationInvitationEdge, + "OrganizationInvitationConnection": OrganizationInvitationConnection, + "UserStatus": UserStatus, + "UserStatusEdge": UserStatusEdge, + "UserStatusConnection": UserStatusConnection, + "TeamMemberEdge": TeamMemberEdge, + "TeamMemberConnection": TeamMemberConnection, + "ProjectV2Field": ProjectV2Field, + "ProjectV2IterationFieldConfiguration": ProjectV2IterationFieldConfiguration, + "ProjectV2IterationField": ProjectV2IterationField, + "ProjectV2SingleSelectField": ProjectV2SingleSelectField, + "ProjectV2FieldConfiguration": ProjectV2FieldConfiguration, + "ProjectV2FieldConfigurationEdge": ProjectV2FieldConfigurationEdge, + "ProjectV2FieldConfigurationConnection": ProjectV2FieldConfigurationConnection, + "ProjectV2Edge": ProjectV2Edge, + "ProjectV2Connection": ProjectV2Connection, + "DraftIssue": DraftIssue, + "ProjectV2ItemContent": ProjectV2ItemContent, + "ProjectV2ItemFieldDateValue": ProjectV2ItemFieldDateValue, + "ProjectV2ItemFieldIterationValue": ProjectV2ItemFieldIterationValue, + "IssueEdge": IssueEdge, + "IssueConnection": IssueConnection, + "Label": Label, + "LabelEdge": LabelEdge, + "LabelConnection": LabelConnection, + "ProjectV2ItemFieldLabelValue": ProjectV2ItemFieldLabelValue, + "Milestone": Milestone, + "ProjectV2ItemFieldMilestoneValue": ProjectV2ItemFieldMilestoneValue, + "ProjectV2ItemFieldNumberValue": ProjectV2ItemFieldNumberValue, + "ProjectV2ItemFieldPullRequestValue": ProjectV2ItemFieldPullRequestValue, + "ProjectV2ItemFieldRepositoryValue": ProjectV2ItemFieldRepositoryValue, + "RequestedReviewer": RequestedReviewer, + "RequestedReviewerEdge": RequestedReviewerEdge, + "RequestedReviewerConnection": RequestedReviewerConnection, + "ProjectV2ItemFieldReviewerValue": ProjectV2ItemFieldReviewerValue, + "ProjectV2ItemFieldSingleSelectValue": ProjectV2ItemFieldSingleSelectValue, + "ProjectV2ItemFieldTextValue": ProjectV2ItemFieldTextValue, + "ProjectV2ItemFieldUserValue": ProjectV2ItemFieldUserValue, + "ProjectV2ItemFieldValue": ProjectV2ItemFieldValue, + "ProjectV2ItemFieldValueEdge": ProjectV2ItemFieldValueEdge, + "ProjectV2ItemFieldValueConnection": ProjectV2ItemFieldValueConnection, + "ProjectV2Item": ProjectV2Item, + "ProjectV2ItemEdge": ProjectV2ItemEdge, + "ProjectV2ItemConnection": ProjectV2ItemConnection, + "ProjectV2Owner": ProjectV2Owner, + "RepositoryEdge": RepositoryEdge, + "RepositoryConnection": RepositoryConnection, + "ProjectV2FieldEdge": ProjectV2FieldEdge, + "ProjectV2FieldConnection": ProjectV2FieldConnection, + "ProjectV2SortBy": ProjectV2SortBy, + "ProjectV2SortByEdge": ProjectV2SortByEdge, + "ProjectV2SortByConnection": ProjectV2SortByConnection, + "ProjectV2SortByField": ProjectV2SortByField, + "ProjectV2SortByFieldEdge": ProjectV2SortByFieldEdge, + "ProjectV2SortByFieldConnection": ProjectV2SortByFieldConnection, + "ProjectV2View": ProjectV2View, + "ProjectV2ViewEdge": ProjectV2ViewEdge, + "ProjectV2ViewConnection": ProjectV2ViewConnection, + "ProjectV2Workflow": ProjectV2Workflow, + "ProjectV2WorkflowEdge": ProjectV2WorkflowEdge, + "ProjectV2WorkflowConnection": ProjectV2WorkflowConnection, + "ProjectV2": ProjectV2, + "TeamRepositoryEdge": TeamRepositoryEdge, + "TeamRepositoryConnection": TeamRepositoryConnection, + "Team": Team, + "PermissionGranter": PermissionGranter, + "PermissionSource": PermissionSource, + "RepositoryCollaboratorEdge": RepositoryCollaboratorEdge, + "RepositoryCollaboratorConnection": RepositoryCollaboratorConnection, + "DependencyGraphDependency": DependencyGraphDependency, + "DependencyGraphDependencyEdge": DependencyGraphDependencyEdge, + "DependencyGraphDependencyConnection": DependencyGraphDependencyConnection, + "DependencyGraphManifest": DependencyGraphManifest, + "DependencyGraphManifestEdge": DependencyGraphManifestEdge, + "DependencyGraphManifestConnection": DependencyGraphManifestConnection, + "DeployKeyEdge": DeployKeyEdge, + "DeployKeyConnection": DeployKeyConnection, + "DeploymentStatus": DeploymentStatus, + "DeploymentStatusEdge": DeploymentStatusEdge, + "DeploymentStatusConnection": DeploymentStatusConnection, + "Deployment": Deployment, + "DeploymentEdge": DeploymentEdge, + "DeploymentConnection": DeploymentConnection, + "DiscussionCommentEdge": DiscussionCommentEdge, + "DiscussionCommentConnection": DiscussionCommentConnection, + "DiscussionComment": DiscussionComment, + "DiscussionCategory": DiscussionCategory, + "DiscussionPollOption": DiscussionPollOption, + "DiscussionPollOptionEdge": DiscussionPollOptionEdge, + "DiscussionPollOptionConnection": DiscussionPollOptionConnection, + "DiscussionPoll": DiscussionPoll, + "Discussion": Discussion, + "DiscussionCategoryEdge": DiscussionCategoryEdge, + "DiscussionCategoryConnection": DiscussionCategoryConnection, + "DiscussionEdge": DiscussionEdge, + "DiscussionConnection": DiscussionConnection, + "DeploymentReviewer": DeploymentReviewer, + "DeploymentReviewerEdge": DeploymentReviewerEdge, + "DeploymentReviewerConnection": DeploymentReviewerConnection, + "DeploymentProtectionRule": DeploymentProtectionRule, + "DeploymentProtectionRuleEdge": DeploymentProtectionRuleEdge, + "DeploymentProtectionRuleConnection": DeploymentProtectionRuleConnection, + "Environment": Environment, + "EnvironmentEdge": EnvironmentEdge, + "EnvironmentConnection": EnvironmentConnection, + "IssueOrPullRequest": IssueOrPullRequest, + "IssueTemplate": IssueTemplate, + "LanguageEdge": LanguageEdge, + "LanguageConnection": LanguageConnection, + "ReleaseAsset": ReleaseAsset, + "ReleaseAssetEdge": ReleaseAssetEdge, + "ReleaseAssetConnection": ReleaseAssetConnection, + "Release": Release, + "License": License, + "MergeQueueEntry": MergeQueueEntry, + "MergeQueueEntryEdge": MergeQueueEntryEdge, + "MergeQueueEntryConnection": MergeQueueEntryConnection, + "MergeQueue": MergeQueue, + "MilestoneEdge": MilestoneEdge, + "MilestoneConnection": MilestoneConnection, + "GitObject": GitObject, + "RepositoryOwner": RepositoryOwner, + "PackageFile": PackageFile, + "PackageFileEdge": PackageFileEdge, + "PackageFileConnection": PackageFileConnection, + "PackageVersion": PackageVersion, + "PackageVersionEdge": PackageVersionEdge, + "PackageVersionConnection": PackageVersionConnection, + "Package": Package, + "PackageEdge": PackageEdge, + "PackageConnection": PackageConnection, + "PinnedDiscussion": PinnedDiscussion, + "PinnedDiscussionEdge": PinnedDiscussionEdge, + "PinnedDiscussionConnection": PinnedDiscussionConnection, + "PinnedIssue": PinnedIssue, + "PinnedIssueEdge": PinnedIssueEdge, + "PinnedIssueConnection": PinnedIssueConnection, + "ProjectCardItem": ProjectCardItem, + "ProjectCard": ProjectCard, + "ProjectCardEdge": ProjectCardEdge, + "ProjectCardConnection": ProjectCardConnection, + "ProjectColumn": ProjectColumn, + "ProjectColumnEdge": ProjectColumnEdge, + "ProjectColumnConnection": ProjectColumnConnection, + "ProjectEdge": ProjectEdge, + "ProjectConnection": ProjectConnection, + "ProjectOwner": ProjectOwner, + "Project": Project, + "PullRequestTemplate": PullRequestTemplate, + "RefEdge": RefEdge, + "RefConnection": RefConnection, + "ReleaseEdge": ReleaseEdge, + "ReleaseConnection": ReleaseConnection, + "StargazerEdge": StargazerEdge, + "StargazerConnection": StargazerConnection, + "Topic": Topic, + "RepositoryTopic": RepositoryTopic, + "RepositoryTopicEdge": RepositoryTopicEdge, + "RepositoryTopicConnection": RepositoryTopicConnection, + "BypassActor": BypassActor, + "RepositoryRulesetBypassActor": RepositoryRulesetBypassActor, + "RepositoryRulesetBypassActorEdge": RepositoryRulesetBypassActorEdge, + "RepositoryRulesetBypassActorConnection": RepositoryRulesetBypassActorConnection, + "RepositoryPropertyConditionTarget": RepositoryPropertyConditionTarget, + "RepositoryRuleConditions": RepositoryRuleConditions, + "RequiredStatusChecksParameters": RequiredStatusChecksParameters, + "WorkflowsParameters": WorkflowsParameters, + "RuleParameters": RuleParameters, + "RepositoryRule": RepositoryRule, + "RepositoryRuleEdge": RepositoryRuleEdge, + "RepositoryRuleConnection": RepositoryRuleConnection, + "RuleSource": RuleSource, + "RepositoryRuleset": RepositoryRuleset, + "RepositoryRulesetEdge": RepositoryRulesetEdge, + "RepositoryRulesetConnection": RepositoryRulesetConnection, + "SubmoduleEdge": SubmoduleEdge, + "SubmoduleConnection": SubmoduleConnection, + "DependabotUpdate": DependabotUpdate, + "CWEEdge": CWEEdge, + "CWEConnection": CWEConnection, + "SecurityVulnerability": SecurityVulnerability, + "SecurityVulnerabilityEdge": SecurityVulnerabilityEdge, + "SecurityVulnerabilityConnection": SecurityVulnerabilityConnection, + "SecurityAdvisory": SecurityAdvisory, + "RepositoryVulnerabilityAlert": RepositoryVulnerabilityAlert, + "RepositoryVulnerabilityAlertEdge": RepositoryVulnerabilityAlertEdge, + "RepositoryVulnerabilityAlertConnection": RepositoryVulnerabilityAlertConnection, + "Repository": Repository, + "OrgRestoreMemberMembershipRepositoryAuditEntryData": OrgRestoreMemberMembershipRepositoryAuditEntryData, + "OrgRestoreMemberMembershipTeamAuditEntryData": OrgRestoreMemberMembershipTeamAuditEntryData, + "OrgRestoreMemberAuditEntryMembership": OrgRestoreMemberAuditEntryMembership, + "OrgRestoreMemberAuditEntry": OrgRestoreMemberAuditEntry, + "OrgUnblockUserAuditEntry": OrgUnblockUserAuditEntry, + "OrgUpdateDefaultRepositoryPermissionAuditEntry": OrgUpdateDefaultRepositoryPermissionAuditEntry, + "OrgUpdateMemberAuditEntry": OrgUpdateMemberAuditEntry, + "OrgUpdateMemberRepositoryCreationPermissionAuditEntry": OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + "OrgUpdateMemberRepositoryInvitationPermissionAuditEntry": OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + "PrivateRepositoryForkingDisableAuditEntry": PrivateRepositoryForkingDisableAuditEntry, + "PrivateRepositoryForkingEnableAuditEntry": PrivateRepositoryForkingEnableAuditEntry, + "RepoAccessAuditEntry": RepoAccessAuditEntry, + "RepoAddMemberAuditEntry": RepoAddMemberAuditEntry, + "RepoAddTopicAuditEntry": RepoAddTopicAuditEntry, + "RepoArchivedAuditEntry": RepoArchivedAuditEntry, + "RepoChangeMergeSettingAuditEntry": RepoChangeMergeSettingAuditEntry, + "RepoConfigDisableAnonymousGitAccessAuditEntry": RepoConfigDisableAnonymousGitAccessAuditEntry, + "RepoConfigDisableCollaboratorsOnlyAuditEntry": RepoConfigDisableCollaboratorsOnlyAuditEntry, + "RepoConfigDisableContributorsOnlyAuditEntry": RepoConfigDisableContributorsOnlyAuditEntry, + "RepoConfigDisableSockpuppetDisallowedAuditEntry": RepoConfigDisableSockpuppetDisallowedAuditEntry, + "RepoConfigEnableAnonymousGitAccessAuditEntry": RepoConfigEnableAnonymousGitAccessAuditEntry, + "RepoConfigEnableCollaboratorsOnlyAuditEntry": RepoConfigEnableCollaboratorsOnlyAuditEntry, + "RepoConfigEnableContributorsOnlyAuditEntry": RepoConfigEnableContributorsOnlyAuditEntry, + "RepoConfigEnableSockpuppetDisallowedAuditEntry": RepoConfigEnableSockpuppetDisallowedAuditEntry, + "RepoConfigLockAnonymousGitAccessAuditEntry": RepoConfigLockAnonymousGitAccessAuditEntry, + "RepoConfigUnlockAnonymousGitAccessAuditEntry": RepoConfigUnlockAnonymousGitAccessAuditEntry, + "RepoCreateAuditEntry": RepoCreateAuditEntry, + "RepoDestroyAuditEntry": RepoDestroyAuditEntry, + "RepoRemoveMemberAuditEntry": RepoRemoveMemberAuditEntry, + "RepoRemoveTopicAuditEntry": RepoRemoveTopicAuditEntry, + "RepositoryVisibilityChangeDisableAuditEntry": RepositoryVisibilityChangeDisableAuditEntry, + "RepositoryVisibilityChangeEnableAuditEntry": RepositoryVisibilityChangeEnableAuditEntry, + "TeamAddMemberAuditEntry": TeamAddMemberAuditEntry, + "TeamAddRepositoryAuditEntry": TeamAddRepositoryAuditEntry, + "TeamChangeParentTeamAuditEntry": TeamChangeParentTeamAuditEntry, + "TeamRemoveMemberAuditEntry": TeamRemoveMemberAuditEntry, + "TeamRemoveRepositoryAuditEntry": TeamRemoveRepositoryAuditEntry, + "OrganizationAuditEntry": OrganizationAuditEntry, + "OrganizationAuditEntryEdge": OrganizationAuditEntryEdge, + "OrganizationAuditEntryConnection": OrganizationAuditEntryConnection, + "VerifiableDomainOwner": VerifiableDomainOwner, + "VerifiableDomain": VerifiableDomain, + "VerifiableDomainEdge": VerifiableDomainEdge, + "VerifiableDomainConnection": VerifiableDomainConnection, + "OrganizationEnterpriseOwnerEdge": OrganizationEnterpriseOwnerEdge, + "OrganizationEnterpriseOwnerConnection": OrganizationEnterpriseOwnerConnection, + "GistComment": GistComment, + "GistCommentEdge": GistCommentEdge, + "GistCommentConnection": GistCommentConnection, + "GistFile": GistFile, + "GistEdge": GistEdge, + "GistConnection": GistConnection, + "Gist": Gist, + "PinnableItem": PinnableItem, + "PinnableItemEdge": PinnableItemEdge, + "PinnableItemConnection": PinnableItemConnection, + "ProfileItemShowcase": ProfileItemShowcase, + "Sponsor": Sponsor, + "SponsorEdge": SponsorEdge, + "SponsorConnection": SponsorConnection, + "Sponsorship": Sponsorship, + "SponsorshipEdge": SponsorshipEdge, + "SponsorshipConnection": SponsorshipConnection, + "SponsorsTierAdminInfo": SponsorsTierAdminInfo, + "StripeConnectAccount": StripeConnectAccount, + "SponsorsListingFeatureableItem": SponsorsListingFeatureableItem, + "SponsorsListingFeaturedItem": SponsorsListingFeaturedItem, + "SponsorsTierEdge": SponsorsTierEdge, + "SponsorsTierConnection": SponsorsTierConnection, + "SponsorsListing": SponsorsListing, + "SponsorsTier": SponsorsTier, + "SponsorsActivity": SponsorsActivity, + "SponsorsActivityEdge": SponsorsActivityEdge, + "SponsorsActivityConnection": SponsorsActivityConnection, + "SponsorshipNewsletter": SponsorshipNewsletter, + "SponsorshipNewsletterEdge": SponsorshipNewsletterEdge, + "SponsorshipNewsletterConnection": SponsorshipNewsletterConnection, + "Sponsorable": Sponsorable, + "SponsorAndLifetimeValue": SponsorAndLifetimeValue, + "SponsorAndLifetimeValueEdge": SponsorAndLifetimeValueEdge, + "SponsorAndLifetimeValueConnection": SponsorAndLifetimeValueConnection, + "MannequinEdge": MannequinEdge, + "MannequinConnection": MannequinConnection, + "OrganizationMemberEdge": OrganizationMemberEdge, + "OrganizationMemberConnection": OrganizationMemberConnection, + "RepositoryMigration": RepositoryMigration, + "RepositoryMigrationEdge": RepositoryMigrationEdge, + "RepositoryMigrationConnection": RepositoryMigrationConnection, + "ExternalIdentitySamlAttributes": ExternalIdentitySamlAttributes, + "ExternalIdentityScimAttributes": ExternalIdentityScimAttributes, + "ExternalIdentity": ExternalIdentity, + "ExternalIdentityEdge": ExternalIdentityEdge, + "ExternalIdentityConnection": ExternalIdentityConnection, + "OrganizationIdentityProvider": OrganizationIdentityProvider, + "Organization": Organization, + "EnterpriseOrganizationMembershipEdge": EnterpriseOrganizationMembershipEdge, + "EnterpriseOrganizationMembershipConnection": EnterpriseOrganizationMembershipConnection, + "EnterpriseUserAccount": EnterpriseUserAccount, + "EnterpriseMember": EnterpriseMember, + "EnterpriseMemberEdge": EnterpriseMemberEdge, + "EnterpriseMemberConnection": EnterpriseMemberConnection, + "OrganizationEdge": OrganizationEdge, + "OrganizationConnection": OrganizationConnection, + "EnterpriseAdministratorEdge": EnterpriseAdministratorEdge, + "EnterpriseAdministratorConnection": EnterpriseAdministratorConnection, + "EnterpriseServerInstallationEdge": EnterpriseServerInstallationEdge, + "EnterpriseServerInstallationConnection": EnterpriseServerInstallationConnection, + "EnterpriseFailedInvitationEdge": EnterpriseFailedInvitationEdge, + "EnterpriseFailedInvitationConnection": EnterpriseFailedInvitationConnection, + "OIDCProvider": OIDCProvider, + "EnterpriseRepositoryInfoEdge": EnterpriseRepositoryInfoEdge, + "EnterpriseRepositoryInfoConnection": EnterpriseRepositoryInfoConnection, + "EnterpriseOutsideCollaboratorEdge": EnterpriseOutsideCollaboratorEdge, + "EnterpriseOutsideCollaboratorConnection": EnterpriseOutsideCollaboratorConnection, + "EnterpriseAdministratorInvitation": EnterpriseAdministratorInvitation, + "EnterpriseAdministratorInvitationEdge": EnterpriseAdministratorInvitationEdge, + "EnterpriseAdministratorInvitationConnection": EnterpriseAdministratorInvitationConnection, + "RepositoryInfo": RepositoryInfo, + "RepositoryInvitation": RepositoryInvitation, + "RepositoryInvitationEdge": RepositoryInvitationEdge, + "RepositoryInvitationConnection": RepositoryInvitationConnection, + "EnterprisePendingMemberInvitationEdge": EnterprisePendingMemberInvitationEdge, + "EnterprisePendingMemberInvitationConnection": EnterprisePendingMemberInvitationConnection, + "EnterpriseIdentityProvider": EnterpriseIdentityProvider, + "EnterpriseOwnerInfo": EnterpriseOwnerInfo, + "Enterprise": Enterprise, + "IpAllowListOwner": IpAllowListOwner, + "IpAllowListEntry": IpAllowListEntry, + "IpAllowListEntryEdge": IpAllowListEntryEdge, + "IpAllowListEntryConnection": IpAllowListEntryConnection, + "App": App, + "BranchActorAllowanceActor": BranchActorAllowanceActor, + "BypassForcePushAllowance": BypassForcePushAllowance, + "BypassForcePushAllowanceEdge": BypassForcePushAllowanceEdge, + "BypassForcePushAllowanceConnection": BypassForcePushAllowanceConnection, + "BypassPullRequestAllowance": BypassPullRequestAllowance, + "BypassPullRequestAllowanceEdge": BypassPullRequestAllowanceEdge, + "BypassPullRequestAllowanceConnection": BypassPullRequestAllowanceConnection, + "PushAllowanceActor": PushAllowanceActor, + "PushAllowance": PushAllowance, + "PushAllowanceEdge": PushAllowanceEdge, + "PushAllowanceConnection": PushAllowanceConnection, + "RequiredStatusCheckDescription": RequiredStatusCheckDescription, + "ReviewDismissalAllowanceActor": ReviewDismissalAllowanceActor, + "ReviewDismissalAllowance": ReviewDismissalAllowance, + "ReviewDismissalAllowanceEdge": ReviewDismissalAllowanceEdge, + "ReviewDismissalAllowanceConnection": ReviewDismissalAllowanceConnection, + "BranchProtectionRule": BranchProtectionRule, + "CommitEdge": CommitEdge, + "ComparisonCommitConnection": ComparisonCommitConnection, + "Comparison": Comparison, + "Ref": Ref, + "IssueCommentConnection": IssueCommentConnection, + "PullRequestCommit": PullRequestCommit, + "PullRequestCommitEdge": PullRequestCommitEdge, + "PullRequestCommitConnection": PullRequestCommitConnection, + "PullRequestChangedFileEdge": PullRequestChangedFileEdge, + "PullRequestChangedFileConnection": PullRequestChangedFileConnection, + "Hovercard": Hovercard, + "PullRequestReviewComment": PullRequestReviewComment, + "PullRequestReviewCommentEdge": PullRequestReviewCommentEdge, + "PullRequestReviewCommentConnection": PullRequestReviewCommentConnection, + "PullRequestReview": PullRequestReview, + "PullRequestReviewEdge": PullRequestReviewEdge, + "PullRequestReviewConnection": PullRequestReviewConnection, + "ReviewRequest": ReviewRequest, + "ReviewRequestEdge": ReviewRequestEdge, + "ReviewRequestConnection": ReviewRequestConnection, + "PullRequestReviewThread": PullRequestReviewThread, + "PullRequestReviewThreadEdge": PullRequestReviewThreadEdge, + "PullRequestReviewThreadConnection": PullRequestReviewThreadConnection, + "SuggestedReviewer": SuggestedReviewer, + "Assignable": Assignable, + "Assignee": Assignee, + "AssignedEvent": AssignedEvent, + "BaseRefDeletedEvent": BaseRefDeletedEvent, + "BaseRefForcePushedEvent": BaseRefForcePushedEvent, + "Closer": Closer, + "ClosedEvent": ClosedEvent, + "CommitCommentThread": CommitCommentThread, + "ReferencedSubject": ReferencedSubject, + "CrossReferencedEvent": CrossReferencedEvent, + "MilestoneItem": MilestoneItem, + "DemilestonedEvent": DemilestonedEvent, + "DeployedEvent": DeployedEvent, + "DeploymentEnvironmentChangedEvent": DeploymentEnvironmentChangedEvent, + "HeadRefDeletedEvent": HeadRefDeletedEvent, + "HeadRefForcePushedEvent": HeadRefForcePushedEvent, + "HeadRefRestoredEvent": HeadRefRestoredEvent, + "Labelable": Labelable, + "LabeledEvent": LabeledEvent, + "LockedEvent": LockedEvent, + "MergedEvent": MergedEvent, + "MilestonedEvent": MilestonedEvent, + "ReferencedEvent": ReferencedEvent, + "RenamedTitleSubject": RenamedTitleSubject, + "RenamedTitleEvent": RenamedTitleEvent, + "ReopenedEvent": ReopenedEvent, + "ReviewDismissedEvent": ReviewDismissedEvent, + "ReviewRequestRemovedEvent": ReviewRequestRemovedEvent, + "ReviewRequestedEvent": ReviewRequestedEvent, + "SubscribedEvent": SubscribedEvent, + "UnassignedEvent": UnassignedEvent, + "UnlabeledEvent": UnlabeledEvent, + "UnlockedEvent": UnlockedEvent, + "UnsubscribedEvent": UnsubscribedEvent, + "UserBlockedEvent": UserBlockedEvent, + "PullRequestTimelineItem": PullRequestTimelineItem, + "PullRequestTimelineItemEdge": PullRequestTimelineItemEdge, + "PullRequestTimelineConnection": PullRequestTimelineConnection, + "AddedToMergeQueueEvent": AddedToMergeQueueEvent, + "AddedToProjectEvent": AddedToProjectEvent, + "AutoMergeDisabledEvent": AutoMergeDisabledEvent, + "AutoMergeEnabledEvent": AutoMergeEnabledEvent, + "AutoRebaseEnabledEvent": AutoRebaseEnabledEvent, + "AutoSquashEnabledEvent": AutoSquashEnabledEvent, + "AutomaticBaseChangeFailedEvent": AutomaticBaseChangeFailedEvent, + "AutomaticBaseChangeSucceededEvent": AutomaticBaseChangeSucceededEvent, + "BaseRefChangedEvent": BaseRefChangedEvent, + "CommentDeletedEvent": CommentDeletedEvent, + "ConnectedEvent": ConnectedEvent, + "ConvertToDraftEvent": ConvertToDraftEvent, + "ConvertedNoteToIssueEvent": ConvertedNoteToIssueEvent, + "ConvertedToDiscussionEvent": ConvertedToDiscussionEvent, + "DisconnectedEvent": DisconnectedEvent, + "MarkedAsDuplicateEvent": MarkedAsDuplicateEvent, + "MentionedEvent": MentionedEvent, + "MovedColumnsInProjectEvent": MovedColumnsInProjectEvent, + "PinnedEvent": PinnedEvent, + "PullRequestCommitCommentThread": PullRequestCommitCommentThread, + "PullRequestRevisionMarker": PullRequestRevisionMarker, + "ReadyForReviewEvent": ReadyForReviewEvent, + "RemovedFromMergeQueueEvent": RemovedFromMergeQueueEvent, + "RemovedFromProjectEvent": RemovedFromProjectEvent, + "TransferredEvent": TransferredEvent, + "UnmarkedAsDuplicateEvent": UnmarkedAsDuplicateEvent, + "UnpinnedEvent": UnpinnedEvent, + "PullRequestTimelineItems": PullRequestTimelineItems, + "PullRequestTimelineItemsEdge": PullRequestTimelineItemsEdge, + "PullRequestTimelineItemsConnection": PullRequestTimelineItemsConnection, + "PullRequest": PullRequest, + "PullRequestEdge": PullRequestEdge, + "PullRequestConnection": PullRequestConnection, + "GitActor": GitActor, + "GitActorEdge": GitActorEdge, + "GitActorConnection": GitActorConnection, + "BlameRange": BlameRange, + "Blame": Blame, + "CheckAnnotationSpan": CheckAnnotationSpan, + "CheckAnnotation": CheckAnnotation, + "CheckAnnotationEdge": CheckAnnotationEdge, + "CheckAnnotationConnection": CheckAnnotationConnection, + "DeploymentRequest": DeploymentRequest, + "CheckStepEdge": CheckStepEdge, + "CheckStepConnection": CheckStepConnection, + "CheckRun": CheckRun, + "CheckRunEdge": CheckRunEdge, + "CheckRunConnection": CheckRunConnection, + "Push": Push, + "DeploymentReview": DeploymentReview, + "DeploymentReviewEdge": DeploymentReviewEdge, + "DeploymentReviewConnection": DeploymentReviewConnection, + "WorkflowRunFile": WorkflowRunFile, + "DeploymentRequestEdge": DeploymentRequestEdge, + "DeploymentRequestConnection": DeploymentRequestConnection, + "WorkflowRunEdge": WorkflowRunEdge, + "WorkflowRunConnection": WorkflowRunConnection, + "Workflow": Workflow, + "WorkflowRun": WorkflowRun, + "CheckSuite": CheckSuite, + "CheckSuiteEdge": CheckSuiteEdge, + "CheckSuiteConnection": CheckSuiteConnection, + "TreeEntry": TreeEntry, + "CommitHistoryConnection": CommitHistoryConnection, + "CommitConnection": CommitConnection, + "GitSignature": GitSignature, + "StatusContext": StatusContext, + "StatusCheckRollupContext": StatusCheckRollupContext, + "StatusCheckRollupContextEdge": StatusCheckRollupContextEdge, + "StatusCheckRollupContextConnection": StatusCheckRollupContextConnection, + "Status": Status, + "StatusCheckRollup": StatusCheckRollup, + "Tree": Tree, + "Commit": Commit, + "CommitComment": CommitComment, + "CommitCommentEdge": CommitCommentEdge, + "CommitCommentConnection": CommitCommentConnection, + "CreatedCommitContribution": CreatedCommitContribution, + "CreatedCommitContributionEdge": CreatedCommitContributionEdge, + "CreatedCommitContributionConnection": CreatedCommitContributionConnection, + "CommitContributionsByRepository": CommitContributionsByRepository, + "ContributionCalendarWeek": ContributionCalendarWeek, + "ContributionCalendar": ContributionCalendar, + "CreatedIssueContribution": CreatedIssueContribution, + "RestrictedContribution": RestrictedContribution, + "CreatedIssueOrRestrictedContribution": CreatedIssueOrRestrictedContribution, + "CreatedPullRequestContribution": CreatedPullRequestContribution, + "CreatedPullRequestOrRestrictedContribution": CreatedPullRequestOrRestrictedContribution, + "CreatedRepositoryContribution": CreatedRepositoryContribution, + "CreatedRepositoryOrRestrictedContribution": CreatedRepositoryOrRestrictedContribution, + "CreatedIssueContributionEdge": CreatedIssueContributionEdge, + "CreatedIssueContributionConnection": CreatedIssueContributionConnection, + "IssueContributionsByRepository": IssueContributionsByRepository, + "JoinedGitHubContribution": JoinedGitHubContribution, + "CreatedPullRequestContributionEdge": CreatedPullRequestContributionEdge, + "CreatedPullRequestContributionConnection": CreatedPullRequestContributionConnection, + "PullRequestContributionsByRepository": PullRequestContributionsByRepository, + "CreatedPullRequestReviewContribution": CreatedPullRequestReviewContribution, + "CreatedPullRequestReviewContributionEdge": CreatedPullRequestReviewContributionEdge, + "CreatedPullRequestReviewContributionConnection": CreatedPullRequestReviewContributionConnection, + "PullRequestReviewContributionsByRepository": PullRequestReviewContributionsByRepository, + "CreatedRepositoryContributionEdge": CreatedRepositoryContributionEdge, + "CreatedRepositoryContributionConnection": CreatedRepositoryContributionConnection, + "ContributionsCollection": ContributionsCollection, + "EnterpriseEdge": EnterpriseEdge, + "EnterpriseConnection": EnterpriseConnection, + "FollowerConnection": FollowerConnection, + "FollowingConnection": FollowingConnection, + "UserListItems": UserListItems, + "UserListItemsEdge": UserListItemsEdge, + "UserListItemsConnection": UserListItemsConnection, + "UserList": UserList, + "UserListEdge": UserListEdge, + "UserListConnection": UserListConnection, + "PublicKeyEdge": PublicKeyEdge, + "PublicKeyConnection": PublicKeyConnection, + "SavedReply": SavedReply, + "SavedReplyEdge": SavedReplyEdge, + "SavedReplyConnection": SavedReplyConnection, + "SocialAccountEdge": SocialAccountEdge, + "SocialAccountConnection": SocialAccountConnection, + "StarredRepositoryEdge": StarredRepositoryEdge, + "StarredRepositoryConnection": StarredRepositoryConnection, + "User": User, + "UserEdge": UserEdge, + "UserConnection": UserConnection, + "LinkedBranch": LinkedBranch, + "LinkedBranchEdge": LinkedBranchEdge, + "LinkedBranchConnection": LinkedBranchConnection, + "IssueTimelineItem": IssueTimelineItem, + "IssueTimelineItemEdge": IssueTimelineItemEdge, + "IssueTimelineConnection": IssueTimelineConnection, + "IssueTimelineItems": IssueTimelineItems, + "IssueTimelineItemsEdge": IssueTimelineItemsEdge, + "IssueTimelineItemsConnection": IssueTimelineItemsConnection, + "Issue": Issue, + "IssueComment": IssueComment, + "IssueCommentEdge": IssueCommentEdge, + "AddCommentPayload": AddCommentPayload, + "AddProjectCardPayload": AddProjectCardPayload, + "AddProjectColumnPayload": AddProjectColumnPayload, + "AddPullRequestReviewCommentPayload": AddPullRequestReviewCommentPayload, + "AddPullRequestReviewInput": AddPullRequestReviewInput, + "AddPullRequestReviewPayload": AddPullRequestReviewPayload, + "AddReactionPayload": AddReactionPayload, + "AuditEntry": AuditEntry, + "CheckAnnotationData": CheckAnnotationData, + "CheckRunOutput": CheckRunOutput, + "Claimable": Claimable, + "Comment": Comment, + "CreateAttributionInvitationPayload": CreateAttributionInvitationPayload, + "CreateCheckRunInput": CreateCheckRunInput, + "FileChanges": FileChanges, + "CreateCommitOnBranchInput": CreateCommitOnBranchInput, + "CreateCommitOnBranchPayload": CreateCommitOnBranchPayload, + "CreateEnterpriseOrganizationPayload": CreateEnterpriseOrganizationPayload, + "CreateLinkedBranchPayload": CreateLinkedBranchPayload, + "RepositoryPropertyConditionTargetInput": RepositoryPropertyConditionTargetInput, + "RepositoryRuleConditionsInput": RepositoryRuleConditionsInput, + "RequiredStatusChecksParametersInput": RequiredStatusChecksParametersInput, + "WorkflowsParametersInput": WorkflowsParametersInput, + "RuleParametersInput": RuleParametersInput, + "RepositoryRuleInput": RepositoryRuleInput, + "CreateRepositoryRulesetInput": CreateRepositoryRulesetInput, + "CreateUserListPayload": CreateUserListPayload, + "DeletePullRequestReviewCommentPayload": DeletePullRequestReviewCommentPayload, + "DisablePullRequestAutoMergePayload": DisablePullRequestAutoMergePayload, + "EnablePullRequestAutoMergePayload": EnablePullRequestAutoMergePayload, + "LinkRepositoryToProjectPayload": LinkRepositoryToProjectPayload, + "LockLockablePayload": LockLockablePayload, + "MarketplaceListing": MarketplaceListing, + "MarketplaceListingEdge": MarketplaceListingEdge, + "MarketplaceListingConnection": MarketplaceListingConnection, + "MergePullRequestPayload": MergePullRequestPayload, + "OrganizationOrUser": OrganizationOrUser, + "ProfileOwner": ProfileOwner, + "ProjectV2Actor": ProjectV2Actor, + "ProjectV2ActorEdge": ProjectV2ActorEdge, + "ProjectV2ActorConnection": ProjectV2ActorConnection, + "ProjectV2ItemFieldValueCommon": ProjectV2ItemFieldValueCommon, + "PullRequestThread": PullRequestThread, + "RemoveEnterpriseAdminPayload": RemoveEnterpriseAdminPayload, + "RemoveEnterpriseMemberPayload": RemoveEnterpriseMemberPayload, + "RemoveEnterpriseOrganizationPayload": RemoveEnterpriseOrganizationPayload, + "RemoveReactionPayload": RemoveReactionPayload, + "RequestReviewsPayload": RequestReviewsPayload, + "RevertPullRequestPayload": RevertPullRequestPayload, + "SearchResultItem": SearchResultItem, + "TextMatch": TextMatch, + "SearchResultItemEdge": SearchResultItemEdge, + "SearchResultItemConnection": SearchResultItemConnection, + "SecurityAdvisoryEdge": SecurityAdvisoryEdge, + "SecurityAdvisoryConnection": SecurityAdvisoryConnection, + "SponsorableItem": SponsorableItem, + "SponsorableItemEdge": SponsorableItemEdge, + "SponsorableItemConnection": SponsorableItemConnection, + "Tag": Tag, + "UnlinkRepositoryFromProjectPayload": UnlinkRepositoryFromProjectPayload, + "UnlockLockablePayload": UnlockLockablePayload, + "UpdateCheckRunInput": UpdateCheckRunInput, + "UpdateIssuePayload": UpdateIssuePayload, + "UpdatePullRequestPayload": UpdatePullRequestPayload, + "UpdateRepositoryRulesetInput": UpdateRepositoryRulesetInput, + "UpdateTeamsRepositoryPayload": UpdateTeamsRepositoryPayload, + "UpdateUserListsForItemPayload": UpdateUserListsForItemPayload, + "ViewerHovercardContext": ViewerHovercardContext, + "VerifyVerifiableDomainPayload": VerifyVerifiableDomainPayload, + "UpdateUserListPayload": UpdateUserListPayload, + "UpdateTopicsPayload": UpdateTopicsPayload, + "UpdateTeamReviewAssignmentPayload": UpdateTeamReviewAssignmentPayload, + "UpdateTeamDiscussionPayload": UpdateTeamDiscussionPayload, + "UpdateTeamDiscussionCommentPayload": UpdateTeamDiscussionCommentPayload, + "UpdateSubscriptionPayload": UpdateSubscriptionPayload, + "UpdateSponsorshipPreferencesPayload": UpdateSponsorshipPreferencesPayload, + "UpdateRepositoryWebCommitSignoffSettingPayload": UpdateRepositoryWebCommitSignoffSettingPayload, + "UpdateRepositoryRulesetPayload": UpdateRepositoryRulesetPayload, + "UpdateRepositoryPayload": UpdateRepositoryPayload, + "UpdateRefsInput": UpdateRefsInput, + "UpdateRefPayload": UpdateRefPayload, + "UpdatePullRequestReviewPayload": UpdatePullRequestReviewPayload, + "UpdatePullRequestReviewCommentPayload": UpdatePullRequestReviewCommentPayload, + "UpdatePullRequestBranchPayload": UpdatePullRequestBranchPayload, + "UpdateProjectV2Payload": UpdateProjectV2Payload, + "UpdateProjectV2ItemPositionPayload": UpdateProjectV2ItemPositionPayload, + "UpdateProjectV2ItemFieldValuePayload": UpdateProjectV2ItemFieldValuePayload, + "UpdateProjectV2ItemFieldValueInput": UpdateProjectV2ItemFieldValueInput, + "UpdateProjectV2DraftIssuePayload": UpdateProjectV2DraftIssuePayload, + "UpdateProjectV2CollaboratorsPayload": UpdateProjectV2CollaboratorsPayload, + "UpdateProjectV2CollaboratorsInput": UpdateProjectV2CollaboratorsInput, + "UpdateProjectPayload": UpdateProjectPayload, + "UpdateProjectColumnPayload": UpdateProjectColumnPayload, + "UpdateProjectCardPayload": UpdateProjectCardPayload, + "UpdatePatreonSponsorabilityPayload": UpdatePatreonSponsorabilityPayload, + "UpdateOrganizationWebCommitSignoffSettingPayload": UpdateOrganizationWebCommitSignoffSettingPayload, + "UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload": UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload, + "UpdateNotificationRestrictionSettingPayload": UpdateNotificationRestrictionSettingPayload, + "UpdateLabelPayload": UpdateLabelPayload, + "UpdateIssueCommentPayload": UpdateIssueCommentPayload, + "UpdateIpAllowListForInstalledAppsEnabledSettingPayload": UpdateIpAllowListForInstalledAppsEnabledSettingPayload, + "UpdateIpAllowListEntryPayload": UpdateIpAllowListEntryPayload, + "UpdateIpAllowListEnabledSettingPayload": UpdateIpAllowListEnabledSettingPayload, + "UpdateEnvironmentPayload": UpdateEnvironmentPayload, + "UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload": UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload, + "UpdateEnterpriseTeamDiscussionsSettingPayload": UpdateEnterpriseTeamDiscussionsSettingPayload, + "UpdateEnterpriseRepositoryProjectsSettingPayload": UpdateEnterpriseRepositoryProjectsSettingPayload, + "UpdateEnterpriseProfilePayload": UpdateEnterpriseProfilePayload, + "UpdateEnterpriseOrganizationProjectsSettingPayload": UpdateEnterpriseOrganizationProjectsSettingPayload, + "UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload": UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload, + "UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload": UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload, + "UpdateEnterpriseMembersCanMakePurchasesSettingPayload": UpdateEnterpriseMembersCanMakePurchasesSettingPayload, + "UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload": UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload, + "UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload": UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload, + "UpdateEnterpriseMembersCanDeleteIssuesSettingPayload": UpdateEnterpriseMembersCanDeleteIssuesSettingPayload, + "UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload": UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload, + "UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload": UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload, + "UpdateEnterpriseDefaultRepositoryPermissionSettingPayload": UpdateEnterpriseDefaultRepositoryPermissionSettingPayload, + "UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload": UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload, + "UpdateDiscussionPayload": UpdateDiscussionPayload, + "UpdateDiscussionCommentPayload": UpdateDiscussionCommentPayload, + "UpdateCheckSuitePreferencesPayload": UpdateCheckSuitePreferencesPayload, + "UpdateCheckSuitePreferencesInput": UpdateCheckSuitePreferencesInput, + "UpdateCheckRunPayload": UpdateCheckRunPayload, + "UpdateBranchProtectionRulePayload": UpdateBranchProtectionRulePayload, + "UpdateBranchProtectionRuleInput": UpdateBranchProtectionRuleInput, + "UnresolveReviewThreadPayload": UnresolveReviewThreadPayload, + "UnpinIssuePayload": UnpinIssuePayload, + "UnminimizeCommentPayload": UnminimizeCommentPayload, + "UnmarkProjectV2AsTemplatePayload": UnmarkProjectV2AsTemplatePayload, + "UnmarkIssueAsDuplicatePayload": UnmarkIssueAsDuplicatePayload, + "UnmarkFileAsViewedPayload": UnmarkFileAsViewedPayload, + "UnmarkDiscussionCommentAsAnswerPayload": UnmarkDiscussionCommentAsAnswerPayload, + "UnlinkProjectV2FromTeamPayload": UnlinkProjectV2FromTeamPayload, + "UnlinkProjectV2FromRepositoryPayload": UnlinkProjectV2FromRepositoryPayload, + "UnknownSignature": UnknownSignature, + "UnfollowUserPayload": UnfollowUserPayload, + "UnfollowOrganizationPayload": UnfollowOrganizationPayload, + "UnarchiveRepositoryPayload": UnarchiveRepositoryPayload, + "UnarchiveProjectV2ItemPayload": UnarchiveProjectV2ItemPayload, + "TransferIssuePayload": TransferIssuePayload, + "TransferEnterpriseOrganizationPayload": TransferEnterpriseOrganizationPayload, + "TopicAuditEntryData": TopicAuditEntryData, + "TeamAuditEntryData": TeamAuditEntryData, + "SubmitPullRequestReviewPayload": SubmitPullRequestReviewPayload, + "StartRepositoryMigrationPayload": StartRepositoryMigrationPayload, + "StartOrganizationMigrationPayload": StartOrganizationMigrationPayload, + "Starrable": Starrable, + "SshSignature": SshSignature, + "SmimeSignature": SmimeSignature, + "SetUserInteractionLimitPayload": SetUserInteractionLimitPayload, + "SetRepositoryInteractionLimitPayload": SetRepositoryInteractionLimitPayload, + "SetOrganizationInteractionLimitPayload": SetOrganizationInteractionLimitPayload, + "SetEnterpriseIdentityProviderPayload": SetEnterpriseIdentityProviderPayload, + "RevokeEnterpriseOrganizationsMigratorRolePayload": RevokeEnterpriseOrganizationsMigratorRolePayload, + "RetireSponsorsTierPayload": RetireSponsorsTierPayload, + "ResolveReviewThreadPayload": ResolveReviewThreadPayload, + "RerequestCheckSuitePayload": RerequestCheckSuitePayload, + "RepositoryNode": RepositoryNode, + "RepositoryDiscussionCommentAuthor": RepositoryDiscussionCommentAuthor, + "RepositoryDiscussionAuthor": RepositoryDiscussionAuthor, + "RepositoryAuditEntryData": RepositoryAuditEntryData, + "ReopenPullRequestPayload": ReopenPullRequestPayload, + "ReopenIssuePayload": ReopenIssuePayload, + "ReopenDiscussionPayload": ReopenDiscussionPayload, + "RemoveUpvotePayload": RemoveUpvotePayload, + "RemoveStarPayload": RemoveStarPayload, + "RemoveOutsideCollaboratorPayload": RemoveOutsideCollaboratorPayload, + "RemoveLabelsFromLabelablePayload": RemoveLabelsFromLabelablePayload, + "RemoveEnterpriseIdentityProviderPayload": RemoveEnterpriseIdentityProviderPayload, + "RemoveAssigneesFromAssignablePayload": RemoveAssigneesFromAssignablePayload, + "RejectDeploymentsPayload": RejectDeploymentsPayload, + "RegenerateEnterpriseIdentityProviderRecoveryCodesPayload": RegenerateEnterpriseIdentityProviderRecoveryCodesPayload, + "PublishSponsorsTierPayload": PublishSponsorsTierPayload, + "ProjectV2Recent": ProjectV2Recent, + "ProjectV2FieldCommon": ProjectV2FieldCommon, + "ProjectColumnImport": ProjectColumnImport, + "PinIssuePayload": PinIssuePayload, + "PackageTag": PackageTag, + "PackageOwner": PackageOwner, + "OrganizationsHovercardContext": OrganizationsHovercardContext, + "OrganizationTeamsHovercardContext": OrganizationTeamsHovercardContext, + "OrganizationAuditEntryData": OrganizationAuditEntryData, + "MoveProjectColumnPayload": MoveProjectColumnPayload, + "MoveProjectCardPayload": MoveProjectCardPayload, + "MinimizeCommentPayload": MinimizeCommentPayload, + "Migration": Migration, + "MergeBranchPayload": MergeBranchPayload, + "MemberStatusable": MemberStatusable, + "MarkPullRequestReadyForReviewPayload": MarkPullRequestReadyForReviewPayload, + "MarkProjectV2AsTemplatePayload": MarkProjectV2AsTemplatePayload, + "MarkNotificationAsDonePayload": MarkNotificationAsDonePayload, + "MarkFileAsViewedPayload": MarkFileAsViewedPayload, + "MarkDiscussionCommentAsAnswerPayload": MarkDiscussionCommentAsAnswerPayload, + "LinkProjectV2ToTeamPayload": LinkProjectV2ToTeamPayload, + "LinkProjectV2ToRepositoryPayload": LinkProjectV2ToRepositoryPayload, + "InviteEnterpriseAdminPayload": InviteEnterpriseAdminPayload, + "ImportProjectPayload": ImportProjectPayload, + "ImportProjectInput": ImportProjectInput, + "GrantEnterpriseOrganizationsMigratorRolePayload": GrantEnterpriseOrganizationsMigratorRolePayload, + "GpgSignature": GpgSignature, + "FollowUserPayload": FollowUserPayload, + "FollowOrganizationPayload": FollowOrganizationPayload, + "EnqueuePullRequestPayload": EnqueuePullRequestPayload, + "DismissRepositoryVulnerabilityAlertPayload": DismissRepositoryVulnerabilityAlertPayload, + "DismissPullRequestReviewPayload": DismissPullRequestReviewPayload, + "DequeuePullRequestPayload": DequeuePullRequestPayload, + "DeleteVerifiableDomainPayload": DeleteVerifiableDomainPayload, + "DeleteUserListPayload": DeleteUserListPayload, + "DeletePullRequestReviewPayload": DeletePullRequestReviewPayload, + "DeleteProjectV2WorkflowPayload": DeleteProjectV2WorkflowPayload, + "DeleteProjectV2Payload": DeleteProjectV2Payload, + "DeleteProjectV2FieldPayload": DeleteProjectV2FieldPayload, + "DeleteProjectPayload": DeleteProjectPayload, + "DeleteProjectColumnPayload": DeleteProjectColumnPayload, + "DeleteProjectCardPayload": DeleteProjectCardPayload, + "DeleteLinkedBranchPayload": DeleteLinkedBranchPayload, + "DeleteIssuePayload": DeleteIssuePayload, + "DeleteIpAllowListEntryPayload": DeleteIpAllowListEntryPayload, + "DeleteDiscussionPayload": DeleteDiscussionPayload, + "DeleteDiscussionCommentPayload": DeleteDiscussionCommentPayload, + "DeclineTopicSuggestionPayload": DeclineTopicSuggestionPayload, + "CreateTeamDiscussionPayload": CreateTeamDiscussionPayload, + "CreateTeamDiscussionCommentPayload": CreateTeamDiscussionCommentPayload, + "CreateSponsorshipsPayload": CreateSponsorshipsPayload, + "CreateSponsorshipsInput": CreateSponsorshipsInput, + "CreateSponsorshipPayload": CreateSponsorshipPayload, + "CreateSponsorsTierPayload": CreateSponsorsTierPayload, + "CreateSponsorsListingPayload": CreateSponsorsListingPayload, + "CreateRepositoryRulesetPayload": CreateRepositoryRulesetPayload, + "CreateRepositoryPayload": CreateRepositoryPayload, + "CreateRefPayload": CreateRefPayload, + "CreatePullRequestPayload": CreatePullRequestPayload, + "CreateProjectV2Payload": CreateProjectV2Payload, + "CreateProjectV2FieldPayload": CreateProjectV2FieldPayload, + "CreateProjectV2FieldInput": CreateProjectV2FieldInput, + "CreateProjectPayload": CreateProjectPayload, + "CreateMigrationSourcePayload": CreateMigrationSourcePayload, + "CreateLabelPayload": CreateLabelPayload, + "CreateIssuePayload": CreateIssuePayload, + "CreateIpAllowListEntryPayload": CreateIpAllowListEntryPayload, + "CreateEnvironmentPayload": CreateEnvironmentPayload, + "CreateDiscussionPayload": CreateDiscussionPayload, + "CreateDeploymentStatusPayload": CreateDeploymentStatusPayload, + "CreateDeploymentPayload": CreateDeploymentPayload, + "CreateCheckSuitePayload": CreateCheckSuitePayload, + "CreateCheckRunPayload": CreateCheckRunPayload, + "CreateBranchProtectionRulePayload": CreateBranchProtectionRulePayload, + "CreateBranchProtectionRuleInput": CreateBranchProtectionRuleInput, + "CopyProjectV2Payload": CopyProjectV2Payload, + "ConvertPullRequestToDraftPayload": ConvertPullRequestToDraftPayload, + "ConvertProjectCardNoteToIssuePayload": ConvertProjectCardNoteToIssuePayload, + "Contribution": Contribution, + "ClosePullRequestPayload": ClosePullRequestPayload, + "CloseIssuePayload": CloseIssuePayload, + "CloseDiscussionPayload": CloseDiscussionPayload, + "CloneTemplateRepositoryPayload": CloneTemplateRepositoryPayload, + "CloneProjectPayload": CloneProjectPayload, + "ClearProjectV2ItemFieldValuePayload": ClearProjectV2ItemFieldValuePayload, + "ClearLabelsFromLabelablePayload": ClearLabelsFromLabelablePayload, + "ChangeUserStatusPayload": ChangeUserStatusPayload, + "CancelSponsorshipPayload": CancelSponsorshipPayload, + "CancelEnterpriseAdminInvitationPayload": CancelEnterpriseAdminInvitationPayload, + "Blob": Blob, + "ArchiveRepositoryPayload": ArchiveRepositoryPayload, + "ArchiveProjectV2ItemPayload": ArchiveProjectV2ItemPayload, + "ApproveVerifiableDomainPayload": ApproveVerifiableDomainPayload, + "ApproveDeploymentsPayload": ApproveDeploymentsPayload, + "AddVerifiableDomainPayload": AddVerifiableDomainPayload, + "AddUpvotePayload": AddUpvotePayload, + "AddStarPayload": AddStarPayload, + "AddPullRequestReviewThreadReplyPayload": AddPullRequestReviewThreadReplyPayload, + "AddPullRequestReviewThreadPayload": AddPullRequestReviewThreadPayload, + "AddProjectV2ItemByIdPayload": AddProjectV2ItemByIdPayload, + "AddProjectV2DraftIssuePayload": AddProjectV2DraftIssuePayload, + "AddLabelsToLabelablePayload": AddLabelsToLabelablePayload, + "AddEnterpriseOrganizationMemberPayload": AddEnterpriseOrganizationMemberPayload, + "AddDiscussionPollVotePayload": AddDiscussionPollVotePayload, + "AddDiscussionCommentPayload": AddDiscussionCommentPayload, + "AddAssigneesToAssignablePayload": AddAssigneesToAssignablePayload, + "AcceptTopicSuggestionPayload": AcceptTopicSuggestionPayload, + "AcceptEnterpriseAdministratorInvitationPayload": AcceptEnterpriseAdministratorInvitationPayload, +} diff --git a/tests/output/github/gql_simple_types.py b/tests/output/github/gql_simple_types.py index b52a28c..7186811 100644 --- a/tests/output/github/gql_simple_types.py +++ b/tests/output/github/gql_simple_types.py @@ -1,3775 +1,4223 @@ -from typing import Generic, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from .enums import * -from .scalars import * -from .type_refs import * +from dataclasses import dataclass +from typing import Optional + +from .enums import ( + ActorType, + AuditLogOrderField, + CheckConclusionState, + CheckStatusState, + CommentCannotUpdateReason, + DeploymentStatusState, + DiscussionCloseReason, + DiscussionOrderField, + EnterpriseAdministratorInvitationOrderField, + EnterpriseAdministratorRole, + EnterpriseDefaultRepositoryPermissionSettingValue, + EnterpriseEnabledDisabledSettingValue, + EnterpriseMembersCanCreateRepositoriesSettingValue, + EnterpriseMembersCanMakePurchasesSettingValue, + EnterpriseOrderField, + EnterpriseServerInstallationOrderField, + EnterpriseServerUserAccountOrderField, + EnvironmentOrderField, + FileViewedState, + FundingPlatform, + GistOrderField, + IssueCommentOrderField, + IssueOrderField, + LockReason, + MannequinOrderField, + MergeQueueMergingStrategy, + MigrationSourceType, + MilestoneOrderField, + OrderDirection, + OrganizationMemberRole, + OrganizationMigrationState, + PackageFileOrderField, + PatchStatus, + ProjectOrderField, + ProjectV2ItemFieldValueOrderField, + ProjectV2Roles, + ProjectV2SingleSelectFieldOptionColor, + ProjectV2ViewOrderField, + PullRequestMergeMethod, + PullRequestReviewDecision, + PullRequestUpdateState, + RefOrderField, + ReportedContentClassifiers, + RepositoryInteractionLimit, + RepositoryInteractionLimitExpiry, + RepositoryInvitationOrderField, + RepositoryOrderField, + RepositoryPermission, + RepositoryRulesetBypassActorBypassMode, + RepositoryVisibility, + RoleInOrganization, + SamlDigestAlgorithm, + SamlSignatureAlgorithm, + SavedReplyOrderField, + SecurityAdvisoryEcosystem, + SecurityAdvisoryIdentifierType, + SocialAccountProvider, + SponsorOrderField, + SponsorsActivityOrderField, + SponsorsCountryOrRegionCode, + SponsorshipOrderField, + SponsorshipPrivacy, + SponsorsTierOrderField, + StatusState, + SubscriptionState, + TeamDiscussionOrderField, + TeamOrderField, + ThreadSubscriptionFormAction, + ThreadSubscriptionState, + UserStatusOrderField, + WorkflowRunOrderField, +) +from .scalars import ID, URI, Base64String, Date, DateTime, GitObjectID + + +@dataclass(kw_only=True) +class AbortQueuedMigrationsInput: + """ + AbortQueuedMigrationsInput - Autogenerated input type of AbortQueuedMigrations + + clientMutationId - A unique identifier for the client performing the mutation. + + ownerId - The ID of the organization that is running the migrations. + + """ + + client_mutation_id: Optional[str] = None + owner_id: ID + + +@dataclass(kw_only=True) +class AbortRepositoryMigrationInput: + """ + AbortRepositoryMigrationInput - Autogenerated input type of AbortRepositoryMigration -class LUDLL_anyPinnableItems_Field(ArguedBool): - """ - LUDLL_anyPinnableItems_Field - Determine if this repository owner has any items that can be pinned to their profile. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - type - Filter to only a particular kind of pinnable item. + migrationId - The ID of the migration to be aborted. - """ - type: PinnableItemType + """ - _args: boolArgs + client_mutation_id: Optional[str] = None + migration_id: ID +@dataclass(kw_only=True) +class AcceptEnterpriseAdministratorInvitationInput: + """ + AcceptEnterpriseAdministratorInvitationInput - Autogenerated input type of AcceptEnterpriseAdministratorInvitation -class AXANY_URI_Field(ArguedStr): - """ - AXANY_URI_Field - URL for the listing's logo image. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size in pixels of the resulting square image. + invitationId - The id of the invitation being accepted - """ - size: int + """ - _args: URIArgs + client_mutation_id: Optional[str] = None + invitation_id: ID +@dataclass(kw_only=True) +class Actor: + """ + Actor - Represents an object which can take actions on GitHub. Typically a User or Bot. -class PCKOH_URI_Field(ArguedStr): - """ - PCKOH_URI_Field - A URL pointing to the app's logo. + avatarUrl - A URL pointing to the actor's public avatar. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting image. + login - The username of the actor. - """ - size: int + resourcePath - The HTTP path for this actor. - _args: URIArgs + url - The HTTP URL for this actor. + """ + avatar_url: URI + login: str + resource_path: URI + url: URI -class GZBMK_URI_Field(ArguedStr): - """ - GZBMK_URI_Field - A URL pointing to the enterprise's public avatar. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. +@dataclass(kw_only=True) +class AddAssigneesToAssignableInput: + """ + AddAssigneesToAssignableInput - Autogenerated input type of AddAssigneesToAssignable - """ - size: int + assignableId - The id of the assignable object to add assignees to. - _args: URIArgs + assigneeIds - The id of users to add as assignees. + clientMutationId - A unique identifier for the client performing the mutation. + """ -class YSLVF_HTML_Field(ArguedStr): - """ - YSLVF_HTML_Field - A description of the repository, rendered to HTML without any links in it. + assignable_id: ID + assignee_ids: list[ID] + client_mutation_id: Optional[str] = None - """ - class HTMLArgs(GQLArgsSet, GQLObject): - """ - limit - How many characters to return. - """ - limit: int +@dataclass(kw_only=True) +class AddDiscussionCommentInput: + """ + AddDiscussionCommentInput - Autogenerated input type of AddDiscussionComment - _args: HTMLArgs + body - The contents of the comment. + clientMutationId - A unique identifier for the client performing the mutation. + discussionId - The Node ID of the discussion to comment on. -class CMOBU_URI_Field(ArguedStr): - """ - CMOBU_URI_Field - A URL pointing to the enterprise user account's public avatar. + replyToId - The Node ID of the discussion comment within this discussion to reply to. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + """ - """ - size: int + body: str + client_mutation_id: Optional[str] = None + discussion_id: ID + reply_to_id: Optional[ID] = None - _args: URIArgs +@dataclass(kw_only=True) +class AddEnterpriseOrganizationMemberInput: + """ + AddEnterpriseOrganizationMemberInput - Autogenerated input type of AddEnterpriseOrganizationMember + clientMutationId - A unique identifier for the client performing the mutation. -class EUBSH_totalSponsorshipAmountAsSponsorInCents_Field(ArguedInt): - """ - EUBSH_totalSponsorshipAmountAsSponsorInCents_Field - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. + enterpriseId - The ID of the enterprise which owns the organization. - """ - class intArgs(GQLArgsSet, GQLObject): - """ - since - Filter payments to those that occurred on or after this time. + organizationId - The ID of the organization the users will be added to. - until - Filter payments to those that occurred before this time. + role - The role to assign the users in the organization - sponsorableLogins - Filter payments to those made to the users or organizations with the specified usernames. + userIds - The IDs of the enterprise members to add. - """ - since: DateTime - until: DateTime - sponsorableLogins: list[NonNull_str] + """ - _args: intArgs + client_mutation_id: Optional[str] = None + enterprise_id: ID + organization_id: ID + role: Optional[OrganizationMemberRole] = None + user_ids: list[ID] +@dataclass(kw_only=True) +class AddEnterpriseSupportEntitlementPayload: + """ + AddEnterpriseSupportEntitlementPayload - Autogenerated return type of AddEnterpriseSupportEntitlement -class IVPGA_isSponsoredBy_Field(ArguedBool): - """ - IVPGA_isSponsoredBy_Field - Whether the given account is sponsoring this user/organization. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - accountLogin - The target account's login. + message - A message confirming the result of adding the support entitlement. - """ - accountLogin: NonNull_str + """ - _args: boolArgs + client_mutation_id: Optional[str] = None + message: Optional[str] = None +@dataclass(kw_only=True) +class AddProjectCardInput: + """ + AddProjectCardInput - Autogenerated input type of AddProjectCard -class SBBTQ_URI_Field(ArguedStr): - """ - SBBTQ_URI_Field - A URL pointing to the organization's public avatar. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + contentId - The content of the card. Must be a member of the ProjectCardItem union - """ - size: int + note - The note on the card. - _args: URIArgs + projectColumnId - The Node ID of the ProjectColumn. + """ + client_mutation_id: Optional[str] = None + content_id: Optional[ID] = None + note: Optional[str] = None + project_column_id: ID -class NAOCE_anyPinnableItems_Field(ArguedBool): - """ - NAOCE_anyPinnableItems_Field - Determine if this repository owner has any items that can be pinned to their profile. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - type - Filter to only a particular kind of pinnable item. +@dataclass(kw_only=True) +class AddProjectV2DraftIssueInput: + """ + AddProjectV2DraftIssueInput - Autogenerated input type of AddProjectV2DraftIssue - """ - type: PinnableItemType + assigneeIds - The IDs of the assignees of the draft issue. - _args: boolArgs + body - The body of the draft issue. + clientMutationId - A unique identifier for the client performing the mutation. + projectId - The ID of the Project to add the draft issue to. -class USPFE_totalSponsorshipAmountAsSponsorInCents_Field(ArguedInt): - """ - USPFE_totalSponsorshipAmountAsSponsorInCents_Field - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. + title - The title of the draft issue. A project item can also be created by providing + the URL of an Issue or Pull Request if you have access. - """ - class intArgs(GQLArgsSet, GQLObject): - """ - since - Filter payments to those that occurred on or after this time. + """ - until - Filter payments to those that occurred before this time. + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + project_id: ID + title: str - sponsorableLogins - Filter payments to those made to the users or organizations with the specified usernames. - """ - since: DateTime - until: DateTime - sponsorableLogins: list[NonNull_str] +@dataclass(kw_only=True) +class AddPullRequestReviewCommentInput: + """ + AddPullRequestReviewCommentInput - Autogenerated input type of AddPullRequestReviewComment - _args: intArgs + body - The text of the comment. This field is required + **Upcoming Change on 2023-10-01 UTC** + **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation + clientMutationId - A unique identifier for the client performing the mutation. -class FXIBK_organizationVerifiedDomainEmails_Field(ArguedStr): - """ - FXIBK_organizationVerifiedDomainEmails_Field - Verified email addresses that match verified domains for a specified organization the user is a member of. + commitOID - The SHA of the commit to comment on. - """ - class strArgs(GQLArgsSet, GQLObject): - """ - login - The login of the organization to match verified domains from. + **Upcoming Change on 2023-10-01 UTC** + **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation - """ - login: NonNull_str + inReplyTo - The comment id to reply to. - _args: strArgs + **Upcoming Change on 2023-10-01 UTC** + **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation + path - The relative path of the file to comment on. + **Upcoming Change on 2023-10-01 UTC** + **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation -class PAZDL_isSponsoredBy_Field(ArguedBool): - """ - PAZDL_isSponsoredBy_Field - Whether the given account is sponsoring this user/organization. + position - The line index in the diff to comment on. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - accountLogin - The target account's login. + **Upcoming Change on 2023-10-01 UTC** + **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation - """ - accountLogin: NonNull_str + pullRequestId - The node ID of the pull request reviewing - _args: boolArgs + **Upcoming Change on 2023-10-01 UTC** + **Description:** `pullRequestId` will be removed. use + addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation + pullRequestReviewId - The Node ID of the review to modify. + **Upcoming Change on 2023-10-01 UTC** + **Description:** `pullRequestReviewId` will be removed. use + addPullRequestReviewThread or addPullRequestReviewThreadReply instead + **Reason:** We are deprecating the addPullRequestReviewComment mutation -class CJXXJ_canReceiveOrganizationEmailsWhenNotificationsRestricted_Field(ArguedBool): - """ - CJXXJ_canReceiveOrganizationEmailsWhenNotificationsRestricted_Field - Could this user receive email notifications, if the organization had notification restrictions enabled? + """ - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - login - The login of the organization to check. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + commit_o_i_d: Optional[GitObjectID] = None + in_reply_to: Optional[ID] = None + path: Optional[str] = None + position: Optional[int] = None + pull_request_id: Optional[ID] = None + pull_request_review_id: Optional[ID] = None - """ - login: NonNull_str - _args: boolArgs +@dataclass(kw_only=True) +class AddPullRequestReviewThreadReplyInput: + """ + AddPullRequestReviewThreadReplyInput - Autogenerated input type of AddPullRequestReviewThreadReply + body - The text of the reply. + clientMutationId - A unique identifier for the client performing the mutation. -class FJZJD_URI_Field(ArguedStr): - """ - FJZJD_URI_Field - A URL pointing to the user's public avatar. + pullRequestReviewId - The Node ID of the pending review to which the reply will belong. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + pullRequestReviewThreadId - The Node ID of the thread to which this reply is being written. - """ - size: int + """ - _args: URIArgs + body: str + client_mutation_id: Optional[str] = None + pull_request_review_id: Optional[ID] = None + pull_request_review_thread_id: ID +@dataclass(kw_only=True) +class AddStarInput: + """ + AddStarInput - Autogenerated input type of AddStar -class ALXTR_anyPinnableItems_Field(ArguedBool): - """ - ALXTR_anyPinnableItems_Field - Determine if this repository owner has any items that can be pinned to their profile. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - type - Filter to only a particular kind of pinnable item. + starrableId - The Starrable ID to star. - """ - type: PinnableItemType + """ - _args: boolArgs + client_mutation_id: Optional[str] = None + starrable_id: ID +@dataclass(kw_only=True) +class AddVerifiableDomainInput: + """ + AddVerifiableDomainInput - Autogenerated input type of AddVerifiableDomain -class GUWSH_totalSponsorshipAmountAsSponsorInCents_Field(ArguedInt): - """ - GUWSH_totalSponsorshipAmountAsSponsorInCents_Field - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class intArgs(GQLArgsSet, GQLObject): - """ - since - Filter payments to those that occurred on or after this time. + domain - The URL of the domain - until - Filter payments to those that occurred before this time. + ownerId - The ID of the owner to add the domain to - sponsorableLogins - Filter payments to those made to the users or organizations with the specified usernames. + """ - """ - since: DateTime - until: DateTime - sponsorableLogins: list[NonNull_str] + client_mutation_id: Optional[str] = None + domain: URI + owner_id: ID - _args: intArgs +@dataclass(kw_only=True) +class ApproveDeploymentsInput: + """ + ApproveDeploymentsInput - Autogenerated input type of ApproveDeployments + clientMutationId - A unique identifier for the client performing the mutation. -class UGLRZ_isSponsoredBy_Field(ArguedBool): - """ - UGLRZ_isSponsoredBy_Field - Whether the given account is sponsoring this user/organization. + comment - Optional comment for approving deployments - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - accountLogin - The target account's login. + environmentIds - The ids of environments to reject deployments - """ - accountLogin: NonNull_str + workflowRunId - The node ID of the workflow run containing the pending deployments. - _args: boolArgs + """ + client_mutation_id: Optional[str] = None + comment: Optional[str] = None + environment_ids: list[ID] + workflow_run_id: ID -class BXUPV_text_Field(ArguedStr): - """ - BXUPV_text_Field - UTF8 text data or null if the file is binary +@dataclass(kw_only=True) +class ArchiveProjectV2ItemInput: + """ + ArchiveProjectV2ItemInput - Autogenerated input type of ArchiveProjectV2Item - """ - class strArgs(GQLArgsSet, GQLObject): - """ - truncate - Optionally truncate the returned file to this length. + clientMutationId - A unique identifier for the client performing the mutation. - """ - truncate: int + itemId - The ID of the ProjectV2Item to archive. - _args: strArgs + projectId - The ID of the Project to archive the item from. + """ + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID -class FANME_totalRepositoryContributions_Field(ArguedInt): - """ - FANME_totalRepositoryContributions_Field - How many repositories the user created. - """ - class intArgs(GQLArgsSet, GQLObject): - """ - excludeFirst - Should the user's first repository ever be excluded from this count. +@dataclass(kw_only=True) +class AuditLogOrder: + """ + AuditLogOrder - Ordering options for Audit Log connections. - """ - excludeFirst: bool + direction - The ordering direction. - _args: intArgs + field - The field to order Audit Logs by. + """ + direction: Optional[OrderDirection] = None + field: Optional[AuditLogOrderField] = None -class HBFUS_totalRepositoriesWithContributedPullRequests_Field(ArguedInt): - """ - HBFUS_totalRepositoriesWithContributedPullRequests_Field - How many different repositories the user opened pull requests in. - """ - class intArgs(GQLArgsSet, GQLObject): - """ - excludeFirst - Should the user's first pull request ever be excluded from this count. +@dataclass(kw_only=True) +class BranchNamePatternParameters: + """ + BranchNamePatternParameters - Parameters to be used for the branch_name_pattern rule - excludePopular - Should the user's most commented pull request be excluded from this count. + name - How this rule will appear to users. - """ - excludeFirst: bool - excludePopular: bool + negate - If true, the rule will fail if the pattern matches. - _args: intArgs + operator - The operator to use for matching. + pattern - The pattern to match with. + """ -class FETUI_totalRepositoriesWithContributedIssues_Field(ArguedInt): - """ - FETUI_totalRepositoriesWithContributedIssues_Field - How many different repositories the user opened issues in. + name: Optional[str] = None + negate: bool + operator: str + pattern: str - """ - class intArgs(GQLArgsSet, GQLObject): - """ - excludeFirst - Should the user's first issue ever be excluded from this count. - excludePopular - Should the user's most commented issue be excluded from this count. +@dataclass(kw_only=True) +class BulkSponsorship: + """ + BulkSponsorship - Information about a sponsorship to make for a user or organization with a GitHub + Sponsors profile, as part of sponsoring many users or organizations at once. - """ - excludeFirst: bool - excludePopular: bool + amount - The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. - _args: intArgs + sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. + sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. + """ -class SSDQK_totalPullRequestContributions_Field(ArguedInt): - """ - SSDQK_totalPullRequestContributions_Field - How many pull requests the user opened. + amount: int + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None - """ - class intArgs(GQLArgsSet, GQLObject): - """ - excludeFirst - Should the user's first pull request ever be excluded from this count. - excludePopular - Should the user's most commented pull request be excluded from this count. +@dataclass(kw_only=True) +class CWE: + """ + CWE - A common weakness enumeration - """ - excludeFirst: bool - excludePopular: bool + cweId - The id of the CWE - _args: intArgs + description - A detailed description of this CWE + id - The Node ID of the CWE object + name - The name of this CWE -class TGGSE_totalIssueContributions_Field(ArguedInt): - """ - TGGSE_totalIssueContributions_Field - How many issues the user opened. + """ - """ - class intArgs(GQLArgsSet, GQLObject): - """ - excludeFirst - Should the user's first issue ever be excluded from this count. + cwe_id: str + description: str + id: ID + name: str - excludePopular - Should the user's most commented issue be excluded from this count. - """ - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class CancelSponsorshipInput: + """ + CancelSponsorshipInput - Autogenerated input type of CancelSponsorship - _args: intArgs + clientMutationId - A unique identifier for the client performing the mutation. + sponsorId - The ID of the user or organization who is acting as the sponsor, paying for + the sponsorship. Required if sponsorLogin is not given. + sponsorLogin - The username of the user or organization who is acting as the sponsor, paying + for the sponsorship. Required if sponsorId is not given. -class EPWEP_isRequired_Field(ArguedBool): - """ - EPWEP_isRequired_Field - Whether this is required to pass before merging for a specific pull request. + sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - pullRequestId - The id of the pull request this is required for + sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. - pullRequestNumber - The number of the pull request this is required for + """ - """ - pullRequestId: ID - pullRequestNumber: int + client_mutation_id: Optional[str] = None + sponsor_id: Optional[ID] = None + sponsor_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None - _args: boolArgs +@dataclass(kw_only=True) +class CheckAnnotationPosition: + """ + CheckAnnotationPosition - A character position in a check annotation. + column - Column number (1 indexed). -class KCEXX_URI_Field(ArguedStr): - """ - KCEXX_URI_Field - The avatar of the OAuth application or the user that created the status + line - Line number (1 indexed). - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + """ - """ - size: int + column: Optional[int] = None + line: int - _args: URIArgs +@dataclass(kw_only=True) +class CheckRunAction: + """ + CheckRunAction - Possible further actions the integrator can perform. + description - A short explanation of what this action would do. -class HGFDO_isRequired_Field(ArguedBool): - """ - HGFDO_isRequired_Field - Whether this is required to pass before merging for a specific pull request. + identifier - A reference for the action on the integrator's system. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - pullRequestId - The id of the pull request this is required for + label - The text to be displayed on a button in the web UI. - pullRequestNumber - The number of the pull request this is required for + """ - """ - pullRequestId: ID - pullRequestNumber: int + description: str + identifier: str + label: str - _args: boolArgs +@dataclass(kw_only=True) +class CheckRunOutputImage: + """ + CheckRunOutputImage - Images attached to the check run output displayed in the GitHub pull request UI. + alt - The alternative text for the image. -class FBRUV_URI_Field(ArguedStr): - """ - FBRUV_URI_Field - A URL pointing to the author's public avatar. + caption - A short image description. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + imageUrl - The full URL of the image. - """ - size: int + """ - _args: URIArgs + alt: str + caption: Optional[str] = None + image_url: URI +@dataclass(kw_only=True) +class CheckStep: + """ + CheckStep - A single check step. -class EPWRV_viewerMergeHeadlineText_Field(ArguedStr): - """ - EPWRV_viewerMergeHeadlineText_Field - The merge headline text for the viewer and method. + completedAt - Identifies the date and time when the check step was completed. - """ - class strArgs(GQLArgsSet, GQLObject): - """ - mergeType - The merge method for the message. + conclusion - The conclusion of the check step. - """ - mergeType: PullRequestMergeMethod + externalId - A reference for the check step on the integrator's system. - _args: strArgs + name - The step's name. + number - The index of the step in the list of steps of the parent check run. + secondsToCompletion - Number of seconds to completion. -class EAHTS_viewerMergeBodyText_Field(ArguedStr): - """ - EAHTS_viewerMergeBodyText_Field - The merge body text for the viewer and method. + startedAt - Identifies the date and time when the check step was started. - """ - class strArgs(GQLArgsSet, GQLObject): - """ - mergeType - The merge method for the message. + status - The current status of the check step. - """ - mergeType: PullRequestMergeMethod + """ - _args: strArgs + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + external_id: Optional[str] = None + name: str + number: int + seconds_to_completion: Optional[int] = None + started_at: Optional[DateTime] = None + status: CheckStatusState +@dataclass(kw_only=True) +class CheckSuiteFilter: + """ + CheckSuiteFilter - The filters that are available when fetching check suites. -class WHPBO_URI_Field(ArguedStr): - """ - WHPBO_URI_Field - A URL pointing to the team's avatar. + appId - Filters the check suites created by this application ID. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size in pixels of the resulting square image. + checkName - Filters the check suites by this name. - """ - size: int + """ - _args: URIArgs + app_id: Optional[int] = None + check_name: Optional[str] = None +@dataclass(kw_only=True) +class ClearProjectV2ItemFieldValueInput: + """ + ClearProjectV2ItemFieldValueInput - Autogenerated input type of ClearProjectV2ItemFieldValue -class JLOQM_trackedIssuesCount_Field(ArguedInt): - """ - JLOQM_trackedIssuesCount_Field - The number of tracked issues for this issue + clientMutationId - A unique identifier for the client performing the mutation. - """ - class intArgs(GQLArgsSet, GQLObject): - """ - states - Limit the count to tracked issues with the specified states. + fieldId - The ID of the field to be cleared. - """ - states: list[TrackedIssueStates] + itemId - The ID of the item to be cleared. - _args: intArgs + projectId - The ID of the Project. + """ + client_mutation_id: Optional[str] = None + field_id: ID + item_id: ID + project_id: ID -class PJJUQ_HTML_Field(ArguedStr): - """ - PJJUQ_HTML_Field - A description of the repository, rendered to HTML without any links in it. - """ - class HTMLArgs(GQLArgsSet, GQLObject): - """ - limit - How many characters to return. +@dataclass(kw_only=True) +class CloneTemplateRepositoryInput: + """ + CloneTemplateRepositoryInput - Autogenerated input type of CloneTemplateRepository - """ - limit: int + clientMutationId - A unique identifier for the client performing the mutation. - _args: HTMLArgs + description - A short description of the new repository. + includeAllBranches - Whether to copy all branches from the template to the new repository. Defaults + to copying only the default branch of the template. + name - The name of the new repository. -class HKLOV_URI_Field(ArguedStr): - """ - HKLOV_URI_Field - A URL pointing to the owner's public avatar. + ownerId - The ID of the owner for the new repository. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + repositoryId - The Node ID of the template repository. - """ - size: int + visibility - Indicates the repository's visibility level. - _args: URIArgs + """ + client_mutation_id: Optional[str] = None + description: Optional[str] = None + include_all_branches: Optional[bool] = None + name: str + owner_id: ID + repository_id: ID + visibility: RepositoryVisibility -class HMPMH_HTML_Field(ArguedStr): - """ - HMPMH_HTML_Field - A description of the release, rendered to HTML without any links in it. +@dataclass(kw_only=True) +class CloseDiscussionInput: + """ + CloseDiscussionInput - Autogenerated input type of CloseDiscussion - """ - class HTMLArgs(GQLArgsSet, GQLObject): - """ - limit - How many characters to return. + clientMutationId - A unique identifier for the client performing the mutation. - """ - limit: int + discussionId - ID of the discussion to be closed. - _args: HTMLArgs + reason - The reason why the discussion is being closed. + """ + client_mutation_id: Optional[str] = None + discussion_id: ID + reason: Optional[DiscussionCloseReason] = None -class VOMNP_URI_Field(ArguedStr): - """ - VOMNP_URI_Field - A URL pointing to the GitHub App's public avatar. - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. +@dataclass(kw_only=True) +class ClosePullRequestInput: + """ + ClosePullRequestInput - Autogenerated input type of ClosePullRequest - """ - size: int + clientMutationId - A unique identifier for the client performing the mutation. - _args: URIArgs + pullRequestId - ID of the pull request to be closed. + """ + client_mutation_id: Optional[str] = None + pull_request_id: ID -class WorkflowRunOrder(GQLObject): - """ - WorkflowRunOrder - Ways in which lists of workflow runs can be ordered upon return. - field - The field by which to order workflows. +@dataclass(kw_only=True) +class CommitAuthor: + """ + CommitAuthor - Specifies an author for filtering Git commits. - direction - The direction in which to order workflow runs by the specified field. + emails - Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. - """ - field: WorkflowRunOrderField - direction: OrderDirection + id - ID of a User to filter by. If non-null, only commits authored by this user + will be returned. This field takes precedence over emails. -class VerifyVerifiableDomainInput(GQLObject): - """ - VerifyVerifiableDomainInput - Autogenerated input type of VerifyVerifiableDomain + """ - id - The ID of the verifiable domain to verify. + emails: Optional[list[str]] = None + id: Optional[ID] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - clientMutationId: str +@dataclass(kw_only=True) +class CommitAuthorEmailPatternParametersInput: + """ + CommitAuthorEmailPatternParametersInput - Parameters to be used for the commit_author_email_pattern rule -class UserStatusOrder(GQLObject): - """ - UserStatusOrder - Ordering options for user status connections. + name - How this rule will appear to users. - field - The field to order user statuses by. + negate - If true, the rule will fail if the pattern matches. - direction - The ordering direction. + operator - The operator to use for matching. - """ - field: UserStatusOrderField - direction: OrderDirection + pattern - The pattern to match with. -class UpdateTopicsInput(GQLObject): - """ - UpdateTopicsInput - Autogenerated input type of UpdateTopics + """ - repositoryId - The Node ID of the repository. + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str - topicNames - An array of topic names. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CommitMessage: + """ + CommitMessage - A message to include with a new commit - """ - repositoryId: ID - topicNames: list[str] - clientMutationId: str + body - The body of the message. -class UpdateTeamDiscussionInput(GQLObject): - """ - UpdateTeamDiscussionInput - Autogenerated input type of UpdateTeamDiscussion + headline - The headline of the message. - id - The Node ID of the discussion to modify. + """ - title - The updated title of the discussion. + body: Optional[str] = None + headline: str - body - The updated text of the discussion. - bodyVersion - The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. +@dataclass(kw_only=True) +class CommitMessagePatternParametersInput: + """ + CommitMessagePatternParametersInput - Parameters to be used for the commit_message_pattern rule - pinned - If provided, sets the pinned state of the updated discussion. + name - How this rule will appear to users. - clientMutationId - A unique identifier for the client performing the mutation. + negate - If true, the rule will fail if the pattern matches. - """ - id: ID - title: str - body: str - bodyVersion: str - pinned: bool - clientMutationId: str + operator - The operator to use for matching. -class UpdateSubscriptionInput(GQLObject): - """ - UpdateSubscriptionInput - Autogenerated input type of UpdateSubscription + pattern - The pattern to match with. - subscribableId - The Node ID of the subscribable object to modify. + """ - state - The new state of the subscription. + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str - clientMutationId - A unique identifier for the client performing the mutation. - """ - subscribableId: ID - state: SubscriptionState - clientMutationId: str +@dataclass(kw_only=True) +class CommitterEmailPatternParameters: + """ + CommitterEmailPatternParameters - Parameters to be used for the committer_email_pattern rule -class UpdateRepositoryWebCommitSignoffSettingInput(GQLObject): - """ - UpdateRepositoryWebCommitSignoffSettingInput - Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting + name - How this rule will appear to users. - repositoryId - The ID of the repository to update. + negate - If true, the rule will fail if the pattern matches. - webCommitSignoffRequired - Indicates if the repository should require signoff on web-based commits. + operator - The operator to use for matching. - clientMutationId - A unique identifier for the client performing the mutation. + pattern - The pattern to match with. - """ - repositoryId: ID - webCommitSignoffRequired: bool - clientMutationId: str + """ -class UpdateRefInput(GQLObject): - """ - UpdateRefInput - Autogenerated input type of UpdateRef + name: Optional[str] = None + negate: bool + operator: str + pattern: str - refId - The Node ID of the Ref to be updated. - oid - The GitObjectID that the Ref shall be updated to target. +@dataclass(kw_only=True) +class ContributingGuidelines: + """ + ContributingGuidelines - The Contributing Guidelines for a repository. - force - Permit updates of branch Refs that are not fast-forwards? + body - The body of the Contributing Guidelines. - clientMutationId - A unique identifier for the client performing the mutation. + resourcePath - The HTTP path for the Contributing Guidelines. - """ - refId: ID - oid: GitObjectID - force: bool - clientMutationId: str + url - The HTTP URL for the Contributing Guidelines. -class UpdatePullRequestReviewCommentInput(GQLObject): - """ - UpdatePullRequestReviewCommentInput - Autogenerated input type of UpdatePullRequestReviewComment + """ - pullRequestReviewCommentId - The Node ID of the comment to modify. + body: Optional[str] = None + resource_path: Optional[URI] = None + url: Optional[URI] = None - body - The text of the comment. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ContributionCalendarMonth: + """ + ContributionCalendarMonth - A month of contributions in a user's contribution graph. - """ - pullRequestReviewCommentId: ID - body: str - clientMutationId: str + firstDay - The date of the first day of this month. -class UpdatePullRequestBranchInput(GQLObject): - """ - UpdatePullRequestBranchInput - Autogenerated input type of UpdatePullRequestBranch + name - The name of the month. - pullRequestId - The Node ID of the pull request. + totalWeeks - How many weeks started in this month. - expectedHeadOid - The head ref oid for the upstream branch. + year - The year the month occurred in. - updateMethod - The update branch method to use. If omitted, defaults to 'MERGE' + """ - clientMutationId - A unique identifier for the client performing the mutation. + first_day: Date + name: str + total_weeks: int + year: int - """ - pullRequestId: ID - expectedHeadOid: GitObjectID - updateMethod: PullRequestBranchUpdateMethod - clientMutationId: str -class UpdateProjectV2Input(GQLObject): - """ - UpdateProjectV2Input - Autogenerated input type of UpdateProjectV2 +@dataclass(kw_only=True) +class ConvertProjectCardNoteToIssueInput: + """ + ConvertProjectCardNoteToIssueInput - Autogenerated input type of ConvertProjectCardNoteToIssue - projectId - The ID of the Project to update. + body - The body of the newly created issue. - title - Set the title of the project. + clientMutationId - A unique identifier for the client performing the mutation. - shortDescription - Set the short description of the project. + projectCardId - The ProjectCard ID to convert. - readme - Set the readme description of the project. + repositoryId - The ID of the repository to create the issue in. - closed - Set the project to closed or open. + title - The title of the newly created issue. Defaults to the card's note text. - public - Set the project to public or private. + """ - clientMutationId - A unique identifier for the client performing the mutation. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + project_card_id: ID + repository_id: ID + title: Optional[str] = None - """ - projectId: ID - title: str - shortDescription: str - readme: str - closed: bool - public: bool - clientMutationId: str -class UpdateProjectInput(GQLObject): - """ - UpdateProjectInput - Autogenerated input type of UpdateProject +@dataclass(kw_only=True) +class CopyProjectV2Input: + """ + CopyProjectV2Input - Autogenerated input type of CopyProjectV2 - projectId - The Project ID to update. + clientMutationId - A unique identifier for the client performing the mutation. - name - The name of project. + includeDraftIssues - Include draft issues in the new project - body - The description of project. + ownerId - The owner ID of the new project. - state - Whether the project is open or closed. + projectId - The ID of the source Project to copy. - public - Whether the project is public or not. + title - The title of the project. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - projectId: ID - name: str - body: str - state: ProjectState - public: bool - clientMutationId: str + client_mutation_id: Optional[str] = None + include_draft_issues: Optional[bool] = None + owner_id: ID + project_id: ID + title: str -class UpdateProjectCardInput(GQLObject): - """ - UpdateProjectCardInput - Autogenerated input type of UpdateProjectCard - projectCardId - The ProjectCard ID to update. +@dataclass(kw_only=True) +class CreateCheckSuiteInput: + """ + CreateCheckSuiteInput - Autogenerated input type of CreateCheckSuite - isArchived - Whether or not the ProjectCard should be archived + clientMutationId - A unique identifier for the client performing the mutation. - note - The note of ProjectCard. + headSha - The SHA of the head commit. - clientMutationId - A unique identifier for the client performing the mutation. + repositoryId - The Node ID of the repository. - """ - projectCardId: ID - isArchived: bool - note: str - clientMutationId: str + """ -class UpdateParameters(GQLObject): - """ - UpdateParameters - Only allow users with bypass permission to update matching refs. + client_mutation_id: Optional[str] = None + head_sha: GitObjectID + repository_id: ID - updateAllowsFetchAndMerge - Branch can pull changes from its upstream repository - """ - updateAllowsFetchAndMerge: bool +@dataclass(kw_only=True) +class CreateDeploymentStatusInput: + """ + CreateDeploymentStatusInput - Autogenerated input type of CreateDeploymentStatus -class UpdateOrganizationAllowPrivateRepositoryForkingSettingInput(GQLObject): - """ - UpdateOrganizationAllowPrivateRepositoryForkingSettingInput - Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting + autoInactive - Adds a new inactive status to all non-transient, non-production environment + deployments with the same repository and environment name as the created + status's deployment. - organizationId - The ID of the organization on which to set the allow private repository forking setting. + clientMutationId - A unique identifier for the client performing the mutation. - forkingEnabled - Enable forking of private repositories in the organization? + deploymentId - The node ID of the deployment. - clientMutationId - A unique identifier for the client performing the mutation. + description - A short description of the status. Maximum length of 140 characters. - """ - organizationId: ID - forkingEnabled: bool - clientMutationId: str + environment - If provided, updates the environment of the deploy. Otherwise, does not modify the environment. -class UpdateIssueInput(GQLObject): - """ - UpdateIssueInput - Autogenerated input type of UpdateIssue + environmentUrl - Sets the URL for accessing your environment. - id - The ID of the Issue to modify. + logUrl - The log URL to associate with this status. This URL should contain + output to keep the user updated while the task is running or serve as + historical information for what happened in the deployment. - title - The title for the issue. + state - The state of the deployment. - body - The body for the issue description. + """ - assigneeIds - An array of Node IDs of users for this issue. + auto_inactive: Optional[bool] = None + client_mutation_id: Optional[str] = None + deployment_id: ID + description: Optional[str] = None + environment: Optional[str] = None + environment_url: Optional[str] = None + log_url: Optional[str] = None + state: DeploymentStatusState - milestoneId - The Node ID of the milestone for this issue. - labelIds - An array of Node IDs of labels for this issue. +@dataclass(kw_only=True) +class CreateEnterpriseOrganizationInput: + """ + CreateEnterpriseOrganizationInput - Autogenerated input type of CreateEnterpriseOrganization - state - The desired issue state. + adminLogins - The logins for the administrators of the new organization. - projectIds - An array of Node IDs for projects associated with this issue. + billingEmail - The email used for sending billing receipts. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - title: str - body: str - assigneeIds: list[ID] - milestoneId: ID - labelIds: list[ID] - state: IssueState - projectIds: list[ID] - clientMutationId: str + enterpriseId - The ID of the enterprise owning the new organization. -class UpdateIpAllowListForInstalledAppsEnabledSettingInput(GQLObject): - """ - UpdateIpAllowListForInstalledAppsEnabledSettingInput - Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting + login - The login of the new organization. - ownerId - The ID of the owner. + profileName - The profile name of the new organization. - settingValue - The value for the IP allow list configuration for installed GitHub Apps setting. + """ - clientMutationId - A unique identifier for the client performing the mutation. + admin_logins: list[str] + billing_email: str + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str + profile_name: str - """ - ownerId: ID - settingValue: IpAllowListForInstalledAppsEnabledSettingValue - clientMutationId: str -class UpdateIpAllowListEnabledSettingInput(GQLObject): - """ - UpdateIpAllowListEnabledSettingInput - Autogenerated input type of UpdateIpAllowListEnabledSetting +@dataclass(kw_only=True) +class CreateIpAllowListEntryInput: + """ + CreateIpAllowListEntryInput - Autogenerated input type of CreateIpAllowListEntry - ownerId - The ID of the owner on which to set the IP allow list enabled setting. + allowListValue - An IP address or range of addresses in CIDR notation. - settingValue - The value for the IP allow list enabled setting. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + isActive - Whether the IP allow list entry is active when an IP allow list is enabled. - """ - ownerId: ID - settingValue: IpAllowListEnabledSettingValue - clientMutationId: str + name - An optional name for the IP allow list entry. -class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput(GQLObject): - """ - UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput - Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting + ownerId - The ID of the owner for which to create the new IP allow list entry. - enterpriseId - The ID of the enterprise on which to set the two factor authentication required setting. + """ - settingValue - The value for the two factor authentication required setting on the enterprise. + allow_list_value: str + client_mutation_id: Optional[str] = None + is_active: bool + name: Optional[str] = None + owner_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledSettingValue - clientMutationId: str +@dataclass(kw_only=True) +class CreateLabelInput: + """ + CreateLabelInput - Autogenerated input type of CreateLabel -class UpdateEnterpriseRepositoryProjectsSettingInput(GQLObject): - """ - UpdateEnterpriseRepositoryProjectsSettingInput - Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting + clientMutationId - A unique identifier for the client performing the mutation. - enterpriseId - The ID of the enterprise on which to set the repository projects setting. + color - A 6 character hex code, without the leading #, identifying the color of the label. - settingValue - The value for the repository projects setting on the enterprise. + description - A brief description of the label, such as its purpose. - clientMutationId - A unique identifier for the client performing the mutation. + name - The name of the label. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str + repositoryId - The Node ID of the repository. -class UpdateEnterpriseOwnerOrganizationRolePayload(GQLObject): - """ - UpdateEnterpriseOwnerOrganizationRolePayload - Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + color: str + description: Optional[str] = None + name: str + repository_id: ID - message - A message confirming the result of changing the owner's organization role. - """ - clientMutationId: str - message: str +@dataclass(kw_only=True) +class CreateMigrationSourceInput: + """ + CreateMigrationSourceInput - Autogenerated input type of CreateMigrationSource -class UpdateEnterpriseOrganizationProjectsSettingInput(GQLObject): - """ - UpdateEnterpriseOrganizationProjectsSettingInput - Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting + accessToken - The migration source access token. - enterpriseId - The ID of the enterprise on which to set the organization projects setting. + clientMutationId - A unique identifier for the client performing the mutation. - settingValue - The value for the organization projects setting on the enterprise. + githubPat - The GitHub personal access token of the user importing to the target repository. - clientMutationId - A unique identifier for the client performing the mutation. + name - The migration source name. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str + ownerId - The ID of the organization that will own the migration source. -class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting + type - The migration source type. - enterpriseId - The ID of the enterprise on which to set the members can update protected branches setting. + url - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. - settingValue - The value for the members can update protected branches setting on the enterprise. + """ - clientMutationId - A unique identifier for the client performing the mutation. + access_token: Optional[str] = None + client_mutation_id: Optional[str] = None + github_pat: Optional[str] = None + name: str + owner_id: ID + type: MigrationSourceType + url: Optional[str] = None - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str -class UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting +@dataclass(kw_only=True) +class CreateProjectV2Input: + """ + CreateProjectV2Input - Autogenerated input type of CreateProjectV2 - enterpriseId - The ID of the enterprise on which to set the members can invite collaborators setting. + clientMutationId - A unique identifier for the client performing the mutation. - settingValue - The value for the members can invite collaborators setting on the enterprise. + ownerId - The owner ID to create the project under. - clientMutationId - A unique identifier for the client performing the mutation. + repositoryId - The repository to link the project to. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str + teamId - The team to link the project to. The team will be granted read permissions. -class UpdateEnterpriseMembersCanDeleteIssuesSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanDeleteIssuesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting + title - The title of the project. - enterpriseId - The ID of the enterprise on which to set the members can delete issues setting. + """ - settingValue - The value for the members can delete issues setting on the enterprise. + client_mutation_id: Optional[str] = None + owner_id: ID + repository_id: Optional[ID] = None + team_id: Optional[ID] = None + title: str - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str +@dataclass(kw_only=True) +class CreateRefInput: + """ + CreateRefInput - Autogenerated input type of CreateRef -class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput - Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting + clientMutationId - A unique identifier for the client performing the mutation. - enterpriseId - The ID of the enterprise on which to set the members can change repository visibility setting. + name - The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). - settingValue - The value for the members can change repository visibility setting on the enterprise. + oid - The GitObjectID that the new Ref shall target. Must point to a commit. - clientMutationId - A unique identifier for the client performing the mutation. + repositoryId - The Node ID of the Repository to create the Ref in. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str + """ -class UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput(GQLObject): - """ - UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput - Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting + client_mutation_id: Optional[str] = None + name: str + oid: GitObjectID + repository_id: ID - enterpriseId - The ID of the enterprise on which to set the allow private repository forking setting. - settingValue - The value for the allow private repository forking setting on the enterprise. +@dataclass(kw_only=True) +class CreateSponsorsListingInput: + """ + CreateSponsorsListingInput - Autogenerated input type of CreateSponsorsListing - policyValue - The value for the allow private repository forking policy on the enterprise. + billingCountryOrRegionCode - The country or region where the sponsorable's bank account is located. + Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - policyValue: EnterpriseAllowPrivateRepositoryForkingPolicyValue - clientMutationId: str + contactEmail - The email address we should use to contact you about the GitHub Sponsors + profile being created. This will not be shared publicly. Must be a verified + email address already on your GitHub account. Only relevant when the + sponsorable is yourself. Defaults to your primary email address on file if omitted. -class UpdateEnterpriseAdministratorRoleInput(GQLObject): - """ - UpdateEnterpriseAdministratorRoleInput - Autogenerated input type of UpdateEnterpriseAdministratorRole + fiscalHostLogin - The username of the supported fiscal host's GitHub organization, if you want + to receive sponsorship payouts through a fiscal host rather than directly to a + bank account. For example, 'Open-Source-Collective' for Open Source Collective + or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts + for more information. - enterpriseId - The ID of the Enterprise which the admin belongs to. + fiscallyHostedProjectProfileUrl - The URL for your profile page on the fiscal host's website, e.g., + https://opencollective.com/babel or https://numfocus.org/project/bokeh. + Required if fiscalHostLogin is specified. - login - The login of a administrator whose role is being changed. + fullDescription - Provide an introduction to serve as the main focus that appears on your GitHub + Sponsors profile. It's a great opportunity to help potential sponsors learn + more about you, your work, and why their sponsorship is important to you. + GitHub-flavored Markdown is supported. - role - The new role for the Enterprise administrator. + residenceCountryOrRegionCode - The country or region where the sponsorable resides. This is for tax purposes. + Required if the sponsorable is yourself, ignored when sponsorableLogin + specifies an organization. - clientMutationId - A unique identifier for the client performing the mutation. + sponsorableLogin - The username of the organization to create a GitHub Sponsors profile for, if + desired. Defaults to creating a GitHub Sponsors profile for the authenticated + user if omitted. - """ - enterpriseId: ID - login: str - role: EnterpriseAdministratorRole - clientMutationId: str + """ -class UpdateDiscussionCommentInput(GQLObject): - """ - UpdateDiscussionCommentInput - Autogenerated input type of UpdateDiscussionComment + billing_country_or_region_code: Optional[SponsorsCountryOrRegionCode] = None + client_mutation_id: Optional[str] = None + contact_email: Optional[str] = None + fiscal_host_login: Optional[str] = None + fiscally_hosted_project_profile_url: Optional[str] = None + full_description: Optional[str] = None + residence_country_or_region_code: Optional[SponsorsCountryOrRegionCode] = None + sponsorable_login: Optional[str] = None - commentId - The Node ID of the discussion comment to update. - body - The new contents of the comment body. +@dataclass(kw_only=True) +class CreateSponsorshipInput: + """ + CreateSponsorshipInput - Autogenerated input type of CreateSponsorship - clientMutationId - A unique identifier for the client performing the mutation. + amount - The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000. - """ - commentId: ID - body: str - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class Updatable(GQLObject): - """ - Updatable - Entities that can be updated. + isRecurring - Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. - viewerCanUpdate - Check if the current viewer can update this object. + privacyLevel - Specify whether others should be able to see that the sponsor is sponsoring + the sponsorable. Public visibility still does not reveal which tier is used. - """ - viewerCanUpdate: bool + receiveEmails - Whether the sponsor should receive email updates from the sponsorable. -class UnpinIssueInput(GQLObject): - """ - UnpinIssueInput - Autogenerated input type of UnpinIssue + sponsorId - The ID of the user or organization who is acting as the sponsor, paying for + the sponsorship. Required if sponsorLogin is not given. - issueId - The ID of the issue to be unpinned + sponsorLogin - The username of the user or organization who is acting as the sponsor, paying + for the sponsorship. Required if sponsorId is not given. - clientMutationId - A unique identifier for the client performing the mutation. + sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. - """ - issueId: ID - clientMutationId: str + sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. -class UnmarkProjectV2AsTemplateInput(GQLObject): - """ - UnmarkProjectV2AsTemplateInput - Autogenerated input type of UnmarkProjectV2AsTemplate + tierId - The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified. - projectId - The ID of the Project to unmark as a template. + """ - clientMutationId - A unique identifier for the client performing the mutation. + amount: Optional[int] = None + client_mutation_id: Optional[str] = None + is_recurring: Optional[bool] = None + privacy_level: Optional[SponsorshipPrivacy] = None + receive_emails: Optional[bool] = None + sponsor_id: Optional[ID] = None + sponsor_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None + tier_id: Optional[ID] = None - """ - projectId: ID - clientMutationId: str -class UnmarkFileAsViewedInput(GQLObject): - """ - UnmarkFileAsViewedInput - Autogenerated input type of UnmarkFileAsViewed +@dataclass(kw_only=True) +class CreateTeamDiscussionInput: + """ + CreateTeamDiscussionInput - Autogenerated input type of CreateTeamDiscussion - pullRequestId - The Node ID of the pull request. + body - The content of the discussion. This field is required. - path - The path of the file to mark as unviewed + **Upcoming Change on 2024-07-01 UTC** + **Description:** `body` will be removed. Follow the guide at + https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + find a suitable replacement. + **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - pullRequestId: ID - path: str - clientMutationId: str + private - If true, restricts the visibility of this discussion to team members and + organization owners. If false or not specified, allows any organization member + to view this discussion. -class UnlockLockableInput(GQLObject): - """ - UnlockLockableInput - Autogenerated input type of UnlockLockable + **Upcoming Change on 2024-07-01 UTC** + **Description:** `private` will be removed. Follow the guide at + https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + find a suitable replacement. + **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - lockableId - ID of the item to be unlocked. + teamId - The ID of the team to which the discussion belongs. This field is required. - clientMutationId - A unique identifier for the client performing the mutation. + **Upcoming Change on 2024-07-01 UTC** + **Description:** `teamId` will be removed. Follow the guide at + https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + find a suitable replacement. + **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - lockableId: ID - clientMutationId: str + title - The title of the discussion. This field is required. -class UnlinkProjectV2FromTeamInput(GQLObject): - """ - UnlinkProjectV2FromTeamInput - Autogenerated input type of UnlinkProjectV2FromTeam + **Upcoming Change on 2024-07-01 UTC** + **Description:** `title` will be removed. Follow the guide at + https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + find a suitable replacement. + **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - projectId - The ID of the project to unlink from the team. + """ - teamId - The ID of the team to unlink from the project. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + private: Optional[bool] = None + team_id: Optional[ID] = None + title: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - teamId: ID - clientMutationId: str +@dataclass(kw_only=True) +class DeclineTopicSuggestionInput: + """ + DeclineTopicSuggestionInput - Autogenerated input type of DeclineTopicSuggestion -class UniformResourceLocatable(GQLObject): - """ - UniformResourceLocatable - Represents a type that can be retrieved by a URL. + clientMutationId - A unique identifier for the client performing the mutation. - resourcePath - The HTML path to this resource. + name - The name of the suggested topic. - url - The URL to this resource. + **Upcoming Change on 2024-04-01 UTC** + **Description:** `name` will be removed. + **Reason:** Suggested topics are no longer supported - """ - resourcePath: URI - url: URI + reason - The reason why the suggested topic is declined. -class UnfollowOrganizationInput(GQLObject): - """ - UnfollowOrganizationInput - Autogenerated input type of UnfollowOrganization + **Upcoming Change on 2024-04-01 UTC** + **Description:** `reason` will be removed. + **Reason:** Suggested topics are no longer supported - organizationId - ID of the organization to unfollow. + repositoryId - The Node ID of the repository. - clientMutationId - A unique identifier for the client performing the mutation. + **Upcoming Change on 2024-04-01 UTC** + **Description:** `repositoryId` will be removed. + **Reason:** Suggested topics are no longer supported - """ - organizationId: ID - clientMutationId: str + """ -class UnarchiveProjectV2ItemInput(GQLObject): - """ - UnarchiveProjectV2ItemInput - Autogenerated input type of UnarchiveProjectV2Item + client_mutation_id: Optional[str] = None + name: Optional[str] = None + reason: Optional[TopicSuggestionDeclineReason] = None + repository_id: Optional[ID] = None - projectId - The ID of the Project to archive the item from. - itemId - The ID of the ProjectV2Item to unarchive. +@dataclass(kw_only=True) +class DeleteBranchProtectionRuleInput: + """ + DeleteBranchProtectionRuleInput - Autogenerated input type of DeleteBranchProtectionRule - clientMutationId - A unique identifier for the client performing the mutation. + branchProtectionRuleId - The global relay id of the branch protection rule to be deleted. - """ - projectId: ID - itemId: ID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class TransferEnterpriseOrganizationInput(GQLObject): - """ - TransferEnterpriseOrganizationInput - Autogenerated input type of TransferEnterpriseOrganization + """ - organizationId - The ID of the organization to transfer. + branch_protection_rule_id: ID + client_mutation_id: Optional[str] = None - destinationEnterpriseId - The ID of the enterprise where the organization should be transferred. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class DeleteDeploymentInput: + """ + DeleteDeploymentInput - Autogenerated input type of DeleteDeployment - """ - organizationId: ID - destinationEnterpriseId: ID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class TeamRepositoryOrder(GQLObject): - """ - TeamRepositoryOrder - Ordering options for team repository connections + id - The Node ID of the deployment to be deleted. - field - The field to order repositories by. + """ - direction - The ordering direction. + client_mutation_id: Optional[str] = None + id: ID - """ - field: TeamRepositoryOrderField - direction: OrderDirection -class TeamMemberOrder(GQLObject): - """ - TeamMemberOrder - Ordering options for team member connections +@dataclass(kw_only=True) +class DeleteDiscussionCommentInput: + """ + DeleteDiscussionCommentInput - Autogenerated input type of DeleteDiscussionComment - field - The field to order team members by. + clientMutationId - A unique identifier for the client performing the mutation. - direction - The ordering direction. + id - The Node id of the discussion comment to delete. - """ - field: TeamMemberOrderField - direction: OrderDirection + """ -class TeamDiscussionCommentOrder(GQLObject): - """ - TeamDiscussionCommentOrder - Ways in which team discussion comment connections can be ordered. + client_mutation_id: Optional[str] = None + id: ID - field - The field by which to order nodes. - direction - The direction in which to order nodes. +@dataclass(kw_only=True) +class DeleteEnvironmentInput: + """ + DeleteEnvironmentInput - Autogenerated input type of DeleteEnvironment - """ - field: TeamDiscussionCommentOrderField - direction: OrderDirection + clientMutationId - A unique identifier for the client performing the mutation. -class TagNamePatternParameters(GQLObject): - """ - TagNamePatternParameters - Parameters to be used for the tag_name_pattern rule + id - The Node ID of the environment to be deleted. - name - How this rule will appear to users. + """ - negate - If true, the rule will fail if the pattern matches. + client_mutation_id: Optional[str] = None + id: ID - operator - The operator to use for matching. - pattern - The pattern to match with. +@dataclass(kw_only=True) +class DeleteIpAllowListEntryInput: + """ + DeleteIpAllowListEntryInput - Autogenerated input type of DeleteIpAllowListEntry - """ - name: str - negate: bool - operator: str - pattern: str + clientMutationId - A unique identifier for the client performing the mutation. -class Subscribable(GQLObject): - """ - Subscribable - Entities that can be subscribed to for web and email notifications. + ipAllowListEntryId - The ID of the IP allow list entry to delete. - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + """ - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + client_mutation_id: Optional[str] = None + ip_allow_list_entry_id: ID - """ - id: ID - viewerCanSubscribe: bool - viewerSubscription: SubscriptionState -class SubmitPullRequestReviewInput(GQLObject): - """ - SubmitPullRequestReviewInput - Autogenerated input type of SubmitPullRequestReview +@dataclass(kw_only=True) +class DeleteIssueCommentPayload: + """ + DeleteIssueCommentPayload - Autogenerated return type of DeleteIssueComment - pullRequestId - The Pull Request ID to submit any pending reviews. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequestReviewId - The Pull Request Review ID to submit. + """ - event - The event to send to the Pull Request Review. + client_mutation_id: Optional[str] = None - body - The text field to set on the Pull Request Review. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class DeleteLabelInput: + """ + DeleteLabelInput - Autogenerated input type of DeleteLabel - """ - pullRequestId: ID - pullRequestReviewId: ID - event: PullRequestReviewEvent - body: str - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class StatusCheckConfigurationInput(GQLObject): - """ - StatusCheckConfigurationInput - Required status check + id - The Node ID of the label to be deleted. - context - The status check context name that must be present on the commit. + """ - integrationId - The optional integration ID that this status check must originate from. + client_mutation_id: Optional[str] = None + id: ID - """ - context: str - integrationId: int -class StartRepositoryMigrationInput(GQLObject): - """ - StartRepositoryMigrationInput - Autogenerated input type of StartRepositoryMigration +@dataclass(kw_only=True) +class DeleteLinkedBranchInput: + """ + DeleteLinkedBranchInput - Autogenerated input type of DeleteLinkedBranch - sourceId - The ID of the migration source. + clientMutationId - A unique identifier for the client performing the mutation. - ownerId - The ID of the organization that will own the imported repository. + linkedBranchId - The ID of the linked branch - sourceRepositoryUrl - The URL of the source repository. + """ - repositoryName - The name of the imported repository. + client_mutation_id: Optional[str] = None + linked_branch_id: ID - continueOnError - Whether to continue the migration on error. Defaults to `false`. We strongly recommend setting this to `true` for the smoothest migration experience. *This default will change to `true` on September 4, 2023.* - gitArchiveUrl - The signed URL to access the user-uploaded git archive. +@dataclass(kw_only=True) +class DeletePackageVersionPayload: + """ + DeletePackageVersionPayload - Autogenerated return type of DeletePackageVersion - metadataArchiveUrl - The signed URL to access the user-uploaded metadata archive. + clientMutationId - A unique identifier for the client performing the mutation. - accessToken - The migration source access token. + success - Whether or not the operation succeeded. - githubPat - The GitHub personal access token of the user importing to the target repository. + """ - skipReleases - Whether to skip migrating releases for the repository. + client_mutation_id: Optional[str] = None + success: Optional[bool] = None - targetRepoVisibility - The visibility of the imported repository. - lockSource - Whether to lock the source repository. +@dataclass(kw_only=True) +class DeleteProjectColumnInput: + """ + DeleteProjectColumnInput - Autogenerated input type of DeleteProjectColumn - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - sourceId: ID - ownerId: ID - sourceRepositoryUrl: URI - repositoryName: str - continueOnError: bool - gitArchiveUrl: str - metadataArchiveUrl: str - accessToken: str - githubPat: str - skipReleases: bool - targetRepoVisibility: str - lockSource: bool - clientMutationId: str + columnId - The id of the column to delete. -class StarOrder(GQLObject): - """ - StarOrder - Ways in which star connections can be ordered. + """ - field - The field in which to order nodes by. + client_mutation_id: Optional[str] = None + column_id: ID - direction - The direction in which to order nodes. - """ - field: StarOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class DeleteProjectV2FieldInput: + """ + DeleteProjectV2FieldInput - Autogenerated input type of DeleteProjectV2Field -class SponsorshipNewsletterOrder(GQLObject): - """ - SponsorshipNewsletterOrder - Ordering options for sponsorship newsletter connections. + clientMutationId - A unique identifier for the client performing the mutation. - field - The field to order sponsorship newsletters by. + fieldId - The ID of the field to delete. - direction - The ordering direction. + """ - """ - field: SponsorshipNewsletterOrderField - direction: OrderDirection + client_mutation_id: Optional[str] = None + field_id: ID -class SponsorsGoal(GQLObject): - """ - SponsorsGoal - A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. - description - A description of the goal from the maintainer. +@dataclass(kw_only=True) +class DeleteProjectV2ItemInput: + """ + DeleteProjectV2ItemInput - Autogenerated input type of DeleteProjectV2Item - kind - What the objective of this goal is. + clientMutationId - A unique identifier for the client performing the mutation. - percentComplete - The percentage representing how complete this goal is, between 0-100. + itemId - The ID of the item to be removed. - targetValue - What the goal amount is. Represents an amount in USD for monthly sponsorship amount goals. Represents a count of unique sponsors for total sponsors count goals. + projectId - The ID of the Project from which the item should be removed. - title - A brief summary of the kind and target value of this goal. + """ - """ - description: str - kind: SponsorsGoalKind - percentComplete: int - targetValue: int - title: str + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID -class SponsorableOrder(GQLObject): - """ - SponsorableOrder - Ordering options for connections to get sponsorable entities for GitHub Sponsors. - field - The field to order sponsorable entities by. +@dataclass(kw_only=True) +class DeleteProjectV2WorkflowInput: + """ + DeleteProjectV2WorkflowInput - Autogenerated input type of DeleteProjectV2Workflow - direction - The ordering direction. + clientMutationId - A unique identifier for the client performing the mutation. - """ - field: SponsorableOrderField - direction: OrderDirection + workflowId - The ID of the workflow to be removed. -class SocialAccount(GQLObject): - """ - SocialAccount - Social media profile associated with a user. + """ - displayName - Name of the social media account as it appears on the profile. + client_mutation_id: Optional[str] = None + workflow_id: ID - provider - Software or company that hosts the social media account. - url - URL of the social media account. +@dataclass(kw_only=True) +class DeletePullRequestReviewInput: + """ + DeletePullRequestReviewInput - Autogenerated input type of DeletePullRequestReview - """ - displayName: str - provider: SocialAccountProvider - url: URI + clientMutationId - A unique identifier for the client performing the mutation. -class SetRepositoryInteractionLimitInput(GQLObject): - """ - SetRepositoryInteractionLimitInput - Autogenerated input type of SetRepositoryInteractionLimit + pullRequestReviewId - The Node ID of the pull request review to delete. - repositoryId - The ID of the repository to set a limit for. + """ - limit - The limit to set. + client_mutation_id: Optional[str] = None + pull_request_review_id: ID - expiry - When this limit should expire. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class DeleteRefPayload: + """ + DeleteRefPayload - Autogenerated return type of DeleteRef - """ - repositoryId: ID - limit: RepositoryInteractionLimit - expiry: RepositoryInteractionLimitExpiry - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class SetEnterpriseIdentityProviderInput(GQLObject): - """ - SetEnterpriseIdentityProviderInput - Autogenerated input type of SetEnterpriseIdentityProvider + """ - enterpriseId - The ID of the enterprise on which to set an identity provider. + client_mutation_id: Optional[str] = None - ssoUrl - The URL endpoint for the identity provider's SAML SSO. - issuer - The Issuer Entity ID for the SAML identity provider +@dataclass(kw_only=True) +class DeleteRepositoryRulesetPayload: + """ + DeleteRepositoryRulesetPayload - Autogenerated return type of DeleteRepositoryRuleset - idpCertificate - The x509 certificate used by the identity provider to sign assertions and responses. + clientMutationId - A unique identifier for the client performing the mutation. - signatureMethod - The signature algorithm used to sign SAML requests for the identity provider. + """ - digestMethod - The digest algorithm used to sign SAML requests for the identity provider. + client_mutation_id: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - ssoUrl: URI - issuer: str - idpCertificate: str - signatureMethod: SamlSignatureAlgorithm - digestMethod: SamlDigestAlgorithm - clientMutationId: str +@dataclass(kw_only=True) +class DeleteTeamDiscussionCommentPayload: + """ + DeleteTeamDiscussionCommentPayload - Autogenerated return type of DeleteTeamDiscussionComment -class SecurityAdvisoryReference(GQLObject): - """ - SecurityAdvisoryReference - A GitHub Security Advisory Reference + clientMutationId - A unique identifier for the client performing the mutation. - url - A publicly accessible reference + """ - """ - url: URI + client_mutation_id: Optional[str] = None -class SecurityAdvisoryPackage(GQLObject): - """ - SecurityAdvisoryPackage - An individual package - ecosystem - The ecosystem the package belongs to, e.g. RUBYGEMS, NPM +@dataclass(kw_only=True) +class DeleteTeamDiscussionPayload: + """ + DeleteTeamDiscussionPayload - Autogenerated return type of DeleteTeamDiscussion - name - The package name + clientMutationId - A unique identifier for the client performing the mutation. - """ - ecosystem: SecurityAdvisoryEcosystem - name: str + """ -class SecurityAdvisoryIdentifierFilter(GQLObject): - """ - SecurityAdvisoryIdentifierFilter - An advisory identifier to filter results on. + client_mutation_id: Optional[str] = None - type - The identifier type. - value - The identifier string. Supports exact or partial matching. +@dataclass(kw_only=True) +class DeleteVerifiableDomainInput: + """ + DeleteVerifiableDomainInput - Autogenerated input type of DeleteVerifiableDomain - """ - type: SecurityAdvisoryIdentifierType - value: str + clientMutationId - A unique identifier for the client performing the mutation. -class SavedReplyOrder(GQLObject): - """ - SavedReplyOrder - Ordering options for saved reply connections. + id - The ID of the verifiable domain to delete. - field - The field to order saved replies by. + """ - direction - The ordering direction. + client_mutation_id: Optional[str] = None + id: ID - """ - field: SavedReplyOrderField - direction: OrderDirection -class RevokeMigratorRoleInput(GQLObject): - """ - RevokeMigratorRoleInput - Autogenerated input type of RevokeMigratorRole +@dataclass(kw_only=True) +class DeployKey: + """ + DeployKey - A repository deploy key. - organizationId - The ID of the organization that the user/team belongs to. + createdAt - Identifies the date and time when the object was created. - actor - The user login or Team slug to revoke the migrator role from. + id - The Node ID of the DeployKey object - actorType - Specifies the type of the actor, can be either USER or TEAM. + key - The deploy key. - clientMutationId - A unique identifier for the client performing the mutation. + readOnly - Whether or not the deploy key is read only. - """ - organizationId: ID - actor: str - actorType: ActorType - clientMutationId: str + title - The deploy key title. -class ReviewStatusHovercardContext(GQLObject): - """ - ReviewStatusHovercardContext - A hovercard context with a message describing the current code review state of the pull -request. + verified - Whether or not the deploy key has been verified. + """ - message - A string describing this context + created_at: DateTime + id: ID + key: str + read_only: bool + title: str + verified: bool - octicon - An octicon to accompany this context - reviewDecision - The current status of the pull request with respect to code review. +@dataclass(kw_only=True) +class DequeuePullRequestInput: + """ + DequeuePullRequestInput - Autogenerated input type of DequeuePullRequest - """ - message: str - octicon: str - reviewDecision: PullRequestReviewDecision + clientMutationId - A unique identifier for the client performing the mutation. -class RetireSponsorsTierInput(GQLObject): - """ - RetireSponsorsTierInput - Autogenerated input type of RetireSponsorsTier + id - The ID of the pull request to be dequeued. - tierId - The ID of the published tier to retire. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + id: ID - """ - tierId: ID - clientMutationId: str -class RerequestCheckSuiteInput(GQLObject): - """ - RerequestCheckSuiteInput - Autogenerated input type of RerequestCheckSuite +@dataclass(kw_only=True) +class DiscussionOrder: + """ + DiscussionOrder - Ways in which lists of discussions can be ordered upon return. - repositoryId - The Node ID of the repository. + direction - The direction in which to order discussions by the specified field. - checkSuiteId - The Node ID of the check suite. + field - The field by which to order discussions. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - repositoryId: ID - checkSuiteId: ID - clientMutationId: str + direction: OrderDirection + field: DiscussionOrderField -class RequiredDeploymentsParametersInput(GQLObject): - """ - RequiredDeploymentsParametersInput - Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. - requiredDeploymentEnvironments - The environments that must be successfully deployed to before branches can be merged. +@dataclass(kw_only=True) +class DismissPullRequestReviewInput: + """ + DismissPullRequestReviewInput - Autogenerated input type of DismissPullRequestReview - """ - requiredDeploymentEnvironments: list[str] + clientMutationId - A unique identifier for the client performing the mutation. -class OGACT_isRequired_Field(ArguedBool): - """ - OGACT_isRequired_Field - Whether this is required to pass before merging for a specific pull request. + message - The contents of the pull request review dismissal message. - """ - class boolArgs(GQLArgsSet, GQLObject): - """ - pullRequestId - The id of the pull request this is required for + pullRequestReviewId - The Node ID of the pull request review to modify. - pullRequestNumber - The number of the pull request this is required for + """ - """ - pullRequestId: ID - pullRequestNumber: int + client_mutation_id: Optional[str] = None + message: str + pull_request_review_id: ID - _args: boolArgs +@dataclass(kw_only=True) +class DraftPullRequestReviewComment: + """ + DraftPullRequestReviewComment - Specifies a review comment to be left with a Pull Request Review. + body - Body of the comment to leave. -class RequestReviewsInput(GQLObject): - """ - RequestReviewsInput - Autogenerated input type of RequestReviews + path - Path to the file being commented on. - pullRequestId - The Node ID of the pull request to modify. + position - Position in the file to leave a comment on. - userIds - The Node IDs of the user to request. + """ - teamIds - The Node IDs of the team to request. + body: str + path: str + position: int - union - Add users to the set rather than replace. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class EnablePullRequestAutoMergeInput: + """ + EnablePullRequestAutoMergeInput - Autogenerated input type of EnablePullRequestAutoMerge - """ - pullRequestId: ID - userIds: list[ID] - teamIds: list[ID] - union: bool - clientMutationId: str + authorEmail - The email address to associate with this merge. -class RepositoryOrder(GQLObject): - """ - RepositoryOrder - Ordering options for repository connections + clientMutationId - A unique identifier for the client performing the mutation. - field - The field to order repositories by. + commitBody - Commit body to use for the commit when the PR is mergable; if omitted, a + default message will be used. NOTE: when merging with a merge queue any input + value for commit message is ignored. - direction - The ordering direction. + commitHeadline - Commit headline to use for the commit when the PR is mergable; if omitted, a + default message will be used. NOTE: when merging with a merge queue any input + value for commit headline is ignored. - """ - field: RepositoryOrderField - direction: OrderDirection + expectedHeadOid - The expected head OID of the pull request. -class RepositoryNameConditionTarget(GQLObject): - """ - RepositoryNameConditionTarget - Parameters to be used for the repository_name condition + mergeMethod - The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging + with a merge queue any input value for merge method is ignored. - exclude - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. + pullRequestId - ID of the pull request to enable auto-merge on. - include - Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. + """ - protected - Target changes that match these patterns will be prevented except by those with bypass permissions. + author_email: Optional[str] = None + client_mutation_id: Optional[str] = None + commit_body: Optional[str] = None + commit_headline: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + merge_method: Optional[PullRequestMergeMethod] = None + pull_request_id: ID - """ - exclude: list[str] - include: list[str] - protected: bool -class RepositoryInvitationOrder(GQLObject): - """ - RepositoryInvitationOrder - Ordering options for repository invitation connections. +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitationOrder: + """ + EnterpriseAdministratorInvitationOrder - Ordering options for enterprise administrator invitation connections - field - The field to order repository invitations by. + direction - The ordering direction. - direction - The ordering direction. + field - The field to order enterprise administrator invitations by. - """ - field: RepositoryInvitationOrderField - direction: OrderDirection + """ -class RepositoryIdConditionTargetInput(GQLObject): - """ - RepositoryIdConditionTargetInput - Parameters to be used for the repository_id condition + direction: OrderDirection + field: EnterpriseAdministratorInvitationOrderField - repositoryIds - One of these repo IDs must match the repo. - """ - repositoryIds: list[ID] +@dataclass(kw_only=True) +class EnterpriseBillingInfo: + """ + EnterpriseBillingInfo - Enterprise billing information visible to enterprise billing managers and owners. -class RepositoryContactLink(GQLObject): - """ - RepositoryContactLink - A repository contact link. + allLicensableUsersCount - The number of licenseable users/emails across the enterprise. - about - The contact link purpose. + assetPacks - The number of data packs used by all organizations owned by the enterprise. - name - The contact link name. + bandwidthQuota - The bandwidth quota in GB for all organizations owned by the enterprise. - url - The contact link URL. + bandwidthUsage - The bandwidth usage in GB for all organizations owned by the enterprise. - """ - about: str - name: str - url: URI + bandwidthUsagePercentage - The bandwidth usage as a percentage of the bandwidth quota. -class ReopenPullRequestInput(GQLObject): - """ - ReopenPullRequestInput - Autogenerated input type of ReopenPullRequest + storageQuota - The storage quota in GB for all organizations owned by the enterprise. - pullRequestId - ID of the pull request to be reopened. + storageUsage - The storage usage in GB for all organizations owned by the enterprise. - clientMutationId - A unique identifier for the client performing the mutation. + storageUsagePercentage - The storage usage as a percentage of the storage quota. - """ - pullRequestId: ID - clientMutationId: str + totalAvailableLicenses - The number of available licenses across all owned organizations based on the unique number of billable users. -class ReopenDiscussionInput(GQLObject): - """ - ReopenDiscussionInput - Autogenerated input type of ReopenDiscussion + totalLicenses - The total number of licenses allocated. - discussionId - ID of the discussion to be reopened. + """ - clientMutationId - A unique identifier for the client performing the mutation. + all_licensable_users_count: int + asset_packs: int + bandwidth_quota: float + bandwidth_usage: float + bandwidth_usage_percentage: int + storage_quota: float + storage_usage: float + storage_usage_percentage: int + total_available_licenses: int + total_licenses: int - """ - discussionId: ID - clientMutationId: str -class RemoveStarInput(GQLObject): - """ - RemoveStarInput - Autogenerated input type of RemoveStar +@dataclass(kw_only=True) +class EnterpriseOrder: + """ + EnterpriseOrder - Ordering options for enterprises. - starrableId - The Starrable ID to unstar. + direction - The ordering direction. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field to order enterprises by. - """ - starrableId: ID - clientMutationId: str + """ -class RemoveOutsideCollaboratorInput(GQLObject): - """ - RemoveOutsideCollaboratorInput - Autogenerated input type of RemoveOutsideCollaborator + direction: OrderDirection + field: EnterpriseOrderField - userId - The ID of the outside collaborator to remove. - organizationId - The ID of the organization to remove the outside collaborator from. +@dataclass(kw_only=True) +class EnterpriseServerInstallationOrder: + """ + EnterpriseServerInstallationOrder - Ordering options for Enterprise Server installation connections. - clientMutationId - A unique identifier for the client performing the mutation. + direction - The ordering direction. - """ - userId: ID - organizationId: ID - clientMutationId: str + field - The field to order Enterprise Server installations by. -class RemoveEnterpriseSupportEntitlementPayload(GQLObject): - """ - RemoveEnterpriseSupportEntitlementPayload - Autogenerated return type of RemoveEnterpriseSupportEntitlement + """ - clientMutationId - A unique identifier for the client performing the mutation. + direction: OrderDirection + field: EnterpriseServerInstallationOrderField - message - A message confirming the result of removing the support entitlement. - """ - clientMutationId: str - message: str +@dataclass(kw_only=True) +class EnterpriseServerUserAccountOrder: + """ + EnterpriseServerUserAccountOrder - Ordering options for Enterprise Server user account connections. -class RemoveEnterpriseOrganizationInput(GQLObject): - """ - RemoveEnterpriseOrganizationInput - Autogenerated input type of RemoveEnterpriseOrganization + direction - The ordering direction. - enterpriseId - The ID of the enterprise from which the organization should be removed. + field - The field to order user accounts by. - organizationId - The ID of the organization to remove from the enterprise. + """ - clientMutationId - A unique identifier for the client performing the mutation. + direction: OrderDirection + field: EnterpriseServerUserAccountOrderField - """ - enterpriseId: ID - organizationId: ID - clientMutationId: str -class RemoveEnterpriseIdentityProviderInput(GQLObject): - """ - RemoveEnterpriseIdentityProviderInput - Autogenerated input type of RemoveEnterpriseIdentityProvider +@dataclass(kw_only=True) +class Environments: + """ + Environments - Ordering options for environments - enterpriseId - The ID of the enterprise from which to remove the identity provider. + direction - The direction in which to order environments by the specified field. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field to order environments by. - """ - enterpriseId: ID - clientMutationId: str + """ -class RemoveAssigneesFromAssignableInput(GQLObject): - """ - RemoveAssigneesFromAssignableInput - Autogenerated input type of RemoveAssigneesFromAssignable + direction: OrderDirection + field: EnvironmentOrderField - assignableId - The id of the assignable object to remove assignees from. - assigneeIds - The id of users to remove as assignees. +@dataclass(kw_only=True) +class FileAddition: + """ + FileAddition - A command to add a file at the given path with the given contents as part of a + commit. Any existing file at that that path will be replaced. - clientMutationId - A unique identifier for the client performing the mutation. + contents - The base64 encoded contents of the file - """ - assignableId: ID - assigneeIds: list[ID] - clientMutationId: str + path - The path in the repository where the file will be located -class RejectDeploymentsInput(GQLObject): - """ - RejectDeploymentsInput - Autogenerated input type of RejectDeployments + """ - workflowRunId - The node ID of the workflow run containing the pending deployments. + contents: Base64String + path: str - environmentIds - The ids of environments to reject deployments - comment - Optional comment for rejecting deployments +@dataclass(kw_only=True) +class FollowOrganizationInput: + """ + FollowOrganizationInput - Autogenerated input type of FollowOrganization - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - workflowRunId: ID - environmentIds: list[ID] - comment: str - clientMutationId: str + organizationId - ID of the organization to follow. -class RegenerateVerifiableDomainTokenInput(GQLObject): - """ - RegenerateVerifiableDomainTokenInput - Autogenerated input type of RegenerateVerifiableDomainToken + """ - id - The ID of the verifiable domain to regenerate the verification token of. + client_mutation_id: Optional[str] = None + organization_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - clientMutationId: str +@dataclass(kw_only=True) +class FundingLink: + """ + FundingLink - A funding platform link for a repository. -class RefUpdateRule(GQLObject): - """ - RefUpdateRule - A ref update rules for a viewer. + platform - The funding platform this link is for. - allowsDeletions - Can this branch be deleted. + url - The configured URL for this funding link. - allowsForcePushes - Are force pushes allowed on this branch. + """ - blocksCreations - Can matching branches be created. + platform: FundingPlatform + url: URI - pattern - Identifies the protection rule pattern. - requiredApprovingReviewCount - Number of approving reviews required to update matching branches. +@dataclass(kw_only=True) +class GistOrder: + """ + GistOrder - Ordering options for gist connections - requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. + direction - The ordering direction. - requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. + field - The field to order repositories by. - requiresConversationResolution - Are conversations required to be resolved before merging. + """ - requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. + direction: OrderDirection + field: GistOrderField - requiresSignatures - Are commits required to be signed. - viewerAllowedToDismissReviews - Is the viewer allowed to dismiss reviews. +@dataclass(kw_only=True) +class GrantEnterpriseOrganizationsMigratorRoleInput: + """ + GrantEnterpriseOrganizationsMigratorRoleInput - Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole - viewerCanPush - Can the viewer push to the branch + clientMutationId - A unique identifier for the client performing the mutation. - """ - allowsDeletions: bool - allowsForcePushes: bool - blocksCreations: bool - pattern: str - requiredApprovingReviewCount: int - requiredStatusCheckContexts: list[str] - requiresCodeOwnerReviews: bool - requiresConversationResolution: bool - requiresLinearHistory: bool - requiresSignatures: bool - viewerAllowedToDismissReviews: bool - viewerCanPush: bool + enterpriseId - The ID of the enterprise to which all organizations managed by it will be granted the migrator role. -class RefNameConditionTargetInput(GQLObject): - """ - RefNameConditionTargetInput - Parameters to be used for the ref_name condition + login - The login of the user to grant the migrator role - exclude - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. + """ - include - Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str - """ - exclude: list[str] - include: list[str] -class ReactionOrder(GQLObject): - """ - ReactionOrder - Ways in which lists of reactions can be ordered upon return. +@dataclass(kw_only=True) +class GrantMigratorRolePayload: + """ + GrantMigratorRolePayload - Autogenerated return type of GrantMigratorRole - field - The field in which to order reactions by. + clientMutationId - A unique identifier for the client performing the mutation. - direction - The direction in which to order reactions by the specified field. + success - Did the operation succeed? - """ - field: ReactionOrderField - direction: OrderDirection + """ -class PullRequestParametersInput(GQLObject): - """ - PullRequestParametersInput - Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + client_mutation_id: Optional[str] = None + success: Optional[bool] = None - dismissStaleReviewsOnPush - New, reviewable commits pushed will dismiss previous pull request review approvals. - requireCodeOwnerReview - Require an approving review in pull requests that modify files that have a designated code owner. +@dataclass(kw_only=True) +class InviteEnterpriseAdminInput: + """ + InviteEnterpriseAdminInput - Autogenerated input type of InviteEnterpriseAdmin - requireLastPushApproval - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. + clientMutationId - A unique identifier for the client performing the mutation. - requiredApprovingReviewCount - The number of approving reviews that are required before a pull request can be merged. + email - The email of the person to invite as an administrator. - requiredReviewThreadResolution - All conversations on code must be resolved before a pull request can be merged. + enterpriseId - The ID of the enterprise to which you want to invite an administrator. - """ - dismissStaleReviewsOnPush: bool - requireCodeOwnerReview: bool - requireLastPushApproval: bool - requiredApprovingReviewCount: int - requiredReviewThreadResolution: bool + invitee - The login of a user to invite as an administrator. -class PullRequestOrder(GQLObject): - """ - PullRequestOrder - Ways in which lists of issues can be ordered upon return. + role - The role of the administrator. - field - The field in which to order pull requests by. + """ - direction - The direction in which to order pull requests by the specified field. + client_mutation_id: Optional[str] = None + email: Optional[str] = None + enterprise_id: ID + invitee: Optional[str] = None + role: Optional[EnterpriseAdministratorRole] = None - """ - field: PullRequestOrderField - direction: OrderDirection -class PublishSponsorsTierInput(GQLObject): - """ - PublishSponsorsTierInput - Autogenerated input type of PublishSponsorsTier +@dataclass(kw_only=True) +class IssueCommentOrder: + """ + IssueCommentOrder - Ways in which lists of issue comments can be ordered upon return. - tierId - The ID of the draft tier to publish. + direction - The direction in which to order issue comments by the specified field. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field in which to order issue comments by. - """ - tierId: ID - clientMutationId: str + """ -class ProjectV2WorkflowOrder(GQLObject): - """ - ProjectV2WorkflowOrder - Ordering options for project v2 workflows connections + direction: OrderDirection + field: IssueCommentOrderField - field - The field to order the project v2 workflows by. - direction - The ordering direction. +@dataclass(kw_only=True) +class IssueOrder: + """ + IssueOrder - Ways in which lists of issues can be ordered upon return. - """ - field: ProjectV2WorkflowsOrderField - direction: OrderDirection + direction - The direction in which to order issues by the specified field. -class ProjectV2SingleSelectFieldOptionInput(GQLObject): - """ - ProjectV2SingleSelectFieldOptionInput - Represents a single select field option + field - The field in which to order issues by. - name - The name of the option + """ - color - The display color of the option + direction: OrderDirection + field: IssueOrderField - description - The description text of the option - """ - name: str - color: ProjectV2SingleSelectFieldOptionColor - description: str +@dataclass(kw_only=True) +class Language: + """ + Language - Represents a given language found in repositories. -class ProjectV2Order(GQLObject): - """ - ProjectV2Order - Ways in which lists of projects can be ordered upon return. + color - The color defined for the current language. - field - The field in which to order projects by. + id - The Node ID of the Language object - direction - The direction in which to order projects by the specified field. + name - The name of the current language. - """ - field: ProjectV2OrderField - direction: OrderDirection + """ -class ProjectV2ItemOrder(GQLObject): - """ - ProjectV2ItemOrder - Ordering options for project v2 item connections + color: Optional[str] = None + id: ID + name: str - field - The field to order the project v2 items by. - direction - The ordering direction. +@dataclass(kw_only=True) +class LicenseRule: + """ + LicenseRule - Describes a License's conditions, permissions, and limitations - """ - field: ProjectV2ItemOrderField - direction: OrderDirection + description - A description of the rule -class ProjectV2Filters(GQLObject): - """ - ProjectV2Filters - Ways in which to filter lists of projects. + key - The machine-readable rule key - state - List project v2 filtered by the state given. + label - The human-readable rule label - """ - state: ProjectV2State + """ -class ProjectV2FieldOrder(GQLObject): - """ - ProjectV2FieldOrder - Ordering options for project v2 field connections + description: str + key: str + label: str - field - The field to order the project v2 fields by. - direction - The ordering direction. +@dataclass(kw_only=True) +class LinkProjectV2ToTeamInput: + """ + LinkProjectV2ToTeamInput - Autogenerated input type of LinkProjectV2ToTeam - """ - field: ProjectV2FieldOrderField - direction: OrderDirection + clientMutationId - A unique identifier for the client performing the mutation. -class ProjectProgress(GQLObject): - """ - ProjectProgress - Project progress stats. + projectId - The ID of the project to link to the team. - doneCount - The number of done cards. + teamId - The ID of the team to link to the project. - donePercentage - The percentage of done cards. + """ - enabled - Whether progress tracking is enabled and cards with purpose exist for this project + client_mutation_id: Optional[str] = None + project_id: ID + team_id: ID - inProgressCount - The number of in-progress cards. - inProgressPercentage - The percentage of in-progress cards. +@dataclass(kw_only=True) +class LockLockableInput: + """ + LockLockableInput - Autogenerated input type of LockLockable - todoCount - The number of to do cards. + clientMutationId - A unique identifier for the client performing the mutation. - todoPercentage - The percentage of to do cards. + lockReason - A reason for why the item will be locked. - """ - doneCount: int - donePercentage: float - enabled: bool - inProgressCount: int - inProgressPercentage: float - todoCount: int - todoPercentage: float + lockableId - ID of the item to be locked. -class PinIssueInput(GQLObject): - """ - PinIssueInput - Autogenerated input type of PinIssue + """ - issueId - The ID of the issue to be pinned + client_mutation_id: Optional[str] = None + lock_reason: Optional[LockReason] = None + lockable_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - issueId: ID - clientMutationId: str +@dataclass(kw_only=True) +class MannequinOrder: + """ + MannequinOrder - Ordering options for mannequins. -class PackageVersionStatistics(GQLObject): - """ - PackageVersionStatistics - Represents a object that contains package version activity statistics such as downloads. + direction - The ordering direction. - downloadsTotalCount - Number of times the package was downloaded since it was created. + field - The field to order mannequins by. - """ - downloadsTotalCount: int + """ -class PackageStatistics(GQLObject): - """ - PackageStatistics - Represents a object that contains package activity statistics such as downloads. + direction: OrderDirection + field: MannequinOrderField - downloadsTotalCount - Number of times the package was downloaded since it was created. - """ - downloadsTotalCount: int +@dataclass(kw_only=True) +class MarkFileAsViewedInput: + """ + MarkFileAsViewedInput - Autogenerated input type of MarkFileAsViewed -class PackageFileOrder(GQLObject): - """ - PackageFileOrder - Ways in which lists of package files can be ordered upon return. + clientMutationId - A unique identifier for the client performing the mutation. - field - The field in which to order package files by. + path - The path of the file to mark as viewed - direction - The direction in which to order package files by the specified field. + pullRequestId - The Node ID of the pull request. - """ - field: PackageFileOrderField - direction: OrderDirection + """ -class OrganizationMigration(GQLObject): - """ - OrganizationMigration - A GitHub Enterprise Importer (GEI) organization migration. + client_mutation_id: Optional[str] = None + path: str + pull_request_id: ID - createdAt - Identifies the date and time when the object was created. - databaseId - Identifies the primary key from the database. +@dataclass(kw_only=True) +class MarkProjectV2AsTemplateInput: + """ + MarkProjectV2AsTemplateInput - Autogenerated input type of MarkProjectV2AsTemplate - failureReason - The reason the organization migration failed. + clientMutationId - A unique identifier for the client performing the mutation. - remainingRepositoriesCount - The remaining amount of repos to be migrated. + projectId - The ID of the Project to mark as a template. - sourceOrgName - The name of the source organization to be migrated. + """ - sourceOrgUrl - The URL of the source organization to migrate. + client_mutation_id: Optional[str] = None + project_id: ID - state - The migration state. - targetOrgName - The name of the target organization. +@dataclass(kw_only=True) +class MarketplaceCategory: + """ + MarketplaceCategory - A public description of a Marketplace category. - totalRepositoriesCount - The total amount of repositories to be migrated. + description - The category's description. - """ - createdAt: DateTime - databaseId: str - failureReason: str - id: ID - remainingRepositoriesCount: int - sourceOrgName: str - sourceOrgUrl: URI - state: OrganizationMigrationState - targetOrgName: str - totalRepositoriesCount: int + howItWorks - The technical description of how apps listed in this category work with GitHub. -class OauthApplicationAuditEntryData(GQLObject): - """ - OauthApplicationAuditEntryData - Metadata for an audit entry with action oauth_application.* + id - The Node ID of the MarketplaceCategory object - oauthApplicationName - The name of the OAuth application. + name - The category's name. - oauthApplicationResourcePath - The HTTP path for the OAuth application + primaryListingCount - How many Marketplace listings have this as their primary category. - oauthApplicationUrl - The HTTP URL for the OAuth application + resourcePath - The HTTP path for this Marketplace category. - """ - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI + secondaryListingCount - How many Marketplace listings have this as their secondary category. -class MoveProjectColumnInput(GQLObject): - """ - MoveProjectColumnInput - Autogenerated input type of MoveProjectColumn + slug - The short name of the category used in its URL. - columnId - The id of the column to move. + url - The HTTP URL for this Marketplace category. - afterColumnId - Place the new column after the column with this id. Pass null to place it at the front. + """ - clientMutationId - A unique identifier for the client performing the mutation. + description: Optional[str] = None + how_it_works: Optional[str] = None + id: ID + name: str + primary_listing_count: int + resource_path: URI + secondary_listing_count: int + slug: str + url: URI - """ - columnId: ID - afterColumnId: ID - clientMutationId: str -class MinimizeCommentInput(GQLObject): - """ - MinimizeCommentInput - Autogenerated input type of MinimizeComment +@dataclass(kw_only=True) +class MergeBranchInput: + """ + MergeBranchInput - Autogenerated input type of MergeBranch - subjectId - The Node ID of the subject to modify. + authorEmail - The email address to associate with this commit. - classifier - The classification of comment + base - The name of the base branch that the provided head will be merged into. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - subjectId: ID - classifier: ReportedContentClassifiers - clientMutationId: str + commitMessage - Message to use for the merge commit. If omitted, a default will be used. -class MilestoneOrder(GQLObject): - """ - MilestoneOrder - Ordering options for milestone connections. + head - The head to merge into the base branch. This can be a branch name or a commit GitObjectID. - field - The field to order milestones by. + repositoryId - The Node ID of the Repository containing the base branch that will be modified. - direction - The ordering direction. + """ - """ - field: MilestoneOrderField - direction: OrderDirection + author_email: Optional[str] = None + base: str + client_mutation_id: Optional[str] = None + commit_message: Optional[str] = None + head: str + repository_id: ID -class MergeQueueConfiguration(GQLObject): - """ - MergeQueueConfiguration - Configuration for a MergeQueue - checkResponseTimeout - The amount of time in minutes to wait for a check response before considering it a failure. +@dataclass(kw_only=True) +class MergeQueueConfiguration: + """ + MergeQueueConfiguration - Configuration for a MergeQueue - maximumEntriesToBuild - The maximum number of entries to build at once. + checkResponseTimeout - The amount of time in minutes to wait for a check response before considering it a failure. - maximumEntriesToMerge - The maximum number of entries to merge at once. + maximumEntriesToBuild - The maximum number of entries to build at once. - mergeMethod - The merge method to use for this queue. + maximumEntriesToMerge - The maximum number of entries to merge at once. - mergingStrategy - The strategy to use when merging entries. + mergeMethod - The merge method to use for this queue. - minimumEntriesToMerge - The minimum number of entries required to merge at once. + mergingStrategy - The strategy to use when merging entries. - minimumEntriesToMergeWaitTime - The amount of time in minutes to wait before ignoring the minumum number of entries in the queue requirement and merging a collection of entries + minimumEntriesToMerge - The minimum number of entries required to merge at once. - """ - checkResponseTimeout: int - maximumEntriesToBuild: int - maximumEntriesToMerge: int - mergeMethod: PullRequestMergeMethod - mergingStrategy: MergeQueueMergingStrategy - minimumEntriesToMerge: int - minimumEntriesToMergeWaitTime: int + minimumEntriesToMergeWaitTime - The amount of time in minutes to wait before ignoring the minumum number of + entries in the queue requirement and merging a collection of entries -class MergeBranchInput(GQLObject): - """ - MergeBranchInput - Autogenerated input type of MergeBranch + """ - repositoryId - The Node ID of the Repository containing the base branch that will be modified. + check_response_timeout: Optional[int] = None + maximum_entries_to_build: Optional[int] = None + maximum_entries_to_merge: Optional[int] = None + merge_method: Optional[PullRequestMergeMethod] = None + merging_strategy: Optional[MergeQueueMergingStrategy] = None + minimum_entries_to_merge: Optional[int] = None + minimum_entries_to_merge_wait_time: Optional[int] = None - base - The name of the base branch that the provided head will be merged into. - head - The head to merge into the base branch. This can be a branch name or a commit GitObjectID. +@dataclass(kw_only=True) +class MilestoneOrder: + """ + MilestoneOrder - Ordering options for milestone connections. - commitMessage - Message to use for the merge commit. If omitted, a default will be used. + direction - The ordering direction. - authorEmail - The email address to associate with this commit. + field - The field to order milestones by. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - repositoryId: ID - base: str - head: str - commitMessage: str - authorEmail: str - clientMutationId: str + direction: OrderDirection + field: MilestoneOrderField -class MarkPullRequestReadyForReviewInput(GQLObject): - """ - MarkPullRequestReadyForReviewInput - Autogenerated input type of MarkPullRequestReadyForReview - pullRequestId - ID of the pull request to be marked as ready for review. +@dataclass(kw_only=True) +class MinimizeCommentInput: + """ + MinimizeCommentInput - Autogenerated input type of MinimizeComment - clientMutationId - A unique identifier for the client performing the mutation. + classifier - The classification of comment - """ - pullRequestId: ID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class MarkFileAsViewedInput(GQLObject): - """ - MarkFileAsViewedInput - Autogenerated input type of MarkFileAsViewed + subjectId - The Node ID of the subject to modify. - pullRequestId - The Node ID of the pull request. + """ - path - The path of the file to mark as viewed + classifier: ReportedContentClassifiers + client_mutation_id: Optional[str] = None + subject_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - pullRequestId: ID - path: str - clientMutationId: str +@dataclass(kw_only=True) +class MoveProjectColumnInput: + """ + MoveProjectColumnInput - Autogenerated input type of MoveProjectColumn -class MannequinOrder(GQLObject): - """ - MannequinOrder - Ordering options for mannequins. + afterColumnId - Place the new column after the column with this id. Pass null to place it at the front. - field - The field to order mannequins by. + clientMutationId - A unique identifier for the client performing the mutation. - direction - The ordering direction. + columnId - The id of the column to move. - """ - field: MannequinOrderField - direction: OrderDirection + """ -class LockLockableInput(GQLObject): - """ - LockLockableInput - Autogenerated input type of LockLockable + after_column_id: Optional[ID] = None + client_mutation_id: Optional[str] = None + column_id: ID - lockableId - ID of the item to be locked. - lockReason - A reason for why the item will be locked. +@dataclass(kw_only=True) +class OauthApplicationAuditEntryData: + """ + OauthApplicationAuditEntryData - Metadata for an audit entry with action oauth_application.* - clientMutationId - A unique identifier for the client performing the mutation. + oauthApplicationName - The name of the OAuth application. - """ - lockableId: ID - lockReason: LockReason - clientMutationId: str + oauthApplicationResourcePath - The HTTP path for the OAuth application -class LinkProjectV2ToTeamInput(GQLObject): - """ - LinkProjectV2ToTeamInput - Autogenerated input type of LinkProjectV2ToTeam + oauthApplicationUrl - The HTTP URL for the OAuth application - projectId - The ID of the project to link to the team. + """ - teamId - The ID of the team to link to the project. + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - teamId: ID - clientMutationId: str +@dataclass(kw_only=True) +class OrganizationMigration: + """ + OrganizationMigration - A GitHub Enterprise Importer (GEI) organization migration. -class LicenseRule(GQLObject): - """ - LicenseRule - Describes a License's conditions, permissions, and limitations + createdAt - Identifies the date and time when the object was created. - description - A description of the rule + databaseId - Identifies the primary key from the database. - key - The machine-readable rule key + failureReason - The reason the organization migration failed. - label - The human-readable rule label + id - The Node ID of the OrganizationMigration object - """ - description: str - key: str - label: str + remainingRepositoriesCount - The remaining amount of repos to be migrated. -class Language(GQLObject): - """ - Language - Represents a given language found in repositories. + sourceOrgName - The name of the source organization to be migrated. - color - The color defined for the current language. + sourceOrgUrl - The URL of the source organization to migrate. - name - The name of the current language. + state - The migration state. - """ - color: str - id: ID - name: str + targetOrgName - The name of the target organization. -class IssueOrder(GQLObject): - """ - IssueOrder - Ways in which lists of issues can be ordered upon return. + totalRepositoriesCount - The total amount of repositories to be migrated. - field - The field in which to order issues by. + """ - direction - The direction in which to order issues by the specified field. + created_at: DateTime + database_id: Optional[str] = None + failure_reason: Optional[str] = None + id: ID + remaining_repositories_count: Optional[int] = None + source_org_name: str + source_org_url: URI + state: OrganizationMigrationState + target_org_name: str + total_repositories_count: Optional[int] = None - """ - field: IssueOrderField - direction: OrderDirection -class IssueCommentOrder(GQLObject): - """ - IssueCommentOrder - Ways in which lists of issue comments can be ordered upon return. +@dataclass(kw_only=True) +class PackageFileOrder: + """ + PackageFileOrder - Ways in which lists of package files can be ordered upon return. - field - The field in which to order issue comments by. + direction - The direction in which to order package files by the specified field. - direction - The direction in which to order issue comments by the specified field. + field - The field in which to order package files by. - """ - field: IssueCommentOrderField - direction: OrderDirection + """ -class InviteEnterpriseAdminInput(GQLObject): - """ - InviteEnterpriseAdminInput - Autogenerated input type of InviteEnterpriseAdmin + direction: Optional[OrderDirection] = None + field: Optional[PackageFileOrderField] = None - enterpriseId - The ID of the enterprise to which you want to invite an administrator. - invitee - The login of a user to invite as an administrator. +@dataclass(kw_only=True) +class PackageStatistics: + """ + PackageStatistics - Represents a object that contains package activity statistics such as downloads. - email - The email of the person to invite as an administrator. + downloadsTotalCount - Number of times the package was downloaded since it was created. - role - The role of the administrator. + """ - clientMutationId - A unique identifier for the client performing the mutation. + downloads_total_count: int - """ - enterpriseId: ID - invitee: str - email: str - role: EnterpriseAdministratorRole - clientMutationId: str -class GrantMigratorRolePayload(GQLObject): - """ - GrantMigratorRolePayload - Autogenerated return type of GrantMigratorRole +@dataclass(kw_only=True) +class PackageVersionStatistics: + """ + PackageVersionStatistics - Represents a object that contains package version activity statistics such as downloads. - clientMutationId - A unique identifier for the client performing the mutation. + downloadsTotalCount - Number of times the package was downloaded since it was created. - success - Did the operation succeed? + """ - """ - clientMutationId: str - success: bool + downloads_total_count: int -class GrantEnterpriseOrganizationsMigratorRoleInput(GQLObject): - """ - GrantEnterpriseOrganizationsMigratorRoleInput - Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole - enterpriseId - The ID of the enterprise to which all organizations managed by it will be granted the migrator role. +@dataclass(kw_only=True) +class PinIssueInput: + """ + PinIssueInput - Autogenerated input type of PinIssue - login - The login of the user to grant the migrator role + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + issueId - The ID of the issue to be pinned - """ - enterpriseId: ID - login: str - clientMutationId: str + """ -class GistOrder(GQLObject): - """ - GistOrder - Ordering options for gist connections + client_mutation_id: Optional[str] = None + issue_id: ID - field - The field to order repositories by. - direction - The ordering direction. +@dataclass(kw_only=True) +class ProjectOrder: + """ + ProjectOrder - Ways in which lists of projects can be ordered upon return. - """ - field: GistOrderField - direction: OrderDirection + direction - The direction in which to order projects by the specified field. -class FundingLink(GQLObject): - """ - FundingLink - A funding platform link for a repository. + field - The field in which to order projects by. - platform - The funding platform this link is for. + """ - url - The configured URL for this funding link. + direction: OrderDirection + field: ProjectOrderField - """ - platform: FundingPlatform - url: URI -class FollowOrganizationInput(GQLObject): - """ - FollowOrganizationInput - Autogenerated input type of FollowOrganization +@dataclass(kw_only=True) +class ProjectV2Collaborator: + """ + ProjectV2Collaborator - A collaborator to update on a project. Only one of the userId or teamId should be provided. - organizationId - ID of the organization to follow. + role - The role to grant the collaborator - clientMutationId - A unique identifier for the client performing the mutation. + teamId - The ID of the team as a collaborator. - """ - organizationId: ID - clientMutationId: str + userId - The ID of the user as a collaborator. -class FileAddition(GQLObject): - """ - FileAddition - A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced. + """ - path - The path in the repository where the file will be located + role: ProjectV2Roles + team_id: Optional[ID] = None + user_id: Optional[ID] = None - contents - The base64 encoded contents of the file - """ - path: str - contents: Base64String +@dataclass(kw_only=True) +class ProjectV2FieldValue: + """ + ProjectV2FieldValue - The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. -class Environments(GQLObject): - """ - Environments - Ordering options for environments + date - The ISO 8601 date to set on the field. - field - The field to order environments by. + iterationId - The id of the iteration to set on the field. - direction - The direction in which to order environments by the specified field. + number - The number to set on the field. - """ - field: EnvironmentOrderField - direction: OrderDirection + singleSelectOptionId - The id of the single select option to set on the field. -class EnterpriseServerUserAccountOrder(GQLObject): - """ - EnterpriseServerUserAccountOrder - Ordering options for Enterprise Server user account connections. + text - The text to set on the field. - field - The field to order user accounts by. + """ - direction - The ordering direction. + date: Optional[Date] = None + iteration_id: Optional[str] = None + number: Optional[float] = None + single_select_option_id: Optional[str] = None + text: Optional[str] = None - """ - field: EnterpriseServerUserAccountOrderField - direction: OrderDirection -class EnterpriseServerInstallationOrder(GQLObject): - """ - EnterpriseServerInstallationOrder - Ordering options for Enterprise Server installation connections. +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueOrder: + """ + ProjectV2ItemFieldValueOrder - Ordering options for project v2 item field value connections - field - The field to order Enterprise Server installations by. + direction - The ordering direction. - direction - The ordering direction. + field - The field to order the project v2 item field values by. - """ - field: EnterpriseServerInstallationOrderField - direction: OrderDirection + """ -class EnterpriseMemberOrder(GQLObject): - """ - EnterpriseMemberOrder - Ordering options for enterprise member connections. + direction: OrderDirection + field: ProjectV2ItemFieldValueOrderField - field - The field to order enterprise members by. - direction - The ordering direction. +@dataclass(kw_only=True) +class ProjectV2IterationFieldIteration: + """ + ProjectV2IterationFieldIteration - Iteration field iteration settings for a project. - """ - field: EnterpriseMemberOrderField - direction: OrderDirection + duration - The iteration's duration in days -class EnterpriseAuditEntryData(GQLObject): - """ - EnterpriseAuditEntryData - Metadata for an audit entry containing enterprise account information. + id - The iteration's ID. - enterpriseResourcePath - The HTTP path for this enterprise. + startDate - The iteration's start date - enterpriseSlug - The slug of the enterprise. + title - The iteration's title. - enterpriseUrl - The HTTP URL for this enterprise. + titleHTML - The iteration's html title. - """ - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI + """ -class EnqueuePullRequestInput(GQLObject): - """ - EnqueuePullRequestInput - Autogenerated input type of EnqueuePullRequest + duration: int + id: str + start_date: Date + title: str + title_h_t_m_l: str - pullRequestId - The ID of the pull request to enqueue. - jump - Add the pull request to the front of the queue. +@dataclass(kw_only=True) +class ProjectV2SingleSelectFieldOption: + """ + ProjectV2SingleSelectFieldOption - Single select field option for a configuration for a project. - expectedHeadOid - The expected head OID of the pull request. + color - The option's display color. - clientMutationId - A unique identifier for the client performing the mutation. + description - The option's plain-text description. - """ - pullRequestId: ID - jump: bool - expectedHeadOid: GitObjectID - clientMutationId: str + descriptionHTML - The option's description, possibly containing HTML. -class DraftPullRequestReviewThread(GQLObject): - """ - DraftPullRequestReviewThread - Specifies a review comment thread to be left with a Pull Request Review. + id - The option's ID. - path - Path to the file being commented on. + name - The option's name. - line - The line of the blob to which the thread refers. The end of the line range for multi-line comments. + nameHTML - The option's html name. - side - The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. + """ - startLine - The first line of the range to which the comment refers. + color: ProjectV2SingleSelectFieldOptionColor + description: str + description_h_t_m_l: str + id: str + name: str + name_h_t_m_l: str - startSide - The side of the diff on which the start line resides. - body - Body of the comment to leave. +@dataclass(kw_only=True) +class ProjectV2ViewOrder: + """ + ProjectV2ViewOrder - Ordering options for project v2 view connections - """ - path: str - line: int - side: DiffSide - startLine: int - startSide: DiffSide - body: str + direction - The ordering direction. -class DismissRepositoryVulnerabilityAlertInput(GQLObject): - """ - DismissRepositoryVulnerabilityAlertInput - Autogenerated input type of DismissRepositoryVulnerabilityAlert + field - The field to order the project v2 views by. - repositoryVulnerabilityAlertId - The Dependabot alert ID to dismiss. + """ - dismissReason - The reason the Dependabot alert is being dismissed. + direction: OrderDirection + field: ProjectV2ViewOrderField - clientMutationId - A unique identifier for the client performing the mutation. - """ - repositoryVulnerabilityAlertId: ID - dismissReason: DismissReason - clientMutationId: str +@dataclass(kw_only=True) +class PropertyTargetDefinition: + """ + PropertyTargetDefinition - A property that must match -class DiscussionPollOptionOrder(GQLObject): - """ - DiscussionPollOptionOrder - Ordering options for discussion poll option connections. + name - The name of the property - field - The field to order poll options by. + propertyValues - The values to match for - direction - The ordering direction. + """ - """ - field: DiscussionPollOptionOrderField - direction: OrderDirection + name: str + property_values: list[str] -class DisablePullRequestAutoMergeInput(GQLObject): - """ - DisablePullRequestAutoMergeInput - Autogenerated input type of DisablePullRequestAutoMerge - pullRequestId - ID of the pull request to disable auto merge on. +@dataclass(kw_only=True) +class PublicKey: + """ + PublicKey - A user's public key. - clientMutationId - A unique identifier for the client performing the mutation. + accessedAt - The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. - """ - pullRequestId: ID - clientMutationId: str + createdAt - Identifies the date and time when the key was created. Keys created before + March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. -class DeploymentOrder(GQLObject): - """ - DeploymentOrder - Ordering options for deployment connections + fingerprint - The fingerprint for this PublicKey. - field - The field to order deployments by. + id - The Node ID of the PublicKey object - direction - The ordering direction. + isReadOnly - Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. - """ - field: DeploymentOrderField - direction: OrderDirection + key - The public key string. -class DependabotUpdateError(GQLObject): - """ - DependabotUpdateError - An error produced from a Dependabot Update + updatedAt - Identifies the date and time when the key was updated. Keys created before + March 5th, 2014 may have inaccurate values. Values will be null for keys not + owned by the user. - body - The body of the error + """ - errorType - The error code + accessed_at: Optional[DateTime] = None + created_at: Optional[DateTime] = None + fingerprint: str + id: ID + is_read_only: Optional[bool] = None + key: str + updated_at: Optional[DateTime] = None - title - The title of the error - """ - body: str - errorType: str - title: str +@dataclass(kw_only=True) +class PullRequestChangedFile: + """ + PullRequestChangedFile - A file changed in a pull request. -class DeleteTeamDiscussionPayload(GQLObject): - """ - DeleteTeamDiscussionPayload - Autogenerated return type of DeleteTeamDiscussion + additions - The number of additions to the file. - clientMutationId - A unique identifier for the client performing the mutation. + changeType - How the file was changed in this PullRequest - """ - clientMutationId: str + deletions - The number of deletions to the file. -class DeleteTeamDiscussionCommentPayload(GQLObject): - """ - DeleteTeamDiscussionCommentPayload - Autogenerated return type of DeleteTeamDiscussionComment + path - The path of the file. - clientMutationId - A unique identifier for the client performing the mutation. + viewerViewedState - The state of the file for the viewer. - """ - clientMutationId: str + """ -class DeleteRepositoryRulesetPayload(GQLObject): - """ - DeleteRepositoryRulesetPayload - Autogenerated return type of DeleteRepositoryRuleset + additions: int + change_type: PatchStatus + deletions: int + path: str + viewer_viewed_state: FileViewedState - clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str +@dataclass(kw_only=True) +class PullRequestParameters: + """ + PullRequestParameters - Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. -class DeleteRefPayload(GQLObject): - """ - DeleteRefPayload - Autogenerated return type of DeleteRef + dismissStaleReviewsOnPush - New, reviewable commits pushed will dismiss previous pull request review approvals. - clientMutationId - A unique identifier for the client performing the mutation. + requireCodeOwnerReview - Require an approving review in pull requests that modify files that have a designated code owner. - """ - clientMutationId: str + requireLastPushApproval - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. -class DeletePullRequestReviewInput(GQLObject): - """ - DeletePullRequestReviewInput - Autogenerated input type of DeletePullRequestReview + requiredApprovingReviewCount - The number of approving reviews that are required before a pull request can be merged. - pullRequestReviewId - The Node ID of the pull request review to delete. + requiredReviewThreadResolution - All conversations on code must be resolved before a pull request can be merged. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - pullRequestReviewId: ID - clientMutationId: str + 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 -class DeleteProjectV2WorkflowInput(GQLObject): - """ - DeleteProjectV2WorkflowInput - Autogenerated input type of DeleteProjectV2Workflow - workflowId - The ID of the workflow to be removed. +@dataclass(kw_only=True) +class RateLimit: + """ + RateLimit - Represents the client's rate limit. - clientMutationId - A unique identifier for the client performing the mutation. + cost - The point cost for the current query counting against the rate limit. - """ - workflowId: ID - clientMutationId: str + limit - The maximum number of points the client is permitted to consume in a 60 minute window. -class DeleteProjectV2ItemInput(GQLObject): - """ - DeleteProjectV2ItemInput - Autogenerated input type of DeleteProjectV2Item + nodeCount - The maximum number of nodes this query may return - projectId - The ID of the Project from which the item should be removed. + remaining - The number of points remaining in the current rate limit window. - itemId - The ID of the item to be removed. + resetAt - The time at which the current rate limit window resets in UTC epoch seconds. - clientMutationId - A unique identifier for the client performing the mutation. + used - The number of points used in the current rate limit window. - """ - projectId: ID - itemId: ID - clientMutationId: str + """ -class DeleteProjectV2FieldInput(GQLObject): - """ - DeleteProjectV2FieldInput - Autogenerated input type of DeleteProjectV2Field + cost: int + limit: int + node_count: int + remaining: int + reset_at: DateTime + used: int - fieldId - The ID of the field to delete. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RefNameConditionTarget: + """ + RefNameConditionTarget - Parameters to be used for the ref_name condition - """ - fieldId: ID - clientMutationId: str + exclude - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. -class DeleteProjectColumnInput(GQLObject): - """ - DeleteProjectColumnInput - Autogenerated input type of DeleteProjectColumn + include - Array of ref names or patterns to include. One of these patterns must match + for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the + default branch or `~ALL` to include all branches. - columnId - The id of the column to delete. + """ - clientMutationId - A unique identifier for the client performing the mutation. + exclude: list[str] + include: list[str] - """ - columnId: ID - clientMutationId: str -class DeleteLinkedBranchInput(GQLObject): - """ - DeleteLinkedBranchInput - Autogenerated input type of DeleteLinkedBranch +@dataclass(kw_only=True) +class RefOrder: + """ + RefOrder - Ways in which lists of git refs can be ordered upon return. - linkedBranchId - The ID of the linked branch + direction - The direction in which to order refs by the specified field. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field in which to order refs by. - """ - linkedBranchId: ID - clientMutationId: str + """ -class DeleteIssueCommentPayload(GQLObject): - """ - DeleteIssueCommentPayload - Autogenerated return type of DeleteIssueComment + direction: OrderDirection + field: RefOrderField - clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str +@dataclass(kw_only=True) +class RefUpdateRule: + """ + RefUpdateRule - Branch protection rules that are enforced on the viewer. -class DeleteIpAllowListEntryInput(GQLObject): - """ - DeleteIpAllowListEntryInput - Autogenerated input type of DeleteIpAllowListEntry + allowsDeletions - Can this branch be deleted. - ipAllowListEntryId - The ID of the IP allow list entry to delete. + allowsForcePushes - Are force pushes allowed on this branch. - clientMutationId - A unique identifier for the client performing the mutation. + blocksCreations - Can matching branches be created. - """ - ipAllowListEntryId: ID - clientMutationId: str + pattern - Identifies the protection rule pattern. -class DeleteEnvironmentInput(GQLObject): - """ - DeleteEnvironmentInput - Autogenerated input type of DeleteEnvironment + requiredApprovingReviewCount - Number of approving reviews required to update matching branches. - id - The Node ID of the environment to be deleted. + requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. - """ - id: ID - clientMutationId: str + requiresConversationResolution - Are conversations required to be resolved before merging. -class DeleteDiscussionCommentInput(GQLObject): - """ - DeleteDiscussionCommentInput - Autogenerated input type of DeleteDiscussionComment + requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. - id - The Node id of the discussion comment to delete. + requiresSignatures - Are commits required to be signed. - clientMutationId - A unique identifier for the client performing the mutation. + viewerAllowedToDismissReviews - Is the viewer allowed to dismiss reviews. - """ - id: ID - clientMutationId: str + viewerCanPush - Can the viewer push to the branch -class DeleteDeploymentInput(GQLObject): - """ - DeleteDeploymentInput - Autogenerated input type of DeleteDeployment + """ - id - The Node ID of the deployment to be deleted. + allows_deletions: bool + allows_force_pushes: bool + blocks_creations: bool + pattern: str + required_approving_review_count: Optional[int] = None + required_status_check_contexts: Optional[list[str]] = None + requires_code_owner_reviews: bool + requires_conversation_resolution: bool + requires_linear_history: bool + requires_signatures: bool + viewer_allowed_to_dismiss_reviews: bool + viewer_can_push: bool - clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - clientMutationId: str +@dataclass(kw_only=True) +class RegenerateVerifiableDomainTokenInput: + """ + RegenerateVerifiableDomainTokenInput - Autogenerated input type of RegenerateVerifiableDomainToken -class DeleteBranchProtectionRuleInput(GQLObject): - """ - DeleteBranchProtectionRuleInput - Autogenerated input type of DeleteBranchProtectionRule + clientMutationId - A unique identifier for the client performing the mutation. - branchProtectionRuleId - The global relay id of the branch protection rule to be deleted. + id - The ID of the verifiable domain to regenerate the verification token of. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - branchProtectionRuleId: ID - clientMutationId: str + client_mutation_id: Optional[str] = None + id: ID -class DeclineTopicSuggestionInput(GQLObject): - """ - DeclineTopicSuggestionInput - Autogenerated input type of DeclineTopicSuggestion - repositoryId - The Node ID of the repository. +@dataclass(kw_only=True) +class RejectDeploymentsInput: + """ + RejectDeploymentsInput - Autogenerated input type of RejectDeployments - name - The name of the suggested topic. + clientMutationId - A unique identifier for the client performing the mutation. - reason - The reason why the suggested topic is declined. + comment - Optional comment for rejecting deployments - clientMutationId - A unique identifier for the client performing the mutation. + environmentIds - The ids of environments to reject deployments - """ - repositoryId: ID - name: str - reason: TopicSuggestionDeclineReason - clientMutationId: str + workflowRunId - The node ID of the workflow run containing the pending deployments. -class CreateTeamDiscussionCommentInput(GQLObject): - """ - CreateTeamDiscussionCommentInput - Autogenerated input type of CreateTeamDiscussionComment + """ - discussionId - The ID of the discussion to which the comment belongs. This field is required. + client_mutation_id: Optional[str] = None + comment: Optional[str] = None + environment_ids: list[ID] + workflow_run_id: ID -**Upcoming Change on 2024-07-01 UTC** -**Description:** `discussionId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. -**Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. +@dataclass(kw_only=True) +class RemoveAssigneesFromAssignableInput: + """ + RemoveAssigneesFromAssignableInput - Autogenerated input type of RemoveAssigneesFromAssignable - body - The content of the comment. This field is required. + assignableId - The id of the assignable object to remove assignees from. -**Upcoming Change on 2024-07-01 UTC** -**Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. -**Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + assigneeIds - The id of users to remove as assignees. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - discussionId: ID - body: str - clientMutationId: str + assignable_id: ID + assignee_ids: list[ID] + client_mutation_id: Optional[str] = None -class CreateSponsorsTierInput(GQLObject): - """ - CreateSponsorsTierInput - Autogenerated input type of CreateSponsorsTier - sponsorableId - The ID of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableLogin is not given. +@dataclass(kw_only=True) +class RemoveEnterpriseIdentityProviderInput: + """ + RemoveEnterpriseIdentityProviderInput - Autogenerated input type of RemoveEnterpriseIdentityProvider - sponsorableLogin - The username of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableId is not given. + clientMutationId - A unique identifier for the client performing the mutation. - amount - The value of the new tier in US dollars. Valid values: 1-12000. + enterpriseId - The ID of the enterprise from which to remove the identity provider. - isRecurring - Whether sponsorships using this tier should happen monthly/yearly or just once. + """ - repositoryId - Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. + client_mutation_id: Optional[str] = None + enterprise_id: ID - repositoryOwnerLogin - Optional login of the organization owner of the private repository that sponsors at this tier should gain read-only access to. Necessary if repositoryName is given. Will be ignored if repositoryId is given. - repositoryName - Optional name of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. Necessary if repositoryOwnerLogin is given. Will be ignored if repositoryId is given. +@dataclass(kw_only=True) +class RemoveEnterpriseOrganizationInput: + """ + RemoveEnterpriseOrganizationInput - Autogenerated input type of RemoveEnterpriseOrganization - welcomeMessage - Optional message new sponsors at this tier will receive. + clientMutationId - A unique identifier for the client performing the mutation. - description - A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc. + enterpriseId - The ID of the enterprise from which the organization should be removed. - publish - Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible. + organizationId - The ID of the organization to remove from the enterprise. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - sponsorableId: ID - sponsorableLogin: str - amount: int - isRecurring: bool - repositoryId: ID - repositoryOwnerLogin: str - repositoryName: str - welcomeMessage: str - description: str - publish: bool - clientMutationId: str + client_mutation_id: Optional[str] = None + enterprise_id: ID + organization_id: ID -class CreateRepositoryInput(GQLObject): - """ - CreateRepositoryInput - Autogenerated input type of CreateRepository - name - The name of the new repository. +@dataclass(kw_only=True) +class RemoveEnterpriseSupportEntitlementPayload: + """ + RemoveEnterpriseSupportEntitlementPayload - Autogenerated return type of RemoveEnterpriseSupportEntitlement - ownerId - The ID of the owner for the new repository. + clientMutationId - A unique identifier for the client performing the mutation. - description - A short description of the new repository. + message - A message confirming the result of removing the support entitlement. - visibility - Indicates the repository's visibility level. + """ - template - Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. + client_mutation_id: Optional[str] = None + message: Optional[str] = None - homepageUrl - The URL for a web page about this repository. - hasWikiEnabled - Indicates if the repository should have the wiki feature enabled. +@dataclass(kw_only=True) +class RemoveOutsideCollaboratorInput: + """ + RemoveOutsideCollaboratorInput - Autogenerated input type of RemoveOutsideCollaborator - hasIssuesEnabled - Indicates if the repository should have the issues feature enabled. + clientMutationId - A unique identifier for the client performing the mutation. - teamId - When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. + organizationId - The ID of the organization to remove the outside collaborator from. - clientMutationId - A unique identifier for the client performing the mutation. + userId - The ID of the outside collaborator to remove. - """ - name: str - ownerId: ID - description: str - visibility: RepositoryVisibility - template: bool - homepageUrl: URI - hasWikiEnabled: bool - hasIssuesEnabled: bool - teamId: ID - clientMutationId: str + """ -class CreatePullRequestInput(GQLObject): - """ - CreatePullRequestInput - Autogenerated input type of CreatePullRequest + client_mutation_id: Optional[str] = None + organization_id: ID + user_id: ID - repositoryId - The Node ID of the repository. - baseRefName - The name of the branch you want your changes pulled into. This should be an existing branch -on the current repository. You cannot update the base branch on a pull request to point -to another repository. +@dataclass(kw_only=True) +class RemoveStarInput: + """ + RemoveStarInput - Autogenerated input type of RemoveStar + clientMutationId - A unique identifier for the client performing the mutation. - headRefName - The name of the branch where your changes are implemented. For cross-repository pull requests -in the same network, namespace `head_ref_name` with a user like this: `username:branch`. + starrableId - The Starrable ID to unstar. + """ - headRepositoryId - The Node ID of the head repository. + client_mutation_id: Optional[str] = None + starrable_id: ID - title - The title of the pull request. - body - The contents of the pull request. +@dataclass(kw_only=True) +class ReopenDiscussionInput: + """ + ReopenDiscussionInput - Autogenerated input type of ReopenDiscussion - maintainerCanModify - Indicates whether maintainers can modify the pull request. + clientMutationId - A unique identifier for the client performing the mutation. - draft - Indicates whether this pull request should be a draft. + discussionId - ID of the discussion to be reopened. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - repositoryId: ID - baseRefName: str - headRefName: str - headRepositoryId: ID - title: str - body: str - maintainerCanModify: bool - draft: bool - clientMutationId: str + client_mutation_id: Optional[str] = None + discussion_id: ID -class CreateProjectInput(GQLObject): - """ - CreateProjectInput - Autogenerated input type of CreateProject - ownerId - The owner ID to create the project under. +@dataclass(kw_only=True) +class ReopenPullRequestInput: + """ + ReopenPullRequestInput - Autogenerated input type of ReopenPullRequest - name - The name of project. + clientMutationId - A unique identifier for the client performing the mutation. - body - The description of project. + pullRequestId - ID of the pull request to be reopened. - template - The name of the GitHub-provided template. + """ - repositoryIds - A list of repository IDs to create as linked repositories for the project + client_mutation_id: Optional[str] = None + pull_request_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - ownerId: ID - name: str - body: str - template: ProjectTemplate - repositoryIds: list[ID] - clientMutationId: str +@dataclass(kw_only=True) +class RepositoryContactLink: + """ + RepositoryContactLink - A repository contact link. -class CreateLinkedBranchInput(GQLObject): - """ - CreateLinkedBranchInput - Autogenerated input type of CreateLinkedBranch + about - The contact link purpose. - issueId - ID of the issue to link to. + name - The contact link name. - oid - The commit SHA to base the new branch on. + url - The contact link URL. - name - The name of the new branch. Defaults to issue number and title. + """ - repositoryId - ID of the repository to create the branch in. Defaults to the issue repository. + about: str + name: str + url: URI - clientMutationId - A unique identifier for the client performing the mutation. - """ - issueId: ID - oid: GitObjectID - name: str - repositoryId: ID - clientMutationId: str +@dataclass(kw_only=True) +class RepositoryIdConditionTargetInput: + """ + RepositoryIdConditionTargetInput - Parameters to be used for the repository_id condition -class CreateIpAllowListEntryInput(GQLObject): - """ - CreateIpAllowListEntryInput - Autogenerated input type of CreateIpAllowListEntry + repositoryIds - One of these repo IDs must match the repo. - ownerId - The ID of the owner for which to create the new IP allow list entry. + """ - allowListValue - An IP address or range of addresses in CIDR notation. + repository_ids: list[ID] - name - An optional name for the IP allow list entry. - isActive - Whether the IP allow list entry is active when an IP allow list is enabled. +@dataclass(kw_only=True) +class RepositoryInvitationOrder: + """ + RepositoryInvitationOrder - Ordering options for repository invitation connections. - clientMutationId - A unique identifier for the client performing the mutation. + direction - The ordering direction. - """ - ownerId: ID - allowListValue: str - name: str - isActive: bool - clientMutationId: str + field - The field to order repository invitations by. -class CreateEnterpriseOrganizationInput(GQLObject): - """ - CreateEnterpriseOrganizationInput - Autogenerated input type of CreateEnterpriseOrganization + """ - enterpriseId - The ID of the enterprise owning the new organization. + direction: OrderDirection + field: RepositoryInvitationOrderField - login - The login of the new organization. - profileName - The profile name of the new organization. +@dataclass(kw_only=True) +class RepositoryNameConditionTarget: + """ + RepositoryNameConditionTarget - Parameters to be used for the repository_name condition - billingEmail - The email used for sending billing receipts. + exclude - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. - adminLogins - The logins for the administrators of the new organization. + include - Array of repository names or patterns to include. One of these patterns must + match for the condition to pass. Also accepts `~ALL` to include all repositories. - clientMutationId - A unique identifier for the client performing the mutation. + protected - Target changes that match these patterns will be prevented except by those with bypass permissions. - """ - enterpriseId: ID - login: str - profileName: str - billingEmail: str - adminLogins: list[str] - clientMutationId: str + """ -class CreateCheckSuiteInput(GQLObject): - """ - CreateCheckSuiteInput - Autogenerated input type of CreateCheckSuite + exclude: list[str] + include: list[str] + protected: bool - repositoryId - The Node ID of the repository. - headSha - The SHA of the head commit. +@dataclass(kw_only=True) +class RepositoryOrder: + """ + RepositoryOrder - Ordering options for repository connections - clientMutationId - A unique identifier for the client performing the mutation. + direction - The ordering direction. - """ - repositoryId: ID - headSha: GitObjectID - clientMutationId: str + field - The field to order repositories by. -class CopyProjectV2Input(GQLObject): - """ - CopyProjectV2Input - Autogenerated input type of CopyProjectV2 + """ - projectId - The ID of the source Project to copy. + direction: OrderDirection + field: RepositoryOrderField - ownerId - The owner ID of the new project. - title - The title of the project. +@dataclass(kw_only=True) +class RepositoryRulesetBypassActorInput: + """ + RepositoryRulesetBypassActorInput - Specifies the attributes for a new or updated ruleset bypass actor. Only one of + `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified. - includeDraftIssues - Include draft issues in the new project + actorId - For Team and Integration bypasses, the Team or Integration ID - clientMutationId - A unique identifier for the client performing the mutation. + bypassMode - The bypass mode for this actor. - """ - projectId: ID - ownerId: ID - title: str - includeDraftIssues: bool - clientMutationId: str + organizationAdmin - For organization owner bypasses, true -class ConvertProjectCardNoteToIssueInput(GQLObject): - """ - ConvertProjectCardNoteToIssueInput - Autogenerated input type of ConvertProjectCardNoteToIssue + repositoryRoleDatabaseId - For role bypasses, the role database ID - projectCardId - The ProjectCard ID to convert. + """ - repositoryId - The ID of the repository to create the issue in. + actor_id: Optional[ID] = None + bypass_mode: RepositoryRulesetBypassActorBypassMode + organization_admin: Optional[bool] = None + repository_role_database_id: Optional[int] = None - title - The title of the newly created issue. Defaults to the card's note text. - body - The body of the newly created issue. +@dataclass(kw_only=True) +class RequirableByPullRequest: + """ + RequirableByPullRequest - Represents a type that can be required by a pull request for merging. - clientMutationId - A unique identifier for the client performing the mutation. + isRequired - Whether this is required to pass before merging for a specific pull request. - """ - projectCardId: ID - repositoryId: ID - title: str - body: str - clientMutationId: str + """ -class ContributionCalendarMonth(GQLObject): - """ - ContributionCalendarMonth - A month of contributions in a user's contribution graph. + is_required: bool - firstDay - The date of the first day of this month. - name - The name of the month. +@dataclass(kw_only=True) +class RequiredDeploymentsParametersInput: + """ + RequiredDeploymentsParametersInput - Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. - totalWeeks - How many weeks started in this month. + requiredDeploymentEnvironments - The environments that must be successfully deployed to before branches can be merged. - year - The year the month occurred in. + """ - """ - firstDay: Date - name: str - totalWeeks: int - year: int + required_deployment_environments: list[str] -class CommitterEmailPatternParametersInput(GQLObject): - """ - CommitterEmailPatternParametersInput - Parameters to be used for the committer_email_pattern rule - name - How this rule will appear to users. +@dataclass(kw_only=True) +class RerequestCheckSuiteInput: + """ + RerequestCheckSuiteInput - Autogenerated input type of RerequestCheckSuite - negate - If true, the rule will fail if the pattern matches. + checkSuiteId - The Node ID of the check suite. - operator - The operator to use for matching. + clientMutationId - A unique identifier for the client performing the mutation. - pattern - The pattern to match with. + repositoryId - The Node ID of the repository. - """ - name: str - negate: bool - operator: str - pattern: str + """ -class CommittableBranch(GQLObject): - """ - CommittableBranch - A git ref for a commit to be appended to. + check_suite_id: ID + client_mutation_id: Optional[str] = None + repository_id: ID -The ref must be a branch, i.e. its fully qualified name must start -with `refs/heads/` (although the input is not required to be fully -qualified). -The Ref may be specified by its global node ID or by the -`repositoryNameWithOwner` and `branchName`. +@dataclass(kw_only=True) +class RetireSponsorsTierInput: + """ + RetireSponsorsTierInput - Autogenerated input type of RetireSponsorsTier -### Examples + clientMutationId - A unique identifier for the client performing the mutation. -Specify a branch using a global node ID: + tierId - The ID of the published tier to retire. - { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } + """ -Specify a branch using `repositoryNameWithOwner` and `branchName`: + client_mutation_id: Optional[str] = None + tier_id: ID - { - "repositoryNameWithOwner": "github/graphql-client", - "branchName": "main" - } +@dataclass(kw_only=True) +class ReviewStatusHovercardContext: + """ + ReviewStatusHovercardContext - A hovercard context with a message describing the current code review state of the pull + request. + message - A string describing this context - id - The Node ID of the Ref to be updated. + octicon - An octicon to accompany this context - repositoryNameWithOwner - The nameWithOwner of the repository to commit to. + reviewDecision - The current status of the pull request with respect to code review. - branchName - The unqualified name of the branch to append the commit to. + """ - """ - id: ID - repositoryNameWithOwner: str - branchName: str + message: str + octicon: str + review_decision: Optional[PullRequestReviewDecision] = None -class CommitMessagePatternParameters(GQLObject): - """ - CommitMessagePatternParameters - Parameters to be used for the commit_message_pattern rule - name - How this rule will appear to users. +@dataclass(kw_only=True) +class RevokeMigratorRoleInput: + """ + RevokeMigratorRoleInput - Autogenerated input type of RevokeMigratorRole - negate - If true, the rule will fail if the pattern matches. + actor - The user login or Team slug to revoke the migrator role from. - operator - The operator to use for matching. + actorType - Specifies the type of the actor, can be either USER or TEAM. - pattern - The pattern to match with. + clientMutationId - A unique identifier for the client performing the mutation. - """ - name: str - negate: bool - operator: str - pattern: str + organizationId - The ID of the organization that the user/team belongs to. -class CommitContributionOrder(GQLObject): - """ - CommitContributionOrder - Ordering options for commit contribution connections. + """ - field - The field by which to order commit contributions. + actor: str + actor_type: ActorType + client_mutation_id: Optional[str] = None + organization_id: ID - direction - The ordering direction. - """ - field: CommitContributionOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class SavedReplyOrder: + """ + SavedReplyOrder - Ordering options for saved reply connections. -class CommitAuthorEmailPatternParameters(GQLObject): - """ - CommitAuthorEmailPatternParameters - Parameters to be used for the commit_author_email_pattern rule + direction - The ordering direction. - name - How this rule will appear to users. + field - The field to order saved replies by. - negate - If true, the rule will fail if the pattern matches. + """ - operator - The operator to use for matching. + direction: OrderDirection + field: SavedReplyOrderField - pattern - The pattern to match with. - """ - name: str - negate: bool - operator: str - pattern: str +@dataclass(kw_only=True) +class SecurityAdvisoryIdentifierFilter: + """ + SecurityAdvisoryIdentifierFilter - An advisory identifier to filter results on. -class CodeOfConduct(GQLObject): - """ - CodeOfConduct - The Code of Conduct for a repository + type - The identifier type. - body - The body of the Code of Conduct + value - The identifier string. Supports exact or partial matching. - key - The key for the Code of Conduct + """ - name - The formal name of the Code of Conduct + type: SecurityAdvisoryIdentifierType + value: str - resourcePath - The HTTP path for this Code of Conduct - url - The HTTP URL for this Code of Conduct +@dataclass(kw_only=True) +class SecurityAdvisoryPackage: + """ + SecurityAdvisoryPackage - An individual package - """ - body: str - id: ID - key: str - name: str - resourcePath: URI - url: URI + ecosystem - The ecosystem the package belongs to, e.g. RUBYGEMS, NPM -class CloseIssueInput(GQLObject): - """ - CloseIssueInput - Autogenerated input type of CloseIssue + name - The package name - issueId - ID of the issue to be closed. + """ - stateReason - The reason the issue is to be closed. + ecosystem: SecurityAdvisoryEcosystem + name: str - clientMutationId - A unique identifier for the client performing the mutation. - """ - issueId: ID - stateReason: IssueClosedStateReason - clientMutationId: str +@dataclass(kw_only=True) +class SecurityAdvisoryReference: + """ + SecurityAdvisoryReference - A GitHub Security Advisory Reference -class Closable(GQLObject): - """ - Closable - An object that can be closed + url - A publicly accessible reference - closed - Indicates if the object is closed (definition of closed may depend on type) + """ - closedAt - Identifies the date and time when the object was closed. + url: URI - viewerCanClose - Indicates if the object can be closed by the viewer. - viewerCanReopen - Indicates if the object can be reopened by the viewer. +@dataclass(kw_only=True) +class SetEnterpriseIdentityProviderInput: + """ + SetEnterpriseIdentityProviderInput - Autogenerated input type of SetEnterpriseIdentityProvider - """ - closed: bool - closedAt: DateTime - viewerCanClose: bool - viewerCanReopen: bool + clientMutationId - A unique identifier for the client performing the mutation. -class CloneProjectInput(GQLObject): - """ - CloneProjectInput - Autogenerated input type of CloneProject + digestMethod - The digest algorithm used to sign SAML requests for the identity provider. - targetOwnerId - The owner ID to create the project under. + enterpriseId - The ID of the enterprise on which to set an identity provider. - sourceId - The source project to clone. + idpCertificate - The x509 certificate used by the identity provider to sign assertions and responses. - includeWorkflows - Whether or not to clone the source project's workflows. + issuer - The Issuer Entity ID for the SAML identity provider - name - The name of the project. + signatureMethod - The signature algorithm used to sign SAML requests for the identity provider. - body - The description of the project. + ssoUrl - The URL endpoint for the identity provider's SAML SSO. - public - The visibility of the project, defaults to false (private). + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + digest_method: SamlDigestAlgorithm + enterprise_id: ID + idp_certificate: str + issuer: Optional[str] = None + signature_method: SamlSignatureAlgorithm + sso_url: URI - """ - targetOwnerId: ID - sourceId: ID - includeWorkflows: bool - name: str - body: str - public: bool - clientMutationId: str -class ClearLabelsFromLabelableInput(GQLObject): - """ - ClearLabelsFromLabelableInput - Autogenerated input type of ClearLabelsFromLabelable +@dataclass(kw_only=True) +class SetRepositoryInteractionLimitInput: + """ + SetRepositoryInteractionLimitInput - Autogenerated input type of SetRepositoryInteractionLimit - labelableId - The id of the labelable object to clear the labels from. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + expiry - When this limit should expire. - """ - labelableId: ID - clientMutationId: str + limit - The limit to set. -class CheckSuiteAutoTriggerPreference(GQLObject): - """ - CheckSuiteAutoTriggerPreference - The auto-trigger preferences that are available for check suites. + repositoryId - The ID of the repository to set a limit for. - appId - The node ID of the application that owns the check suite. + """ - setting - Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. + client_mutation_id: Optional[str] = None + expiry: Optional[RepositoryInteractionLimitExpiry] = None + limit: RepositoryInteractionLimit + repository_id: ID - """ - appId: ID - setting: bool -class CheckRunStateCount(GQLObject): - """ - CheckRunStateCount - Represents a count of the state of a check run. +@dataclass(kw_only=True) +class SocialAccount: + """ + SocialAccount - Social media profile associated with a user. - count - The number of check runs with this state. + displayName - Name of the social media account as it appears on the profile. - state - The state of a check run. + provider - Software or company that hosts the social media account. - """ - count: int - state: CheckRunState + url - URL of the social media account. -class CheckRunFilter(GQLObject): - """ - CheckRunFilter - The filters that are available when fetching check runs. + """ - checkType - Filters the check runs by this type. + display_name: str + provider: SocialAccountProvider + url: URI - appId - Filters the check runs created by this application ID. - checkName - Filters the check runs by this name. +@dataclass(kw_only=True) +class SponsorOrder: + """ + SponsorOrder - Ordering options for connections to get sponsor entities for GitHub Sponsors. - status - Filters the check runs by this status. Superceded by statuses. + direction - The ordering direction. - statuses - Filters the check runs by this status. Overrides status. + field - The field to order sponsor entities by. - conclusions - Filters the check runs by these conclusions. + """ - """ - checkType: CheckRunType - appId: int - checkName: str - status: CheckStatusState - statuses: list[CheckStatusState] - conclusions: list[CheckConclusionState] + direction: OrderDirection + field: SponsorOrderField -class CheckAnnotationRange(GQLObject): - """ - CheckAnnotationRange - Information from a check run analysis to specific lines of code. - startLine - The starting line of the range. +@dataclass(kw_only=True) +class SponsorsActivityOrder: + """ + SponsorsActivityOrder - Ordering options for GitHub Sponsors activity connections. - startColumn - The starting column of the range. + direction - The ordering direction. - endLine - The ending line of the range. + field - The field to order activity by. - endColumn - The ending column of the range. + """ - """ - startLine: int - startColumn: int - endLine: int - endColumn: int + direction: OrderDirection + field: SponsorsActivityOrderField -class ChangeUserStatusInput(GQLObject): - """ - ChangeUserStatusInput - Autogenerated input type of ChangeUserStatus - emoji - The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. +@dataclass(kw_only=True) +class SponsorsTierOrder: + """ + SponsorsTierOrder - Ordering options for Sponsors tiers connections. - message - A short description of your current status. + direction - The ordering direction. - organizationId - The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. + field - The field to order tiers by. - limitedAvailability - Whether this status should indicate you are not fully available on GitHub, e.g., you are away. + """ - expiresAt - If set, the user status will not be shown after this date. + direction: OrderDirection + field: SponsorsTierOrderField - clientMutationId - A unique identifier for the client performing the mutation. - """ - emoji: str - message: str - organizationId: ID - limitedAvailability: bool - expiresAt: DateTime - clientMutationId: str +@dataclass(kw_only=True) +class SponsorshipOrder: + """ + SponsorshipOrder - Ordering options for sponsorship connections. -class CancelEnterpriseAdminInvitationInput(GQLObject): - """ - CancelEnterpriseAdminInvitationInput - Autogenerated input type of CancelEnterpriseAdminInvitation + direction - The ordering direction. - invitationId - The Node ID of the pending enterprise administrator invitation. + field - The field to order sponsorship by. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - invitationId: ID - clientMutationId: str + direction: OrderDirection + field: SponsorshipOrderField -class CVSS(GQLObject): - """ - CVSS - The Common Vulnerability Scoring System - score - The CVSS score associated with this advisory +@dataclass(kw_only=True) +class StartOrganizationMigrationInput: + """ + StartOrganizationMigrationInput - Autogenerated input type of StartOrganizationMigration - vectorString - The CVSS vector string associated with this advisory + clientMutationId - A unique identifier for the client performing the mutation. - """ - score: float - vectorString: str + sourceAccessToken - The migration source access token. -class BranchNamePatternParametersInput(GQLObject): - """ - BranchNamePatternParametersInput - Parameters to be used for the branch_name_pattern rule + sourceOrgUrl - The URL of the organization to migrate. - name - How this rule will appear to users. + targetEnterpriseId - The ID of the enterprise the target organization belongs to. - negate - If true, the rule will fail if the pattern matches. + targetOrgName - The name of the target organization. - operator - The operator to use for matching. + """ - pattern - The pattern to match with. + client_mutation_id: Optional[str] = None + source_access_token: str + source_org_url: URI + target_enterprise_id: ID + target_org_name: str - """ - name: str - negate: bool - operator: str - pattern: str -class WVUEE_URI_Field(ArguedStr): - """ - WVUEE_URI_Field - A URL pointing to the GitHub App's public avatar. +@dataclass(kw_only=True) +class StatusCheckConfiguration: + """ + StatusCheckConfiguration - Required status check - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. + context - The status check context name that must be present on the commit. - """ - size: int + integrationId - The optional integration ID that this status check must originate from. - _args: URIArgs + """ + context: str + integration_id: Optional[int] = None -class AuditLogOrder(GQLObject): - """ - AuditLogOrder - Ordering options for Audit Log connections. +@dataclass(kw_only=True) +class StatusContextStateCount: + """ + StatusContextStateCount - Represents a count of the state of a status context. - field - The field to order Audit Logs by. + count - The number of statuses with this state. - direction - The ordering direction. + state - The state of a status context. - """ - field: AuditLogOrderField - direction: OrderDirection + """ -class ArchiveProjectV2ItemInput(GQLObject): - """ - ArchiveProjectV2ItemInput - Autogenerated input type of ArchiveProjectV2Item + count: int + state: StatusState - projectId - The ID of the Project to archive the item from. - itemId - The ID of the ProjectV2Item to archive. +@dataclass(kw_only=True) +class Submodule: + """ + Submodule - A pointer to a repository at a specific revision embedded inside another repository. - clientMutationId - A unique identifier for the client performing the mutation. + branch - The branch of the upstream submodule for tracking updates - """ - projectId: ID - itemId: ID - clientMutationId: str + gitUrl - The git URL of the submodule repository -class ApproveDeploymentsInput(GQLObject): - """ - ApproveDeploymentsInput - Autogenerated input type of ApproveDeployments + name - The name of the submodule in .gitmodules - workflowRunId - The node ID of the workflow run containing the pending deployments. + nameRaw - The name of the submodule in .gitmodules (Base64-encoded) - environmentIds - The ids of environments to reject deployments + path - The path in the superproject that this submodule is located in - comment - Optional comment for approving deployments + pathRaw - The path in the superproject that this submodule is located in (Base64-encoded) - clientMutationId - A unique identifier for the client performing the mutation. + subprojectCommitOid - The commit revision of the subproject repository being tracked by the submodule - """ - workflowRunId: ID - environmentIds: list[ID] - comment: str - clientMutationId: str + """ -class AddVerifiableDomainInput(GQLObject): - """ - AddVerifiableDomainInput - Autogenerated input type of AddVerifiableDomain + branch: Optional[str] = None + git_url: URI + name: str + name_raw: Base64String + path: str + path_raw: Base64String + subproject_commit_oid: Optional[GitObjectID] = None - ownerId - The ID of the owner to add the domain to - domain - The URL of the domain +@dataclass(kw_only=True) +class SubscribableThread: + """ + SubscribableThread - Entities that can be subscribed to for web and email notifications. - clientMutationId - A unique identifier for the client performing the mutation. + id - The Node ID of the SubscribableThread object - """ - ownerId: ID - domain: URI - clientMutationId: str + viewerThreadSubscriptionFormAction - Identifies the viewer's thread subscription form action. -class AddStarInput(GQLObject): - """ - AddStarInput - Autogenerated input type of AddStar + viewerThreadSubscriptionStatus - Identifies the viewer's thread subscription status. - starrableId - The Starrable ID to star. + """ - clientMutationId - A unique identifier for the client performing the mutation. + id: ID + viewer_thread_subscription_form_action: Optional[ + ThreadSubscriptionFormAction + ] = None + viewer_thread_subscription_status: Optional[ThreadSubscriptionState] = None - """ - starrableId: ID - clientMutationId: str -class AddPullRequestReviewThreadReplyInput(GQLObject): - """ - AddPullRequestReviewThreadReplyInput - Autogenerated input type of AddPullRequestReviewThreadReply +@dataclass(kw_only=True) +class TagNamePatternParametersInput: + """ + TagNamePatternParametersInput - Parameters to be used for the tag_name_pattern rule - pullRequestReviewId - The Node ID of the pending review to which the reply will belong. + name - How this rule will appear to users. - pullRequestReviewThreadId - The Node ID of the thread to which this reply is being written. + negate - If true, the rule will fail if the pattern matches. - body - The text of the reply. + operator - The operator to use for matching. - clientMutationId - A unique identifier for the client performing the mutation. + pattern - The pattern to match with. - """ - pullRequestReviewId: ID - pullRequestReviewThreadId: ID - body: str - clientMutationId: str + """ -class AddPullRequestReviewCommentInput(GQLObject): - """ - AddPullRequestReviewCommentInput - Autogenerated input type of AddPullRequestReviewComment + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str - pullRequestId - The node ID of the pull request reviewing -**Upcoming Change on 2023-10-01 UTC** -**Description:** `pullRequestId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation +@dataclass(kw_only=True) +class TeamDiscussionOrder: + """ + TeamDiscussionOrder - Ways in which team discussion connections can be ordered. + direction - The direction in which to order nodes. - pullRequestReviewId - The Node ID of the review to modify. + field - The field by which to order nodes. -**Upcoming Change on 2023-10-01 UTC** -**Description:** `pullRequestReviewId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation + """ + direction: OrderDirection + field: TeamDiscussionOrderField - commitOID - The SHA of the commit to comment on. -**Upcoming Change on 2023-10-01 UTC** -**Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation +@dataclass(kw_only=True) +class TeamOrder: + """ + TeamOrder - Ways in which team connections can be ordered. + direction - The direction in which to order nodes. - body - The text of the comment. This field is required + field - The field in which to order nodes by. -**Upcoming Change on 2023-10-01 UTC** -**Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation + """ + direction: OrderDirection + field: TeamOrderField - path - The relative path of the file to comment on. -**Upcoming Change on 2023-10-01 UTC** -**Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation +@dataclass(kw_only=True) +class TextMatchHighlight: + """ + TextMatchHighlight - Represents a single highlight in a search result match. + beginIndice - The indice in the fragment where the matched text begins. - position - The line index in the diff to comment on. + endIndice - The indice in the fragment where the matched text ends. -**Upcoming Change on 2023-10-01 UTC** -**Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation + text - The text matched. + """ - inReplyTo - The comment id to reply to. + begin_indice: int + end_indice: int + text: str -**Upcoming Change on 2023-10-01 UTC** -**Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead -**Reason:** We are deprecating the addPullRequestReviewComment mutation +@dataclass(kw_only=True) +class TransferIssueInput: + """ + TransferIssueInput - Autogenerated input type of TransferIssue - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - pullRequestId: ID - pullRequestReviewId: ID - commitOID: GitObjectID - body: str - path: str - position: int - inReplyTo: ID - clientMutationId: str + createLabelsIfMissing - Whether to create labels if they don't exist in the target repository (matched by name) -class AddProjectV2DraftIssueInput(GQLObject): - """ - AddProjectV2DraftIssueInput - Autogenerated input type of AddProjectV2DraftIssue + issueId - The Node ID of the issue to be transferred - projectId - The ID of the Project to add the draft issue to. + repositoryId - The Node ID of the repository the issue should be transferred to - title - The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access. + """ - body - The body of the draft issue. + client_mutation_id: Optional[str] = None + create_labels_if_missing: Optional[bool] = None + issue_id: ID + repository_id: ID - assigneeIds - The IDs of the assignees of the draft issue. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UnarchiveRepositoryInput: + """ + UnarchiveRepositoryInput - Autogenerated input type of UnarchiveRepository - """ - projectId: ID - title: str - body: str - assigneeIds: list[ID] - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class AddProjectCardInput(GQLObject): - """ - AddProjectCardInput - Autogenerated input type of AddProjectCard + repositoryId - The ID of the repository to unarchive. - projectColumnId - The Node ID of the ProjectColumn. + """ - contentId - The content of the card. Must be a member of the ProjectCardItem union + client_mutation_id: Optional[str] = None + repository_id: ID - note - The note on the card. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UnfollowUserInput: + """ + UnfollowUserInput - Autogenerated input type of UnfollowUser - """ - projectColumnId: ID - contentId: ID - note: str - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class AddEnterpriseSupportEntitlementPayload(GQLObject): - """ - AddEnterpriseSupportEntitlementPayload - Autogenerated return type of AddEnterpriseSupportEntitlement + userId - ID of the user to unfollow. - clientMutationId - A unique identifier for the client performing the mutation. + """ - message - A message confirming the result of adding the support entitlement. + client_mutation_id: Optional[str] = None + user_id: ID - """ - clientMutationId: str - message: str -class AddEnterpriseOrganizationMemberInput(GQLObject): - """ - AddEnterpriseOrganizationMemberInput - Autogenerated input type of AddEnterpriseOrganizationMember +@dataclass(kw_only=True) +class UnlinkProjectV2FromRepositoryInput: + """ + UnlinkProjectV2FromRepositoryInput - Autogenerated input type of UnlinkProjectV2FromRepository - enterpriseId - The ID of the enterprise which owns the organization. + clientMutationId - A unique identifier for the client performing the mutation. - organizationId - The ID of the organization the users will be added to. + projectId - The ID of the project to unlink from the repository. - userIds - The IDs of the enterprise members to add. + repositoryId - The ID of the repository to unlink from the project. - role - The role to assign the users in the organization + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID - """ - enterpriseId: ID - organizationId: ID - userIds: list[ID] - role: OrganizationMemberRole - clientMutationId: str -class AddDiscussionCommentInput(GQLObject): - """ - AddDiscussionCommentInput - Autogenerated input type of AddDiscussionComment +@dataclass(kw_only=True) +class UnlinkRepositoryFromProjectInput: + """ + UnlinkRepositoryFromProjectInput - Autogenerated input type of UnlinkRepositoryFromProject - discussionId - The Node ID of the discussion to comment on. + clientMutationId - A unique identifier for the client performing the mutation. - replyToId - The Node ID of the discussion comment within this discussion to reply to. + projectId - The ID of the Project linked to the Repository. - body - The contents of the comment. + repositoryId - The ID of the Repository linked to the Project. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - discussionId: ID - replyToId: ID - body: str - clientMutationId: str + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID -class AddAssigneesToAssignableInput(GQLObject): - """ - AddAssigneesToAssignableInput - Autogenerated input type of AddAssigneesToAssignable - assignableId - The id of the assignable object to add assignees to. +@dataclass(kw_only=True) +class UnmarkDiscussionCommentAsAnswerInput: + """ + UnmarkDiscussionCommentAsAnswerInput - Autogenerated input type of UnmarkDiscussionCommentAsAnswer - assigneeIds - The id of users to add as assignees. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + id - The Node ID of the discussion comment to unmark as an answer. - """ - assignableId: ID - assigneeIds: list[ID] - clientMutationId: str + """ -class YBFIV_URI_Field(ArguedStr): - """ - YBFIV_URI_Field - A URL pointing to the actor's public avatar. + client_mutation_id: Optional[str] = None + id: ID - """ - class URIArgs(GQLArgsSet, GQLObject): - """ - size - The size of the resulting square image. - """ - size: int +@dataclass(kw_only=True) +class UnmarkIssueAsDuplicateInput: + """ + UnmarkIssueAsDuplicateInput - Autogenerated input type of UnmarkIssueAsDuplicate - _args: URIArgs + canonicalId - ID of the issue or pull request currently considered canonical/authoritative/original. + clientMutationId - A unique identifier for the client performing the mutation. + duplicateId - ID of the issue or pull request currently marked as a duplicate. -class AcceptTopicSuggestionInput(GQLObject): - """ - AcceptTopicSuggestionInput - Autogenerated input type of AcceptTopicSuggestion + """ - repositoryId - The Node ID of the repository. + canonical_id: ID + client_mutation_id: Optional[str] = None + duplicate_id: ID - name - The name of the suggested topic. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UnminimizeCommentInput: + """ + UnminimizeCommentInput - Autogenerated input type of UnminimizeComment - """ - repositoryId: ID - name: str - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class AbortQueuedMigrationsPayload(GQLObject): - """ - AbortQueuedMigrationsPayload - Autogenerated return type of AbortQueuedMigrations + subjectId - The Node ID of the subject to modify. - clientMutationId - A unique identifier for the client performing the mutation. + """ - success - Did the operation succeed? + client_mutation_id: Optional[str] = None + subject_id: ID - """ - clientMutationId: str - success: bool + +@dataclass(kw_only=True) +class UnresolveReviewThreadInput: + """ + UnresolveReviewThreadInput - Autogenerated input type of UnresolveReviewThread + + clientMutationId - A unique identifier for the client performing the mutation. + + threadId - The ID of the thread to unresolve + + """ + + client_mutation_id: Optional[str] = None + thread_id: ID + + +@dataclass(kw_only=True) +class UnsubscribeFromNotificationsPayload: + """ + UnsubscribeFromNotificationsPayload - Autogenerated return type of UnsubscribeFromNotifications + + clientMutationId - A unique identifier for the client performing the mutation. + + success - Did the operation succeed? + + """ + + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + + +@dataclass(kw_only=True) +class UpdatableComment: + """ + UpdatableComment - Comments that can be updated. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + """ + + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + + +@dataclass(kw_only=True) +class UpdateDiscussionInput: + """ + UpdateDiscussionInput - Autogenerated input type of UpdateDiscussion + + body - The new contents of the discussion body. + + categoryId - The Node ID of a discussion category within the same repository to change this discussion to. + + clientMutationId - A unique identifier for the client performing the mutation. + + discussionId - The Node ID of the discussion to update. + + title - The new discussion title. + + """ + + body: Optional[str] = None + category_id: Optional[ID] = None + client_mutation_id: Optional[str] = None + discussion_id: ID + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseAdministratorRolePayload: + """ + UpdateEnterpriseAdministratorRolePayload - Autogenerated return type of UpdateEnterpriseAdministratorRole + + clientMutationId - A unique identifier for the client performing the mutation. + + message - A message confirming the result of changing the administrator's role. + + """ + + client_mutation_id: Optional[str] = None + message: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseDefaultRepositoryPermissionSettingInput: + """ + UpdateEnterpriseDefaultRepositoryPermissionSettingInput - Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the enterprise on which to set the base repository permission setting. + + settingValue - The value for the base repository permission setting on the enterprise. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseDefaultRepositoryPermissionSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanCreateRepositoriesSettingInput: + """ + UpdateEnterpriseMembersCanCreateRepositoriesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the enterprise on which to set the members can create repositories setting. + + membersCanCreateInternalRepositories - Allow members to create internal repositories. Defaults to current value. + + membersCanCreatePrivateRepositories - Allow members to create private repositories. Defaults to current value. + + membersCanCreatePublicRepositories - Allow members to create public repositories. Defaults to current value. + + membersCanCreateRepositoriesPolicyEnabled - When false, allow member organizations to set their own repository creation member privileges. + + settingValue - Value for the members can create repositories setting on the enterprise. This + or the granular public/private/internal allowed fields (but not both) must be provided. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + members_can_create_internal_repositories: Optional[bool] = None + members_can_create_private_repositories: Optional[bool] = None + members_can_create_public_repositories: Optional[bool] = None + members_can_create_repositories_policy_enabled: Optional[bool] = None + setting_value: Optional[EnterpriseMembersCanCreateRepositoriesSettingValue] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput: + """ + UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the enterprise on which to set the members can delete repositories setting. + + settingValue - The value for the members can delete repositories setting on the enterprise. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanMakePurchasesSettingInput: + """ + UpdateEnterpriseMembersCanMakePurchasesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the enterprise on which to set the members can make purchases setting. + + settingValue - The value for the members can make purchases setting on the enterprise. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseMembersCanMakePurchasesSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput: + """ + UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the enterprise on which to set the members can view dependency insights setting. + + settingValue - The value for the members can view dependency insights setting on the enterprise. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseOwnerOrganizationRoleInput: + """ + UpdateEnterpriseOwnerOrganizationRoleInput - Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the Enterprise which the owner belongs to. + + organizationId - The ID of the organization for membership change. + + organizationRole - The role to assume in the organization. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + organization_id: ID + organization_role: RoleInOrganization + + +@dataclass(kw_only=True) +class UpdateEnterpriseProfileInput: + """ + UpdateEnterpriseProfileInput - Autogenerated input type of UpdateEnterpriseProfile + + clientMutationId - A unique identifier for the client performing the mutation. + + description - The description of the enterprise. + + enterpriseId - The Enterprise ID to update. + + location - The location of the enterprise. + + name - The name of the enterprise. + + websiteUrl - The URL of the enterprise's website. + + """ + + client_mutation_id: Optional[str] = None + description: Optional[str] = None + enterprise_id: ID + location: Optional[str] = None + name: Optional[str] = None + website_url: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseTeamDiscussionsSettingInput: + """ + UpdateEnterpriseTeamDiscussionsSettingInput - Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + enterpriseId - The ID of the enterprise on which to set the team discussions setting. + + settingValue - The value for the team discussions setting on the enterprise. + + """ + + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue + + +@dataclass(kw_only=True) +class UpdateEnvironmentInput: + """ + UpdateEnvironmentInput - Autogenerated input type of UpdateEnvironment + + clientMutationId - A unique identifier for the client performing the mutation. + + environmentId - The node ID of the environment. + + preventSelfReview - Whether deployments to this environment can be approved by the user who created the deployment. + + reviewers - The ids of users or teams that can approve deployments to this environment + + waitTimer - The wait timer in minutes. + + """ + + client_mutation_id: Optional[str] = None + environment_id: ID + prevent_self_review: Optional[bool] = None + reviewers: Optional[list[ID]] = None + wait_timer: Optional[int] = None + + +@dataclass(kw_only=True) +class UpdateIpAllowListEntryInput: + """ + UpdateIpAllowListEntryInput - Autogenerated input type of UpdateIpAllowListEntry + + allowListValue - An IP address or range of addresses in CIDR notation. + + clientMutationId - A unique identifier for the client performing the mutation. + + ipAllowListEntryId - The ID of the IP allow list entry to update. + + isActive - Whether the IP allow list entry is active when an IP allow list is enabled. + + name - An optional name for the IP allow list entry. + + """ + + allow_list_value: str + client_mutation_id: Optional[str] = None + ip_allow_list_entry_id: ID + is_active: bool + name: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateIssueCommentInput: + """ + UpdateIssueCommentInput - Autogenerated input type of UpdateIssueComment + + body - The updated text of the comment. + + clientMutationId - A unique identifier for the client performing the mutation. + + id - The ID of the IssueComment to modify. + + """ + + body: str + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class UpdateLabelInput: + """ + UpdateLabelInput - Autogenerated input type of UpdateLabel + + clientMutationId - A unique identifier for the client performing the mutation. + + color - A 6 character hex code, without the leading #, identifying the updated color of the label. + + description - A brief description of the label, such as its purpose. + + id - The Node ID of the label to be updated. + + name - The updated name of the label. + + """ + + client_mutation_id: Optional[str] = None + color: Optional[str] = None + description: Optional[str] = None + id: ID + name: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateOrganizationAllowPrivateRepositoryForkingSettingInput: + """ + UpdateOrganizationAllowPrivateRepositoryForkingSettingInput - Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + forkingEnabled - Enable forking of private repositories in the organization? + + organizationId - The ID of the organization on which to set the allow private repository forking setting. + + """ + + client_mutation_id: Optional[str] = None + forking_enabled: bool + organization_id: ID + + +@dataclass(kw_only=True) +class UpdateParameters: + """ + UpdateParameters - Only allow users with bypass permission to update matching refs. + + updateAllowsFetchAndMerge - Branch can pull changes from its upstream repository + + """ + + update_allows_fetch_and_merge: bool + + +@dataclass(kw_only=True) +class UpdatePatreonSponsorabilityInput: + """ + UpdatePatreonSponsorabilityInput - Autogenerated input type of UpdatePatreonSponsorability + + clientMutationId - A unique identifier for the client performing the mutation. + + enablePatreonSponsorships - Whether Patreon tiers should be shown on the GitHub Sponsors profile page, + allowing potential sponsors to make their payment through Patreon instead of GitHub. + + sponsorableLogin - The username of the organization with the GitHub Sponsors profile, if any. + Defaults to the GitHub Sponsors profile for the authenticated user if omitted. + + """ + + client_mutation_id: Optional[str] = None + enable_patreon_sponsorships: bool + sponsorable_login: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateProjectColumnInput: + """ + UpdateProjectColumnInput - Autogenerated input type of UpdateProjectColumn + + clientMutationId - A unique identifier for the client performing the mutation. + + name - The name of project column. + + projectColumnId - The ProjectColumn ID to update. + + """ + + client_mutation_id: Optional[str] = None + name: str + project_column_id: ID + + +@dataclass(kw_only=True) +class UpdateProjectV2DraftIssueInput: + """ + UpdateProjectV2DraftIssueInput - Autogenerated input type of UpdateProjectV2DraftIssue + + assigneeIds - The IDs of the assignees of the draft issue. + + body - The body of the draft issue. + + clientMutationId - A unique identifier for the client performing the mutation. + + draftIssueId - The ID of the draft issue to update. + + title - The title of the draft issue. + + """ + + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + draft_issue_id: ID + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateProjectV2ItemPositionInput: + """ + UpdateProjectV2ItemPositionInput - Autogenerated input type of UpdateProjectV2ItemPosition + + afterId - The ID of the item to position this item after. If omitted or set to null the item will be moved to top. + + clientMutationId - A unique identifier for the client performing the mutation. + + itemId - The ID of the item to be moved. + + projectId - The ID of the Project. + + """ + + after_id: Optional[ID] = None + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID + + +@dataclass(kw_only=True) +class UpdatePullRequestInput: + """ + UpdatePullRequestInput - Autogenerated input type of UpdatePullRequest + + assigneeIds - An array of Node IDs of users for this pull request. + + baseRefName - The name of the branch you want your changes pulled into. This should be an existing branch + on the current repository. + + body - The contents of the pull request. + + clientMutationId - A unique identifier for the client performing the mutation. + + labelIds - An array of Node IDs of labels for this pull request. + + maintainerCanModify - Indicates whether maintainers can modify the pull request. + + milestoneId - The Node ID of the milestone for this pull request. + + projectIds - An array of Node IDs for projects associated with this pull request. + + pullRequestId - The Node ID of the pull request. + + state - The target state of the pull request. + + title - The title of the pull request. + + """ + + assignee_ids: Optional[list[ID]] = None + base_ref_name: Optional[str] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + label_ids: Optional[list[ID]] = None + maintainer_can_modify: Optional[bool] = None + milestone_id: Optional[ID] = None + project_ids: Optional[list[ID]] = None + pull_request_id: ID + state: Optional[PullRequestUpdateState] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdatePullRequestReviewInput: + """ + UpdatePullRequestReviewInput - Autogenerated input type of UpdatePullRequestReview + + body - The contents of the pull request review body. + + clientMutationId - A unique identifier for the client performing the mutation. + + pullRequestReviewId - The Node ID of the pull request review to modify. + + """ + + body: str + client_mutation_id: Optional[str] = None + pull_request_review_id: ID + + +@dataclass(kw_only=True) +class UpdateRefsPayload: + """ + UpdateRefsPayload - Autogenerated return type of UpdateRefs + + clientMutationId - A unique identifier for the client performing the mutation. + + """ + + client_mutation_id: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateRepositoryWebCommitSignoffSettingInput: + """ + UpdateRepositoryWebCommitSignoffSettingInput - Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting + + clientMutationId - A unique identifier for the client performing the mutation. + + repositoryId - The ID of the repository to update. + + webCommitSignoffRequired - Indicates if the repository should require signoff on web-based commits. + + """ + + client_mutation_id: Optional[str] = None + repository_id: ID + web_commit_signoff_required: bool + + +@dataclass(kw_only=True) +class UpdateSubscriptionInput: + """ + UpdateSubscriptionInput - Autogenerated input type of UpdateSubscription + + clientMutationId - A unique identifier for the client performing the mutation. + + state - The new state of the subscription. + + subscribableId - The Node ID of the subscribable object to modify. + + """ + + client_mutation_id: Optional[str] = None + state: SubscriptionState + subscribable_id: ID + + +@dataclass(kw_only=True) +class UpdateTeamDiscussionInput: + """ + UpdateTeamDiscussionInput - Autogenerated input type of UpdateTeamDiscussion + + body - The updated text of the discussion. + + bodyVersion - The current version of the body content. If provided, this update operation + will be rejected if the given version does not match the latest version on the server. + + clientMutationId - A unique identifier for the client performing the mutation. + + id - The Node ID of the discussion to modify. + + pinned - If provided, sets the pinned state of the updated discussion. + + title - The updated title of the discussion. + + """ + + body: Optional[str] = None + body_version: Optional[str] = None + client_mutation_id: Optional[str] = None + id: ID + pinned: Optional[bool] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateTeamsRepositoryInput: + """ + UpdateTeamsRepositoryInput - Autogenerated input type of UpdateTeamsRepository + + clientMutationId - A unique identifier for the client performing the mutation. + + permission - Permission that should be granted to the teams. + + repositoryId - Repository ID being granted access to. + + teamIds - A list of teams being granted access. Limit: 10 + + """ + + client_mutation_id: Optional[str] = None + permission: RepositoryPermission + repository_id: ID + team_ids: list[ID] + + +@dataclass(kw_only=True) +class UpdateUserListInput: + """ + UpdateUserListInput - Autogenerated input type of UpdateUserList + + clientMutationId - A unique identifier for the client performing the mutation. + + description - A description of the list + + isPrivate - Whether or not the list is private + + listId - The ID of the list to update. + + name - The name of the list + + """ + + client_mutation_id: Optional[str] = None + description: Optional[str] = None + is_private: Optional[bool] = None + list_id: ID + name: Optional[str] = None + + +@dataclass(kw_only=True) +class UserEmailMetadata: + """ + UserEmailMetadata - Email attributes from External Identity + + primary - Boolean to identify primary emails + + type - Type of email + + value - Email id + + """ + + primary: Optional[bool] = None + type: Optional[str] = None + value: str + + +@dataclass(kw_only=True) +class UserStatusOrder: + """ + UserStatusOrder - Ordering options for user status connections. + + direction - The ordering direction. + + field - The field to order user statuses by. + + """ + + direction: OrderDirection + field: UserStatusOrderField + + +@dataclass(kw_only=True) +class VerifyVerifiableDomainInput: + """ + VerifyVerifiableDomainInput - Autogenerated input type of VerifyVerifiableDomain + + clientMutationId - A unique identifier for the client performing the mutation. + + id - The ID of the verifiable domain to verify. + + """ + + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class WorkflowFileReference: + """ + WorkflowFileReference - A workflow that must run for this rule to pass + + path - The path to the workflow file + + ref - The ref (branch or tag) of the workflow file to use + + repositoryId - The ID of the repository where the workflow is defined + + sha - The commit SHA of the workflow file to use + + """ + + path: str + ref: Optional[str] = None + repository_id: int + sha: Optional[str] = None + + +@dataclass(kw_only=True) +class WorkflowRunOrder: + """ + WorkflowRunOrder - Ways in which lists of workflow runs can be ordered upon return. + + direction - The direction in which to order workflow runs by the specified field. + + field - The field by which to order workflows. + + """ + + direction: OrderDirection + field: WorkflowRunOrderField diff --git a/tests/output/github/gql_types.py b/tests/output/github/gql_types.py index b56c6ea..068af52 100644 --- a/tests/output/github/gql_types.py +++ b/tests/output/github/gql_types.py @@ -1,34926 +1,24971 @@ -from typing import Generic, Union, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from typing import NewType -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + ActorType, + CheckAnnotationLevel, + CheckConclusionState, + CheckRunState, + CheckRunType, + CheckStatusState, + CommentAuthorAssociation, + CommentCannotUpdateReason, + CommitContributionOrderField, + ComparisonStatus, + ContributionLevel, + DefaultRepositoryPermissionField, + DeploymentOrderField, + DeploymentProtectionRuleType, + DeploymentReviewState, + DeploymentStatusState, + DiffSide, + DiscussionPollOptionOrderField, + DismissReason, + EnterpriseAdministratorRole, + EnterpriseAllowPrivateRepositoryForkingPolicyValue, + EnterpriseDefaultRepositoryPermissionSettingValue, + EnterpriseEnabledDisabledSettingValue, + EnterpriseEnabledSettingValue, + EnterpriseMemberOrderField, + EnterpriseMembersCanCreateRepositoriesSettingValue, + EnterpriseMembersCanMakePurchasesSettingValue, + EnterpriseServerUserAccountEmailOrderField, + EnterpriseServerUserAccountsUploadOrderField, + EnterpriseServerUserAccountsUploadSyncState, + EnterpriseUserAccountMembershipRole, + GitSignatureState, + IpAllowListEnabledSettingValue, + IpAllowListEntryOrderField, + IpAllowListForInstalledAppsEnabledSettingValue, + IssueClosedStateReason, + IssueState, + IssueStateReason, + LabelOrderField, + LanguageOrderField, + LockReason, + MergeQueueEntryState, + MigrationSourceType, + MigrationState, + MilestoneState, + NotificationRestrictionSettingValue, + OauthApplicationCreateAuditEntryState, + OIDCProviderType, + OperationType, + OrderDirection, + OrgAddMemberAuditEntryPermission, + OrganizationInvitationRole, + OrganizationInvitationSource, + OrganizationInvitationType, + OrganizationMemberRole, + OrganizationOrderField, + OrgCreateAuditEntryBillingPlan, + OrgEnterpriseOwnerOrderField, + OrgRemoveBillingManagerAuditEntryReason, + OrgRemoveMemberAuditEntryMembershipType, + OrgRemoveMemberAuditEntryReason, + OrgRemoveOutsideCollaboratorAuditEntryMembershipType, + OrgRemoveOutsideCollaboratorAuditEntryReason, + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission, + OrgUpdateMemberAuditEntryPermission, + OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility, + PackageOrderField, + PackageVersionOrderField, + PinnedDiscussionGradient, + PinnedDiscussionPattern, + ProjectCardState, + ProjectState, + ProjectTemplate, + ProjectV2CustomFieldType, + ProjectV2FieldOrderField, + ProjectV2FieldType, + ProjectV2ItemOrderField, + ProjectV2OrderField, + ProjectV2SingleSelectFieldOptionColor, + ProjectV2State, + ProjectV2ViewLayout, + ProjectV2WorkflowsOrderField, + PullRequestBranchUpdateMethod, + PullRequestMergeMethod, + PullRequestOrderField, + PullRequestReviewEvent, + PullRequestReviewState, + PullRequestReviewThreadSubjectType, + ReactionContent, + ReactionOrderField, + ReleaseOrderField, + RepoAccessAuditEntryVisibility, + RepoAddMemberAuditEntryVisibility, + RepoArchivedAuditEntryVisibility, + RepoChangeMergeSettingAuditEntryMergeType, + RepoCreateAuditEntryVisibility, + RepoDestroyAuditEntryVisibility, + RepoRemoveMemberAuditEntryVisibility, + RepositoryInteractionLimit, + RepositoryInteractionLimitExpiry, + RepositoryInteractionLimitOrigin, + RepositoryLockReason, + RepositoryMigrationOrderDirection, + RepositoryMigrationOrderField, + RepositoryPermission, + RepositoryRuleOrderField, + RepositoryRulesetBypassActorBypassMode, + RepositoryRulesetTarget, + RepositoryRuleType, + RepositoryVisibility, + RepositoryVulnerabilityAlertDependencyScope, + RepositoryVulnerabilityAlertState, + RequestableCheckStatusState, + RoleInOrganization, + RuleEnforcement, + SamlDigestAlgorithm, + SamlSignatureAlgorithm, + SecurityAdvisoryOrderField, + SecurityAdvisorySeverity, + SecurityVulnerabilityOrderField, + SponsorableOrderField, + SponsorAndLifetimeValueOrderField, + SponsorsActivityAction, + SponsorsGoalKind, + SponsorshipNewsletterOrderField, + SponsorshipPaymentSource, + SponsorshipPrivacy, + StarOrderField, + StatusState, + SubscriptionState, + TeamDiscussionCommentOrderField, + TeamMemberOrderField, + TeamMemberRole, + TeamRepositoryOrderField, + TeamReviewAssignmentAlgorithm, + UserBlockDuration, + VerifiableDomainOrderField, + WorkflowState, +) +from .gql_simple_types import ( + CWE, + Actor, + BulkSponsorship, + CheckAnnotationPosition, + CheckRunAction, + CheckRunOutputImage, + CheckStep, + CommitAuthorEmailPatternParametersInput, + CommitMessage, + CommitMessagePatternParametersInput, + ContributionCalendarMonth, + DeployKey, + DraftPullRequestReviewComment, + FileAddition, + Language, + LicenseRule, + MarketplaceCategory, + OrganizationMigration, + ProjectV2Collaborator, + ProjectV2FieldValue, + ProjectV2IterationFieldIteration, + ProjectV2SingleSelectFieldOption, + PropertyTargetDefinition, + PublicKey, + PullRequestChangedFile, + RefNameConditionTarget, + RepositoryIdConditionTargetInput, + RepositoryNameConditionTarget, + RepositoryRulesetBypassActorInput, + RequiredDeploymentsParametersInput, + SecurityAdvisoryPackage, + SocialAccount, + StatusCheckConfiguration, + StatusContextStateCount, + Submodule, + TagNamePatternParametersInput, + TextMatchHighlight, + UserEmailMetadata, + WorkflowFileReference, +) +from .scalars import ( + HTML, + ID, + URI, + Base64String, + BigInt, + Date, + DateTime, + GitObjectID, + GitRefname, + GitTimestamp, + PreciseDateTime, + X509Certificate, +) + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .pull_request import PullRequest + from .pull_request_connection import PullRequestConnection + from .branch_protection_rule import BranchProtectionRule + from .ref import Ref + from .app import App + from .enterprise import Enterprise + from .enterprise_server_user_account import EnterpriseServerUserAccount + from .enterprise_server_installation import EnterpriseServerInstallation + from .organization import Organization + from .user import User + from .repository import Repository + from .team import Team + from .team_discussion import TeamDiscussion + from .reaction_group import ReactionGroup + from .reactable import Reactable + from .project_v2 import ProjectV2 + from .project_v2_item_connection import ProjectV2ItemConnection + from .issue import Issue + from .project_v2_item import ProjectV2Item + from .commit_comment_connection import CommitCommentConnection + from .commit import Commit + from .deployment import Deployment + from .discussion import Discussion + from .discussion_comment import DiscussionComment + from .discussion_poll import DiscussionPoll + from .release import Release + from .merge_queue import MergeQueue + from .package_version import PackageVersion + from .package import Package + from .project_column import ProjectColumn + from .project import Project + from .topic import Topic + from .repository_ruleset import RepositoryRuleset + from .security_advisory import SecurityAdvisory + from .ip_allow_list_entry_connection import IpAllowListEntryConnection + from .gist import Gist + from .sponsorable import Sponsorable + from .sponsors_tier import SponsorsTier + from .sponsors_listing import SponsorsListing + from .issue_comment_edge import IssueCommentEdge + from .issue_comment import IssueComment + from .pull_request_review import PullRequestReview + from .pull_request_review_comment import PullRequestReviewComment + from .check_suite import CheckSuite + from .workflow_run import WorkflowRun + from .user_edge import UserEdge + from .gql_unions import AuditEntryActor + from .gql_unions import Reactor + from .gql_unions import ProjectV2FieldConfiguration + from .gql_unions import RequestedReviewer + from .gql_unions import ProjectV2ItemFieldValue + from .gql_unions import PermissionGranter + from .gql_unions import DeploymentReviewer + from .gql_unions import IssueOrPullRequest + from .gql_unions import ProjectCardItem + from .gql_unions import BypassActor + from .gql_unions import RuleParameters + from .gql_unions import OrgRestoreMemberAuditEntryMembership + from .gql_unions import OrganizationAuditEntry + from .gql_unions import VerifiableDomainOwner + from .gql_unions import PinnableItem + from .gql_unions import Sponsor + from .gql_unions import SponsorsListingFeatureableItem + from .gql_unions import EnterpriseMember + from .gql_unions import IpAllowListOwner + from .gql_unions import BranchActorAllowanceActor + from .gql_unions import PushAllowanceActor + from .gql_unions import ReviewDismissalAllowanceActor + from .gql_unions import Assignee + from .gql_unions import Closer + from .gql_unions import ReferencedSubject + from .gql_unions import MilestoneItem + from .gql_unions import RenamedTitleSubject + from .gql_unions import PullRequestTimelineItem + from .gql_unions import PullRequestTimelineItems + from .gql_unions import StatusCheckRollupContext + from .gql_unions import UserListItems + from .gql_unions import IssueTimelineItem + from .gql_unions import IssueTimelineItems + from .gql_unions import Claimable + from .gql_unions import ProjectV2Actor + from .gql_unions import SearchResultItem + from .gql_unions import SponsorableItem + + +@dataclass(kw_only=True) +class AbortQueuedMigrationsPayload: + """ + AbortQueuedMigrationsPayload - Autogenerated return type of AbortQueuedMigrations + + clientMutationId - A unique identifier for the client performing the mutation. + + success - Did the operation succeed? + + """ + + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + + +@dataclass(kw_only=True) +class AbortRepositoryMigrationPayload: + """ + AbortRepositoryMigrationPayload - Autogenerated return type of AbortRepositoryMigration + + clientMutationId - A unique identifier for the client performing the mutation. + + success - Did the operation succeed? + + """ -class Votable(GQLObject): - """ - Votable - A subject that may be upvoted. + client_mutation_id: Optional[str] = None + success: Optional[bool] = None - upvoteCount - Number of upvotes that this subject has received. - viewerCanUpvote - Whether or not the current user can add or remove an upvote on this subject. +@dataclass(kw_only=True) +class AcceptTopicSuggestionInput: + """ + AcceptTopicSuggestionInput - Autogenerated input type of AcceptTopicSuggestion - viewerHasUpvoted - Whether or not the current user has already upvoted this subject. + clientMutationId - A unique identifier for the client performing the mutation. - """ - upvoteCount: int - viewerCanUpvote: bool - viewerHasUpvoted: bool + name - The name of the suggested topic. -class VerifiableDomainOrder(GQLObject): - """ - VerifiableDomainOrder - Ordering options for verifiable domain connections. + **Upcoming Change on 2024-04-01 UTC** + **Description:** `name` will be removed. + **Reason:** Suggested topics are no longer supported - field - The field to order verifiable domains by. + repositoryId - The Node ID of the repository. - direction - The ordering direction. + **Upcoming Change on 2024-04-01 UTC** + **Description:** `repositoryId` will be removed. + **Reason:** Suggested topics are no longer supported - """ - field: VerifiableDomainOrderField - direction: OrderDirection + """ -class UserEmailMetadata(GQLObject): - """ - UserEmailMetadata - Email attributes from External Identity + client_mutation_id: Optional[str] = None + name: Optional[str] = None + repository_id: Optional[ID] = None - primary - Boolean to identify primary emails - type - Type of email +@dataclass(kw_only=True) +class ActorLocation: + """ + ActorLocation - Location information for an actor - value - Email id + city - City - """ - primary: bool - type: str - value: str + country - Country name -class UpdateTeamsRepositoryInput(GQLObject): - """ - UpdateTeamsRepositoryInput - Autogenerated input type of UpdateTeamsRepository + countryCode - Country code - repositoryId - Repository ID being granted access to. + region - Region name - teamIds - A list of teams being granted access. Limit: 10 + regionCode - Region or state code - permission - Permission that should be granted to the teams. + """ - clientMutationId - A unique identifier for the client performing the mutation. + city: Optional[str] = None + country: Optional[str] = None + country_code: Optional[str] = None + region: Optional[str] = None + region_code: Optional[str] = None - """ - repositoryId: ID - teamIds: list[ID] - permission: RepositoryPermission - clientMutationId: str -class UpdateTeamDiscussionCommentInput(GQLObject): - """ - UpdateTeamDiscussionCommentInput - Autogenerated input type of UpdateTeamDiscussionComment +@dataclass(kw_only=True) +class AddCommentInput: + """ + AddCommentInput - Autogenerated input type of AddComment - id - The ID of the comment to modify. + body - The contents of the comment. - body - The updated text of the comment. + clientMutationId - A unique identifier for the client performing the mutation. - bodyVersion - The current version of the body content. + subjectId - The Node ID of the subject to modify. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - id: ID - body: str - bodyVersion: str - clientMutationId: str + body: str + client_mutation_id: Optional[str] = None + subject_id: ID -class UpdateSponsorshipPreferencesInput(GQLObject): - """ - UpdateSponsorshipPreferencesInput - Autogenerated input type of UpdateSponsorshipPreferences - sponsorId - The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. +@dataclass(kw_only=True) +class AddDiscussionPollVoteInput: + """ + AddDiscussionPollVoteInput - Autogenerated input type of AddDiscussionPollVote - sponsorLogin - The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. + clientMutationId - A unique identifier for the client performing the mutation. - sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. + pollOptionId - The Node ID of the discussion poll option to vote for. - sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. + """ - receiveEmails - Whether the sponsor should receive email updates from the sponsorable. + client_mutation_id: Optional[str] = None + poll_option_id: ID - privacyLevel - Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class AddEnterpriseSupportEntitlementInput: + """ + AddEnterpriseSupportEntitlementInput - Autogenerated input type of AddEnterpriseSupportEntitlement - """ - sponsorId: ID - sponsorLogin: str - sponsorableId: ID - sponsorableLogin: str - receiveEmails: bool - privacyLevel: SponsorshipPrivacy - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateRepositoryInput(GQLObject): - """ - UpdateRepositoryInput - Autogenerated input type of UpdateRepository + enterpriseId - The ID of the Enterprise which the admin belongs to. - repositoryId - The ID of the repository to update. + login - The login of a member who will receive the support entitlement. - name - The new name of the repository. + """ - description - A new description for the repository. Pass an empty string to erase the existing description. + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str - template - Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. - homepageUrl - The URL for a web page about this repository. Pass an empty string to erase the existing URL. +@dataclass(kw_only=True) +class AddLabelsToLabelableInput: + """ + AddLabelsToLabelableInput - Autogenerated input type of AddLabelsToLabelable - hasWikiEnabled - Indicates if the repository should have the wiki feature enabled. + clientMutationId - A unique identifier for the client performing the mutation. - hasIssuesEnabled - Indicates if the repository should have the issues feature enabled. + labelIds - The ids of the labels to add. - hasProjectsEnabled - Indicates if the repository should have the project boards feature enabled. + labelableId - The id of the labelable object to add labels to. - hasDiscussionsEnabled - Indicates if the repository should have the discussions feature enabled. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + label_ids: list[ID] + labelable_id: ID - """ - repositoryId: ID - name: str - description: str - template: bool - homepageUrl: URI - hasWikiEnabled: bool - hasIssuesEnabled: bool - hasProjectsEnabled: bool - hasDiscussionsEnabled: bool - clientMutationId: str -class UpdatePullRequestReviewInput(GQLObject): - """ - UpdatePullRequestReviewInput - Autogenerated input type of UpdatePullRequestReview +@dataclass(kw_only=True) +class AddProjectColumnInput: + """ + AddProjectColumnInput - Autogenerated input type of AddProjectColumn - pullRequestReviewId - The Node ID of the pull request review to modify. + clientMutationId - A unique identifier for the client performing the mutation. - body - The contents of the pull request review body. + name - The name of the column. - clientMutationId - A unique identifier for the client performing the mutation. + projectId - The Node ID of the project. - """ - pullRequestReviewId: ID - body: str - clientMutationId: str + """ -class UpdatePullRequestInput(GQLObject): - """ - UpdatePullRequestInput - Autogenerated input type of UpdatePullRequest + client_mutation_id: Optional[str] = None + name: str + project_id: ID - pullRequestId - The Node ID of the pull request. - baseRefName - The name of the branch you want your changes pulled into. This should be an existing branch -on the current repository. +@dataclass(kw_only=True) +class AddProjectV2ItemByIdInput: + """ + AddProjectV2ItemByIdInput - Autogenerated input type of AddProjectV2ItemById + clientMutationId - A unique identifier for the client performing the mutation. - title - The title of the pull request. + contentId - The id of the Issue or Pull Request to add. - body - The contents of the pull request. + projectId - The ID of the Project to add the item to. - state - The target state of the pull request. + """ - maintainerCanModify - Indicates whether maintainers can modify the pull request. + client_mutation_id: Optional[str] = None + content_id: ID + project_id: ID - assigneeIds - An array of Node IDs of users for this pull request. - milestoneId - The Node ID of the milestone for this pull request. +@dataclass(kw_only=True) +class AddPullRequestReviewThreadInput: + """ + AddPullRequestReviewThreadInput - Autogenerated input type of AddPullRequestReviewThread - labelIds - An array of Node IDs of labels for this pull request. + body - Body of the thread's first comment. - projectIds - An array of Node IDs for projects associated with this pull request. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + line - The line of the blob to which the thread refers, required for line-level + threads. The end of the line range for multi-line comments. - """ - pullRequestId: ID - baseRefName: str - title: str - body: str - state: PullRequestUpdateState - maintainerCanModify: bool - assigneeIds: list[ID] - milestoneId: ID - labelIds: list[ID] - projectIds: list[ID] - clientMutationId: str + path - Path to the file being commented on. -class UpdateProjectV2ItemPositionInput(GQLObject): - """ - UpdateProjectV2ItemPositionInput - Autogenerated input type of UpdateProjectV2ItemPosition + pullRequestId - The node ID of the pull request reviewing - projectId - The ID of the Project. + pullRequestReviewId - The Node ID of the review to modify. - itemId - The ID of the item to be moved. + side - The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. - afterId - The ID of the item to position this item after. If omitted or set to null the item will be moved to top. + startLine - The first line of the range to which the comment refers. - clientMutationId - A unique identifier for the client performing the mutation. + startSide - The side of the diff on which the start line resides. - """ - projectId: ID - itemId: ID - afterId: ID - clientMutationId: str + subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file -class UpdateProjectV2DraftIssueInput(GQLObject): - """ - UpdateProjectV2DraftIssueInput - Autogenerated input type of UpdateProjectV2DraftIssue + """ - draftIssueId - The ID of the draft issue to update. + body: str + client_mutation_id: Optional[str] = None + line: Optional[int] = None + path: str + pull_request_id: Optional[ID] = None + pull_request_review_id: Optional[ID] = None + side: Optional[DiffSide] = None + start_line: Optional[int] = None + start_side: Optional[DiffSide] = None + subject_type: Optional[PullRequestReviewThreadSubjectType] = None - title - The title of the draft issue. - body - The body of the draft issue. +@dataclass(kw_only=True) +class AddReactionInput: + """ + AddReactionInput - Autogenerated input type of AddReaction - assigneeIds - The IDs of the assignees of the draft issue. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + content - The name of the emoji to react with. - """ - draftIssueId: ID - title: str - body: str - assigneeIds: list[ID] - clientMutationId: str + subjectId - The Node ID of the subject to modify. -class UpdateProjectColumnInput(GQLObject): - """ - UpdateProjectColumnInput - Autogenerated input type of UpdateProjectColumn + """ - projectColumnId - The ProjectColumn ID to update. + client_mutation_id: Optional[str] = None + content: ReactionContent + subject_id: ID - name - The name of project column. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class AddUpvoteInput: + """ + AddUpvoteInput - Autogenerated input type of AddUpvote - """ - projectColumnId: ID - name: str - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateParametersInput(GQLObject): - """ - UpdateParametersInput - Only allow users with bypass permission to update matching refs. + subjectId - The Node ID of the discussion or comment to upvote. - updateAllowsFetchAndMerge - Branch can pull changes from its upstream repository + """ - """ - updateAllowsFetchAndMerge: bool + client_mutation_id: Optional[str] = None + subject_id: ID -class UpdateOrganizationWebCommitSignoffSettingInput(GQLObject): - """ - UpdateOrganizationWebCommitSignoffSettingInput - Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting - organizationId - The ID of the organization on which to set the web commit signoff setting. +@dataclass(kw_only=True) +class AnnouncementBanner: + """ + AnnouncementBanner - Represents an announcement banner. - webCommitSignoffRequired - Enable signoff on web-based commits for repositories in the organization? + announcement - The text of the announcement - clientMutationId - A unique identifier for the client performing the mutation. + announcementExpiresAt - The expiration date of the announcement, if any - """ - organizationId: ID - webCommitSignoffRequired: bool - clientMutationId: str + announcementUserDismissible - Whether the announcement can be dismissed by the user -class UpdateNotificationRestrictionSettingInput(GQLObject): - """ - UpdateNotificationRestrictionSettingInput - Autogenerated input type of UpdateNotificationRestrictionSetting + """ - ownerId - The ID of the owner on which to set the restrict notifications setting. + announcement: Optional[str] = None + announcement_expires_at: Optional[DateTime] = None + announcement_user_dismissible: Optional[bool] = None - settingValue - The value for the restrict notifications setting. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ApproveVerifiableDomainInput: + """ + ApproveVerifiableDomainInput - Autogenerated input type of ApproveVerifiableDomain - """ - ownerId: ID - settingValue: NotificationRestrictionSettingValue - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateIssueCommentInput(GQLObject): - """ - UpdateIssueCommentInput - Autogenerated input type of UpdateIssueComment + id - The ID of the verifiable domain to approve. - id - The ID of the IssueComment to modify. + """ - body - The updated text of the comment. + client_mutation_id: Optional[str] = None + id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - body: str - clientMutationId: str +@dataclass(kw_only=True) +class ArchiveRepositoryInput: + """ + ArchiveRepositoryInput - Autogenerated input type of ArchiveRepository -class UpdateIpAllowListEntryInput(GQLObject): - """ - UpdateIpAllowListEntryInput - Autogenerated input type of UpdateIpAllowListEntry + clientMutationId - A unique identifier for the client performing the mutation. - ipAllowListEntryId - The ID of the IP allow list entry to update. + repositoryId - The ID of the repository to mark as archived. - allowListValue - An IP address or range of addresses in CIDR notation. + """ - name - An optional name for the IP allow list entry. + client_mutation_id: Optional[str] = None + repository_id: ID - isActive - Whether the IP allow list entry is active when an IP allow list is enabled. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class Bot: + """ + Bot - A special type of user which takes actions on behalf of GitHub Apps. - """ - ipAllowListEntryId: ID - allowListValue: str - name: str - isActive: bool - clientMutationId: str + avatarUrl - A URL pointing to the GitHub App's public avatar. -class UpdateEnvironmentInput(GQLObject): - """ - UpdateEnvironmentInput - Autogenerated input type of UpdateEnvironment + createdAt - Identifies the date and time when the object was created. - environmentId - The node ID of the environment. + databaseId - Identifies the primary key from the database. - waitTimer - The wait timer in minutes. + id - The Node ID of the Bot object - reviewers - The ids of users or teams that can approve deployments to this environment + login - The username of the actor. - clientMutationId - A unique identifier for the client performing the mutation. + resourcePath - The HTTP path for this bot - """ - environmentId: ID - waitTimer: int - reviewers: list[ID] - clientMutationId: str + updatedAt - Identifies the date and time when the object was last updated. -class UpdateEnterpriseTeamDiscussionsSettingInput(GQLObject): - """ - UpdateEnterpriseTeamDiscussionsSettingInput - Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting + url - The HTTP URL for this bot - enterpriseId - The ID of the enterprise on which to set the team discussions setting. + """ - settingValue - The value for the team discussions setting on the enterprise. + avatar_url: URI + created_at: DateTime + database_id: Optional[int] = None + id: ID + login: str + resource_path: URI + updated_at: DateTime + url: URI - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str +@dataclass(kw_only=True) +class BranchNamePatternParametersInput: + """ + BranchNamePatternParametersInput - Parameters to be used for the branch_name_pattern rule -class UpdateEnterpriseProfileInput(GQLObject): - """ - UpdateEnterpriseProfileInput - Autogenerated input type of UpdateEnterpriseProfile + name - How this rule will appear to users. - enterpriseId - The Enterprise ID to update. + negate - If true, the rule will fail if the pattern matches. - name - The name of the enterprise. + operator - The operator to use for matching. - description - The description of the enterprise. + pattern - The pattern to match with. - websiteUrl - The URL of the enterprise's website. + """ - location - The location of the enterprise. + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - name: str - description: str - websiteUrl: str - location: str - clientMutationId: str +@dataclass(kw_only=True) +class CVSS: + """ + CVSS - The Common Vulnerability Scoring System -class UpdateEnterpriseOwnerOrganizationRoleInput(GQLObject): - """ - UpdateEnterpriseOwnerOrganizationRoleInput - Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole + score - The CVSS score associated with this advisory - enterpriseId - The ID of the Enterprise which the owner belongs to. + vectorString - The CVSS vector string associated with this advisory - organizationId - The ID of the organization for membership change. + """ - organizationRole - The role to assume in the organization. + score: float + vector_string: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - organizationId: ID - organizationRole: RoleInOrganization - clientMutationId: str +@dataclass(kw_only=True) +class CancelEnterpriseAdminInvitationInput: + """ + CancelEnterpriseAdminInvitationInput - Autogenerated input type of CancelEnterpriseAdminInvitation -class UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting + clientMutationId - A unique identifier for the client performing the mutation. - enterpriseId - The ID of the enterprise on which to set the members can view dependency insights setting. + invitationId - The Node ID of the pending enterprise administrator invitation. - settingValue - The value for the members can view dependency insights setting on the enterprise. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + invitation_id: ID - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str -class UpdateEnterpriseMembersCanMakePurchasesSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanMakePurchasesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting +@dataclass(kw_only=True) +class ChangeUserStatusInput: + """ + ChangeUserStatusInput - Autogenerated input type of ChangeUserStatus - enterpriseId - The ID of the enterprise on which to set the members can make purchases setting. + clientMutationId - A unique identifier for the client performing the mutation. - settingValue - The value for the members can make purchases setting on the enterprise. + emoji - The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. - clientMutationId - A unique identifier for the client performing the mutation. + expiresAt - If set, the user status will not be shown after this date. - """ - enterpriseId: ID - settingValue: EnterpriseMembersCanMakePurchasesSettingValue - clientMutationId: str + limitedAvailability - Whether this status should indicate you are not fully available on GitHub, e.g., you are away. -class UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting + message - A short description of your current status. - enterpriseId - The ID of the enterprise on which to set the members can delete repositories setting. + organizationId - The ID of the organization whose members will be allowed to see the status. If + omitted, the status will be publicly visible. - settingValue - The value for the members can delete repositories setting on the enterprise. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + emoji: Optional[str] = None + expires_at: Optional[DateTime] = None + limited_availability: Optional[bool] = None + message: Optional[str] = None + organization_id: Optional[ID] = None - """ - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str -class UpdateEnterpriseMembersCanCreateRepositoriesSettingInput(GQLObject): - """ - UpdateEnterpriseMembersCanCreateRepositoriesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting +@dataclass(kw_only=True) +class CheckAnnotationRange: + """ + CheckAnnotationRange - Information from a check run analysis to specific lines of code. - enterpriseId - The ID of the enterprise on which to set the members can create repositories setting. + endColumn - The ending column of the range. - settingValue - Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided. + endLine - The ending line of the range. - membersCanCreateRepositoriesPolicyEnabled - When false, allow member organizations to set their own repository creation member privileges. + startColumn - The starting column of the range. - membersCanCreatePublicRepositories - Allow members to create public repositories. Defaults to current value. + startLine - The starting line of the range. - membersCanCreatePrivateRepositories - Allow members to create private repositories. Defaults to current value. + """ - membersCanCreateInternalRepositories - Allow members to create internal repositories. Defaults to current value. + end_column: Optional[int] = None + end_line: int + start_column: Optional[int] = None + start_line: int - clientMutationId - A unique identifier for the client performing the mutation. - """ - enterpriseId: ID - settingValue: EnterpriseMembersCanCreateRepositoriesSettingValue - membersCanCreateRepositoriesPolicyEnabled: bool - membersCanCreatePublicRepositories: bool - membersCanCreatePrivateRepositories: bool - membersCanCreateInternalRepositories: bool - clientMutationId: str +@dataclass(kw_only=True) +class CheckRunFilter: + """ + CheckRunFilter - The filters that are available when fetching check runs. -class UpdateEnterpriseDefaultRepositoryPermissionSettingInput(GQLObject): - """ - UpdateEnterpriseDefaultRepositoryPermissionSettingInput - Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting + appId - Filters the check runs created by this application ID. - enterpriseId - The ID of the enterprise on which to set the base repository permission setting. + checkName - Filters the check runs by this name. - settingValue - The value for the base repository permission setting on the enterprise. + checkType - Filters the check runs by this type. - clientMutationId - A unique identifier for the client performing the mutation. + conclusions - Filters the check runs by these conclusions. - """ - enterpriseId: ID - settingValue: EnterpriseDefaultRepositoryPermissionSettingValue - clientMutationId: str + status - Filters the check runs by this status. Superceded by statuses. -class UpdateEnterpriseAdministratorRolePayload(GQLObject): - """ - UpdateEnterpriseAdministratorRolePayload - Autogenerated return type of UpdateEnterpriseAdministratorRole + statuses - Filters the check runs by this status. Overrides status. - clientMutationId - A unique identifier for the client performing the mutation. + """ - message - A message confirming the result of changing the administrator's role. + app_id: Optional[int] = None + check_name: Optional[str] = None + check_type: Optional[CheckRunType] = None + conclusions: Optional[list[CheckConclusionState]] = None + status: Optional[CheckStatusState] = None + statuses: Optional[list[CheckStatusState]] = None - """ - clientMutationId: str - message: str -class UpdateDiscussionInput(GQLObject): - """ - UpdateDiscussionInput - Autogenerated input type of UpdateDiscussion +@dataclass(kw_only=True) +class CheckRunStateCount: + """ + CheckRunStateCount - Represents a count of the state of a check run. - discussionId - The Node ID of the discussion to update. + count - The number of check runs with this state. - title - The new discussion title. + state - The state of a check run. - body - The new contents of the discussion body. + """ - categoryId - The Node ID of a discussion category within the same repository to change this discussion to. + count: int + state: CheckRunState - clientMutationId - A unique identifier for the client performing the mutation. - """ - discussionId: ID - title: str - body: str - categoryId: ID - clientMutationId: str +@dataclass(kw_only=True) +class CheckSuiteAutoTriggerPreference: + """ + CheckSuiteAutoTriggerPreference - The auto-trigger preferences that are available for check suites. -class UpdatableComment(GQLObject): - """ - UpdatableComment - Comments that can be updated. + appId - The node ID of the application that owns the check suite. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + setting - Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. - """ - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] + """ -class UnresolveReviewThreadInput(GQLObject): - """ - UnresolveReviewThreadInput - Autogenerated input type of UnresolveReviewThread + app_id: ID + setting: bool - threadId - The ID of the thread to unresolve - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ClearLabelsFromLabelableInput: + """ + ClearLabelsFromLabelableInput - Autogenerated input type of ClearLabelsFromLabelable - """ - threadId: ID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class UnminimizeCommentInput(GQLObject): - """ - UnminimizeCommentInput - Autogenerated input type of UnminimizeComment + labelableId - The id of the labelable object to clear the labels from. - subjectId - The Node ID of the subject to modify. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + labelable_id: ID - """ - subjectId: ID - clientMutationId: str -class UnmarkIssueAsDuplicateInput(GQLObject): - """ - UnmarkIssueAsDuplicateInput - Autogenerated input type of UnmarkIssueAsDuplicate +@dataclass(kw_only=True) +class CloneProjectInput: + """ + CloneProjectInput - Autogenerated input type of CloneProject - duplicateId - ID of the issue or pull request currently marked as a duplicate. + body - The description of the project. - canonicalId - ID of the issue or pull request currently considered canonical/authoritative/original. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + includeWorkflows - Whether or not to clone the source project's workflows. - """ - duplicateId: ID - canonicalId: ID - clientMutationId: str + name - The name of the project. -class UnmarkDiscussionCommentAsAnswerInput(GQLObject): - """ - UnmarkDiscussionCommentAsAnswerInput - Autogenerated input type of UnmarkDiscussionCommentAsAnswer + public - The visibility of the project, defaults to false (private). - id - The Node ID of the discussion comment to unmark as an answer. + sourceId - The source project to clone. - clientMutationId - A unique identifier for the client performing the mutation. + targetOwnerId - The owner ID to create the project under. - """ - id: ID - clientMutationId: str + """ -class UnlinkRepositoryFromProjectInput(GQLObject): - """ - UnlinkRepositoryFromProjectInput - Autogenerated input type of UnlinkRepositoryFromProject + body: Optional[str] = None + client_mutation_id: Optional[str] = None + include_workflows: bool + name: str + public: Optional[bool] = None + source_id: ID + target_owner_id: ID - projectId - The ID of the Project linked to the Repository. - repositoryId - The ID of the Repository linked to the Project. +@dataclass(kw_only=True) +class Closable: + """ + Closable - An object that can be closed - clientMutationId - A unique identifier for the client performing the mutation. + closed - Indicates if the object is closed (definition of closed may depend on type) - """ - projectId: ID - repositoryId: ID - clientMutationId: str + closedAt - Identifies the date and time when the object was closed. -class UnlinkProjectV2FromRepositoryInput(GQLObject): - """ - UnlinkProjectV2FromRepositoryInput - Autogenerated input type of UnlinkProjectV2FromRepository + viewerCanClose - Indicates if the object can be closed by the viewer. - projectId - The ID of the project to unlink from the repository. + viewerCanReopen - Indicates if the object can be reopened by the viewer. - repositoryId - The ID of the repository to unlink from the project. + """ - clientMutationId - A unique identifier for the client performing the mutation. + closed: bool + closed_at: Optional[DateTime] = None + viewer_can_close: bool + viewer_can_reopen: bool - """ - projectId: ID - repositoryId: ID - clientMutationId: str -class UnfollowUserInput(GQLObject): - """ - UnfollowUserInput - Autogenerated input type of UnfollowUser +@dataclass(kw_only=True) +class CloseIssueInput: + """ + CloseIssueInput - Autogenerated input type of CloseIssue - userId - ID of the user to unfollow. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + issueId - ID of the issue to be closed. - """ - userId: ID - clientMutationId: str + stateReason - The reason the issue is to be closed. -class UnarchiveRepositoryInput(GQLObject): - """ - UnarchiveRepositoryInput - Autogenerated input type of UnarchiveRepository + """ - repositoryId - The ID of the repository to unarchive. + client_mutation_id: Optional[str] = None + issue_id: ID + state_reason: Optional[IssueClosedStateReason] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - repositoryId: ID - clientMutationId: str +@dataclass(kw_only=True) +class CodeOfConduct: + """ + CodeOfConduct - The Code of Conduct for a repository -class TransferIssueInput(GQLObject): - """ - TransferIssueInput - Autogenerated input type of TransferIssue + body - The body of the Code of Conduct - issueId - The Node ID of the issue to be transferred + id - The Node ID of the CodeOfConduct object - repositoryId - The Node ID of the repository the issue should be transferred to + key - The key for the Code of Conduct - createLabelsIfMissing - Whether to create labels if they don't exist in the target repository (matched by name) + name - The formal name of the Code of Conduct - clientMutationId - A unique identifier for the client performing the mutation. + resourcePath - The HTTP path for this Code of Conduct - """ - issueId: ID - repositoryId: ID - createLabelsIfMissing: bool - clientMutationId: str + url - The HTTP URL for this Code of Conduct -class TextMatchHighlight(GQLObject): - """ - TextMatchHighlight - Represents a single highlight in a search result match. + """ - beginIndice - The indice in the fragment where the matched text begins. + body: Optional[str] = None + id: ID + key: str + name: str + resource_path: Optional[URI] = None + url: Optional[URI] = None - endIndice - The indice in the fragment where the matched text ends. - text - The text matched. +@dataclass(kw_only=True) +class CommitAuthorEmailPatternParameters: + """ + CommitAuthorEmailPatternParameters - Parameters to be used for the commit_author_email_pattern rule - """ - beginIndice: int - endIndice: int - text: str + name - How this rule will appear to users. -class TeamOrder(GQLObject): - """ - TeamOrder - Ways in which team connections can be ordered. + negate - If true, the rule will fail if the pattern matches. - field - The field in which to order nodes by. + operator - The operator to use for matching. - direction - The direction in which to order nodes. + pattern - The pattern to match with. - """ - field: TeamOrderField - direction: OrderDirection + """ -class TeamDiscussionOrder(GQLObject): - """ - TeamDiscussionOrder - Ways in which team discussion connections can be ordered. + name: Optional[str] = None + negate: bool + operator: str + pattern: str - field - The field by which to order nodes. - direction - The direction in which to order nodes. +@dataclass(kw_only=True) +class CommitContributionOrder: + """ + CommitContributionOrder - Ordering options for commit contribution connections. - """ - field: TeamDiscussionOrderField - direction: OrderDirection + direction - The ordering direction. -class TagNamePatternParametersInput(GQLObject): - """ - TagNamePatternParametersInput - Parameters to be used for the tag_name_pattern rule + field - The field by which to order commit contributions. - name - How this rule will appear to users. + """ - negate - If true, the rule will fail if the pattern matches. + direction: OrderDirection + field: CommitContributionOrderField - operator - The operator to use for matching. - pattern - The pattern to match with. +@dataclass(kw_only=True) +class CommitMessagePatternParameters: + """ + CommitMessagePatternParameters - Parameters to be used for the commit_message_pattern rule - """ - name: str - negate: bool - operator: str - pattern: str + name - How this rule will appear to users. -class SubscribableThread(GQLObject): - """ - SubscribableThread - Entities that can be subscribed to for web and email notifications. + negate - If true, the rule will fail if the pattern matches. - viewerThreadSubscriptionFormAction - Identifies the viewer's thread subscription form action. + operator - The operator to use for matching. - viewerThreadSubscriptionStatus - Identifies the viewer's thread subscription status. + pattern - The pattern to match with. - """ - id: ID - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction - viewerThreadSubscriptionStatus: ThreadSubscriptionState + """ -class Submodule(GQLObject): - """ - Submodule - A pointer to a repository at a specific revision embedded inside another repository. + name: Optional[str] = None + negate: bool + operator: str + pattern: str - branch - The branch of the upstream submodule for tracking updates - gitUrl - The git URL of the submodule repository +@dataclass(kw_only=True) +class CommittableBranch: + """ + CommittableBranch - A git ref for a commit to be appended to. - name - The name of the submodule in .gitmodules + The ref must be a branch, i.e. its fully qualified name must start + with `refs/heads/` (although the input is not required to be fully + qualified). - nameRaw - The name of the submodule in .gitmodules (Base64-encoded) + The Ref may be specified by its global node ID or by the + `repositoryNameWithOwner` and `branchName`. - path - The path in the superproject that this submodule is located in + ### Examples - pathRaw - The path in the superproject that this submodule is located in (Base64-encoded) + Specify a branch using a global node ID: - subprojectCommitOid - The commit revision of the subproject repository being tracked by the submodule + { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } - """ - branch: str - gitUrl: URI - name: str - nameRaw: Base64String - path: str - pathRaw: Base64String - subprojectCommitOid: GitObjectID + Specify a branch using `repositoryNameWithOwner` and `branchName`: -class StatusContextStateCount(GQLObject): - """ - StatusContextStateCount - Represents a count of the state of a status context. + { + "repositoryNameWithOwner": "github/graphql-client", + "branchName": "main" + } - count - The number of statuses with this state. + branchName - The unqualified name of the branch to append the commit to. - state - The state of a status context. + id - The Node ID of the Ref to be updated. - """ - count: int - state: StatusState + repositoryNameWithOwner - The nameWithOwner of the repository to commit to. -class StatusCheckConfiguration(GQLObject): - """ - StatusCheckConfiguration - Required status check + """ - context - The status check context name that must be present on the commit. + branch_name: Optional[str] = None + id: Optional[ID] = None + repository_name_with_owner: Optional[str] = None - integrationId - The optional integration ID that this status check must originate from. - """ - context: str - integrationId: int +@dataclass(kw_only=True) +class CommitterEmailPatternParametersInput: + """ + CommitterEmailPatternParametersInput - Parameters to be used for the committer_email_pattern rule -class StartOrganizationMigrationInput(GQLObject): - """ - StartOrganizationMigrationInput - Autogenerated input type of StartOrganizationMigration + name - How this rule will appear to users. - sourceOrgUrl - The URL of the organization to migrate. + negate - If true, the rule will fail if the pattern matches. - targetOrgName - The name of the target organization. + operator - The operator to use for matching. - targetEnterpriseId - The ID of the enterprise the target organization belongs to. + pattern - The pattern to match with. - sourceAccessToken - The migration source access token. + """ - clientMutationId - A unique identifier for the client performing the mutation. + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str - """ - sourceOrgUrl: URI - targetOrgName: str - targetEnterpriseId: ID - sourceAccessToken: str - clientMutationId: str -class SponsorshipOrder(GQLObject): - """ - SponsorshipOrder - Ordering options for sponsorship connections. +@dataclass(kw_only=True) +class ContributionCalendarDay: + """ + ContributionCalendarDay - Represents a single day of contributions on GitHub by a user. - field - The field to order sponsorship by. + color - The hex color code that represents how many contributions were made on this day compared to others in the calendar. - direction - The ordering direction. + contributionCount - How many contributions were made by the user on this day. - """ - field: SponsorshipOrderField - direction: OrderDirection + contributionLevel - Indication of contributions, relative to other days. Can be used to indicate + which color to represent this day on a calendar. -class SponsorsTierOrder(GQLObject): - """ - SponsorsTierOrder - Ordering options for Sponsors tiers connections. + date - The day this square represents. - field - The field to order tiers by. + weekday - A number representing which day of the week this square represents, e.g., 1 is Monday. - direction - The ordering direction. + """ - """ - field: SponsorsTierOrderField - direction: OrderDirection + color: str + contribution_count: int + contribution_level: ContributionLevel + date: Date + weekday: int -class SponsorsActivityOrder(GQLObject): - """ - SponsorsActivityOrder - Ordering options for GitHub Sponsors activity connections. - field - The field to order activity by. +@dataclass(kw_only=True) +class ContributionOrder: + """ + ContributionOrder - Ordering options for contribution connections. - direction - The ordering direction. + direction - The ordering direction. - """ - field: SponsorsActivityOrderField - direction: OrderDirection + """ -class SponsorOrder(GQLObject): - """ - SponsorOrder - Ordering options for connections to get sponsor entities for GitHub Sponsors. + direction: OrderDirection - field - The field to order sponsor entities by. - direction - The ordering direction. +@dataclass(kw_only=True) +class ConvertPullRequestToDraftInput: + """ + ConvertPullRequestToDraftInput - Autogenerated input type of ConvertPullRequestToDraft - """ - field: SponsorOrderField - direction: OrderDirection + clientMutationId - A unique identifier for the client performing the mutation. -class SetUserInteractionLimitInput(GQLObject): - """ - SetUserInteractionLimitInput - Autogenerated input type of SetUserInteractionLimit + pullRequestId - ID of the pull request to convert to draft - userId - The ID of the user to set a limit for. + """ - limit - The limit to set. + client_mutation_id: Optional[str] = None + pull_request_id: ID - expiry - When this limit should expire. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateAttributionInvitationInput: + """ + CreateAttributionInvitationInput - Autogenerated input type of CreateAttributionInvitation - """ - userId: ID - limit: RepositoryInteractionLimit - expiry: RepositoryInteractionLimitExpiry - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class SetOrganizationInteractionLimitInput(GQLObject): - """ - SetOrganizationInteractionLimitInput - Autogenerated input type of SetOrganizationInteractionLimit + ownerId - The Node ID of the owner scoping the reattributable data. - organizationId - The ID of the organization to set a limit for. + sourceId - The Node ID of the account owning the data to reattribute. - limit - The limit to set. + targetId - The Node ID of the account which may claim the data. - expiry - When this limit should expire. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + owner_id: ID + source_id: ID + target_id: ID - """ - organizationId: ID - limit: RepositoryInteractionLimit - expiry: RepositoryInteractionLimitExpiry - clientMutationId: str -class SecurityVulnerabilityOrder(GQLObject): - """ - SecurityVulnerabilityOrder - Ordering options for security vulnerability connections +@dataclass(kw_only=True) +class CreateDeploymentInput: + """ + CreateDeploymentInput - Autogenerated input type of CreateDeployment - field - The field to order security vulnerabilities by. + autoMerge - Attempt to automatically merge the default branch into the requested ref, defaults to true. - direction - The ordering direction. + clientMutationId - A unique identifier for the client performing the mutation. - """ - field: SecurityVulnerabilityOrderField - direction: OrderDirection + description - Short description of the deployment. -class SecurityAdvisoryPackageVersion(GQLObject): - """ - SecurityAdvisoryPackageVersion - An individual package version + environment - Name for the target deployment environment. - identifier - The package name or version + payload - JSON payload with extra information about the deployment. - """ - identifier: str + refId - The node ID of the ref to be deployed. -class SecurityAdvisoryOrder(GQLObject): - """ - SecurityAdvisoryOrder - Ordering options for security advisory connections + repositoryId - The node ID of the repository. - field - The field to order security advisories by. + requiredContexts - The status contexts to verify against commit status checks. To bypass required + contexts, pass an empty array. Defaults to all unique contexts. - direction - The ordering direction. + task - Specifies a task to execute. - """ - field: SecurityAdvisoryOrderField - direction: OrderDirection + """ -class SecurityAdvisoryIdentifier(GQLObject): - """ - SecurityAdvisoryIdentifier - A GitHub Security Advisory Identifier + auto_merge: Optional[bool] = None + client_mutation_id: Optional[str] = None + description: Optional[str] = None + environment: Optional[str] = None + payload: Optional[str] = None + ref_id: ID + repository_id: ID + required_contexts: Optional[list[str]] = None + task: Optional[str] = None - type - The identifier type, e.g. GHSA, CVE - value - The identifier +@dataclass(kw_only=True) +class CreateDiscussionInput: + """ + CreateDiscussionInput - Autogenerated input type of CreateDiscussion - """ - type: str - value: str + body - The body of the discussion. -class RevokeMigratorRolePayload(GQLObject): - """ - RevokeMigratorRolePayload - Autogenerated return type of RevokeMigratorRole + categoryId - The id of the discussion category to associate with this discussion. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - success - Did the operation succeed? + repositoryId - The id of the repository on which to create the discussion. - """ - clientMutationId: str - success: bool + title - The title of the discussion. -class RevokeEnterpriseOrganizationsMigratorRoleInput(GQLObject): - """ - RevokeEnterpriseOrganizationsMigratorRoleInput - Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole + """ - enterpriseId - The ID of the enterprise to which all organizations managed by it will be granted the migrator role. + body: str + category_id: ID + client_mutation_id: Optional[str] = None + repository_id: ID + title: str - login - The login of the user to revoke the migrator role - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateEnvironmentInput: + """ + CreateEnvironmentInput - Autogenerated input type of CreateEnvironment - """ - enterpriseId: ID - login: str - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class RevertPullRequestInput(GQLObject): - """ - RevertPullRequestInput - Autogenerated input type of RevertPullRequest + name - The name of the environment. - pullRequestId - The ID of the pull request to revert. + repositoryId - The node ID of the repository. - title - The title of the revert pull request. + """ - body - The description of the revert pull request. + client_mutation_id: Optional[str] = None + name: str + repository_id: ID - draft - Indicates whether the revert pull request should be a draft. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateIssueInput: + """ + CreateIssueInput - Autogenerated input type of CreateIssue - """ - pullRequestId: ID - title: str - body: str - draft: bool - clientMutationId: str + assigneeIds - The Node ID for the user assignee for this issue. -class ResolveReviewThreadInput(GQLObject): - """ - ResolveReviewThreadInput - Autogenerated input type of ResolveReviewThread + body - The body for the issue description. - threadId - The ID of the thread to resolve + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + issueTemplate - The name of an issue template in the repository, assigns labels and assignees from the template to the issue - """ - threadId: ID - clientMutationId: str + labelIds - An array of Node IDs of labels for this issue. -class RequiredStatusCheckInput(GQLObject): - """ - RequiredStatusCheckInput - Specifies the attributes for a new or updated required status check. + milestoneId - The Node ID of the milestone for this issue. - context - Status check context that must pass for commits to be accepted to the matching branch. + projectIds - An array of Node IDs for projects associated with this issue. - appId - The ID of the App that must set the status in order for it to be accepted. Omit this value to use whichever app has recently been setting this status, or use "any" to allow any app to set the status. + repositoryId - The Node ID of the repository. - """ - context: str - appId: ID + title - The title for the issue. -class RequiredDeploymentsParameters(GQLObject): - """ - RequiredDeploymentsParameters - Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. + """ - requiredDeploymentEnvironments - The environments that must be successfully deployed to before branches can be merged. + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + issue_template: Optional[str] = None + label_ids: Optional[list[ID]] = None + milestone_id: Optional[ID] = None + project_ids: Optional[list[ID]] = None + repository_id: ID + title: str - """ - requiredDeploymentEnvironments: list[str] -class RequirableByPullRequest(GQLObject): - """ - RequirableByPullRequest - Represents a type that can be required by a pull request for merging. +@dataclass(kw_only=True) +class CreateLinkedBranchInput: + """ + CreateLinkedBranchInput - Autogenerated input type of CreateLinkedBranch - isRequired - Whether this is required to pass before merging for a specific pull request. + clientMutationId - A unique identifier for the client performing the mutation. - """ - isRequired: OGACT_isRequired_Field + issueId - ID of the issue to link to. -class RepositoryRulesetBypassActorInput(GQLObject): - """ - RepositoryRulesetBypassActorInput - Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified. + name - The name of the new branch. Defaults to issue number and title. - actorId - For Team and Integration bypasses, the Team or Integration ID + oid - The commit SHA to base the new branch on. - repositoryRoleDatabaseId - For role bypasses, the role database ID + repositoryId - ID of the repository to create the branch in. Defaults to the issue repository. - organizationAdmin - For org admin bupasses, true + """ - bypassMode - The bypass mode for this actor. + client_mutation_id: Optional[str] = None + issue_id: ID + name: Optional[str] = None + oid: GitObjectID + repository_id: Optional[ID] = None - """ - actorId: ID - repositoryRoleDatabaseId: int - organizationAdmin: bool - bypassMode: RepositoryRulesetBypassActorBypassMode -class RepositoryNameConditionTargetInput(GQLObject): - """ - RepositoryNameConditionTargetInput - Parameters to be used for the repository_name condition +@dataclass(kw_only=True) +class CreateProjectInput: + """ + CreateProjectInput - Autogenerated input type of CreateProject - exclude - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. + body - The description of project. - include - Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. + clientMutationId - A unique identifier for the client performing the mutation. - protected - Target changes that match these patterns will be prevented except by those with bypass permissions. + name - The name of project. - """ - exclude: list[str] - include: list[str] - protected: bool + ownerId - The owner ID to create the project under. -class RepositoryMigrationOrder(GQLObject): - """ - RepositoryMigrationOrder - Ordering options for repository migrations. + repositoryIds - A list of repository IDs to create as linked repositories for the project - field - The field to order repository migrations by. + template - The name of the GitHub-provided template. - direction - The ordering direction. + """ - """ - field: RepositoryMigrationOrderField - direction: RepositoryMigrationOrderDirection + body: Optional[str] = None + client_mutation_id: Optional[str] = None + name: str + owner_id: ID + repository_ids: Optional[list[ID]] = None + template: Optional[ProjectTemplate] = None -class RepositoryInteractionAbility(GQLObject): - """ - RepositoryInteractionAbility - Repository interaction limit that applies to this object. - expiresAt - The time the currently active limit expires. +@dataclass(kw_only=True) +class CreatePullRequestInput: + """ + CreatePullRequestInput - Autogenerated input type of CreatePullRequest - limit - The current limit that is enabled on this object. + baseRefName - The name of the branch you want your changes pulled into. This should be an existing branch + on the current repository. You cannot update the base branch on a pull request to point + to another repository. - origin - The origin of the currently active interaction limit. + body - The contents of the pull request. - """ - expiresAt: DateTime - limit: RepositoryInteractionLimit - origin: RepositoryInteractionLimitOrigin + clientMutationId - A unique identifier for the client performing the mutation. -class RepositoryIdConditionTarget(GQLObject): - """ - RepositoryIdConditionTarget - Parameters to be used for the repository_id condition + draft - Indicates whether this pull request should be a draft. - repositoryIds - One of these repo IDs must match the repo. + headRefName - The name of the branch where your changes are implemented. For cross-repository pull requests + in the same network, namespace `head_ref_name` with a user like this: `username:branch`. - """ - repositoryIds: list[ID] + headRepositoryId - The Node ID of the head repository. -class RepositoryCodeownersError(GQLObject): - """ - RepositoryCodeownersError - An error in a `CODEOWNERS` file. + maintainerCanModify - Indicates whether maintainers can modify the pull request. - column - The column number where the error occurs. + repositoryId - The Node ID of the repository. - kind - A short string describing the type of error. + title - The title of the pull request. - line - The line number where the error occurs. + """ - message - A complete description of the error, combining information from other fields. + base_ref_name: str + body: Optional[str] = None + client_mutation_id: Optional[str] = None + draft: Optional[bool] = None + head_ref_name: str + head_repository_id: Optional[ID] = None + maintainer_can_modify: Optional[bool] = None + repository_id: ID + title: str - path - The path to the file when the error occurs. - source - The content of the line where the error occurs. +@dataclass(kw_only=True) +class CreateRepositoryInput: + """ + CreateRepositoryInput - Autogenerated input type of CreateRepository - suggestion - A suggestion of how to fix the error. + clientMutationId - A unique identifier for the client performing the mutation. - """ - column: int - kind: str - line: int - message: str - path: str - source: str - suggestion: str + description - A short description of the new repository. -class ReopenIssueInput(GQLObject): - """ - ReopenIssueInput - Autogenerated input type of ReopenIssue + hasIssuesEnabled - Indicates if the repository should have the issues feature enabled. - issueId - ID of the issue to be opened. + hasWikiEnabled - Indicates if the repository should have the wiki feature enabled. - clientMutationId - A unique identifier for the client performing the mutation. + homepageUrl - The URL for a web page about this repository. - """ - issueId: ID - clientMutationId: str + name - The name of the new repository. -class RemoveUpvoteInput(GQLObject): - """ - RemoveUpvoteInput - Autogenerated input type of RemoveUpvote + ownerId - The ID of the owner for the new repository. - subjectId - The Node ID of the discussion or comment to remove upvote. + teamId - When an organization is specified as the owner, this ID identifies the team + that should be granted access to the new repository. - clientMutationId - A unique identifier for the client performing the mutation. + template - Whether this repository should be marked as a template such that anyone who + can access it can create new repositories with the same files and directory structure. - """ - subjectId: ID - clientMutationId: str + visibility - Indicates the repository's visibility level. -class RemoveReactionInput(GQLObject): - """ - RemoveReactionInput - Autogenerated input type of RemoveReaction + """ - subjectId - The Node ID of the subject to modify. + client_mutation_id: Optional[str] = None + description: Optional[str] = None + has_issues_enabled: Optional[bool] = None + has_wiki_enabled: Optional[bool] = None + homepage_url: Optional[URI] = None + name: str + owner_id: Optional[ID] = None + team_id: Optional[ID] = None + template: Optional[bool] = None + visibility: RepositoryVisibility - content - The name of the emoji reaction to remove. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateSponsorsTierInput: + """ + CreateSponsorsTierInput - Autogenerated input type of CreateSponsorsTier - """ - subjectId: ID - content: ReactionContent - clientMutationId: str + amount - The value of the new tier in US dollars. Valid values: 1-12000. -class RemoveLabelsFromLabelableInput(GQLObject): - """ - RemoveLabelsFromLabelableInput - Autogenerated input type of RemoveLabelsFromLabelable + clientMutationId - A unique identifier for the client performing the mutation. - labelableId - The id of the Labelable to remove labels from. + description - A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc. - labelIds - The ids of labels to remove. + isRecurring - Whether sponsorships using this tier should happen monthly/yearly or just once. - clientMutationId - A unique identifier for the client performing the mutation. + publish - Whether to make the tier available immediately for sponsors to choose. + Defaults to creating a draft tier that will not be publicly visible. - """ - labelableId: ID - labelIds: list[ID] - clientMutationId: str + repositoryId - Optional ID of the private repository that sponsors at this tier should gain + read-only access to. Must be owned by an organization. -class RemoveEnterpriseSupportEntitlementInput(GQLObject): - """ - RemoveEnterpriseSupportEntitlementInput - Autogenerated input type of RemoveEnterpriseSupportEntitlement + repositoryName - Optional name of the private repository that sponsors at this tier should gain + read-only access to. Must be owned by an organization. Necessary if + repositoryOwnerLogin is given. Will be ignored if repositoryId is given. - enterpriseId - The ID of the Enterprise which the admin belongs to. + repositoryOwnerLogin - Optional login of the organization owner of the private repository that + sponsors at this tier should gain read-only access to. Necessary if + repositoryName is given. Will be ignored if repositoryId is given. - login - The login of a member who will lose the support entitlement. + sponsorableId - The ID of the user or organization who owns the GitHub Sponsors profile. + Defaults to the current user if omitted and sponsorableLogin is not given. - clientMutationId - A unique identifier for the client performing the mutation. + sponsorableLogin - The username of the user or organization who owns the GitHub Sponsors profile. + Defaults to the current user if omitted and sponsorableId is not given. - """ - enterpriseId: ID - login: str - clientMutationId: str + welcomeMessage - Optional message new sponsors at this tier will receive. -class RemoveEnterpriseMemberInput(GQLObject): - """ - RemoveEnterpriseMemberInput - Autogenerated input type of RemoveEnterpriseMember + """ - enterpriseId - The ID of the enterprise from which the user should be removed. + amount: int + client_mutation_id: Optional[str] = None + description: str + is_recurring: Optional[bool] = None + publish: Optional[bool] = None + repository_id: Optional[ID] = None + repository_name: Optional[str] = None + repository_owner_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None + welcome_message: Optional[str] = None - userId - The ID of the user to remove from the enterprise. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateTeamDiscussionCommentInput: + """ + CreateTeamDiscussionCommentInput - Autogenerated input type of CreateTeamDiscussionComment - """ - enterpriseId: ID - userId: ID - clientMutationId: str + body - The content of the comment. This field is required. -class RemoveEnterpriseAdminInput(GQLObject): - """ - RemoveEnterpriseAdminInput - Autogenerated input type of RemoveEnterpriseAdmin + **Upcoming Change on 2024-07-01 UTC** + **Description:** `body` will be removed. Follow the guide at + https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + find a suitable replacement. + **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - enterpriseId - The Enterprise ID from which to remove the administrator. + clientMutationId - A unique identifier for the client performing the mutation. - login - The login of the user to remove as an administrator. + discussionId - The ID of the discussion to which the comment belongs. This field is required. - clientMutationId - A unique identifier for the client performing the mutation. + **Upcoming Change on 2024-07-01 UTC** + **Description:** `discussionId` will be removed. Follow the guide at + https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + find a suitable replacement. + **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - enterpriseId: ID - login: str - clientMutationId: str + """ -class ReleaseOrder(GQLObject): - """ - ReleaseOrder - Ways in which lists of releases can be ordered upon return. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + discussion_id: Optional[ID] = None - field - The field in which to order releases by. - direction - The direction in which to order releases by the specified field. +@dataclass(kw_only=True) +class CreateUserListInput: + """ + CreateUserListInput - Autogenerated input type of CreateUserList - """ - field: ReleaseOrderField - direction: OrderDirection + clientMutationId - A unique identifier for the client performing the mutation. -class RegenerateVerifiableDomainTokenPayload(GQLObject): - """ - RegenerateVerifiableDomainTokenPayload - Autogenerated return type of RegenerateVerifiableDomainToken + description - A description of the list - clientMutationId - A unique identifier for the client performing the mutation. + isPrivate - Whether or not the list is private - verificationToken - The verification token that was generated. + name - The name of the new list - """ - clientMutationId: str - verificationToken: str + """ -class RegenerateEnterpriseIdentityProviderRecoveryCodesInput(GQLObject): - """ - RegenerateEnterpriseIdentityProviderRecoveryCodesInput - Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes + client_mutation_id: Optional[str] = None + description: Optional[str] = None + is_private: Optional[bool] = None + name: str - enterpriseId - The ID of the enterprise on which to set an identity provider. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class Deletable: + """ + Deletable - Entities that can be deleted. - """ - enterpriseId: ID - clientMutationId: str + viewerCanDelete - Check if the current viewer can delete this object. -class RefOrder(GQLObject): - """ - RefOrder - Ways in which lists of git refs can be ordered upon return. + """ - field - The field in which to order refs by. + viewer_can_delete: bool - direction - The direction in which to order refs by the specified field. - """ - field: RefOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class DeleteBranchProtectionRulePayload: + """ + DeleteBranchProtectionRulePayload - Autogenerated return type of DeleteBranchProtectionRule -class RefNameConditionTarget(GQLObject): - """ - RefNameConditionTarget - Parameters to be used for the ref_name condition + clientMutationId - A unique identifier for the client performing the mutation. - exclude - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. + """ - include - Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. + client_mutation_id: Optional[str] = None - """ - exclude: list[str] - include: list[str] -class RateLimit(GQLObject): - """ - RateLimit - Represents the client's rate limit. +@dataclass(kw_only=True) +class DeleteDeploymentPayload: + """ + DeleteDeploymentPayload - Autogenerated return type of DeleteDeployment - cost - The point cost for the current query counting against the rate limit. + clientMutationId - A unique identifier for the client performing the mutation. - limit - The maximum number of points the client is permitted to consume in a 60 minute window. + """ - nodeCount - The maximum number of nodes this query may return + client_mutation_id: Optional[str] = None - remaining - The number of points remaining in the current rate limit window. - resetAt - The time at which the current rate limit window resets in UTC epoch seconds. +@dataclass(kw_only=True) +class DeleteDiscussionInput: + """ + DeleteDiscussionInput - Autogenerated input type of DeleteDiscussion - used - The number of points used in the current rate limit window. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cost: int - limit: int - nodeCount: int - remaining: int - resetAt: DateTime - used: int + id - The id of the discussion to delete. -class PullRequestParameters(GQLObject): - """ - PullRequestParameters - Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + """ - dismissStaleReviewsOnPush - New, reviewable commits pushed will dismiss previous pull request review approvals. + client_mutation_id: Optional[str] = None + id: ID - requireCodeOwnerReview - Require an approving review in pull requests that modify files that have a designated code owner. - requireLastPushApproval - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. +@dataclass(kw_only=True) +class DeleteEnvironmentPayload: + """ + DeleteEnvironmentPayload - Autogenerated return type of DeleteEnvironment - requiredApprovingReviewCount - The number of approving reviews that are required before a pull request can be merged. + clientMutationId - A unique identifier for the client performing the mutation. - requiredReviewThreadResolution - All conversations on code must be resolved before a pull request can be merged. + """ - """ - dismissStaleReviewsOnPush: bool - requireCodeOwnerReview: bool - requireLastPushApproval: bool - requiredApprovingReviewCount: int - requiredReviewThreadResolution: bool + client_mutation_id: Optional[str] = None -class PullRequestChangedFile(GQLObject): - """ - PullRequestChangedFile - A file changed in a pull request. - additions - The number of additions to the file. +@dataclass(kw_only=True) +class DeleteIssueCommentInput: + """ + DeleteIssueCommentInput - Autogenerated input type of DeleteIssueComment - changeType - How the file was changed in this PullRequest + clientMutationId - A unique identifier for the client performing the mutation. - deletions - The number of deletions to the file. + id - The ID of the comment to delete. - path - The path of the file. + """ - viewerViewedState - The state of the file for the viewer. + client_mutation_id: Optional[str] = None + id: ID - """ - additions: int - changeType: PatchStatus - deletions: int - path: str - viewerViewedState: FileViewedState -class PublicKey(GQLObject): - """ - PublicKey - A user's public key. +@dataclass(kw_only=True) +class DeleteIssueInput: + """ + DeleteIssueInput - Autogenerated input type of DeleteIssue - accessedAt - The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. + clientMutationId - A unique identifier for the client performing the mutation. - createdAt - Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. + issueId - The ID of the issue to delete. - fingerprint - The fingerprint for this PublicKey. + """ - isReadOnly - Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. + client_mutation_id: Optional[str] = None + issue_id: ID - key - The public key string. - updatedAt - Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user. +@dataclass(kw_only=True) +class DeleteLabelPayload: + """ + DeleteLabelPayload - Autogenerated return type of DeleteLabel - """ - accessedAt: DateTime - createdAt: DateTime - fingerprint: str - id: ID - isReadOnly: bool - key: str - updatedAt: DateTime + clientMutationId - A unique identifier for the client performing the mutation. -class ProjectV2ViewOrder(GQLObject): - """ - ProjectV2ViewOrder - Ordering options for project v2 view connections + """ - field - The field to order the project v2 views by. + client_mutation_id: Optional[str] = None - direction - The ordering direction. - """ - field: ProjectV2ViewOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class DeletePackageVersionInput: + """ + DeletePackageVersionInput - Autogenerated input type of DeletePackageVersion -class ProjectV2SingleSelectFieldOption(GQLObject): - """ - ProjectV2SingleSelectFieldOption - Single select field option for a configuration for a project. + clientMutationId - A unique identifier for the client performing the mutation. - color - The option's display color. + packageVersionId - The ID of the package version to be deleted. - description - The option's plain-text description. + """ - descriptionHTML - The option's description, possibly containing HTML. + client_mutation_id: Optional[str] = None + package_version_id: ID - id - The option's ID. - name - The option's name. +@dataclass(kw_only=True) +class DeleteProjectCardInput: + """ + DeleteProjectCardInput - Autogenerated input type of DeleteProjectCard - nameHTML - The option's html name. + cardId - The id of the card to delete. - """ - color: ProjectV2SingleSelectFieldOptionColor - description: str - descriptionHTML: str - id: str - name: str - nameHTML: str + clientMutationId - A unique identifier for the client performing the mutation. -class ProjectV2IterationFieldIteration(GQLObject): - """ - ProjectV2IterationFieldIteration - Iteration field iteration settings for a project. + """ - duration - The iteration's duration in days + card_id: ID + client_mutation_id: Optional[str] = None - id - The iteration's ID. - startDate - The iteration's start date +@dataclass(kw_only=True) +class DeleteProjectInput: + """ + DeleteProjectInput - Autogenerated input type of DeleteProject - title - The iteration's title. + clientMutationId - A unique identifier for the client performing the mutation. - titleHTML - The iteration's html title. + projectId - The Project ID to update. - """ - duration: int - id: str - startDate: Date - title: str - titleHTML: str + """ -class ProjectV2ItemFieldValueOrder(GQLObject): - """ - ProjectV2ItemFieldValueOrder - Ordering options for project v2 item field value connections + client_mutation_id: Optional[str] = None + project_id: ID - field - The field to order the project v2 item field values by. - direction - The ordering direction. +@dataclass(kw_only=True) +class DeleteProjectV2Input: + """ + DeleteProjectV2Input - Autogenerated input type of DeleteProjectV2 - """ - field: ProjectV2ItemFieldValueOrderField - direction: OrderDirection + clientMutationId - A unique identifier for the client performing the mutation. -class ProjectV2FieldValue(GQLObject): - """ - ProjectV2FieldValue - The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. + projectId - The ID of the Project to delete. - text - The text to set on the field. + """ - number - The number to set on the field. + client_mutation_id: Optional[str] = None + project_id: ID - date - The ISO 8601 date to set on the field. - singleSelectOptionId - The id of the single select option to set on the field. +@dataclass(kw_only=True) +class DeleteProjectV2ItemPayload: + """ + DeleteProjectV2ItemPayload - Autogenerated return type of DeleteProjectV2Item - iterationId - The id of the iteration to set on the field. + clientMutationId - A unique identifier for the client performing the mutation. - """ - text: str - number: float - date: Date - singleSelectOptionId: str - iterationId: str + deletedItemId - The ID of the deleted item. -class ProjectV2Collaborator(GQLObject): - """ - ProjectV2Collaborator - A collaborator to update on a project. Only one of the userId or teamId should be provided. + """ - userId - The ID of the user as a collaborator. + client_mutation_id: Optional[str] = None + deleted_item_id: Optional[ID] = None - teamId - The ID of the team as a collaborator. - role - The role to grant the collaborator +@dataclass(kw_only=True) +class DeletePullRequestReviewCommentInput: + """ + DeletePullRequestReviewCommentInput - Autogenerated input type of DeletePullRequestReviewComment - """ - userId: ID - teamId: ID - role: ProjectV2Roles + clientMutationId - A unique identifier for the client performing the mutation. -class ProjectOrder(GQLObject): - """ - ProjectOrder - Ways in which lists of projects can be ordered upon return. + id - The ID of the comment to delete. - field - The field in which to order projects by. + """ - direction - The direction in which to order projects by the specified field. + client_mutation_id: Optional[str] = None + id: ID - """ - field: ProjectOrderField - direction: OrderDirection -class PageInfo(GQLObject): - """ - PageInfo - Information about pagination in a connection. +@dataclass(kw_only=True) +class DeleteRefInput: + """ + DeleteRefInput - Autogenerated input type of DeleteRef - endCursor - When paginating forwards, the cursor to continue. + clientMutationId - A unique identifier for the client performing the mutation. - hasNextPage - When paginating forwards, are there more items? + refId - The Node ID of the Ref to be deleted. - hasPreviousPage - When paginating backwards, are there more items? + """ - startCursor - When paginating backwards, the cursor to continue. + client_mutation_id: Optional[str] = None + ref_id: ID - """ - endCursor: str - hasNextPage: bool - hasPreviousPage: bool - startCursor: str -class PackageVersionOrder(GQLObject): - """ - PackageVersionOrder - Ways in which lists of package versions can be ordered upon return. +@dataclass(kw_only=True) +class DeleteRepositoryRulesetInput: + """ + DeleteRepositoryRulesetInput - Autogenerated input type of DeleteRepositoryRuleset - field - The field in which to order package versions by. + clientMutationId - A unique identifier for the client performing the mutation. - direction - The direction in which to order package versions by the specified field. + repositoryRulesetId - The global relay id of the repository ruleset to be deleted. - """ - field: PackageVersionOrderField - direction: OrderDirection + """ -class PackageOrder(GQLObject): - """ - PackageOrder - Ways in which lists of packages can be ordered upon return. + client_mutation_id: Optional[str] = None + repository_ruleset_id: ID - field - The field in which to order packages by. - direction - The direction in which to order packages by the specified field. +@dataclass(kw_only=True) +class DeleteTeamDiscussionCommentInput: + """ + DeleteTeamDiscussionCommentInput - Autogenerated input type of DeleteTeamDiscussionComment - """ - field: PackageOrderField - direction: OrderDirection + clientMutationId - A unique identifier for the client performing the mutation. -class OrganizationOrder(GQLObject): - """ - OrganizationOrder - Ordering options for organization connections. + id - The ID of the comment to delete. - field - The field to order organizations by. + """ - direction - The ordering direction. + client_mutation_id: Optional[str] = None + id: ID - """ - field: OrganizationOrderField - direction: OrderDirection -class OrgEnterpriseOwnerOrder(GQLObject): - """ - OrgEnterpriseOwnerOrder - Ordering options for an organization's enterprise owner connections. +@dataclass(kw_only=True) +class DeleteTeamDiscussionInput: + """ + DeleteTeamDiscussionInput - Autogenerated input type of DeleteTeamDiscussion - field - The field to order enterprise owners by. + clientMutationId - A unique identifier for the client performing the mutation. - direction - The ordering direction. + id - The discussion ID to delete. - """ - field: OrgEnterpriseOwnerOrderField - direction: OrderDirection + """ -class Node(GQLObject): - """ - Node - An object with an ID. + client_mutation_id: Optional[str] = None + id: ID - id - ID of the object. - """ - id: ID +@dataclass(kw_only=True) +class DeleteUserListInput: + """ + DeleteUserListInput - Autogenerated input type of DeleteUserList -class MoveProjectCardInput(GQLObject): - """ - MoveProjectCardInput - Autogenerated input type of MoveProjectCard + clientMutationId - A unique identifier for the client performing the mutation. - cardId - The id of the card to move. + listId - The ID of the list to delete. - columnId - The id of the column to move it into. + """ - afterCardId - Place the new card after the card with this id. Pass null to place it at the top. + client_mutation_id: Optional[str] = None + list_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - cardId: ID - columnId: ID - afterCardId: ID - clientMutationId: str +@dataclass(kw_only=True) +class DependabotUpdateError: + """ + DependabotUpdateError - An error produced from a Dependabot Update -class Minimizable(GQLObject): - """ - Minimizable - Entities that can be minimized. + body - The body of the error - isMinimized - Returns whether or not a comment has been minimized. + errorType - The error code - minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. + title - The title of the error - viewerCanMinimize - Check if the current viewer can minimize this object. + """ - """ - isMinimized: bool - minimizedReason: str - viewerCanMinimize: bool + body: str + error_type: str + title: str -class MigrationSource(GQLObject): - """ - MigrationSource - A GitHub Enterprise Importer (GEI) migration source. - name - The migration source name. +@dataclass(kw_only=True) +class DeploymentOrder: + """ + DeploymentOrder - Ordering options for deployment connections - type - The migration source type. + direction - The ordering direction. - url - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + field - The field to order deployments by. - """ - id: ID - name: str - type: MigrationSourceType - url: URI + """ -class MergePullRequestInput(GQLObject): - """ - MergePullRequestInput - Autogenerated input type of MergePullRequest + direction: OrderDirection + field: DeploymentOrderField - pullRequestId - ID of the pull request to be merged. - commitHeadline - Commit headline to use for the merge commit; if omitted, a default message will be used. +@dataclass(kw_only=True) +class DisablePullRequestAutoMergeInput: + """ + DisablePullRequestAutoMergeInput - Autogenerated input type of DisablePullRequestAutoMerge - commitBody - Commit body to use for the merge commit; if omitted, a default message will be used + clientMutationId - A unique identifier for the client performing the mutation. - expectedHeadOid - OID that the pull request head ref must match to allow merge; if omitted, no check is performed. + pullRequestId - ID of the pull request to disable auto merge on. - mergeMethod - The merge method to use. If omitted, defaults to 'MERGE' + """ - authorEmail - The email address to associate with this merge. + client_mutation_id: Optional[str] = None + pull_request_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - pullRequestId: ID - commitHeadline: str - commitBody: str - expectedHeadOid: GitObjectID - mergeMethod: PullRequestMergeMethod - authorEmail: str - clientMutationId: str +@dataclass(kw_only=True) +class DiscussionPollOptionOrder: + """ + DiscussionPollOptionOrder - Ordering options for discussion poll option connections. -class MarketplaceCategory(GQLObject): - """ - MarketplaceCategory - A public description of a Marketplace category. + direction - The ordering direction. - description - The category's description. + field - The field to order poll options by. - howItWorks - The technical description of how apps listed in this category work with GitHub. + """ - name - The category's name. + direction: OrderDirection + field: DiscussionPollOptionOrderField - primaryListingCount - How many Marketplace listings have this as their primary category. - resourcePath - The HTTP path for this Marketplace category. +@dataclass(kw_only=True) +class DismissRepositoryVulnerabilityAlertInput: + """ + DismissRepositoryVulnerabilityAlertInput - Autogenerated input type of DismissRepositoryVulnerabilityAlert - secondaryListingCount - How many Marketplace listings have this as their secondary category. + clientMutationId - A unique identifier for the client performing the mutation. - slug - The short name of the category used in its URL. + dismissReason - The reason the Dependabot alert is being dismissed. - url - The HTTP URL for this Marketplace category. + repositoryVulnerabilityAlertId - The Dependabot alert ID to dismiss. - """ - description: str - howItWorks: str - id: ID - name: str - primaryListingCount: int - resourcePath: URI - secondaryListingCount: int - slug: str - url: URI + """ -class MarkProjectV2AsTemplateInput(GQLObject): - """ - MarkProjectV2AsTemplateInput - Autogenerated input type of MarkProjectV2AsTemplate + client_mutation_id: Optional[str] = None + dismiss_reason: DismissReason + repository_vulnerability_alert_id: ID - projectId - The ID of the Project to mark as a template. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class DraftPullRequestReviewThread: + """ + DraftPullRequestReviewThread - Specifies a review comment thread to be left with a Pull Request Review. - """ - projectId: ID - clientMutationId: str + body - Body of the comment to leave. -class MarkDiscussionCommentAsAnswerInput(GQLObject): - """ - MarkDiscussionCommentAsAnswerInput - Autogenerated input type of MarkDiscussionCommentAsAnswer + line - The line of the blob to which the thread refers. The end of the line range for multi-line comments. - id - The Node ID of the discussion comment to mark as an answer. + path - Path to the file being commented on. - clientMutationId - A unique identifier for the client performing the mutation. + side - The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. - """ - id: ID - clientMutationId: str + startLine - The first line of the range to which the comment refers. -class Lockable(GQLObject): - """ - Lockable - An object that can be locked. + startSide - The side of the diff on which the start line resides. - activeLockReason - Reason that the conversation was locked. + """ - locked - `true` if the object is locked + body: str + line: int + path: str + side: Optional[DiffSide] = None + start_line: Optional[int] = None + start_side: Optional[DiffSide] = None - """ - activeLockReason: LockReason - locked: bool -class LinkRepositoryToProjectInput(GQLObject): - """ - LinkRepositoryToProjectInput - Autogenerated input type of LinkRepositoryToProject +@dataclass(kw_only=True) +class EnqueuePullRequestInput: + """ + EnqueuePullRequestInput - Autogenerated input type of EnqueuePullRequest - projectId - The ID of the Project to link to a Repository + clientMutationId - A unique identifier for the client performing the mutation. - repositoryId - The ID of the Repository to link to a Project. + expectedHeadOid - The expected head OID of the pull request. - clientMutationId - A unique identifier for the client performing the mutation. + jump - Add the pull request to the front of the queue. - """ - projectId: ID - repositoryId: ID - clientMutationId: str + pullRequestId - The ID of the pull request to enqueue. -class LinkProjectV2ToRepositoryInput(GQLObject): - """ - LinkProjectV2ToRepositoryInput - Autogenerated input type of LinkProjectV2ToRepository + """ - projectId - The ID of the project to link to the repository. + client_mutation_id: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + jump: Optional[bool] = None + pull_request_id: ID - repositoryId - The ID of the repository to link to the project. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class EnterpriseAuditEntryData: + """ + EnterpriseAuditEntryData - Metadata for an audit entry containing enterprise account information. - """ - projectId: ID - repositoryId: ID - clientMutationId: str + enterpriseResourcePath - The HTTP path for this enterprise. -class LanguageOrder(GQLObject): - """ - LanguageOrder - Ordering options for language connections. + enterpriseSlug - The slug of the enterprise. - field - The field to order languages by. + enterpriseUrl - The HTTP URL for this enterprise. - direction - The ordering direction. + """ - """ - field: LanguageOrderField - direction: OrderDirection + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None -class LabelOrder(GQLObject): - """ - LabelOrder - Ways in which lists of labels can be ordered upon return. - field - The field in which to order labels by. +@dataclass(kw_only=True) +class EnterpriseMemberOrder: + """ + EnterpriseMemberOrder - Ordering options for enterprise member connections. - direction - The direction in which to order labels by the specified field. + direction - The ordering direction. - """ - field: LabelOrderField - direction: OrderDirection + field - The field to order enterprise members by. -class IssueFilters(GQLObject): - """ - IssueFilters - Ways in which to filter lists of issues. + """ - assignee - List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. + direction: OrderDirection + field: EnterpriseMemberOrderField - createdBy - List issues created by given name. - labels - List issues where the list of label names exist on the issue. +@dataclass(kw_only=True) +class EnterpriseRepositoryInfo: + """ + EnterpriseRepositoryInfo - A subset of repository information queryable from an enterprise. - mentioned - List issues where the given name is mentioned in the issue. + id - The Node ID of the EnterpriseRepositoryInfo object - milestone - List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + isPrivate - Identifies if the repository is private or internal. - milestoneNumber - List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + name - The repository's name. - since - List issues that have been updated at or after the given date. + nameWithOwner - The repository's name with owner. - states - List issues filtered by the list of states given. + """ - viewerSubscribed - List issues subscribed to by viewer. + id: ID + is_private: bool + name: str + name_with_owner: str - """ - assignee: str - createdBy: str - labels: list[str] - mentioned: str - milestone: str - milestoneNumber: str - since: DateTime - states: list[IssueState] - viewerSubscribed: bool -class IpAllowListEntryOrder(GQLObject): - """ - IpAllowListEntryOrder - Ordering options for IP allow list entry connections. +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmailOrder: + """ + EnterpriseServerUserAccountEmailOrder - Ordering options for Enterprise Server user account email connections. - field - The field to order IP allow list entries by. + direction - The ordering direction. - direction - The ordering direction. + field - The field to order emails by. - """ - field: IpAllowListEntryOrderField - direction: OrderDirection + """ -class HovercardContext(GQLObject): - """ - HovercardContext - An individual line of a hovercard + direction: OrderDirection + field: EnterpriseServerUserAccountEmailOrderField - message - A string describing this context - octicon - An octicon to accompany this context +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUploadOrder: + """ + EnterpriseServerUserAccountsUploadOrder - Ordering options for Enterprise Server user accounts upload connections. - """ - message: str - octicon: str + direction - The ordering direction. -class GrantMigratorRoleInput(GQLObject): - """ - GrantMigratorRoleInput - Autogenerated input type of GrantMigratorRole + field - The field to order user accounts uploads by. - organizationId - The ID of the organization that the user/team belongs to. + """ - actor - The user login or Team slug to grant the migrator role. + direction: OrderDirection + field: EnterpriseServerUserAccountsUploadOrderField - actorType - Specifies the type of the actor, can be either USER or TEAM. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ExternalIdentityAttribute: + """ + ExternalIdentityAttribute - An attribute for the External Identity attributes collection - """ - organizationId: ID - actor: str - actorType: ActorType - clientMutationId: str + metadata - The attribute metadata as JSON -class GitHubMetadata(GQLObject): - """ - GitHubMetadata - Represents information about the GitHub instance. + name - The attribute name - gitHubServicesSha - Returns a String that's a SHA of `github-services` + value - The attribute value - gitIpAddresses - IP addresses that users connect to for git operations + """ - githubEnterpriseImporterIpAddresses - IP addresses that GitHub Enterprise Importer uses for outbound connections + metadata: Optional[str] = None + name: str + value: str - hookIpAddresses - IP addresses that service hooks are sent from - importerIpAddresses - IP addresses that the importer connects from +@dataclass(kw_only=True) +class FileDeletion: + """ + FileDeletion - A command to delete the file at the given path as part of a commit. - isPasswordAuthenticationVerifiable - Whether or not users are verified + path - The path to delete - pagesIpAddresses - IP addresses for GitHub Pages' A records + """ - """ - gitHubServicesSha: GitObjectID - gitIpAddresses: list[str] - githubEnterpriseImporterIpAddresses: list[str] - hookIpAddresses: list[str] - importerIpAddresses: list[str] - isPasswordAuthenticationVerifiable: bool - pagesIpAddresses: list[str] + path: str -class GenericHovercardContext(GQLObject): - """ - GenericHovercardContext - A generic hovercard context with a message and icon - message - A string describing this context +@dataclass(kw_only=True) +class FollowUserInput: + """ + FollowUserInput - Autogenerated input type of FollowUser - octicon - An octicon to accompany this context + clientMutationId - A unique identifier for the client performing the mutation. - """ - message: str - octicon: str + userId - ID of the user to follow. -class FollowUserInput(GQLObject): - """ - FollowUserInput - Autogenerated input type of FollowUser + """ - userId - ID of the user to follow. + client_mutation_id: Optional[str] = None + user_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - userId: ID - clientMutationId: str +@dataclass(kw_only=True) +class GenericHovercardContext: + """ + GenericHovercardContext - A generic hovercard context with a message and icon -class FileDeletion(GQLObject): - """ - FileDeletion - A command to delete the file at the given path as part of a commit. + message - A string describing this context - path - The path to delete + octicon - An octicon to accompany this context - """ - path: str + """ -class ExternalIdentityAttribute(GQLObject): - """ - ExternalIdentityAttribute - An attribute for the External Identity attributes collection + message: str + octicon: str - metadata - The attribute metadata as JSON - name - The attribute name +@dataclass(kw_only=True) +class GitHubMetadata: + """ + GitHubMetadata - Represents information about the GitHub instance. - value - The attribute value + gitHubServicesSha - Returns a String that's a SHA of `github-services` - """ - metadata: str - name: str - value: str + gitIpAddresses - IP addresses that users connect to for git operations -class EnterpriseServerUserAccountsUploadOrder(GQLObject): - """ - EnterpriseServerUserAccountsUploadOrder - Ordering options for Enterprise Server user accounts upload connections. + githubEnterpriseImporterIpAddresses - IP addresses that GitHub Enterprise Importer uses for outbound connections - field - The field to order user accounts uploads by. + hookIpAddresses - IP addresses that service hooks are sent from - direction - The ordering direction. + importerIpAddresses - IP addresses that the importer connects from - """ - field: EnterpriseServerUserAccountsUploadOrderField - direction: OrderDirection + isPasswordAuthenticationVerifiable - Whether or not users are verified -class EnterpriseServerUserAccountEmailOrder(GQLObject): - """ - EnterpriseServerUserAccountEmailOrder - Ordering options for Enterprise Server user account email connections. + pagesIpAddresses - IP addresses for GitHub Pages' A records - field - The field to order emails by. + """ - direction - The ordering direction. + git_hub_services_sha: GitObjectID + git_ip_addresses: Optional[list[str]] = None + github_enterprise_importer_ip_addresses: Optional[list[str]] = None + hook_ip_addresses: Optional[list[str]] = None + importer_ip_addresses: Optional[list[str]] = None + is_password_authentication_verifiable: bool + pages_ip_addresses: Optional[list[str]] = None - """ - field: EnterpriseServerUserAccountEmailOrderField - direction: OrderDirection -class EnterpriseRepositoryInfo(GQLObject): - """ - EnterpriseRepositoryInfo - A subset of repository information queryable from an enterprise. +@dataclass(kw_only=True) +class GrantMigratorRoleInput: + """ + GrantMigratorRoleInput - Autogenerated input type of GrantMigratorRole - isPrivate - Identifies if the repository is private or internal. + actor - The user login or Team slug to grant the migrator role. - name - The repository's name. + actorType - Specifies the type of the actor, can be either USER or TEAM. - nameWithOwner - The repository's name with owner. + clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - isPrivate: bool - name: str - nameWithOwner: str + organizationId - The ID of the organization that the user/team belongs to. -class EnterpriseBillingInfo(GQLObject): - """ - EnterpriseBillingInfo - Enterprise billing information visible to enterprise billing managers and owners. + """ - allLicensableUsersCount - The number of licenseable users/emails across the enterprise. + actor: str + actor_type: ActorType + client_mutation_id: Optional[str] = None + organization_id: ID - assetPacks - The number of data packs used by all organizations owned by the enterprise. - bandwidthQuota - The bandwidth quota in GB for all organizations owned by the enterprise. +@dataclass(kw_only=True) +class HovercardContext: + """ + HovercardContext - An individual line of a hovercard - bandwidthUsage - The bandwidth usage in GB for all organizations owned by the enterprise. + message - A string describing this context - bandwidthUsagePercentage - The bandwidth usage as a percentage of the bandwidth quota. + octicon - An octicon to accompany this context - storageQuota - The storage quota in GB for all organizations owned by the enterprise. + """ - storageUsage - The storage usage in GB for all organizations owned by the enterprise. + message: str + octicon: str - storageUsagePercentage - The storage usage as a percentage of the storage quota. - totalAvailableLicenses - The number of available licenses across all owned organizations based on the unique number of billable users. +@dataclass(kw_only=True) +class IpAllowListEntryOrder: + """ + IpAllowListEntryOrder - Ordering options for IP allow list entry connections. - totalLicenses - The total number of licenses allocated. + direction - The ordering direction. - """ - allLicensableUsersCount: int - assetPacks: int - bandwidthQuota: float - bandwidthUsage: float - bandwidthUsagePercentage: int - storageQuota: float - storageUsage: float - storageUsagePercentage: int - totalAvailableLicenses: int - totalLicenses: int + field - The field to order IP allow list entries by. -class EnterpriseAdministratorInvitationOrder(GQLObject): - """ - EnterpriseAdministratorInvitationOrder - Ordering options for enterprise administrator invitation connections + """ - field - The field to order enterprise administrator invitations by. + direction: OrderDirection + field: IpAllowListEntryOrderField - direction - The ordering direction. - """ - field: EnterpriseAdministratorInvitationOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class IssueFilters: + """ + IssueFilters - Ways in which to filter lists of issues. -class EnablePullRequestAutoMergeInput(GQLObject): - """ - EnablePullRequestAutoMergeInput - Autogenerated input type of EnablePullRequestAutoMerge + assignee - List issues assigned to given name. Pass in `null` for issues with no assigned + user, and `*` for issues assigned to any user. - pullRequestId - ID of the pull request to enable auto-merge on. + createdBy - List issues created by given name. - commitHeadline - Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored. + labels - List issues where the list of label names exist on the issue. - commitBody - Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored. + mentioned - List issues where the given name is mentioned in the issue. - mergeMethod - The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging with a merge queue any input value for merge method is ignored. + milestone - List issues by given milestone argument. If an string representation of an + integer is passed, it should refer to a milestone by its database ID. Pass in + `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. - authorEmail - The email address to associate with this merge. + milestoneNumber - List issues by given milestone argument. If an string representation of an + integer is passed, it should refer to a milestone by its number field. Pass in + `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. - expectedHeadOid - The expected head OID of the pull request. + since - List issues that have been updated at or after the given date. - clientMutationId - A unique identifier for the client performing the mutation. + states - List issues filtered by the list of states given. - """ - pullRequestId: ID - commitHeadline: str - commitBody: str - mergeMethod: PullRequestMergeMethod - authorEmail: str - expectedHeadOid: GitObjectID - clientMutationId: str + viewerSubscribed - List issues subscribed to by viewer. -class DraftPullRequestReviewComment(GQLObject): - """ - DraftPullRequestReviewComment - Specifies a review comment to be left with a Pull Request Review. + """ - path - Path to the file being commented on. + assignee: Optional[str] = None + created_by: Optional[str] = None + labels: Optional[list[str]] = None + mentioned: Optional[str] = None + milestone: Optional[str] = None + milestone_number: Optional[str] = None + since: Optional[DateTime] = None + states: Optional[list[IssueState]] = None + viewer_subscribed: Optional[bool] = None - position - Position in the file to leave a comment on. - body - Body of the comment to leave. +@dataclass(kw_only=True) +class LabelOrder: + """ + LabelOrder - Ways in which lists of labels can be ordered upon return. - """ - path: str - position: int - body: str + direction - The direction in which to order labels by the specified field. -class DismissPullRequestReviewInput(GQLObject): - """ - DismissPullRequestReviewInput - Autogenerated input type of DismissPullRequestReview + field - The field in which to order labels by. - pullRequestReviewId - The Node ID of the pull request review to modify. + """ - message - The contents of the pull request review dismissal message. + direction: OrderDirection + field: LabelOrderField - clientMutationId - A unique identifier for the client performing the mutation. - """ - pullRequestReviewId: ID - message: str - clientMutationId: str +@dataclass(kw_only=True) +class LanguageOrder: + """ + LanguageOrder - Ordering options for language connections. -class DiscussionOrder(GQLObject): - """ - DiscussionOrder - Ways in which lists of discussions can be ordered upon return. + direction - The ordering direction. - field - The field by which to order discussions. + field - The field to order languages by. - direction - The direction in which to order discussions by the specified field. + """ - """ - field: DiscussionOrderField - direction: OrderDirection + direction: OrderDirection + field: LanguageOrderField -class DequeuePullRequestInput(GQLObject): - """ - DequeuePullRequestInput - Autogenerated input type of DequeuePullRequest - id - The ID of the pull request to be dequeued. +@dataclass(kw_only=True) +class LinkProjectV2ToRepositoryInput: + """ + LinkProjectV2ToRepositoryInput - Autogenerated input type of LinkProjectV2ToRepository - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - clientMutationId: str + projectId - The ID of the project to link to the repository. -class DeployKey(GQLObject): - """ - DeployKey - A repository deploy key. + repositoryId - The ID of the repository to link to the project. - createdAt - Identifies the date and time when the object was created. + """ - key - The deploy key. + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID - readOnly - Whether or not the deploy key is read only. - title - The deploy key title. +@dataclass(kw_only=True) +class LinkRepositoryToProjectInput: + """ + LinkRepositoryToProjectInput - Autogenerated input type of LinkRepositoryToProject - verified - Whether or not the deploy key has been verified. + clientMutationId - A unique identifier for the client performing the mutation. - """ - createdAt: DateTime - id: ID - key: str - readOnly: bool - title: str - verified: bool + projectId - The ID of the Project to link to a Repository -class DeleteVerifiableDomainInput(GQLObject): - """ - DeleteVerifiableDomainInput - Autogenerated input type of DeleteVerifiableDomain + repositoryId - The ID of the Repository to link to a Project. - id - The ID of the verifiable domain to delete. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID - """ - id: ID - clientMutationId: str -class DeleteTeamDiscussionInput(GQLObject): - """ - DeleteTeamDiscussionInput - Autogenerated input type of DeleteTeamDiscussion +@dataclass(kw_only=True) +class Lockable: + """ + Lockable - An object that can be locked. - id - The discussion ID to delete. + activeLockReason - Reason that the conversation was locked. - clientMutationId - A unique identifier for the client performing the mutation. + locked - `true` if the object is locked - """ - id: ID - clientMutationId: str + """ -class DeleteTeamDiscussionCommentInput(GQLObject): - """ - DeleteTeamDiscussionCommentInput - Autogenerated input type of DeleteTeamDiscussionComment + active_lock_reason: Optional[LockReason] = None + locked: bool - id - The ID of the comment to delete. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class MarkDiscussionCommentAsAnswerInput: + """ + MarkDiscussionCommentAsAnswerInput - Autogenerated input type of MarkDiscussionCommentAsAnswer - """ - id: ID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class DeleteRepositoryRulesetInput(GQLObject): - """ - DeleteRepositoryRulesetInput - Autogenerated input type of DeleteRepositoryRuleset + id - The Node ID of the discussion comment to mark as an answer. - repositoryRulesetId - The global relay id of the repository ruleset to be deleted. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + id: ID - """ - repositoryRulesetId: ID - clientMutationId: str -class DeleteRefInput(GQLObject): - """ - DeleteRefInput - Autogenerated input type of DeleteRef +@dataclass(kw_only=True) +class MarkNotificationAsDoneInput: + """ + MarkNotificationAsDoneInput - Autogenerated input type of MarkNotificationAsDone - refId - The Node ID of the Ref to be deleted. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + id - The NotificationThread id. - """ - refId: ID - clientMutationId: str + """ -class DeletePullRequestReviewCommentInput(GQLObject): - """ - DeletePullRequestReviewCommentInput - Autogenerated input type of DeletePullRequestReviewComment + client_mutation_id: Optional[str] = None + id: ID - id - The ID of the comment to delete. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class MarkPullRequestReadyForReviewInput: + """ + MarkPullRequestReadyForReviewInput - Autogenerated input type of MarkPullRequestReadyForReview - """ - id: ID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class DeleteProjectV2ItemPayload(GQLObject): - """ - DeleteProjectV2ItemPayload - Autogenerated return type of DeleteProjectV2Item + pullRequestId - ID of the pull request to be marked as ready for review. - clientMutationId - A unique identifier for the client performing the mutation. + """ - deletedItemId - The ID of the deleted item. + client_mutation_id: Optional[str] = None + pull_request_id: ID - """ - clientMutationId: str - deletedItemId: ID -class DeleteProjectV2Input(GQLObject): - """ - DeleteProjectV2Input - Autogenerated input type of DeleteProjectV2 +@dataclass(kw_only=True) +class MemberFeatureRequestNotification: + """ + MemberFeatureRequestNotification - Represents a member feature request notification - projectId - The ID of the Project to delete. + body - Represents member feature request body containing organization name and the number of feature requests - clientMutationId - A unique identifier for the client performing the mutation. + id - The Node ID of the MemberFeatureRequestNotification object - """ - projectId: ID - clientMutationId: str + title - Represents member feature request notification title -class DeleteProjectInput(GQLObject): - """ - DeleteProjectInput - Autogenerated input type of DeleteProject + updatedAt - Identifies the date and time when the object was last updated. - projectId - The Project ID to update. + """ - clientMutationId - A unique identifier for the client performing the mutation. + body: str + id: ID + title: str + updated_at: DateTime - """ - projectId: ID - clientMutationId: str -class DeleteProjectCardInput(GQLObject): - """ - DeleteProjectCardInput - Autogenerated input type of DeleteProjectCard +@dataclass(kw_only=True) +class MergePullRequestInput: + """ + MergePullRequestInput - Autogenerated input type of MergePullRequest - cardId - The id of the card to delete. + authorEmail - The email address to associate with this merge. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cardId: ID - clientMutationId: str + commitBody - Commit body to use for the merge commit; if omitted, a default message will be used -class DeleteIssueInput(GQLObject): - """ - DeleteIssueInput - Autogenerated input type of DeleteIssue + commitHeadline - Commit headline to use for the merge commit; if omitted, a default message will be used. - issueId - The ID of the issue to delete. + expectedHeadOid - OID that the pull request head ref must match to allow merge; if omitted, no check is performed. - clientMutationId - A unique identifier for the client performing the mutation. + mergeMethod - The merge method to use. If omitted, defaults to 'MERGE' - """ - issueId: ID - clientMutationId: str + pullRequestId - ID of the pull request to be merged. -class DeleteIssueCommentInput(GQLObject): - """ - DeleteIssueCommentInput - Autogenerated input type of DeleteIssueComment + """ - id - The ID of the comment to delete. + author_email: Optional[str] = None + client_mutation_id: Optional[str] = None + commit_body: Optional[str] = None + commit_headline: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + merge_method: Optional[PullRequestMergeMethod] = None + pull_request_id: ID - clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - clientMutationId: str +@dataclass(kw_only=True) +class MigrationSource: + """ + MigrationSource - A GitHub Enterprise Importer (GEI) migration source. -class DeleteEnvironmentPayload(GQLObject): - """ - DeleteEnvironmentPayload - Autogenerated return type of DeleteEnvironment + id - The Node ID of the MigrationSource object - clientMutationId - A unique identifier for the client performing the mutation. + name - The migration source name. - """ - clientMutationId: str + type - The migration source type. -class DeleteDiscussionInput(GQLObject): - """ - DeleteDiscussionInput - Autogenerated input type of DeleteDiscussion + url - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. - id - The id of the discussion to delete. + """ - clientMutationId - A unique identifier for the client performing the mutation. + id: ID + name: str + type: MigrationSourceType + url: URI - """ - id: ID - clientMutationId: str -class DeleteDeploymentPayload(GQLObject): - """ - DeleteDeploymentPayload - Autogenerated return type of DeleteDeployment +@dataclass(kw_only=True) +class Minimizable: + """ + Minimizable - Entities that can be minimized. - clientMutationId - A unique identifier for the client performing the mutation. + isMinimized - Returns whether or not a comment has been minimized. - """ - clientMutationId: str + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. -class DeleteBranchProtectionRulePayload(GQLObject): - """ - DeleteBranchProtectionRulePayload - Autogenerated return type of DeleteBranchProtectionRule + viewerCanMinimize - Check if the current viewer can minimize this object. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - clientMutationId: str + is_minimized: bool + minimized_reason: Optional[str] = None + viewer_can_minimize: bool -class Deletable(GQLObject): - """ - Deletable - Entities that can be deleted. - viewerCanDelete - Check if the current viewer can delete this object. +@dataclass(kw_only=True) +class MoveProjectCardInput: + """ + MoveProjectCardInput - Autogenerated input type of MoveProjectCard - """ - viewerCanDelete: bool + afterCardId - Place the new card after the card with this id. Pass null to place it at the top. -class CreateTeamDiscussionInput(GQLObject): - """ - CreateTeamDiscussionInput - Autogenerated input type of CreateTeamDiscussion + cardId - The id of the card to move. - teamId - The ID of the team to which the discussion belongs. This field is required. + clientMutationId - A unique identifier for the client performing the mutation. -**Upcoming Change on 2024-07-01 UTC** -**Description:** `teamId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. -**Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + columnId - The id of the column to move it into. + """ - title - The title of the discussion. This field is required. + after_card_id: Optional[ID] = None + card_id: ID + client_mutation_id: Optional[str] = None + column_id: ID -**Upcoming Change on 2024-07-01 UTC** -**Description:** `title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. -**Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. +@dataclass(kw_only=True) +class Node: + """ + Node - An object with an ID. - body - The content of the discussion. This field is required. + id - ID of the object. -**Upcoming Change on 2024-07-01 UTC** -**Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. -**Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. + """ + id: ID - private - If true, restricts the visibility of this discussion to team members and organization admins. If false or not specified, allows any organization member to view this discussion. -**Upcoming Change on 2024-07-01 UTC** -**Description:** `private` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. -**Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. +@dataclass(kw_only=True) +class OrgEnterpriseOwnerOrder: + """ + OrgEnterpriseOwnerOrder - Ordering options for an organization's enterprise owner connections. + direction - The ordering direction. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field to order enterprise owners by. - """ - teamId: ID - title: str - body: str - private: bool - clientMutationId: str + """ -class CreateSponsorshipInput(GQLObject): - """ - CreateSponsorshipInput - Autogenerated input type of CreateSponsorship + direction: OrderDirection + field: OrgEnterpriseOwnerOrderField - sponsorId - The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. - sponsorLogin - The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. +@dataclass(kw_only=True) +class OrganizationOrder: + """ + OrganizationOrder - Ordering options for organization connections. - sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. + direction - The ordering direction. - sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. + field - The field to order organizations by. - tierId - The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified. + """ - amount - The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000. + direction: OrderDirection + field: OrganizationOrderField - isRecurring - Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. - receiveEmails - Whether the sponsor should receive email updates from the sponsorable. +@dataclass(kw_only=True) +class PackageOrder: + """ + PackageOrder - Ways in which lists of packages can be ordered upon return. - privacyLevel - Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. + direction - The direction in which to order packages by the specified field. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field in which to order packages by. - """ - sponsorId: ID - sponsorLogin: str - sponsorableId: ID - sponsorableLogin: str - tierId: ID - amount: int - isRecurring: bool - receiveEmails: bool - privacyLevel: SponsorshipPrivacy - clientMutationId: str + """ -class CreateSponsorsListingInput(GQLObject): - """ - CreateSponsorsListingInput - Autogenerated input type of CreateSponsorsListing + direction: Optional[OrderDirection] = None + field: Optional[PackageOrderField] = None - sponsorableLogin - The username of the organization to create a GitHub Sponsors profile for, if desired. Defaults to creating a GitHub Sponsors profile for the authenticated user if omitted. - fiscalHostLogin - The username of the supported fiscal host's GitHub organization, if you want to receive sponsorship payouts through a fiscal host rather than directly to a bank account. For example, 'Open-Source-Collective' for Open Source Collective or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts for more information. +@dataclass(kw_only=True) +class PackageVersionOrder: + """ + PackageVersionOrder - Ways in which lists of package versions can be ordered upon return. - fiscallyHostedProjectProfileUrl - The URL for your profile page on the fiscal host's website, e.g., https://opencollective.com/babel or https://numfocus.org/project/bokeh. Required if fiscalHostLogin is specified. + direction - The direction in which to order package versions by the specified field. - billingCountryOrRegionCode - The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. + field - The field in which to order package versions by. - residenceCountryOrRegionCode - The country or region where the sponsorable resides. This is for tax purposes. Required if the sponsorable is yourself, ignored when sponsorableLogin specifies an organization. + """ - contactEmail - The email address we should use to contact you about the GitHub Sponsors profile being created. This will not be shared publicly. Must be a verified email address already on your GitHub account. Only relevant when the sponsorable is yourself. Defaults to your primary email address on file if omitted. + direction: Optional[OrderDirection] = None + field: Optional[PackageVersionOrderField] = None - fullDescription - Provide an introduction to serve as the main focus that appears on your GitHub Sponsors profile. It's a great opportunity to help potential sponsors learn more about you, your work, and why their sponsorship is important to you. GitHub-flavored Markdown is supported. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class PageInfo: + """ + PageInfo - Information about pagination in a connection. - """ - sponsorableLogin: str - fiscalHostLogin: str - fiscallyHostedProjectProfileUrl: str - billingCountryOrRegionCode: SponsorsCountryOrRegionCode - residenceCountryOrRegionCode: SponsorsCountryOrRegionCode - contactEmail: str - fullDescription: str - clientMutationId: str + endCursor - When paginating forwards, the cursor to continue. -class CreateRefInput(GQLObject): - """ - CreateRefInput - Autogenerated input type of CreateRef + hasNextPage - When paginating forwards, are there more items? - repositoryId - The Node ID of the Repository to create the Ref in. + hasPreviousPage - When paginating backwards, are there more items? - name - The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). + startCursor - When paginating backwards, the cursor to continue. - oid - The GitObjectID that the new Ref shall target. Must point to a commit. + """ - clientMutationId - A unique identifier for the client performing the mutation. + end_cursor: Optional[str] = None + has_next_page: bool + has_previous_page: bool + start_cursor: Optional[str] = None - """ - repositoryId: ID - name: str - oid: GitObjectID - clientMutationId: str -class CreateProjectV2Input(GQLObject): - """ - CreateProjectV2Input - Autogenerated input type of CreateProjectV2 +@dataclass(kw_only=True) +class ProjectCardImport: + """ + ProjectCardImport - An issue or PR and its owning repository to be used in a project card. - ownerId - The owner ID to create the project under. + number - The issue or pull request number. - title - The title of the project. + repository - Repository name with owner (owner/repository). - repositoryId - The repository to link the project to. + """ - teamId - The team to link the project to. The team will be granted read permissions. + number: int + repository: str - clientMutationId - A unique identifier for the client performing the mutation. - """ - ownerId: ID - title: str - repositoryId: ID - teamId: ID - clientMutationId: str +@dataclass(kw_only=True) +class ProjectProgress: + """ + ProjectProgress - Project progress stats. -class CreateMigrationSourceInput(GQLObject): - """ - CreateMigrationSourceInput - Autogenerated input type of CreateMigrationSource + doneCount - The number of done cards. - name - The migration source name. + donePercentage - The percentage of done cards. - url - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + enabled - Whether progress tracking is enabled and cards with purpose exist for this project - accessToken - The migration source access token. + inProgressCount - The number of in-progress cards. - type - The migration source type. + inProgressPercentage - The percentage of in-progress cards. - ownerId - The ID of the organization that will own the migration source. + todoCount - The number of to do cards. - githubPat - The GitHub personal access token of the user importing to the target repository. + todoPercentage - The percentage of to do cards. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - name: str - url: str - accessToken: str - type: MigrationSourceType - ownerId: ID - githubPat: str - clientMutationId: str + done_count: int + done_percentage: float + enabled: bool + in_progress_count: int + in_progress_percentage: float + todo_count: int + todo_percentage: float -class CreateIssueInput(GQLObject): - """ - CreateIssueInput - Autogenerated input type of CreateIssue - repositoryId - The Node ID of the repository. +@dataclass(kw_only=True) +class ProjectV2FieldOrder: + """ + ProjectV2FieldOrder - Ordering options for project v2 field connections - title - The title for the issue. + direction - The ordering direction. - body - The body for the issue description. + field - The field to order the project v2 fields by. - assigneeIds - The Node ID for the user assignee for this issue. + """ - milestoneId - The Node ID of the milestone for this issue. + direction: OrderDirection + field: ProjectV2FieldOrderField - labelIds - An array of Node IDs of labels for this issue. - projectIds - An array of Node IDs for projects associated with this issue. +@dataclass(kw_only=True) +class ProjectV2Filters: + """ + ProjectV2Filters - Ways in which to filter lists of projects. - issueTemplate - The name of an issue template in the repository, assigns labels and assignees from the template to the issue + state - List project v2 filtered by the state given. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - repositoryId: ID - title: str - body: str - assigneeIds: list[ID] - milestoneId: ID - labelIds: list[ID] - projectIds: list[ID] - issueTemplate: str - clientMutationId: str + state: Optional[ProjectV2State] = None -class CreateEnvironmentInput(GQLObject): - """ - CreateEnvironmentInput - Autogenerated input type of CreateEnvironment - repositoryId - The node ID of the repository. +@dataclass(kw_only=True) +class ProjectV2ItemOrder: + """ + ProjectV2ItemOrder - Ordering options for project v2 item connections - name - The name of the environment. + direction - The ordering direction. - clientMutationId - A unique identifier for the client performing the mutation. + field - The field to order the project v2 items by. - """ - repositoryId: ID - name: str - clientMutationId: str + """ -class CreateDiscussionInput(GQLObject): - """ - CreateDiscussionInput - Autogenerated input type of CreateDiscussion + direction: OrderDirection + field: ProjectV2ItemOrderField - repositoryId - The id of the repository on which to create the discussion. - title - The title of the discussion. +@dataclass(kw_only=True) +class ProjectV2Order: + """ + ProjectV2Order - Ways in which lists of projects can be ordered upon return. - body - The body of the discussion. + direction - The direction in which to order projects by the specified field. - categoryId - The id of the discussion category to associate with this discussion. + field - The field in which to order projects by. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - repositoryId: ID - title: str - body: str - categoryId: ID - clientMutationId: str + direction: OrderDirection + field: ProjectV2OrderField -class CreateAttributionInvitationInput(GQLObject): - """ - CreateAttributionInvitationInput - Autogenerated input type of CreateAttributionInvitation - ownerId - The Node ID of the owner scoping the reattributable data. +@dataclass(kw_only=True) +class ProjectV2SingleSelectFieldOptionInput: + """ + ProjectV2SingleSelectFieldOptionInput - Represents a single select field option - sourceId - The Node ID of the account owning the data to reattribute. + color - The display color of the option - targetId - The Node ID of the account which may claim the data. + description - The description text of the option - clientMutationId - A unique identifier for the client performing the mutation. + name - The name of the option - """ - ownerId: ID - sourceId: ID - targetId: ID - clientMutationId: str + """ -class ConvertPullRequestToDraftInput(GQLObject): - """ - ConvertPullRequestToDraftInput - Autogenerated input type of ConvertPullRequestToDraft + color: ProjectV2SingleSelectFieldOptionColor + description: str + name: str - pullRequestId - ID of the pull request to convert to draft - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ProjectV2WorkflowOrder: + """ + ProjectV2WorkflowOrder - Ordering options for project v2 workflows connections - """ - pullRequestId: ID - clientMutationId: str + direction - The ordering direction. -class ContributionOrder(GQLObject): - """ - ContributionOrder - Ordering options for contribution connections. + field - The field to order the project v2 workflows by. - direction - The ordering direction. + """ - """ - direction: OrderDirection + direction: OrderDirection + field: ProjectV2WorkflowsOrderField -class ContributionCalendarDay(GQLObject): - """ - ContributionCalendarDay - Represents a single day of contributions on GitHub by a user. - color - The hex color code that represents how many contributions were made on this day compared to others in the calendar. +@dataclass(kw_only=True) +class PropertyTargetDefinitionInput: + """ + PropertyTargetDefinitionInput - A property that must match - contributionCount - How many contributions were made by the user on this day. + name - The name of the property - contributionLevel - Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar. + propertyValues - The values to match for - date - The day this square represents. + """ - weekday - A number representing which day of the week this square represents, e.g., 1 is Monday. + name: str + property_values: list[str] - """ - color: str - contributionCount: int - contributionLevel: ContributionLevel - date: Date - weekday: int -class CommitterEmailPatternParameters(GQLObject): - """ - CommitterEmailPatternParameters - Parameters to be used for the committer_email_pattern rule +@dataclass(kw_only=True) +class PublishSponsorsTierInput: + """ + PublishSponsorsTierInput - Autogenerated input type of PublishSponsorsTier - name - How this rule will appear to users. + clientMutationId - A unique identifier for the client performing the mutation. - negate - If true, the rule will fail if the pattern matches. + tierId - The ID of the draft tier to publish. - operator - The operator to use for matching. + """ - pattern - The pattern to match with. + client_mutation_id: Optional[str] = None + tier_id: ID - """ - name: str - negate: bool - operator: str - pattern: str -class CommitMessagePatternParametersInput(GQLObject): - """ - CommitMessagePatternParametersInput - Parameters to be used for the commit_message_pattern rule +@dataclass(kw_only=True) +class PullRequestOrder: + """ + PullRequestOrder - Ways in which lists of issues can be ordered upon return. - name - How this rule will appear to users. + direction - The direction in which to order pull requests by the specified field. - negate - If true, the rule will fail if the pattern matches. + field - The field in which to order pull requests by. - operator - The operator to use for matching. + """ - pattern - The pattern to match with. + direction: OrderDirection + field: PullRequestOrderField - """ - name: str - negate: bool - operator: str - pattern: str -class CommitMessage(GQLObject): - """ - CommitMessage - A message to include with a new commit +@dataclass(kw_only=True) +class PullRequestParametersInput: + """ + PullRequestParametersInput - Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. - headline - The headline of the message. + dismissStaleReviewsOnPush - New, reviewable commits pushed will dismiss previous pull request review approvals. - body - The body of the message. + requireCodeOwnerReview - Require an approving review in pull requests that modify files that have a designated code owner. - """ - headline: str - body: str + requireLastPushApproval - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. -class CommitAuthorEmailPatternParametersInput(GQLObject): - """ - CommitAuthorEmailPatternParametersInput - Parameters to be used for the commit_author_email_pattern rule + requiredApprovingReviewCount - The number of approving reviews that are required before a pull request can be merged. - name - How this rule will appear to users. + requiredReviewThreadResolution - All conversations on code must be resolved before a pull request can be merged. - negate - If true, the rule will fail if the pattern matches. + """ - operator - The operator to use for matching. + 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 - pattern - The pattern to match with. - """ - name: str - negate: bool - operator: str - pattern: str +@dataclass(kw_only=True) +class ReactionOrder: + """ + ReactionOrder - Ways in which lists of reactions can be ordered upon return. -class CommitAuthor(GQLObject): - """ - CommitAuthor - Specifies an author for filtering Git commits. + direction - The direction in which to order reactions by the specified field. - id - ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails. + field - The field in which to order reactions by. - emails - Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. + """ - """ - id: ID - emails: list[str] + direction: OrderDirection + field: ReactionOrderField -class ClosePullRequestInput(GQLObject): - """ - ClosePullRequestInput - Autogenerated input type of ClosePullRequest - pullRequestId - ID of the pull request to be closed. +@dataclass(kw_only=True) +class RefNameConditionTargetInput: + """ + RefNameConditionTargetInput - Parameters to be used for the ref_name condition - clientMutationId - A unique identifier for the client performing the mutation. + exclude - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. - """ - pullRequestId: ID - clientMutationId: str + include - Array of ref names or patterns to include. One of these patterns must match + for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the + default branch or `~ALL` to include all branches. -class CloseDiscussionInput(GQLObject): - """ - CloseDiscussionInput - Autogenerated input type of CloseDiscussion + """ - discussionId - ID of the discussion to be closed. + exclude: list[str] + include: list[str] - reason - The reason why the discussion is being closed. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RefUpdate: + """ + RefUpdate - A ref update - """ - discussionId: ID - reason: DiscussionCloseReason - clientMutationId: str + afterOid - The value this ref should be updated to. -class CloneTemplateRepositoryInput(GQLObject): - """ - CloneTemplateRepositoryInput - Autogenerated input type of CloneTemplateRepository + beforeOid - The value this ref needs to point to before the update. - repositoryId - The Node ID of the template repository. + force - Force a non fast-forward update. - name - The name of the new repository. + name - The fully qualified name of the ref to be update. For example `refs/heads/branch-name` - ownerId - The ID of the owner for the new repository. + """ - description - A short description of the new repository. + after_oid: GitObjectID + before_oid: Optional[GitObjectID] = None + force: Optional[bool] = None + name: GitRefname - visibility - Indicates the repository's visibility level. - includeAllBranches - Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. +@dataclass(kw_only=True) +class RegenerateEnterpriseIdentityProviderRecoveryCodesInput: + """ + RegenerateEnterpriseIdentityProviderRecoveryCodesInput - Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - repositoryId: ID - name: str - ownerId: ID - description: str - visibility: RepositoryVisibility - includeAllBranches: bool - clientMutationId: str + enterpriseId - The ID of the enterprise on which to set an identity provider. -class ClearProjectV2ItemFieldValueInput(GQLObject): - """ - ClearProjectV2ItemFieldValueInput - Autogenerated input type of ClearProjectV2ItemFieldValue + """ - projectId - The ID of the Project. + client_mutation_id: Optional[str] = None + enterprise_id: ID - itemId - The ID of the item to be cleared. - fieldId - The ID of the field to be cleared. +@dataclass(kw_only=True) +class RegenerateVerifiableDomainTokenPayload: + """ + RegenerateVerifiableDomainTokenPayload - Autogenerated return type of RegenerateVerifiableDomainToken - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - itemId: ID - fieldId: ID - clientMutationId: str + verificationToken - The verification token that was generated. -class CheckSuiteFilter(GQLObject): - """ - CheckSuiteFilter - The filters that are available when fetching check suites. + """ - appId - Filters the check suites created by this application ID. + client_mutation_id: Optional[str] = None + verification_token: Optional[str] = None - checkName - Filters the check suites by this name. - """ - appId: int - checkName: str +@dataclass(kw_only=True) +class ReleaseOrder: + """ + ReleaseOrder - Ways in which lists of releases can be ordered upon return. -class CheckStep(GQLObject): - """ - CheckStep - A single check step. + direction - The direction in which to order releases by the specified field. - completedAt - Identifies the date and time when the check step was completed. + field - The field in which to order releases by. - conclusion - The conclusion of the check step. + """ - externalId - A reference for the check step on the integrator's system. + direction: OrderDirection + field: ReleaseOrderField - name - The step's name. - number - The index of the step in the list of steps of the parent check run. +@dataclass(kw_only=True) +class RemoveEnterpriseAdminInput: + """ + RemoveEnterpriseAdminInput - Autogenerated input type of RemoveEnterpriseAdmin - secondsToCompletion - Number of seconds to completion. + clientMutationId - A unique identifier for the client performing the mutation. - startedAt - Identifies the date and time when the check step was started. + enterpriseId - The Enterprise ID from which to remove the administrator. - status - The current status of the check step. + login - The login of the user to remove as an administrator. - """ - completedAt: DateTime - conclusion: CheckConclusionState - externalId: str - name: str - number: int - secondsToCompletion: int - startedAt: DateTime - status: CheckStatusState + """ -class CheckRunOutputImage(GQLObject): - """ - CheckRunOutputImage - Images attached to the check run output displayed in the GitHub pull request UI. + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str - alt - The alternative text for the image. - imageUrl - The full URL of the image. +@dataclass(kw_only=True) +class RemoveEnterpriseMemberInput: + """ + RemoveEnterpriseMemberInput - Autogenerated input type of RemoveEnterpriseMember - caption - A short image description. + clientMutationId - A unique identifier for the client performing the mutation. - """ - alt: str - imageUrl: URI - caption: str + enterpriseId - The ID of the enterprise from which the user should be removed. -class CheckRunAction(GQLObject): - """ - CheckRunAction - Possible further actions the integrator can perform. + userId - The ID of the user to remove from the enterprise. - label - The text to be displayed on a button in the web UI. + """ - description - A short explanation of what this action would do. + client_mutation_id: Optional[str] = None + enterprise_id: ID + user_id: ID - identifier - A reference for the action on the integrator's system. - """ - label: str - description: str - identifier: str +@dataclass(kw_only=True) +class RemoveEnterpriseSupportEntitlementInput: + """ + RemoveEnterpriseSupportEntitlementInput - Autogenerated input type of RemoveEnterpriseSupportEntitlement -class CheckAnnotationPosition(GQLObject): - """ - CheckAnnotationPosition - A character position in a check annotation. + clientMutationId - A unique identifier for the client performing the mutation. - column - Column number (1 indexed). + enterpriseId - The ID of the Enterprise which the admin belongs to. - line - Line number (1 indexed). + login - The login of a member who will lose the support entitlement. - """ - column: int - line: int + """ -class CancelSponsorshipInput(GQLObject): - """ - CancelSponsorshipInput - Autogenerated input type of CancelSponsorship + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str - sponsorId - The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. - sponsorLogin - The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. +@dataclass(kw_only=True) +class RemoveLabelsFromLabelableInput: + """ + RemoveLabelsFromLabelableInput - Autogenerated input type of RemoveLabelsFromLabelable - sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. + clientMutationId - A unique identifier for the client performing the mutation. - sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. + labelIds - The ids of labels to remove. - clientMutationId - A unique identifier for the client performing the mutation. + labelableId - The id of the Labelable to remove labels from. - """ - sponsorId: ID - sponsorLogin: str - sponsorableId: ID - sponsorableLogin: str - clientMutationId: str + """ -class CWE(GQLObject): - """ - CWE - A common weakness enumeration + client_mutation_id: Optional[str] = None + label_ids: list[ID] + labelable_id: ID - cweId - The id of the CWE - description - A detailed description of this CWE +@dataclass(kw_only=True) +class RemoveReactionInput: + """ + RemoveReactionInput - Autogenerated input type of RemoveReaction - name - The name of this CWE + clientMutationId - A unique identifier for the client performing the mutation. - """ - cweId: str - description: str - id: ID - name: str + content - The name of the emoji reaction to remove. -class BulkSponsorship(GQLObject): - """ - BulkSponsorship - Information about a sponsorship to make for a user or organization with a GitHub Sponsors profile, as part of sponsoring many users or organizations at once. + subjectId - The Node ID of the subject to modify. - sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. + """ - sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. + client_mutation_id: Optional[str] = None + content: ReactionContent + subject_id: ID - amount - The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. - """ - sponsorableId: ID - sponsorableLogin: str - amount: int +@dataclass(kw_only=True) +class RemoveUpvoteInput: + """ + RemoveUpvoteInput - Autogenerated input type of RemoveUpvote -class BranchNamePatternParameters(GQLObject): - """ - BranchNamePatternParameters - Parameters to be used for the branch_name_pattern rule + clientMutationId - A unique identifier for the client performing the mutation. - name - How this rule will appear to users. + subjectId - The Node ID of the discussion or comment to remove upvote. - negate - If true, the rule will fail if the pattern matches. + """ - operator - The operator to use for matching. + client_mutation_id: Optional[str] = None + subject_id: ID - pattern - The pattern to match with. - """ - name: str - negate: bool - operator: str - pattern: str +@dataclass(kw_only=True) +class ReopenIssueInput: + """ + ReopenIssueInput - Autogenerated input type of ReopenIssue -class Bot(GQLObject): - """ - Bot - A special type of user which takes actions on behalf of GitHub Apps. + clientMutationId - A unique identifier for the client performing the mutation. - avatarUrl - A URL pointing to the GitHub App's public avatar. + issueId - ID of the issue to be opened. - createdAt - Identifies the date and time when the object was created. + """ - databaseId - Identifies the primary key from the database. + client_mutation_id: Optional[str] = None + issue_id: ID - login - The username of the actor. - resourcePath - The HTTP path for this bot +@dataclass(kw_only=True) +class RepositoryCodeownersError: + """ + RepositoryCodeownersError - An error in a `CODEOWNERS` file. - updatedAt - Identifies the date and time when the object was last updated. + column - The column number where the error occurs. - url - The HTTP URL for this bot + kind - A short string describing the type of error. - """ - avatarUrl: WVUEE_URI_Field - createdAt: DateTime - databaseId: int - id: ID - login: str - resourcePath: URI - updatedAt: DateTime - url: URI + line - The line number where the error occurs. -class ArchiveRepositoryInput(GQLObject): - """ - ArchiveRepositoryInput - Autogenerated input type of ArchiveRepository + message - A complete description of the error, combining information from other fields. - repositoryId - The ID of the repository to mark as archived. + path - The path to the file when the error occurs. - clientMutationId - A unique identifier for the client performing the mutation. + source - The content of the line where the error occurs. - """ - repositoryId: ID - clientMutationId: str + suggestion - A suggestion of how to fix the error. -class ApproveVerifiableDomainInput(GQLObject): - """ - ApproveVerifiableDomainInput - Autogenerated input type of ApproveVerifiableDomain + """ - id - The ID of the verifiable domain to approve. + column: int + kind: str + line: int + message: str + path: str + source: str + suggestion: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - clientMutationId: str +@dataclass(kw_only=True) +class RepositoryIdConditionTarget: + """ + RepositoryIdConditionTarget - Parameters to be used for the repository_id condition -class AnnouncementBanner(GQLObject): - """ - AnnouncementBanner - Represents an announcement banner. + repositoryIds - One of these repo IDs must match the repo. - announcement - The text of the announcement + """ - announcementExpiresAt - The expiration date of the announcement, if any + repository_ids: list[ID] - announcementUserDismissible - Whether the announcement can be dismissed by the user - """ - announcement: str - announcementExpiresAt: DateTime - announcementUserDismissible: bool +@dataclass(kw_only=True) +class RepositoryInteractionAbility: + """ + RepositoryInteractionAbility - Repository interaction limit that applies to this object. -class AddUpvoteInput(GQLObject): - """ - AddUpvoteInput - Autogenerated input type of AddUpvote + expiresAt - The time the currently active limit expires. - subjectId - The Node ID of the discussion or comment to upvote. + limit - The current limit that is enabled on this object. - clientMutationId - A unique identifier for the client performing the mutation. + origin - The origin of the currently active interaction limit. - """ - subjectId: ID - clientMutationId: str + """ -class AddReactionInput(GQLObject): - """ - AddReactionInput - Autogenerated input type of AddReaction + expires_at: Optional[DateTime] = None + limit: RepositoryInteractionLimit + origin: RepositoryInteractionLimitOrigin - subjectId - The Node ID of the subject to modify. - content - The name of the emoji to react with. +@dataclass(kw_only=True) +class RepositoryMigrationOrder: + """ + RepositoryMigrationOrder - Ordering options for repository migrations. - clientMutationId - A unique identifier for the client performing the mutation. + direction - The ordering direction. - """ - subjectId: ID - content: ReactionContent - clientMutationId: str + field - The field to order repository migrations by. -class AddPullRequestReviewThreadInput(GQLObject): - """ - AddPullRequestReviewThreadInput - Autogenerated input type of AddPullRequestReviewThread + """ - path - Path to the file being commented on. + direction: RepositoryMigrationOrderDirection + field: RepositoryMigrationOrderField - body - Body of the thread's first comment. - pullRequestId - The node ID of the pull request reviewing +@dataclass(kw_only=True) +class RepositoryNameConditionTargetInput: + """ + RepositoryNameConditionTargetInput - Parameters to be used for the repository_name condition - pullRequestReviewId - The Node ID of the review to modify. + exclude - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. - line - The line of the blob to which the thread refers, required for line-level threads. The end of the line range for multi-line comments. + include - Array of repository names or patterns to include. One of these patterns must + match for the condition to pass. Also accepts `~ALL` to include all repositories. - side - The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. + protected - Target changes that match these patterns will be prevented except by those with bypass permissions. - startLine - The first line of the range to which the comment refers. + """ - startSide - The side of the diff on which the start line resides. + exclude: list[str] + include: list[str] + protected: Optional[bool] = None - subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RepositoryRuleOrder: + """ + RepositoryRuleOrder - Ordering options for repository rules. - """ - path: str - body: str - pullRequestId: ID - pullRequestReviewId: ID - line: int - side: DiffSide - startLine: int - startSide: DiffSide - subjectType: PullRequestReviewThreadSubjectType - clientMutationId: str + direction - The ordering direction. -class AddProjectV2ItemByIdInput(GQLObject): - """ - AddProjectV2ItemByIdInput - Autogenerated input type of AddProjectV2ItemById + field - The field to order repository rules by. - projectId - The ID of the Project to add the item to. + """ - contentId - The id of the Issue or Pull Request to add. + direction: OrderDirection + field: RepositoryRuleOrderField - clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - contentId: ID - clientMutationId: str +@dataclass(kw_only=True) +class RequestReviewsInput: + """ + RequestReviewsInput - Autogenerated input type of RequestReviews -class AddProjectColumnInput(GQLObject): - """ - AddProjectColumnInput - Autogenerated input type of AddProjectColumn + clientMutationId - A unique identifier for the client performing the mutation. - projectId - The Node ID of the project. + pullRequestId - The Node ID of the pull request to modify. - name - The name of the column. + teamIds - The Node IDs of the team to request. - clientMutationId - A unique identifier for the client performing the mutation. + union - Add users to the set rather than replace. - """ - projectId: ID - name: str - clientMutationId: str + userIds - The Node IDs of the user to request. -class AddLabelsToLabelableInput(GQLObject): - """ - AddLabelsToLabelableInput - Autogenerated input type of AddLabelsToLabelable + """ - labelableId - The id of the labelable object to add labels to. + client_mutation_id: Optional[str] = None + pull_request_id: ID + team_ids: Optional[list[ID]] = None + union: Optional[bool] = None + user_ids: Optional[list[ID]] = None - labelIds - The ids of the labels to add. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RequiredDeploymentsParameters: + """ + RequiredDeploymentsParameters - Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. - """ - labelableId: ID - labelIds: list[ID] - clientMutationId: str + requiredDeploymentEnvironments - The environments that must be successfully deployed to before branches can be merged. -class AddEnterpriseSupportEntitlementInput(GQLObject): - """ - AddEnterpriseSupportEntitlementInput - Autogenerated input type of AddEnterpriseSupportEntitlement + """ - enterpriseId - The ID of the Enterprise which the admin belongs to. + required_deployment_environments: list[str] - login - The login of a member who will receive the support entitlement. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RequiredStatusCheckInput: + """ + RequiredStatusCheckInput - Specifies the attributes for a new or updated required status check. - """ - enterpriseId: ID - login: str - clientMutationId: str + appId - The ID of the App that must set the status in order for it to be accepted. + Omit this value to use whichever app has recently been setting this status, or + use "any" to allow any app to set the status. -class AddDiscussionPollVoteInput(GQLObject): - """ - AddDiscussionPollVoteInput - Autogenerated input type of AddDiscussionPollVote + context - Status check context that must pass for commits to be accepted to the matching branch. - pollOptionId - The Node ID of the discussion poll option to vote for. + """ - clientMutationId - A unique identifier for the client performing the mutation. + app_id: Optional[ID] = None + context: str - """ - pollOptionId: ID - clientMutationId: str -class AddCommentInput(GQLObject): - """ - AddCommentInput - Autogenerated input type of AddComment +@dataclass(kw_only=True) +class ResolveReviewThreadInput: + """ + ResolveReviewThreadInput - Autogenerated input type of ResolveReviewThread - subjectId - The Node ID of the subject to modify. + clientMutationId - A unique identifier for the client performing the mutation. - body - The contents of the comment. + threadId - The ID of the thread to resolve - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - subjectId: ID - body: str - clientMutationId: str + client_mutation_id: Optional[str] = None + thread_id: ID -class ActorLocation(GQLObject): - """ - ActorLocation - Location information for an actor - city - City +@dataclass(kw_only=True) +class RevertPullRequestInput: + """ + RevertPullRequestInput - Autogenerated input type of RevertPullRequest - country - Country name + body - The description of the revert pull request. - countryCode - Country code + clientMutationId - A unique identifier for the client performing the mutation. - region - Region name + draft - Indicates whether the revert pull request should be a draft. - regionCode - Region or state code + pullRequestId - The ID of the pull request to revert. - """ - city: str - country: str - countryCode: str - region: str - regionCode: str + title - The title of the revert pull request. -class Actor(GQLObject): - """ - Actor - Represents an object which can take actions on GitHub. Typically a User or Bot. + """ - avatarUrl - A URL pointing to the actor's public avatar. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + draft: Optional[bool] = None + pull_request_id: ID + title: Optional[str] = None - login - The username of the actor. - resourcePath - The HTTP path for this actor. +@dataclass(kw_only=True) +class RevokeEnterpriseOrganizationsMigratorRoleInput: + """ + RevokeEnterpriseOrganizationsMigratorRoleInput - Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole - url - The HTTP URL for this actor. + clientMutationId - A unique identifier for the client performing the mutation. - """ - avatarUrl: YBFIV_URI_Field - login: str - resourcePath: URI - url: URI + enterpriseId - The ID of the enterprise to which all organizations managed by it will be granted the migrator role. -class AcceptEnterpriseAdministratorInvitationInput(GQLObject): - """ - AcceptEnterpriseAdministratorInvitationInput - Autogenerated input type of AcceptEnterpriseAdministratorInvitation + login - The login of the user to revoke the migrator role - invitationId - The id of the invitation being accepted + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str - """ - invitationId: ID - clientMutationId: str -class AbortQueuedMigrationsInput(GQLObject): - """ - AbortQueuedMigrationsInput - Autogenerated input type of AbortQueuedMigrations +@dataclass(kw_only=True) +class RevokeMigratorRolePayload: + """ + RevokeMigratorRolePayload - Autogenerated return type of RevokeMigratorRole - ownerId - The ID of the organization that is running the migrations. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + success - Did the operation succeed? - """ - ownerId: ID - clientMutationId: str + """ -class EnterpriseServerUserAccountEmail(GQLObject): - """ - EnterpriseServerUserAccountEmail - An email belonging to a user account on an Enterprise Server installation. + client_mutation_id: Optional[str] = None + success: Optional[bool] = None - createdAt - Identifies the date and time when the object was created. - email - The email address. +@dataclass(kw_only=True) +class SecurityAdvisoryIdentifier: + """ + SecurityAdvisoryIdentifier - A GitHub Security Advisory Identifier - isPrimary - Indicates whether this is the primary email of the associated user account. + type - The identifier type, e.g. GHSA, CVE - updatedAt - Identifies the date and time when the object was last updated. + value - The identifier - userAccount - The user account to which the email belongs. + """ - """ - createdAt: DateTime - email: str - id: ID - isPrimary: bool - updatedAt: DateTime - userAccount: NewType('EnterpriseServerUserAccount', GQLObject) ## Circular Reference for EnterpriseServerUserAccount + type: str + value: str -class EnterpriseServerUserAccountEmailEdge(GQLObject): - """ - EnterpriseServerUserAccountEmailEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class SecurityAdvisoryOrder: + """ + SecurityAdvisoryOrder - Ordering options for security advisory connections - node - The item at the end of the edge. + direction - The ordering direction. - """ - cursor: str - node: EnterpriseServerUserAccountEmail + field - The field to order security advisories by. -class list_EnterpriseServerUserAccountEmailEdge(list, EnterpriseServerUserAccountEmailEdge): pass + """ -class list_EnterpriseServerUserAccountEmail(list, EnterpriseServerUserAccountEmail): pass + direction: OrderDirection + field: SecurityAdvisoryOrderField -class EnterpriseServerUserAccountEmailConnection(GQLObject): - """ - EnterpriseServerUserAccountEmailConnection - The connection type for EnterpriseServerUserAccountEmail. - edges - A list of edges. +@dataclass(kw_only=True) +class SecurityAdvisoryPackageVersion: + """ + SecurityAdvisoryPackageVersion - An individual package version - nodes - A list of nodes. + identifier - The package name or version - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + identifier: str - """ - edges: list_EnterpriseServerUserAccountEmailEdge[EnterpriseServerUserAccountEmailEdge] - nodes: list_EnterpriseServerUserAccountEmail[EnterpriseServerUserAccountEmail] - pageInfo: PageInfo - totalCount: int -class YVETP_EnterpriseServerUserAccountEmailConnection_Field(EnterpriseServerUserAccountEmailConnection): - """ - YVETP_EnterpriseServerUserAccountEmailConnection_Field - User emails belonging to this user account. +@dataclass(kw_only=True) +class SecurityVulnerabilityOrder: + """ + SecurityVulnerabilityOrder - Ordering options for security vulnerability connections - """ - class EnterpriseServerUserAccountEmailConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for Enterprise Server user account emails returned from the connection. + direction - The ordering direction. - after - Returns the elements in the list that come after the specified cursor. + field - The field to order security vulnerabilities by. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + direction: OrderDirection + field: SecurityVulnerabilityOrderField - last - Returns the last _n_ elements from the list. - """ - orderBy: EnterpriseServerUserAccountEmailOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class SetOrganizationInteractionLimitInput: + """ + SetOrganizationInteractionLimitInput - Autogenerated input type of SetOrganizationInteractionLimit - _args: EnterpriseServerUserAccountEmailConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + expiry - When this limit should expire. + limit - The limit to set. -class EnterpriseServerUserAccount(GQLObject): - """ - EnterpriseServerUserAccount - A user account on an Enterprise Server installation. + organizationId - The ID of the organization to set a limit for. - createdAt - Identifies the date and time when the object was created. + """ - emails - User emails belonging to this user account. + client_mutation_id: Optional[str] = None + expiry: Optional[RepositoryInteractionLimitExpiry] = None + limit: RepositoryInteractionLimit + organization_id: ID - enterpriseServerInstallation - The Enterprise Server installation on which this user account exists. - isSiteAdmin - Whether the user account is a site administrator on the Enterprise Server installation. +@dataclass(kw_only=True) +class SetUserInteractionLimitInput: + """ + SetUserInteractionLimitInput - Autogenerated input type of SetUserInteractionLimit - login - The login of the user account on the Enterprise Server installation. + clientMutationId - A unique identifier for the client performing the mutation. - profileName - The profile name of the user account on the Enterprise Server installation. + expiry - When this limit should expire. - remoteCreatedAt - The date and time when the user account was created on the Enterprise Server installation. + limit - The limit to set. - remoteUserId - The ID of the user account on the Enterprise Server installation. + userId - The ID of the user to set a limit for. - updatedAt - Identifies the date and time when the object was last updated. + """ - """ - createdAt: DateTime - emails: YVETP_EnterpriseServerUserAccountEmailConnection_Field - enterpriseServerInstallation: NewType('EnterpriseServerInstallation', GQLObject) ## Circular Reference for EnterpriseServerInstallation - id: ID - isSiteAdmin: bool - login: str - profileName: str - remoteCreatedAt: DateTime - remoteUserId: int - updatedAt: DateTime + client_mutation_id: Optional[str] = None + expiry: Optional[RepositoryInteractionLimitExpiry] = None + limit: RepositoryInteractionLimit + user_id: ID -class EnterpriseServerUserAccountEdge(GQLObject): - """ - EnterpriseServerUserAccountEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class SponsorAndLifetimeValueOrder: + """ + SponsorAndLifetimeValueOrder - Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors. - node - The item at the end of the edge. + direction - The ordering direction. - """ - cursor: str - node: EnterpriseServerUserAccount + field - The field to order results by. -class list_EnterpriseServerUserAccountEdge(list, EnterpriseServerUserAccountEdge): pass + """ -class list_EnterpriseServerUserAccount(list, EnterpriseServerUserAccount): pass + direction: OrderDirection + field: SponsorAndLifetimeValueOrderField -class EnterpriseServerUserAccountConnection(GQLObject): - """ - EnterpriseServerUserAccountConnection - The connection type for EnterpriseServerUserAccount. - edges - A list of edges. +@dataclass(kw_only=True) +class SponsorableOrder: + """ + SponsorableOrder - Ordering options for connections to get sponsorable entities for GitHub Sponsors. - nodes - A list of nodes. + direction - The ordering direction. - pageInfo - Information to aid in pagination. + field - The field to order sponsorable entities by. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_EnterpriseServerUserAccountEdge[EnterpriseServerUserAccountEdge] - nodes: list_EnterpriseServerUserAccount[EnterpriseServerUserAccount] - pageInfo: PageInfo - totalCount: int + direction: OrderDirection + field: SponsorableOrderField -class EnterpriseServerUserAccountsUpload(GQLObject): - """ - EnterpriseServerUserAccountsUpload - A user accounts upload from an Enterprise Server installation. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class SponsorsGoal: + """ + SponsorsGoal - A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. - enterprise - The enterprise to which this upload belongs. + description - A description of the goal from the maintainer. - enterpriseServerInstallation - The Enterprise Server installation for which this upload was generated. + kind - What the objective of this goal is. - name - The name of the file uploaded. + percentComplete - The percentage representing how complete this goal is, between 0-100. - syncState - The synchronization state of the upload + targetValue - What the goal amount is. Represents an amount in USD for monthly sponsorship + amount goals. Represents a count of unique sponsors for total sponsors count goals. - updatedAt - Identifies the date and time when the object was last updated. + title - A brief summary of the kind and target value of this goal. - """ - createdAt: DateTime - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - enterpriseServerInstallation: NewType('EnterpriseServerInstallation', GQLObject) ## Circular Reference for EnterpriseServerInstallation - id: ID - name: str - syncState: EnterpriseServerUserAccountsUploadSyncState - updatedAt: DateTime + """ -class EnterpriseServerUserAccountsUploadEdge(GQLObject): - """ - EnterpriseServerUserAccountsUploadEdge - An edge in a connection. + description: Optional[str] = None + kind: SponsorsGoalKind + percent_complete: int + target_value: int + title: str - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class SponsorshipNewsletterOrder: + """ + SponsorshipNewsletterOrder - Ordering options for sponsorship newsletter connections. - """ - cursor: str - node: EnterpriseServerUserAccountsUpload + direction - The ordering direction. -class list_EnterpriseServerUserAccountsUploadEdge(list, EnterpriseServerUserAccountsUploadEdge): pass + field - The field to order sponsorship newsletters by. -class list_EnterpriseServerUserAccountsUpload(list, EnterpriseServerUserAccountsUpload): pass + """ -class EnterpriseServerUserAccountsUploadConnection(GQLObject): - """ - EnterpriseServerUserAccountsUploadConnection - The connection type for EnterpriseServerUserAccountsUpload. + direction: OrderDirection + field: SponsorshipNewsletterOrderField - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class StarOrder: + """ + StarOrder - Ways in which star connections can be ordered. - pageInfo - Information to aid in pagination. + direction - The direction in which to order nodes. - totalCount - Identifies the total count of items in the connection. + field - The field in which to order nodes by. - """ - edges: list_EnterpriseServerUserAccountsUploadEdge[EnterpriseServerUserAccountsUploadEdge] - nodes: list_EnterpriseServerUserAccountsUpload[EnterpriseServerUserAccountsUpload] - pageInfo: PageInfo - totalCount: int + """ -class QJJCV_EnterpriseServerUserAccountConnection_Field(EnterpriseServerUserAccountConnection): - """ - QJJCV_EnterpriseServerUserAccountConnection_Field - User accounts on this Enterprise Server installation. + direction: OrderDirection + field: StarOrderField - """ - class EnterpriseServerUserAccountConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for Enterprise Server user accounts returned from the connection. - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class StartRepositoryMigrationInput: + """ + StartRepositoryMigrationInput - Autogenerated input type of StartRepositoryMigration - before - Returns the elements in the list that come before the specified cursor. + accessToken - The migration source access token. - first - Returns the first _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - last - Returns the last _n_ elements from the list. + continueOnError - Whether to continue the migration on error. Defaults to `true`. - """ - orderBy: EnterpriseServerUserAccountOrder - after: str - before: str - first: int - last: int + gitArchiveUrl - The signed URL to access the user-uploaded git archive. - _args: EnterpriseServerUserAccountConnectionArgs + githubPat - The GitHub personal access token of the user importing to the target repository. + lockSource - Whether to lock the source repository. + metadataArchiveUrl - The signed URL to access the user-uploaded metadata archive. -class XWDMM_EnterpriseServerUserAccountsUploadConnection_Field(EnterpriseServerUserAccountsUploadConnection): - """ - XWDMM_EnterpriseServerUserAccountsUploadConnection_Field - User accounts uploads for the Enterprise Server installation. + ownerId - The ID of the organization that will own the imported repository. - """ - class EnterpriseServerUserAccountsUploadConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for Enterprise Server user accounts uploads returned from the connection. + repositoryName - The name of the imported repository. - after - Returns the elements in the list that come after the specified cursor. + skipReleases - Whether to skip migrating releases for the repository. - before - Returns the elements in the list that come before the specified cursor. + sourceId - The ID of the migration source. - first - Returns the first _n_ elements from the list. + sourceRepositoryUrl - The URL of the source repository. - last - Returns the last _n_ elements from the list. + targetRepoVisibility - The visibility of the imported repository. - """ - orderBy: EnterpriseServerUserAccountsUploadOrder - after: str - before: str - first: int - last: int + """ - _args: EnterpriseServerUserAccountsUploadConnectionArgs + access_token: Optional[str] = None + client_mutation_id: Optional[str] = None + continue_on_error: Optional[bool] = None + git_archive_url: Optional[str] = None + github_pat: Optional[str] = None + lock_source: Optional[bool] = None + metadata_archive_url: Optional[str] = None + owner_id: ID + repository_name: str + skip_releases: Optional[bool] = None + source_id: ID + source_repository_url: Optional[URI] = None + target_repo_visibility: Optional[str] = None +@dataclass(kw_only=True) +class StatusCheckConfigurationInput: + """ + StatusCheckConfigurationInput - Required status check -class EnterpriseServerInstallation(GQLObject): - """ - EnterpriseServerInstallation - An Enterprise Server installation. + context - The status check context name that must be present on the commit. - createdAt - Identifies the date and time when the object was created. + integrationId - The optional integration ID that this status check must originate from. - customerName - The customer name to which the Enterprise Server installation belongs. + """ - hostName - The host name of the Enterprise Server installation. + context: str + integration_id: Optional[int] = None - isConnected - Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect. - updatedAt - Identifies the date and time when the object was last updated. +@dataclass(kw_only=True) +class SubmitPullRequestReviewInput: + """ + SubmitPullRequestReviewInput - Autogenerated input type of SubmitPullRequestReview - userAccounts - User accounts on this Enterprise Server installation. + body - The text field to set on the Pull Request Review. - userAccountsUploads - User accounts uploads for the Enterprise Server installation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - createdAt: DateTime - customerName: str - hostName: str - id: ID - isConnected: bool - updatedAt: DateTime - userAccounts: QJJCV_EnterpriseServerUserAccountConnection_Field - userAccountsUploads: XWDMM_EnterpriseServerUserAccountsUploadConnection_Field + event - The event to send to the Pull Request Review. -class EnterpriseServerInstallationMembershipEdge(GQLObject): - """ - EnterpriseServerInstallationMembershipEdge - An Enterprise Server installation that a user is a member of. + pullRequestId - The Pull Request ID to submit any pending reviews. - cursor - A cursor for use in pagination. + pullRequestReviewId - The Pull Request Review ID to submit. - node - The item at the end of the edge. + """ - role - The role of the user in the enterprise membership. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + event: PullRequestReviewEvent + pull_request_id: Optional[ID] = None + pull_request_review_id: Optional[ID] = None - """ - cursor: str - node: EnterpriseServerInstallation - role: EnterpriseUserAccountMembershipRole -class list_EnterpriseServerInstallationMembershipEdge(list, EnterpriseServerInstallationMembershipEdge): pass +@dataclass(kw_only=True) +class Subscribable: + """ + Subscribable - Entities that can be subscribed to for web and email notifications. -class list_EnterpriseServerInstallation(list, EnterpriseServerInstallation): pass + id - The Node ID of the Subscribable object -class EnterpriseServerInstallationMembershipConnection(GQLObject): - """ - EnterpriseServerInstallationMembershipConnection - The connection type for EnterpriseServerInstallation. + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. - edges - A list of edges. + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + id: ID + viewer_can_subscribe: bool + viewer_subscription: Optional[SubscriptionState] = None - totalCount - Identifies the total count of items in the connection. - """ - edges: list_EnterpriseServerInstallationMembershipEdge[EnterpriseServerInstallationMembershipEdge] - nodes: list_EnterpriseServerInstallation[EnterpriseServerInstallation] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class TagNamePatternParameters: + """ + TagNamePatternParameters - Parameters to be used for the tag_name_pattern rule -class UserEdge(GQLObject): - """ - UserEdge - Represents a user. + name - How this rule will appear to users. - cursor - A cursor for use in pagination. + negate - If true, the rule will fail if the pattern matches. - node - The item at the end of the edge. + operator - The operator to use for matching. - """ - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User + pattern - The pattern to match with. -class list_UserEdge(list, UserEdge): pass + """ -class list_GQLObject(list, GQLObject): pass + name: Optional[str] = None + negate: bool + operator: str + pattern: str -class UserConnection(GQLObject): - """ - UserConnection - The connection type for User. - edges - A list of edges. +@dataclass(kw_only=True) +class TeamDiscussionCommentOrder: + """ + TeamDiscussionCommentOrder - Ways in which team discussion comment connections can be ordered. - nodes - A list of nodes. + direction - The direction in which to order nodes. - pageInfo - Information to aid in pagination. + field - The field by which to order nodes. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_UserEdge[UserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + direction: OrderDirection + field: TeamDiscussionCommentOrderField -class AutoMergeRequest(GQLObject): - """ - AutoMergeRequest - Represents an auto-merge request for a pull request - authorEmail - The email address of the author of this auto-merge request. +@dataclass(kw_only=True) +class TeamMemberOrder: + """ + TeamMemberOrder - Ordering options for team member connections - commitBody - The commit message of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging. + direction - The ordering direction. - commitHeadline - The commit title of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging + field - The field to order team members by. - enabledAt - When was this auto-merge request was enabled. + """ - enabledBy - The actor who created the auto-merge request. + direction: OrderDirection + field: TeamMemberOrderField - mergeMethod - The merge method of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging. - pullRequest - The pull request that this auto-merge request is set against. +@dataclass(kw_only=True) +class TeamRepositoryOrder: + """ + TeamRepositoryOrder - Ordering options for team repository connections - """ - authorEmail: str - commitBody: str - commitHeadline: str - enabledAt: DateTime - enabledBy: Actor - mergeMethod: PullRequestMergeMethod - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + direction - The ordering direction. -class BranchProtectionRuleConflict(GQLObject): - """ - BranchProtectionRuleConflict - A conflict between two branch protection rules. + field - The field to order repositories by. - branchProtectionRule - Identifies the branch protection rule. + """ - conflictingBranchProtectionRule - Identifies the conflicting branch protection rule. + direction: OrderDirection + field: TeamRepositoryOrderField - ref - Identifies the branch ref that has conflicting rules - """ - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - conflictingBranchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - ref: NewType('Ref', GQLObject) ## Circular Reference for Ref +@dataclass(kw_only=True) +class TransferEnterpriseOrganizationInput: + """ + TransferEnterpriseOrganizationInput - Autogenerated input type of TransferEnterpriseOrganization -class BranchProtectionRuleConflictEdge(GQLObject): - """ - BranchProtectionRuleConflictEdge - An edge in a connection. + clientMutationId - A unique identifier for the client performing the mutation. - cursor - A cursor for use in pagination. + destinationEnterpriseId - The ID of the enterprise where the organization should be transferred. - node - The item at the end of the edge. + organizationId - The ID of the organization to transfer. - """ - cursor: str - node: BranchProtectionRuleConflict + """ -class list_BranchProtectionRuleConflictEdge(list, BranchProtectionRuleConflictEdge): pass + client_mutation_id: Optional[str] = None + destination_enterprise_id: ID + organization_id: ID -class list_BranchProtectionRuleConflict(list, BranchProtectionRuleConflict): pass -class BranchProtectionRuleConflictConnection(GQLObject): - """ - BranchProtectionRuleConflictConnection - The connection type for BranchProtectionRuleConflict. +@dataclass(kw_only=True) +class UnarchiveProjectV2ItemInput: + """ + UnarchiveProjectV2ItemInput - Autogenerated input type of UnarchiveProjectV2Item - edges - A list of edges. + clientMutationId - A unique identifier for the client performing the mutation. - nodes - A list of nodes. + itemId - The ID of the ProjectV2Item to unarchive. - pageInfo - Information to aid in pagination. + projectId - The ID of the Project to archive the item from. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_BranchProtectionRuleConflictEdge[BranchProtectionRuleConflictEdge] - nodes: list_BranchProtectionRuleConflict[BranchProtectionRuleConflict] - pageInfo: PageInfo - totalCount: int + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID -class TeamEdge(GQLObject): - """ - TeamEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class UnfollowOrganizationInput: + """ + UnfollowOrganizationInput - Autogenerated input type of UnfollowOrganization - node - The item at the end of the edge. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cursor: str - node: NewType('Team', GQLObject) ## Circular Reference for Team + organizationId - ID of the organization to unfollow. -class list_TeamEdge(list, TeamEdge): pass + """ -class TeamConnection(GQLObject): - """ - TeamConnection - The connection type for Team. + client_mutation_id: Optional[str] = None + organization_id: ID - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class UniformResourceLocatable: + """ + UniformResourceLocatable - Represents a type that can be retrieved by a URL. - pageInfo - Information to aid in pagination. + resourcePath - The HTML path to this resource. - totalCount - Identifies the total count of items in the connection. + url - The URL to this resource. - """ - edges: list_TeamEdge[TeamEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Team - pageInfo: PageInfo - totalCount: int + """ -class Mannequin(GQLObject): - """ - Mannequin - A placeholder user for attribution of imported data on GitHub. + resource_path: URI + url: URI - avatarUrl - A URL pointing to the GitHub App's public avatar. - claimant - The user that has claimed the data attributed to this mannequin. +@dataclass(kw_only=True) +class UnlinkProjectV2FromTeamInput: + """ + UnlinkProjectV2FromTeamInput - Autogenerated input type of UnlinkProjectV2FromTeam - createdAt - Identifies the date and time when the object was created. + clientMutationId - A unique identifier for the client performing the mutation. - databaseId - Identifies the primary key from the database. + projectId - The ID of the project to unlink from the team. - email - The mannequin's email on the source instance. + teamId - The ID of the team to unlink from the project. - login - The username of the actor. + """ - resourcePath - The HTML path to this resource. + client_mutation_id: Optional[str] = None + project_id: ID + team_id: ID - updatedAt - Identifies the date and time when the object was last updated. - url - The URL to this resource. +@dataclass(kw_only=True) +class UnlockLockableInput: + """ + UnlockLockableInput - Autogenerated input type of UnlockLockable - """ - avatarUrl: VOMNP_URI_Field - claimant: NewType('User', GQLObject) ## Circular Reference for User - createdAt: DateTime - databaseId: int - email: str - id: ID - login: str - resourcePath: URI - updatedAt: DateTime - url: URI + clientMutationId - A unique identifier for the client performing the mutation. -class Reactor(GQLObject): - pass + lockableId - ID of the item to be unlocked. -class ReactorEdge(GQLObject): - """ - ReactorEdge - Represents an author of a reaction. + """ - cursor - A cursor for use in pagination. + client_mutation_id: Optional[str] = None + lockable_id: ID - node - The author of the reaction. - reactedAt - The moment when the user made the reaction. +@dataclass(kw_only=True) +class UnmarkFileAsViewedInput: + """ + UnmarkFileAsViewedInput - Autogenerated input type of UnmarkFileAsViewed - """ - cursor: str - node: Reactor - reactedAt: DateTime + clientMutationId - A unique identifier for the client performing the mutation. -class list_ReactorEdge(list, ReactorEdge): pass + path - The path of the file to mark as unviewed -class list_Reactor(list, Reactor): pass + pullRequestId - The Node ID of the pull request. -class ReactorConnection(GQLObject): - """ - ReactorConnection - The connection type for Reactor. + """ - edges - A list of edges. + client_mutation_id: Optional[str] = None + path: str + pull_request_id: ID - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class UnmarkProjectV2AsTemplateInput: + """ + UnmarkProjectV2AsTemplateInput - Autogenerated input type of UnmarkProjectV2AsTemplate - totalCount - Identifies the total count of items in the connection. + clientMutationId - A unique identifier for the client performing the mutation. - """ - edges: list_ReactorEdge[ReactorEdge] - nodes: list_Reactor[Reactor] - pageInfo: PageInfo - totalCount: int + projectId - The ID of the Project to unmark as a template. -class Reaction(GQLObject): - """ - Reaction - An emoji reaction to a particular piece of content. + """ - content - Identifies the emoji reaction. + client_mutation_id: Optional[str] = None + project_id: ID - createdAt - Identifies the date and time when the object was created. - databaseId - Identifies the primary key from the database. +@dataclass(kw_only=True) +class UnpinIssueInput: + """ + UnpinIssueInput - Autogenerated input type of UnpinIssue - reactable - The reactable piece of content + clientMutationId - A unique identifier for the client performing the mutation. - user - Identifies the user who created this reaction. + issueId - The ID of the issue to be unpinned - """ - content: ReactionContent - createdAt: DateTime - databaseId: int - id: ID - reactable: NewType('Reactable', GQLObject) ## Circular Reference for Reactable - user: NewType('User', GQLObject) ## Circular Reference for User + """ -class ReactionEdge(GQLObject): - """ - ReactionEdge - An edge in a connection. + client_mutation_id: Optional[str] = None + issue_id: ID - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class UnsubscribeFromNotificationsInput: + """ + UnsubscribeFromNotificationsInput - Autogenerated input type of UnsubscribeFromNotifications - """ - cursor: str - node: Reaction + clientMutationId - A unique identifier for the client performing the mutation. -class list_ReactionEdge(list, ReactionEdge): pass + ids - The NotificationThread IDs of the objects to unsubscribe from. -class list_Reaction(list, Reaction): pass + """ -class ReactionConnection(GQLObject): - """ - ReactionConnection - A list of reactions that have been left on the subject. + client_mutation_id: Optional[str] = None + ids: list[ID] - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class Updatable: + """ + Updatable - Entities that can be updated. - pageInfo - Information to aid in pagination. + viewerCanUpdate - Check if the current viewer can update this object. - totalCount - Identifies the total count of items in the connection. + """ - viewerHasReacted - Whether or not the authenticated user has left a reaction on the subject. + viewer_can_update: bool - """ - edges: list_ReactionEdge[ReactionEdge] - nodes: list_Reaction[Reaction] - pageInfo: PageInfo - totalCount: int - viewerHasReacted: bool -class CKPVS_ReactionConnection_Field(ReactionConnection): - """ - CKPVS_ReactionConnection_Field - A list of Reactions left on the Issue. +@dataclass(kw_only=True) +class UpdateDiscussionCommentInput: + """ + UpdateDiscussionCommentInput - Autogenerated input type of UpdateDiscussionComment - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + body - The new contents of the comment body. - before - Returns the elements in the list that come before the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - first - Returns the first _n_ elements from the list. + commentId - The Node ID of the discussion comment to update. - last - Returns the last _n_ elements from the list. + """ - content - Allows filtering Reactions by emoji. + body: str + client_mutation_id: Optional[str] = None + comment_id: ID - orderBy - Allows specifying the order in which reactions are returned. - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder +@dataclass(kw_only=True) +class UpdateEnterpriseAdministratorRoleInput: + """ + UpdateEnterpriseAdministratorRoleInput - Autogenerated input type of UpdateEnterpriseAdministratorRole - _args: ReactionConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + enterpriseId - The ID of the Enterprise which the admin belongs to. + login - The login of a administrator whose role is being changed. -class Reactable(GQLObject): - """ - Reactable - Represents a subject that can be reacted on. + role - The new role for the Enterprise administrator. - databaseId - Identifies the primary key from the database. + """ - reactionGroups - A list of reactions grouped by content left on the subject. + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str + role: EnterpriseAdministratorRole - reactions - A list of Reactions left on the Issue. - viewerCanReact - Can user react to this subject +@dataclass(kw_only=True) +class UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput: + """ + UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput - Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting - """ - databaseId: int - id: ID - reactionGroups: list_GQLObject[GQLObject] ## Circular Reference for ReactionGroup - reactions: CKPVS_ReactionConnection_Field - viewerCanReact: bool + clientMutationId - A unique identifier for the client performing the mutation. -class ReactingUserEdge(GQLObject): - """ - ReactingUserEdge - Represents a user that's made a reaction. + enterpriseId - The ID of the enterprise on which to set the allow private repository forking setting. - cursor - A cursor for use in pagination. + policyValue - The value for the allow private repository forking policy on the enterprise. - reactedAt - The moment when the user made the reaction. + settingValue - The value for the allow private repository forking setting on the enterprise. - """ - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - reactedAt: DateTime + """ -class list_ReactingUserEdge(list, ReactingUserEdge): pass + client_mutation_id: Optional[str] = None + enterprise_id: ID + policy_value: Optional[EnterpriseAllowPrivateRepositoryForkingPolicyValue] = None + setting_value: EnterpriseEnabledDisabledSettingValue -class ReactingUserConnection(GQLObject): - """ - ReactingUserConnection - The connection type for User. - edges - A list of edges. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput: + """ + UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput - Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting - nodes - A list of nodes. + clientMutationId - A unique identifier for the client performing the mutation. - pageInfo - Information to aid in pagination. + enterpriseId - The ID of the enterprise on which to set the members can change repository visibility setting. - totalCount - Identifies the total count of items in the connection. + settingValue - The value for the members can change repository visibility setting on the enterprise. - """ - edges: list_ReactingUserEdge[ReactingUserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + """ -class MKZSG_ReactorConnection_Field(ReactorConnection): - """ - MKZSG_ReactorConnection_Field - Reactors to the reaction subject with the emotion represented by this reaction group. + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue - """ - class ReactorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteIssuesSettingInput: + """ + UpdateEnterpriseMembersCanDeleteIssuesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting - first - Returns the first _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - last - Returns the last _n_ elements from the list. + enterpriseId - The ID of the enterprise on which to set the members can delete issues setting. - """ - after: str - before: str - first: int - last: int + settingValue - The value for the members can delete issues setting on the enterprise. - _args: ReactorConnectionArgs + """ + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue -class ReactionGroup(GQLObject): - """ - ReactionGroup - A group of emoji reactions to a particular piece of content. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput: + """ + UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting - content - Identifies the emoji reaction. + clientMutationId - A unique identifier for the client performing the mutation. - createdAt - Identifies when the reaction was created. + enterpriseId - The ID of the enterprise on which to set the members can invite collaborators setting. - reactors - Reactors to the reaction subject with the emotion represented by this reaction group. + settingValue - The value for the members can invite collaborators setting on the enterprise. - subject - The subject that was reacted to. + """ - viewerHasReacted - Whether or not the authenticated user has left a reaction on the subject. + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue - """ - content: ReactionContent - createdAt: DateTime - reactors: MKZSG_ReactorConnection_Field - subject: Reactable - viewerHasReacted: bool -class UserContentEdit(GQLObject): - """ - UserContentEdit - An edit on user content +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput: + """ + UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput - Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting - createdAt - Identifies the date and time when the object was created. + clientMutationId - A unique identifier for the client performing the mutation. - deletedAt - Identifies the date and time when the object was deleted. + enterpriseId - The ID of the enterprise on which to set the members can update protected branches setting. - deletedBy - The actor who deleted this content + settingValue - The value for the members can update protected branches setting on the enterprise. - diff - A summary of the changes for this edit + """ - editedAt - When this content was edited + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue - editor - The actor who edited this content - updatedAt - Identifies the date and time when the object was last updated. +@dataclass(kw_only=True) +class UpdateEnterpriseOrganizationProjectsSettingInput: + """ + UpdateEnterpriseOrganizationProjectsSettingInput - Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting - """ - createdAt: DateTime - deletedAt: DateTime - deletedBy: Actor - diff: str - editedAt: DateTime - editor: Actor - id: ID - updatedAt: DateTime + clientMutationId - A unique identifier for the client performing the mutation. -class UserContentEditEdge(GQLObject): - """ - UserContentEditEdge - An edge in a connection. + enterpriseId - The ID of the enterprise on which to set the organization projects setting. - cursor - A cursor for use in pagination. + settingValue - The value for the organization projects setting on the enterprise. - node - The item at the end of the edge. + """ - """ - cursor: str - node: UserContentEdit + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue -class list_UserContentEditEdge(list, UserContentEditEdge): pass -class list_UserContentEdit(list, UserContentEdit): pass +@dataclass(kw_only=True) +class UpdateEnterpriseOwnerOrganizationRolePayload: + """ + UpdateEnterpriseOwnerOrganizationRolePayload - Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole -class UserContentEditConnection(GQLObject): - """ - UserContentEditConnection - A list of edits to content. + clientMutationId - A unique identifier for the client performing the mutation. - edges - A list of edges. + message - A message confirming the result of changing the owner's organization role. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + client_mutation_id: Optional[str] = None + message: Optional[str] = None - totalCount - Identifies the total count of items in the connection. - """ - edges: list_UserContentEditEdge[UserContentEditEdge] - nodes: list_UserContentEdit[UserContentEdit] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UpdateEnterpriseRepositoryProjectsSettingInput: + """ + UpdateEnterpriseRepositoryProjectsSettingInput - Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting -class list_ReactionGroup(list, ReactionGroup): pass + clientMutationId - A unique identifier for the client performing the mutation. -class KDNUI_ReactionConnection_Field(ReactionConnection): - """ - KDNUI_ReactionConnection_Field - A list of Reactions left on the Issue. + enterpriseId - The ID of the enterprise on which to set the repository projects setting. - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + settingValue - The value for the repository projects setting on the enterprise. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue - last - Returns the last _n_ elements from the list. - content - Allows filtering Reactions by emoji. +@dataclass(kw_only=True) +class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput: + """ + UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput - Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting - orderBy - Allows specifying the order in which reactions are returned. + clientMutationId - A unique identifier for the client performing the mutation. - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + enterpriseId - The ID of the enterprise on which to set the two factor authentication required setting. - _args: ReactionConnectionArgs + settingValue - The value for the two factor authentication required setting on the enterprise. + """ + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledSettingValue -class GULEO_UserContentEditConnection_Field(UserContentEditConnection): - """ - GULEO_UserContentEditConnection_Field - A list of edits to this content. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class UpdateIpAllowListEnabledSettingInput: + """ + UpdateIpAllowListEnabledSettingInput - Autogenerated input type of UpdateIpAllowListEnabledSetting - before - Returns the elements in the list that come before the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - first - Returns the first _n_ elements from the list. + ownerId - The ID of the owner on which to set the IP allow list enabled setting. - last - Returns the last _n_ elements from the list. + settingValue - The value for the IP allow list enabled setting. - """ - after: str - before: str - first: int - last: int + """ - _args: UserContentEditConnectionArgs + client_mutation_id: Optional[str] = None + owner_id: ID + setting_value: IpAllowListEnabledSettingValue +@dataclass(kw_only=True) +class UpdateIpAllowListForInstalledAppsEnabledSettingInput: + """ + UpdateIpAllowListForInstalledAppsEnabledSettingInput - Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting -class TeamDiscussionComment(GQLObject): - """ - TeamDiscussionComment - A comment on a team discussion. + clientMutationId - A unique identifier for the client performing the mutation. - author - The actor who authored the comment. + ownerId - The ID of the owner. - body - The body as Markdown. + settingValue - The value for the IP allow list configuration for installed GitHub Apps setting. - bodyHTML - The body rendered to HTML. + """ - bodyText - The body rendered to text. + client_mutation_id: Optional[str] = None + owner_id: ID + setting_value: IpAllowListForInstalledAppsEnabledSettingValue - createdAt - Identifies the date and time when the object was created. - createdViaEmail - Check if this comment was created via an email reply. +@dataclass(kw_only=True) +class UpdateIssueInput: + """ + UpdateIssueInput - Autogenerated input type of UpdateIssue - databaseId - Identifies the primary key from the database. + assigneeIds - An array of Node IDs of users for this issue. - editor - The actor who edited the comment. + body - The body for the issue description. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + clientMutationId - A unique identifier for the client performing the mutation. - lastEditedAt - The moment the editor made the last edit + id - The ID of the Issue to modify. - publishedAt - Identifies when the comment was published at. + labelIds - An array of Node IDs of labels for this issue. - reactionGroups - A list of reactions grouped by content left on the subject. + milestoneId - The Node ID of the milestone for this issue. - reactions - A list of Reactions left on the Issue. + projectIds - An array of Node IDs for projects associated with this issue. - updatedAt - Identifies the date and time when the object was last updated. + state - The desired issue state. - userContentEdits - A list of edits to this content. + title - The title for the issue. - viewerCanDelete - Check if the current viewer can delete this object. + """ - viewerCanReact - Can user react to this subject + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + id: ID + label_ids: Optional[list[ID]] = None + milestone_id: Optional[ID] = None + project_ids: Optional[list[ID]] = None + state: Optional[IssueState] = None + title: Optional[str] = None - viewerCanUpdate - Check if the current viewer can update this object. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. +@dataclass(kw_only=True) +class UpdateNotificationRestrictionSettingInput: + """ + UpdateNotificationRestrictionSettingInput - Autogenerated input type of UpdateNotificationRestrictionSetting - viewerDidAuthor - Did the viewer author this comment. + clientMutationId - A unique identifier for the client performing the mutation. - """ - author: Actor - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: KDNUI_ReactionConnection_Field - updatedAt: DateTime - userContentEdits: GULEO_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool + ownerId - The ID of the owner on which to set the restrict notifications setting. -class TeamDiscussionCommentEdge(GQLObject): - """ - TeamDiscussionCommentEdge - An edge in a connection. + settingValue - The value for the restrict notifications setting. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + client_mutation_id: Optional[str] = None + owner_id: ID + setting_value: NotificationRestrictionSettingValue - """ - cursor: str - node: TeamDiscussionComment -class list_TeamDiscussionCommentEdge(list, TeamDiscussionCommentEdge): pass +@dataclass(kw_only=True) +class UpdateOrganizationWebCommitSignoffSettingInput: + """ + UpdateOrganizationWebCommitSignoffSettingInput - Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting -class list_TeamDiscussionComment(list, TeamDiscussionComment): pass + clientMutationId - A unique identifier for the client performing the mutation. -class TeamDiscussionCommentConnection(GQLObject): - """ - TeamDiscussionCommentConnection - The connection type for TeamDiscussionComment. + organizationId - The ID of the organization on which to set the web commit signoff setting. - edges - A list of edges. + webCommitSignoffRequired - Enable signoff on web-based commits for repositories in the organization? - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + client_mutation_id: Optional[str] = None + organization_id: ID + web_commit_signoff_required: bool - totalCount - Identifies the total count of items in the connection. - """ - edges: list_TeamDiscussionCommentEdge[TeamDiscussionCommentEdge] - nodes: list_TeamDiscussionComment[TeamDiscussionComment] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UpdateParametersInput: + """ + UpdateParametersInput - Only allow users with bypass permission to update matching refs. -class SAGRH_ReactionConnection_Field(ReactionConnection): - """ - SAGRH_ReactionConnection_Field - A list of Reactions left on the Issue. + updateAllowsFetchAndMerge - Branch can pull changes from its upstream repository - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + update_allows_fetch_and_merge: bool - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class UpdateProjectCardInput: + """ + UpdateProjectCardInput - Autogenerated input type of UpdateProjectCard - content - Allows filtering Reactions by emoji. + clientMutationId - A unique identifier for the client performing the mutation. - orderBy - Allows specifying the order in which reactions are returned. + isArchived - Whether or not the ProjectCard should be archived - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + note - The note of ProjectCard. - _args: ReactionConnectionArgs + projectCardId - The ProjectCard ID to update. + """ + client_mutation_id: Optional[str] = None + is_archived: Optional[bool] = None + note: Optional[str] = None + project_card_id: ID -class QQHQX_UserContentEditConnection_Field(UserContentEditConnection): - """ - QQHQX_UserContentEditConnection_Field - A list of edits to this content. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class UpdateProjectInput: + """ + UpdateProjectInput - Autogenerated input type of UpdateProject - before - Returns the elements in the list that come before the specified cursor. + body - The description of project. - first - Returns the first _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - last - Returns the last _n_ elements from the list. + name - The name of project. - """ - after: str - before: str - first: int - last: int + projectId - The Project ID to update. - _args: UserContentEditConnectionArgs + public - Whether the project is public or not. + state - Whether the project is open or closed. + """ -class TeamDiscussion(GQLObject): - """ - TeamDiscussion - A team discussion. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + name: Optional[str] = None + project_id: ID + public: Optional[bool] = None + state: Optional[ProjectState] = None - author - The actor who authored the comment. - body - The body as Markdown. +@dataclass(kw_only=True) +class UpdateProjectV2Input: + """ + UpdateProjectV2Input - Autogenerated input type of UpdateProjectV2 - bodyHTML - The body rendered to HTML. + clientMutationId - A unique identifier for the client performing the mutation. - bodyText - The body rendered to text. + closed - Set the project to closed or open. - createdAt - Identifies the date and time when the object was created. + projectId - The ID of the Project to update. - createdViaEmail - Check if this comment was created via an email reply. + public - Set the project to public or private. - databaseId - Identifies the primary key from the database. + readme - Set the readme description of the project. - editor - The actor who edited the comment. + shortDescription - Set the short description of the project. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + title - Set the title of the project. - lastEditedAt - The moment the editor made the last edit + """ - publishedAt - Identifies when the comment was published at. + client_mutation_id: Optional[str] = None + closed: Optional[bool] = None + project_id: ID + public: Optional[bool] = None + readme: Optional[str] = None + short_description: Optional[str] = None + title: Optional[str] = None - reactionGroups - A list of reactions grouped by content left on the subject. - reactions - A list of Reactions left on the Issue. +@dataclass(kw_only=True) +class UpdatePullRequestBranchInput: + """ + UpdatePullRequestBranchInput - Autogenerated input type of UpdatePullRequestBranch - updatedAt - Identifies the date and time when the object was last updated. + clientMutationId - A unique identifier for the client performing the mutation. - userContentEdits - A list of edits to this content. + expectedHeadOid - The head ref oid for the upstream branch. - viewerCanDelete - Check if the current viewer can delete this object. + pullRequestId - The Node ID of the pull request. - viewerCanReact - Can user react to this subject + updateMethod - The update branch method to use. If omitted, defaults to 'MERGE' - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + """ - viewerCanUpdate - Check if the current viewer can update this object. + client_mutation_id: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + pull_request_id: ID + update_method: Optional[PullRequestBranchUpdateMethod] = None - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. - viewerDidAuthor - Did the viewer author this comment. +@dataclass(kw_only=True) +class UpdatePullRequestReviewCommentInput: + """ + UpdatePullRequestReviewCommentInput - Autogenerated input type of UpdatePullRequestReviewComment - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + body - The text of the comment. - """ - author: Actor - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: SAGRH_ReactionConnection_Field - updatedAt: DateTime - userContentEdits: QQHQX_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanReact: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerSubscription: SubscriptionState + clientMutationId - A unique identifier for the client performing the mutation. -class TeamDiscussionEdge(GQLObject): - """ - TeamDiscussionEdge - An edge in a connection. + pullRequestReviewCommentId - The Node ID of the comment to modify. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + body: str + client_mutation_id: Optional[str] = None + pull_request_review_comment_id: ID - """ - cursor: str - node: TeamDiscussion -class list_TeamDiscussionEdge(list, TeamDiscussionEdge): pass +@dataclass(kw_only=True) +class UpdateRefInput: + """ + UpdateRefInput - Autogenerated input type of UpdateRef -class list_TeamDiscussion(list, TeamDiscussion): pass + clientMutationId - A unique identifier for the client performing the mutation. -class TeamDiscussionConnection(GQLObject): - """ - TeamDiscussionConnection - The connection type for TeamDiscussion. + force - Permit updates of branch Refs that are not fast-forwards? - edges - A list of edges. + oid - The GitObjectID that the Ref shall be updated to target. - nodes - A list of nodes. + refId - The Node ID of the Ref to be updated. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + client_mutation_id: Optional[str] = None + force: Optional[bool] = None + oid: GitObjectID + ref_id: ID - """ - edges: list_TeamDiscussionEdge[TeamDiscussionEdge] - nodes: list_TeamDiscussion[TeamDiscussion] - pageInfo: PageInfo - totalCount: int -class OrganizationInvitation(GQLObject): - """ - OrganizationInvitation - An Invitation for a user to an organization. +@dataclass(kw_only=True) +class UpdateRepositoryInput: + """ + UpdateRepositoryInput - Autogenerated input type of UpdateRepository - createdAt - Identifies the date and time when the object was created. + clientMutationId - A unique identifier for the client performing the mutation. - email - The email address of the user invited to the organization. + description - A new description for the repository. Pass an empty string to erase the existing description. - invitationSource - The source of the invitation. + hasDiscussionsEnabled - Indicates if the repository should have the discussions feature enabled. - invitationType - The type of invitation that was sent (e.g. email, user). + hasIssuesEnabled - Indicates if the repository should have the issues feature enabled. - invitee - The user who was invited to the organization. + hasProjectsEnabled - Indicates if the repository should have the project boards feature enabled. - inviter - The user who created the invitation. + hasSponsorshipsEnabled - Indicates if the repository displays a Sponsor button for financial contributions. - organization - The organization the invite is for + hasWikiEnabled - Indicates if the repository should have the wiki feature enabled. - role - The user's pending role in the organization (e.g. member, owner). + homepageUrl - The URL for a web page about this repository. Pass an empty string to erase the existing URL. - """ - createdAt: DateTime - email: str - id: ID - invitationSource: OrganizationInvitationSource - invitationType: OrganizationInvitationType - invitee: NewType('User', GQLObject) ## Circular Reference for User - inviter: NewType('User', GQLObject) ## Circular Reference for User - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - role: OrganizationInvitationRole + name - The new name of the repository. -class OrganizationInvitationEdge(GQLObject): - """ - OrganizationInvitationEdge - An edge in a connection. + repositoryId - The ID of the repository to update. - cursor - A cursor for use in pagination. + template - Whether this repository should be marked as a template such that anyone who + can access it can create new repositories with the same files and directory structure. - node - The item at the end of the edge. + """ - """ - cursor: str - node: OrganizationInvitation + client_mutation_id: Optional[str] = None + description: Optional[str] = None + has_discussions_enabled: Optional[bool] = None + has_issues_enabled: Optional[bool] = None + has_projects_enabled: Optional[bool] = None + has_sponsorships_enabled: Optional[bool] = None + has_wiki_enabled: Optional[bool] = None + homepage_url: Optional[URI] = None + name: Optional[str] = None + repository_id: ID + template: Optional[bool] = None -class list_OrganizationInvitationEdge(list, OrganizationInvitationEdge): pass -class list_OrganizationInvitation(list, OrganizationInvitation): pass +@dataclass(kw_only=True) +class UpdateSponsorshipPreferencesInput: + """ + UpdateSponsorshipPreferencesInput - Autogenerated input type of UpdateSponsorshipPreferences -class OrganizationInvitationConnection(GQLObject): - """ - OrganizationInvitationConnection - The connection type for OrganizationInvitation. + clientMutationId - A unique identifier for the client performing the mutation. - edges - A list of edges. + privacyLevel - Specify whether others should be able to see that the sponsor is sponsoring + the sponsorable. Public visibility still does not reveal which tier is used. - nodes - A list of nodes. + receiveEmails - Whether the sponsor should receive email updates from the sponsorable. - pageInfo - Information to aid in pagination. + sponsorId - The ID of the user or organization who is acting as the sponsor, paying for + the sponsorship. Required if sponsorLogin is not given. - totalCount - Identifies the total count of items in the connection. + sponsorLogin - The username of the user or organization who is acting as the sponsor, paying + for the sponsorship. Required if sponsorId is not given. - """ - edges: list_OrganizationInvitationEdge[OrganizationInvitationEdge] - nodes: list_OrganizationInvitation[OrganizationInvitation] - pageInfo: PageInfo - totalCount: int + sponsorableId - The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. -class UserStatus(GQLObject): - """ - UserStatus - The user's description of what they're currently doing. + sponsorableLogin - The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. - createdAt - Identifies the date and time when the object was created. + """ - emoji - An emoji summarizing the user's status. + client_mutation_id: Optional[str] = None + privacy_level: Optional[SponsorshipPrivacy] = None + receive_emails: Optional[bool] = None + sponsor_id: Optional[ID] = None + sponsor_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None - emojiHTML - The status emoji as HTML. - expiresAt - If set, the status will not be shown after this date. +@dataclass(kw_only=True) +class UpdateTeamDiscussionCommentInput: + """ + UpdateTeamDiscussionCommentInput - Autogenerated input type of UpdateTeamDiscussionComment - indicatesLimitedAvailability - Whether this status indicates the user is not fully available on GitHub. + body - The updated text of the comment. - message - A brief message describing what the user is doing. + bodyVersion - The current version of the body content. - organization - The organization whose members can see this status. If null, this status is publicly visible. + clientMutationId - A unique identifier for the client performing the mutation. - updatedAt - Identifies the date and time when the object was last updated. + id - The ID of the comment to modify. - user - The user who has this status. + """ - """ - createdAt: DateTime - emoji: str - emojiHTML: HTML - expiresAt: DateTime - id: ID - indicatesLimitedAvailability: bool - message: str - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - updatedAt: DateTime - user: NewType('User', GQLObject) ## Circular Reference for User + body: str + body_version: Optional[str] = None + client_mutation_id: Optional[str] = None + id: ID -class UserStatusEdge(GQLObject): - """ - UserStatusEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class UpdateTeamReviewAssignmentInput: + """ + UpdateTeamReviewAssignmentInput - Autogenerated input type of UpdateTeamReviewAssignment - node - The item at the end of the edge. + algorithm - The algorithm to use for review assignment - """ - cursor: str - node: UserStatus + clientMutationId - A unique identifier for the client performing the mutation. -class list_UserStatusEdge(list, UserStatusEdge): pass + countMembersAlreadyRequested - Count any members whose review has already been requested against the required number of members assigned to review -class list_UserStatus(list, UserStatus): pass + enabled - Turn on or off review assignment -class UserStatusConnection(GQLObject): - """ - UserStatusConnection - The connection type for UserStatus. + excludedTeamMemberIds - An array of team member IDs to exclude - edges - A list of edges. + id - The Node ID of the team to update review assignments of - nodes - A list of nodes. + includeChildTeamMembers - Include the members of any child teams when assigning - pageInfo - Information to aid in pagination. + notifyTeam - Notify the entire team of the PR if it is delegated - totalCount - Identifies the total count of items in the connection. + removeTeamRequest - Remove the team review request when assigning - """ - edges: list_UserStatusEdge[UserStatusEdge] - nodes: list_UserStatus[UserStatus] - pageInfo: PageInfo - totalCount: int + teamMemberCount - The number of team members to assign -class TeamMemberEdge(GQLObject): - """ - TeamMemberEdge - Represents a user who is a member of a team. + """ - cursor - A cursor for use in pagination. + algorithm: Optional[TeamReviewAssignmentAlgorithm] = None + client_mutation_id: Optional[str] = None + count_members_already_requested: Optional[bool] = None + enabled: bool + excluded_team_member_ids: Optional[list[ID]] = None + id: ID + include_child_team_members: Optional[bool] = None + notify_team: Optional[bool] = None + remove_team_request: Optional[bool] = None + team_member_count: Optional[int] = None - memberAccessResourcePath - The HTTP path to the organization's member access page. - memberAccessUrl - The HTTP URL to the organization's member access page. +@dataclass(kw_only=True) +class UpdateTopicsInput: + """ + UpdateTopicsInput - Autogenerated input type of UpdateTopics - role - The role the member has on the team. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cursor: str - memberAccessResourcePath: URI - memberAccessUrl: URI - node: NewType('User', GQLObject) ## Circular Reference for User - role: TeamMemberRole + repositoryId - The Node ID of the repository. -class list_TeamMemberEdge(list, TeamMemberEdge): pass + topicNames - An array of topic names. -class TeamMemberConnection(GQLObject): - """ - TeamMemberConnection - The connection type for User. + """ - edges - A list of edges. + client_mutation_id: Optional[str] = None + repository_id: ID + topic_names: list[str] - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class UpdateUserListsForItemInput: + """ + UpdateUserListsForItemInput - Autogenerated input type of UpdateUserListsForItem - totalCount - Identifies the total count of items in the connection. + clientMutationId - A unique identifier for the client performing the mutation. - """ - edges: list_TeamMemberEdge[TeamMemberEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + itemId - The item to add to the list -class ProjectV2Field(GQLObject): - """ - ProjectV2Field - A field inside a project. + listIds - The lists to which this item should belong - createdAt - Identifies the date and time when the object was created. + suggestedListIds - The suggested lists to create and add this item to - dataType - The field's type. + """ - databaseId - Identifies the primary key from the database. + client_mutation_id: Optional[str] = None + item_id: ID + list_ids: list[ID] + suggested_list_ids: Optional[list[ID]] = None - name - The project field's name. - project - The project that contains this field. +@dataclass(kw_only=True) +class UserListSuggestion: + """ + UserListSuggestion - Represents a suggested user list. - updatedAt - Identifies the date and time when the object was last updated. + id - The ID of the suggested user list - """ - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime + name - The name of the suggested user list -class list_ProjectV2IterationFieldIteration(list, ProjectV2IterationFieldIteration): pass + """ -class ProjectV2IterationFieldConfiguration(GQLObject): - """ - ProjectV2IterationFieldConfiguration - Iteration field configuration for a project. + id: Optional[ID] = None + name: Optional[str] = None - completedIterations - The iteration's completed iterations - duration - The iteration's duration in days +@dataclass(kw_only=True) +class VerifiableDomainOrder: + """ + VerifiableDomainOrder - Ordering options for verifiable domain connections. - iterations - The iteration's iterations + direction - The ordering direction. - startDay - The iteration's start day of the week + field - The field to order verifiable domains by. - """ - completedIterations: list_ProjectV2IterationFieldIteration[ProjectV2IterationFieldIteration] - duration: int - iterations: list_ProjectV2IterationFieldIteration[ProjectV2IterationFieldIteration] - startDay: int + """ -class ProjectV2IterationField(GQLObject): - """ - ProjectV2IterationField - An iteration field inside a project. + direction: OrderDirection + field: VerifiableDomainOrderField - configuration - Iteration configuration settings - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class Votable: + """ + Votable - A subject that may be upvoted. - dataType - The field's type. + upvoteCount - Number of upvotes that this subject has received. - databaseId - Identifies the primary key from the database. + viewerCanUpvote - Whether or not the current user can add or remove an upvote on this subject. - name - The project field's name. + viewerHasUpvoted - Whether or not the current user has already upvoted this subject. - project - The project that contains this field. + """ - updatedAt - Identifies the date and time when the object was last updated. + upvote_count: int + viewer_can_upvote: bool + viewer_has_upvoted: bool - """ - configuration: ProjectV2IterationFieldConfiguration - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime -class VKOBH_ProjectV2SingleSelectFieldOption_Field(ProjectV2SingleSelectFieldOption): - """ - VKOBH_ProjectV2SingleSelectFieldOption_Field - Options for the single select field +@dataclass(kw_only=True) +class WorkflowFileReferenceInput: + """ + WorkflowFileReferenceInput - A workflow that must run for this rule to pass - """ - class ProjectV2SingleSelectFieldOptionArgs(GQLArgsSet, GQLObject): - """ - names - Filter returned options to only those matching these names, case insensitive. + path - The path to the workflow file - """ - names: list[NonNull_str] + ref - The ref (branch or tag) of the workflow file to use - _args: ProjectV2SingleSelectFieldOptionArgs + repositoryId - The ID of the repository where the workflow is defined + sha - The commit SHA of the workflow file to use + """ -class list_ProjectV2SingleSelectFieldOption(list, ProjectV2SingleSelectFieldOption): pass + path: str + ref: Optional[str] = None + repository_id: int + sha: Optional[str] = None -class ProjectV2SingleSelectField(GQLObject): - """ - ProjectV2SingleSelectField - A single select field inside a project. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class AutoMergeRequest: + """ + AutoMergeRequest - Represents an auto-merge request for a pull request - dataType - The field's type. + authorEmail - The email address of the author of this auto-merge request. - databaseId - Identifies the primary key from the database. + commitBody - The commit message of the auto-merge request. If a merge queue is required by + the base branch, this value will be set by the merge queue when merging. - name - The project field's name. + commitHeadline - The commit title of the auto-merge request. If a merge queue is required by + the base branch, this value will be set by the merge queue when merging - options - Options for the single select field + enabledAt - When was this auto-merge request was enabled. - project - The project that contains this field. + enabledBy - The actor who created the auto-merge request. - updatedAt - Identifies the date and time when the object was last updated. + mergeMethod - The merge method of the auto-merge request. If a merge queue is required by + the base branch, this value will be set by the merge queue when merging. - """ - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - options: VKOBH_ProjectV2SingleSelectFieldOption_Field - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime + pullRequest - The pull request that this auto-merge request is set against. -class ProjectV2FieldConfiguration(GQLObject): - pass + """ -class ProjectV2FieldConfigurationEdge(GQLObject): - """ - ProjectV2FieldConfigurationEdge - An edge in a connection. + author_email: Optional[str] = None + commit_body: Optional[str] = None + commit_headline: Optional[str] = None + enabled_at: Optional[DateTime] = None + enabled_by: Optional[Actor] = None + merge_method: PullRequestMergeMethod + pull_request: PullRequest - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class BranchProtectionRuleConflict: + """ + BranchProtectionRuleConflict - A conflict between two branch protection rules. - """ - cursor: str - node: ProjectV2FieldConfiguration + branchProtectionRule - Identifies the branch protection rule. -class list_ProjectV2FieldConfigurationEdge(list, ProjectV2FieldConfigurationEdge): pass + conflictingBranchProtectionRule - Identifies the conflicting branch protection rule. -class list_ProjectV2FieldConfiguration(list, ProjectV2FieldConfiguration): pass + ref - Identifies the branch ref that has conflicting rules -class ProjectV2FieldConfigurationConnection(GQLObject): - """ - ProjectV2FieldConfigurationConnection - The connection type for ProjectV2FieldConfiguration. + """ - edges - A list of edges. + branch_protection_rule: Optional[BranchProtectionRule] = None + conflicting_branch_protection_rule: Optional[BranchProtectionRule] = None + ref: Optional[Ref] = None - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class BranchProtectionRuleConflictEdge: + """ + BranchProtectionRuleConflictEdge - An edge in a connection. - totalCount - Identifies the total count of items in the connection. + cursor - A cursor for use in pagination. - """ - edges: list_ProjectV2FieldConfigurationEdge[ProjectV2FieldConfigurationEdge] - nodes: list_ProjectV2FieldConfiguration[ProjectV2FieldConfiguration] - pageInfo: PageInfo - totalCount: int + node - The item at the end of the edge. -class ProjectV2Edge(GQLObject): - """ - ProjectV2Edge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + cursor: str + node: Optional[BranchProtectionRuleConflict] = None - node - The item at the end of the edge. - """ - cursor: str - node: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 +@dataclass(kw_only=True) +class BranchProtectionRuleConflictConnection: + """ + BranchProtectionRuleConflictConnection - The connection type for BranchProtectionRuleConflict. -class list_ProjectV2Edge(list, ProjectV2Edge): pass + edges - A list of edges. -class ProjectV2Connection(GQLObject): - """ - ProjectV2Connection - The connection type for ProjectV2. + nodes - A list of nodes. - edges - A list of edges. + pageInfo - Information to aid in pagination. - nodes - A list of nodes. + totalCount - Identifies the total count of items in the connection. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + edges: Optional[list[BranchProtectionRuleConflictEdge]] = None + nodes: Optional[list[BranchProtectionRuleConflict]] = None + page_info: PageInfo + total_count: int - """ - edges: list_ProjectV2Edge[ProjectV2Edge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for ProjectV2 - pageInfo: PageInfo - totalCount: int -class UAPVZ_UserConnection_Field(UserConnection): - """ - UAPVZ_UserConnection_Field - A list of users to assigned to this draft issue. +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmail: + """ + EnterpriseServerUserAccountEmail - An email belonging to a user account on an Enterprise Server installation. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + createdAt - Identifies the date and time when the object was created. - before - Returns the elements in the list that come before the specified cursor. + email - The email address. - first - Returns the first _n_ elements from the list. + id - The Node ID of the EnterpriseServerUserAccountEmail object - last - Returns the last _n_ elements from the list. + isPrimary - Indicates whether this is the primary email of the associated user account. - """ - after: str - before: str - first: int - last: int + updatedAt - Identifies the date and time when the object was last updated. - _args: UserConnectionArgs + userAccount - The user account to which the email belongs. + """ + created_at: DateTime + email: str + id: ID + is_primary: bool + updated_at: DateTime + user_account: EnterpriseServerUserAccount -class EQPPW_ProjectV2ItemConnection_Field(Generic[ProjectV2ItemConnection]): - """ - EQPPW_ProjectV2ItemConnection_Field - List of items linked with the draft issue (currently draft issue can be linked to only one item). - """ - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmailEdge: + """ + EnterpriseServerUserAccountEmailEdge - An edge in a connection. - before - Returns the elements in the list that come before the specified cursor. + cursor - A cursor for use in pagination. - first - Returns the first _n_ elements from the list. + node - The item at the end of the edge. - last - Returns the last _n_ elements from the list. + """ - """ - after: str - before: str - first: int - last: int + cursor: str + node: Optional[EnterpriseServerUserAccountEmail] = None - _args: ProjectV2ItemConnectionArgs +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmailConnection: + """ + EnterpriseServerUserAccountEmailConnection - The connection type for EnterpriseServerUserAccountEmail. + edges - A list of edges. -class LPQER_ProjectV2Connection_Field(ProjectV2Connection): - """ - LPQER_ProjectV2Connection_Field - Projects that link to this draft issue (currently draft issue can be linked to only one project). + nodes - A list of nodes. - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + pageInfo - Information to aid in pagination. - before - Returns the elements in the list that come before the specified cursor. + totalCount - Identifies the total count of items in the connection. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + edges: Optional[list[EnterpriseServerUserAccountEmailEdge]] = None + nodes: Optional[list[EnterpriseServerUserAccountEmail]] = None + page_info: PageInfo + total_count: int - """ - after: str - before: str - first: int - last: int - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEdge: + """ + EnterpriseServerUserAccountEdge - An edge in a connection. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class DraftIssue(GQLObject): - """ - DraftIssue - A draft issue within a project. + """ - assignees - A list of users to assigned to this draft issue. + cursor: str + node: Optional[EnterpriseServerUserAccount] = None - body - The body of the draft issue. - bodyHTML - The body of the draft issue rendered to HTML. +@dataclass(kw_only=True) +class EnterpriseServerUserAccountConnection: + """ + EnterpriseServerUserAccountConnection - The connection type for EnterpriseServerUserAccount. - bodyText - The body of the draft issue rendered to text. + edges - A list of edges. - createdAt - Identifies the date and time when the object was created. + nodes - A list of nodes. - creator - The actor who created this draft issue. + pageInfo - Information to aid in pagination. - projectV2Items - List of items linked with the draft issue (currently draft issue can be linked to only one item). + totalCount - Identifies the total count of items in the connection. - projectsV2 - Projects that link to this draft issue (currently draft issue can be linked to only one project). + """ - title - The title of the draft issue + edges: Optional[list[EnterpriseServerUserAccountEdge]] = None + nodes: Optional[list[EnterpriseServerUserAccount]] = None + page_info: PageInfo + total_count: int - updatedAt - Identifies the date and time when the object was last updated. - """ - assignees: UAPVZ_UserConnection_Field - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - creator: Actor - id: ID - projectV2Items: EQPPW_ProjectV2ItemConnection_Field ## Circular Reference for ProjectV2ItemConnection - projectsV2: LPQER_ProjectV2Connection_Field - title: str - updatedAt: DateTime +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUpload: + """ + EnterpriseServerUserAccountsUpload - A user accounts upload from an Enterprise Server installation. -class BranchProtectionRuleEdge(GQLObject): - """ - BranchProtectionRuleEdge - An edge in a connection. + createdAt - Identifies the date and time when the object was created. - cursor - A cursor for use in pagination. + enterprise - The enterprise to which this upload belongs. - node - The item at the end of the edge. + enterpriseServerInstallation - The Enterprise Server installation for which this upload was generated. - """ - cursor: str - node: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule + id - The Node ID of the EnterpriseServerUserAccountsUpload object -class list_BranchProtectionRuleEdge(list, BranchProtectionRuleEdge): pass + name - The name of the file uploaded. -class BranchProtectionRuleConnection(GQLObject): - """ - BranchProtectionRuleConnection - The connection type for BranchProtectionRule. + syncState - The synchronization state of the upload - edges - A list of edges. + updatedAt - Identifies the date and time when the object was last updated. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + created_at: DateTime + enterprise: Enterprise + enterprise_server_installation: EnterpriseServerInstallation + id: ID + name: str + sync_state: EnterpriseServerUserAccountsUploadSyncState + updated_at: DateTime - totalCount - Identifies the total count of items in the connection. - """ - edges: list_BranchProtectionRuleEdge[BranchProtectionRuleEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for BranchProtectionRule - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUploadEdge: + """ + EnterpriseServerUserAccountsUploadEdge - An edge in a connection. -class list_RepositoryCodeownersError(list, RepositoryCodeownersError): pass + cursor - A cursor for use in pagination. -class RepositoryCodeowners(GQLObject): - """ - RepositoryCodeowners - Information extracted from a repository's `CODEOWNERS` file. + node - The item at the end of the edge. - errors - Any problems that were encountered while parsing the `CODEOWNERS` file. + """ - """ - errors: list_RepositoryCodeownersError[RepositoryCodeownersError] + cursor: str + node: Optional[EnterpriseServerUserAccountsUpload] = None -class PermissionGranter(GQLObject): - pass -class PermissionSource(GQLObject): - """ - PermissionSource - A level of permission and source for a user's access to a repository. +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUploadConnection: + """ + EnterpriseServerUserAccountsUploadConnection - The connection type for EnterpriseServerUserAccountsUpload. - organization - The organization the repository belongs to. + edges - A list of edges. - permission - The level of access this source has granted to the user. + nodes - A list of nodes. - source - The source of this permission. + pageInfo - Information to aid in pagination. - """ - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - permission: DefaultRepositoryPermissionField - source: PermissionGranter + totalCount - Identifies the total count of items in the connection. -class list_PermissionSource(list, PermissionSource): pass + """ -class RepositoryCollaboratorEdge(GQLObject): - """ - RepositoryCollaboratorEdge - Represents a user who is a collaborator of a repository. + edges: Optional[list[EnterpriseServerUserAccountsUploadEdge]] = None + nodes: Optional[list[EnterpriseServerUserAccountsUpload]] = None + page_info: PageInfo + total_count: int - cursor - A cursor for use in pagination. - permission - The permission the user has on the repository. +@dataclass(kw_only=True) +class EnterpriseServerInstallationMembershipEdge: + """ + EnterpriseServerInstallationMembershipEdge - An Enterprise Server installation that a user is a member of. - permissionSources - A list of sources for the user's access to the repository. + cursor - A cursor for use in pagination. - """ - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - permission: RepositoryPermission - permissionSources: list_PermissionSource[PermissionSource] + node - The item at the end of the edge. -class list_RepositoryCollaboratorEdge(list, RepositoryCollaboratorEdge): pass + role - The role of the user in the enterprise membership. -class RepositoryCollaboratorConnection(GQLObject): - """ - RepositoryCollaboratorConnection - The connection type for User. + """ - edges - A list of edges. + cursor: str + node: Optional[EnterpriseServerInstallation] = None + role: EnterpriseUserAccountMembershipRole - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class EnterpriseServerInstallationMembershipConnection: + """ + EnterpriseServerInstallationMembershipConnection - The connection type for EnterpriseServerInstallation. - totalCount - Identifies the total count of items in the connection. + edges - A list of edges. - """ - edges: list_RepositoryCollaboratorEdge[RepositoryCollaboratorEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + nodes - A list of nodes. -class DeployKeyEdge(GQLObject): - """ - DeployKeyEdge - An edge in a connection. + pageInfo - Information to aid in pagination. - cursor - A cursor for use in pagination. + totalCount - Identifies the total count of items in the connection. - node - The item at the end of the edge. + """ - """ - cursor: str - node: DeployKey + edges: Optional[list[EnterpriseServerInstallationMembershipEdge]] = None + nodes: Optional[list[EnterpriseServerInstallation]] = None + page_info: PageInfo + total_count: int -class list_DeployKeyEdge(list, DeployKeyEdge): pass -class list_DeployKey(list, DeployKey): pass +@dataclass(kw_only=True) +class MembersCanDeleteReposClearAuditEntry: + """ + MembersCanDeleteReposClearAuditEntry - Audit log entry for a members_can_delete_repos.clear event. -class DeployKeyConnection(GQLObject): - """ - DeployKeyConnection - The connection type for DeployKey. + action - The action name - edges - A list of edges. + actor - The user who initiated the action - nodes - A list of nodes. + actorIp - The IP address of the actor - pageInfo - Information to aid in pagination. + actorLocation - A readable representation of the actor's location - totalCount - Identifies the total count of items in the connection. + actorLogin - The username of the user who initiated the action - """ - edges: list_DeployKeyEdge[DeployKeyEdge] - nodes: list_DeployKey[DeployKey] - pageInfo: PageInfo - totalCount: int + actorResourcePath - The HTTP path for the actor. -class DeploymentStatus(GQLObject): - """ - DeploymentStatus - Describes the status of a given deployment attempt. + actorUrl - The HTTP URL for the actor. - createdAt - Identifies the date and time when the object was created. + createdAt - The time the action was initiated - creator - Identifies the actor who triggered the deployment. + enterpriseResourcePath - The HTTP path for this enterprise. - deployment - Identifies the deployment associated with status. + enterpriseSlug - The slug of the enterprise. - description - Identifies the description of the deployment. + enterpriseUrl - The HTTP URL for this enterprise. - environmentUrl - Identifies the environment URL of the deployment. + id - The Node ID of the MembersCanDeleteReposClearAuditEntry object - logUrl - Identifies the log URL of the deployment. + operationType - The corresponding operation type for the action - state - Identifies the current state of the deployment. + organization - The Organization associated with the Audit Entry. - updatedAt - Identifies the date and time when the object was last updated. + organizationName - The name of the Organization. - """ - createdAt: DateTime - creator: Actor - deployment: NewType('Deployment', GQLObject) ## Circular Reference for Deployment - description: str - environmentUrl: URI - id: ID - logUrl: URI - state: DeploymentStatusState - updatedAt: DateTime + organizationResourcePath - The HTTP path for the organization -class DeploymentStatusEdge(GQLObject): - """ - DeploymentStatusEdge - An edge in a connection. + organizationUrl - The HTTP URL for the organization - cursor - A cursor for use in pagination. + user - The user affected by the action - node - The item at the end of the edge. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - cursor: str - node: DeploymentStatus + userResourcePath - The HTTP path for the user. -class list_DeploymentStatusEdge(list, DeploymentStatusEdge): pass + userUrl - The HTTP URL for the user. -class list_DeploymentStatus(list, DeploymentStatus): pass + """ -class DeploymentStatusConnection(GQLObject): - """ - DeploymentStatusConnection - The connection type for DeploymentStatus. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class MembersCanDeleteReposDisableAuditEntry: + """ + MembersCanDeleteReposDisableAuditEntry - Audit log entry for a members_can_delete_repos.disable event. - pageInfo - Information to aid in pagination. + action - The action name - totalCount - Identifies the total count of items in the connection. + actor - The user who initiated the action - """ - edges: list_DeploymentStatusEdge[DeploymentStatusEdge] - nodes: list_DeploymentStatus[DeploymentStatus] - pageInfo: PageInfo - totalCount: int + actorIp - The IP address of the actor -class VHBSE_DeploymentStatusConnection_Field(DeploymentStatusConnection): - """ - VHBSE_DeploymentStatusConnection_Field - A list of statuses associated with the deployment. + actorLocation - A readable representation of the actor's location - """ - class DeploymentStatusConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorLogin - The username of the user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorResourcePath - The HTTP path for the actor. - first - Returns the first _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - last - Returns the last _n_ elements from the list. + createdAt - The time the action was initiated - """ - after: str - before: str - first: int - last: int + enterpriseResourcePath - The HTTP path for this enterprise. - _args: DeploymentStatusConnectionArgs + enterpriseSlug - The slug of the enterprise. + enterpriseUrl - The HTTP URL for this enterprise. + id - The Node ID of the MembersCanDeleteReposDisableAuditEntry object -class Deployment(GQLObject): - """ - Deployment - Represents triggered deployment instance. + operationType - The corresponding operation type for the action - commit - Identifies the commit sha of the deployment. + organization - The Organization associated with the Audit Entry. - commitOid - Identifies the oid of the deployment commit, even if the commit has been deleted. + organizationName - The name of the Organization. - createdAt - Identifies the date and time when the object was created. + organizationResourcePath - The HTTP path for the organization - creator - Identifies the actor who triggered the deployment. + organizationUrl - The HTTP URL for the organization - databaseId - Identifies the primary key from the database. + user - The user affected by the action - description - The deployment description. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - environment - The latest environment to which this deployment was made. + userResourcePath - The HTTP path for the user. - latestEnvironment - The latest environment to which this deployment was made. + userUrl - The HTTP URL for the user. - latestStatus - The latest status of this deployment. + """ - originalEnvironment - The original environment to which this deployment was made. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - payload - Extra information that a deployment system might need. - ref - Identifies the Ref of the deployment, if the deployment was created by ref. +@dataclass(kw_only=True) +class MembersCanDeleteReposEnableAuditEntry: + """ + MembersCanDeleteReposEnableAuditEntry - Audit log entry for a members_can_delete_repos.enable event. - repository - Identifies the repository associated with the deployment. + action - The action name - state - The current state of the deployment. + actor - The user who initiated the action - statuses - A list of statuses associated with the deployment. + actorIp - The IP address of the actor - task - The deployment task. + actorLocation - A readable representation of the actor's location - updatedAt - Identifies the date and time when the object was last updated. + actorLogin - The username of the user who initiated the action - """ - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - commitOid: str - createdAt: DateTime - creator: Actor - databaseId: int - description: str - environment: str - id: ID - latestEnvironment: str - latestStatus: DeploymentStatus - originalEnvironment: str - payload: str - ref: NewType('Ref', GQLObject) ## Circular Reference for Ref - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - state: DeploymentState - statuses: VHBSE_DeploymentStatusConnection_Field - task: str - updatedAt: DateTime + actorResourcePath - The HTTP path for the actor. -class DeploymentEdge(GQLObject): - """ - DeploymentEdge - An edge in a connection. + actorUrl - The HTTP URL for the actor. - cursor - A cursor for use in pagination. + createdAt - The time the action was initiated - node - The item at the end of the edge. + enterpriseResourcePath - The HTTP path for this enterprise. - """ - cursor: str - node: Deployment + enterpriseSlug - The slug of the enterprise. -class list_DeploymentEdge(list, DeploymentEdge): pass + enterpriseUrl - The HTTP URL for this enterprise. -class list_Deployment(list, Deployment): pass + id - The Node ID of the MembersCanDeleteReposEnableAuditEntry object -class DeploymentConnection(GQLObject): - """ - DeploymentConnection - The connection type for Deployment. + operationType - The corresponding operation type for the action - edges - A list of edges. + organization - The Organization associated with the Audit Entry. - nodes - A list of nodes. + organizationName - The name of the Organization. - pageInfo - Information to aid in pagination. + organizationResourcePath - The HTTP path for the organization - totalCount - Identifies the total count of items in the connection. + organizationUrl - The HTTP URL for the organization - """ - edges: list_DeploymentEdge[DeploymentEdge] - nodes: list_Deployment[Deployment] - pageInfo: PageInfo - totalCount: int + user - The user affected by the action -class DiscussionCommentEdge(GQLObject): - """ - DiscussionCommentEdge - An edge in a connection. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - cursor - A cursor for use in pagination. + userResourcePath - The HTTP path for the user. - node - The item at the end of the edge. + userUrl - The HTTP URL for the user. - """ - cursor: str - node: NewType('DiscussionComment', GQLObject) ## Circular Reference for DiscussionComment + """ -class list_DiscussionCommentEdge(list, DiscussionCommentEdge): pass + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class DiscussionCommentConnection(GQLObject): - """ - DiscussionCommentConnection - The connection type for DiscussionComment. - edges - A list of edges. +@dataclass(kw_only=True) +class OauthApplicationCreateAuditEntry: + """ + OauthApplicationCreateAuditEntry - Audit log entry for a oauth_application.create event. - nodes - A list of nodes. + action - The action name - pageInfo - Information to aid in pagination. + actor - The user who initiated the action - totalCount - Identifies the total count of items in the connection. + actorIp - The IP address of the actor - """ - edges: list_DiscussionCommentEdge[DiscussionCommentEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for DiscussionComment - pageInfo: PageInfo - totalCount: int + actorLocation - A readable representation of the actor's location -class BPDLG_ReactionConnection_Field(ReactionConnection): - """ - BPDLG_ReactionConnection_Field - A list of Reactions left on the Issue. + actorLogin - The username of the user who initiated the action - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorResourcePath - The HTTP path for the actor. - before - Returns the elements in the list that come before the specified cursor. + actorUrl - The HTTP URL for the actor. - first - Returns the first _n_ elements from the list. + applicationUrl - The application URL of the OAuth application. - last - Returns the last _n_ elements from the list. + callbackUrl - The callback URL of the OAuth application. - content - Allows filtering Reactions by emoji. + createdAt - The time the action was initiated - orderBy - Allows specifying the order in which reactions are returned. + id - The Node ID of the OauthApplicationCreateAuditEntry object - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + oauthApplicationName - The name of the OAuth application. - _args: ReactionConnectionArgs + oauthApplicationResourcePath - The HTTP path for the OAuth application + oauthApplicationUrl - The HTTP URL for the OAuth application + operationType - The corresponding operation type for the action -class BDUGK_DiscussionCommentConnection_Field(DiscussionCommentConnection): - """ - BDUGK_DiscussionCommentConnection_Field - The threaded replies to this comment. + organization - The Organization associated with the Audit Entry. - """ - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationName - The name of the Organization. - before - Returns the elements in the list that come before the specified cursor. + organizationResourcePath - The HTTP path for the organization - first - Returns the first _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - last - Returns the last _n_ elements from the list. + rateLimit - The rate limit of the OAuth application. - """ - after: str - before: str - first: int - last: int + state - The state of the OAuth application. - _args: DiscussionCommentConnectionArgs + user - The user affected by the action + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. -class ZLAZJ_UserContentEditConnection_Field(UserContentEditConnection): - """ - ZLAZJ_UserContentEditConnection_Field - A list of edits to this content. + userUrl - The HTTP URL for the user. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + application_url: Optional[URI] = None + callback_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + rate_limit: Optional[int] = None + state: Optional[OauthApplicationCreateAuditEntryState] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class OrgAddBillingManagerAuditEntry: + """ + OrgAddBillingManagerAuditEntry - Audit log entry for a org.add_billing_manager - """ - after: str - before: str - first: int - last: int + action - The action name - _args: UserContentEditConnectionArgs + actor - The user who initiated the action + actorIp - The IP address of the actor + actorLocation - A readable representation of the actor's location -class DiscussionComment(GQLObject): - """ - DiscussionComment - A comment on a discussion. + actorLogin - The username of the user who initiated the action - author - The actor who authored the comment. + actorResourcePath - The HTTP path for the actor. - authorAssociation - Author's association with the subject of the comment. + actorUrl - The HTTP URL for the actor. - body - The body as Markdown. + createdAt - The time the action was initiated - bodyHTML - The body rendered to HTML. + id - The Node ID of the OrgAddBillingManagerAuditEntry object - bodyText - The body rendered to text. + invitationEmail - The email address used to invite a billing manager for the organization. - createdAt - Identifies the date and time when the object was created. + operationType - The corresponding operation type for the action - createdViaEmail - Check if this comment was created via an email reply. + organization - The Organization associated with the Audit Entry. - databaseId - Identifies the primary key from the database. + organizationName - The name of the Organization. - deletedAt - The time when this replied-to comment was deleted + organizationResourcePath - The HTTP path for the organization - discussion - The discussion this comment was created in + organizationUrl - The HTTP URL for the organization - editor - The actor who edited the comment. + user - The user affected by the action - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - isAnswer - Has this comment been chosen as the answer of its discussion? + userResourcePath - The HTTP path for the user. - isMinimized - Returns whether or not a comment has been minimized. + userUrl - The HTTP URL for the user. - lastEditedAt - The moment the editor made the last edit + """ - minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + invitation_email: Optional[str] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - publishedAt - Identifies when the comment was published at. - reactionGroups - A list of reactions grouped by content left on the subject. +@dataclass(kw_only=True) +class OrgAddMemberAuditEntry: + """ + OrgAddMemberAuditEntry - Audit log entry for a org.add_member - reactions - A list of Reactions left on the Issue. + action - The action name - replies - The threaded replies to this comment. + actor - The user who initiated the action - replyTo - The discussion comment this comment is a reply to + actorIp - The IP address of the actor - resourcePath - The path for this discussion comment. + actorLocation - A readable representation of the actor's location - updatedAt - Identifies the date and time when the object was last updated. + actorLogin - The username of the user who initiated the action - upvoteCount - Number of upvotes that this subject has received. + actorResourcePath - The HTTP path for the actor. - url - The URL for this discussion comment. + actorUrl - The HTTP URL for the actor. - userContentEdits - A list of edits to this content. + createdAt - The time the action was initiated - viewerCanDelete - Check if the current viewer can delete this object. + id - The Node ID of the OrgAddMemberAuditEntry object - viewerCanMarkAsAnswer - Can the current user mark this comment as an answer? + operationType - The corresponding operation type for the action - viewerCanMinimize - Check if the current viewer can minimize this object. + organization - The Organization associated with the Audit Entry. - viewerCanReact - Can user react to this subject + organizationName - The name of the Organization. - viewerCanUnmarkAsAnswer - Can the current user unmark this comment as an answer? + organizationResourcePath - The HTTP path for the organization - viewerCanUpdate - Check if the current viewer can update this object. + organizationUrl - The HTTP URL for the organization - viewerCanUpvote - Whether or not the current user can add or remove an upvote on this subject. + permission - The permission level of the member added to the organization. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + user - The user affected by the action - viewerDidAuthor - Did the viewer author this comment. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - viewerHasUpvoted - Whether or not the current user has already upvoted this subject. + userResourcePath - The HTTP path for the user. - """ - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - deletedAt: DateTime - discussion: NewType('Discussion', GQLObject) ## Circular Reference for Discussion - editor: Actor - id: ID - includesCreatedEdit: bool - isAnswer: bool - isMinimized: bool - lastEditedAt: DateTime - minimizedReason: str - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: BPDLG_ReactionConnection_Field - replies: BDUGK_DiscussionCommentConnection_Field - replyTo: NewType('DiscussionComment', GQLObject) ## Circular Reference for DiscussionComment - resourcePath: URI - updatedAt: DateTime - upvoteCount: int - url: URI - userContentEdits: ZLAZJ_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMarkAsAnswer: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUnmarkAsAnswer: bool - viewerCanUpdate: bool - viewerCanUpvote: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerHasUpvoted: bool + userUrl - The HTTP URL for the user. -class DiscussionCategory(GQLObject): - """ - DiscussionCategory - A category for discussions in a repository. + """ - createdAt - Identifies the date and time when the object was created. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + permission: Optional[OrgAddMemberAuditEntryPermission] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - description - A description of this category. - emoji - An emoji representing this category. +@dataclass(kw_only=True) +class OrgBlockUserAuditEntry: + """ + OrgBlockUserAuditEntry - Audit log entry for a org.block_user - emojiHTML - This category's emoji rendered as HTML. + action - The action name - isAnswerable - Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation. + actor - The user who initiated the action - name - The name of this category. + actorIp - The IP address of the actor - repository - The repository associated with this node. + actorLocation - A readable representation of the actor's location - slug - The slug of this category. + actorLogin - The username of the user who initiated the action - updatedAt - Identifies the date and time when the object was last updated. + actorResourcePath - The HTTP path for the actor. - """ - createdAt: DateTime - description: str - emoji: str - emojiHTML: HTML - id: ID - isAnswerable: bool - name: str - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - slug: str - updatedAt: DateTime + actorUrl - The HTTP URL for the actor. -class IssueEdge(GQLObject): - """ - IssueEdge - An edge in a connection. + blockedUser - The blocked user. - cursor - A cursor for use in pagination. + blockedUserName - The username of the blocked user. - node - The item at the end of the edge. + blockedUserResourcePath - The HTTP path for the blocked user. - """ - cursor: str - node: NewType('Issue', GQLObject) ## Circular Reference for Issue + blockedUserUrl - The HTTP URL for the blocked user. -class list_IssueEdge(list, IssueEdge): pass + createdAt - The time the action was initiated -class IssueConnection(GQLObject): - """ - IssueConnection - The connection type for Issue. + id - The Node ID of the OrgBlockUserAuditEntry object - edges - A list of edges. + operationType - The corresponding operation type for the action - nodes - A list of nodes. + organization - The Organization associated with the Audit Entry. - pageInfo - Information to aid in pagination. + organizationName - The name of the Organization. - totalCount - Identifies the total count of items in the connection. + organizationResourcePath - The HTTP path for the organization - """ - edges: list_IssueEdge[IssueEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Issue - pageInfo: PageInfo - totalCount: int + organizationUrl - The HTTP URL for the organization -class NonNull_IssueState(GQLObject): pass + user - The user affected by the action -class PRVRK_IssueConnection_Field(IssueConnection): - """ - PRVRK_IssueConnection_Field - A list of issues associated with this label. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issues returned from the connection. + userResourcePath - The HTTP path for the user. - labels - A list of label names to filter the pull requests by. + userUrl - The HTTP URL for the user. - states - A list of states to filter the issues by. + """ - filterBy - Filtering options for issues returned from the connection. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + blocked_user: Optional[User] = None + blocked_user_name: Optional[str] = None + blocked_user_resource_path: Optional[URI] = None + blocked_user_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class OrgConfigDisableCollaboratorsOnlyAuditEntry: + """ + OrgConfigDisableCollaboratorsOnlyAuditEntry - Audit log entry for a org.config.disable_collaborators_only event. - first - Returns the first _n_ elements from the list. + action - The action name - last - Returns the last _n_ elements from the list. + actor - The user who initiated the action - """ - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int + actorIp - The IP address of the actor - _args: IssueConnectionArgs + actorLocation - A readable representation of the actor's location + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. -class NonNull_PullRequestState(GQLObject): pass + actorUrl - The HTTP URL for the actor. -class LBUVH_PullRequestConnection_Field(Generic[PullRequestConnection]): - """ - LBUVH_PullRequestConnection_Field - A list of pull requests associated with this label. + createdAt - The time the action was initiated - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - states - A list of states to filter the pull requests by. + id - The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object - labels - A list of label names to filter the pull requests by. + operationType - The corresponding operation type for the action - headRefName - The head ref name to filter the pull requests by. + organization - The Organization associated with the Audit Entry. - baseRefName - The base ref name to filter the pull requests by. + organizationName - The name of the Organization. - orderBy - Ordering options for pull requests returned from the connection. + organizationResourcePath - The HTTP path for the organization - after - Returns the elements in the list that come after the specified cursor. + organizationUrl - The HTTP URL for the organization - before - Returns the elements in the list that come before the specified cursor. + user - The user affected by the action - first - Returns the first _n_ elements from the list. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - last - Returns the last _n_ elements from the list. + userResourcePath - The HTTP path for the user. - """ - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int + userUrl - The HTTP URL for the user. - _args: PullRequestConnectionArgs + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class Label(GQLObject): - """ - Label - A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. +@dataclass(kw_only=True) +class OrgConfigEnableCollaboratorsOnlyAuditEntry: + """ + OrgConfigEnableCollaboratorsOnlyAuditEntry - Audit log entry for a org.config.enable_collaborators_only event. - color - Identifies the label color. + action - The action name - createdAt - Identifies the date and time when the label was created. + actor - The user who initiated the action - description - A brief description of this label. + actorIp - The IP address of the actor - isDefault - Indicates whether or not this is a default label. + actorLocation - A readable representation of the actor's location - issues - A list of issues associated with this label. + actorLogin - The username of the user who initiated the action - name - Identifies the label name. + actorResourcePath - The HTTP path for the actor. - pullRequests - A list of pull requests associated with this label. + actorUrl - The HTTP URL for the actor. - repository - The repository associated with this label. + createdAt - The time the action was initiated - resourcePath - The HTTP path for this label. + id - The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object - updatedAt - Identifies the date and time when the label was last updated. + operationType - The corresponding operation type for the action - url - The HTTP URL for this label. + organization - The Organization associated with the Audit Entry. - """ - color: str - createdAt: DateTime - description: str - id: ID - isDefault: bool - issues: PRVRK_IssueConnection_Field - name: str - pullRequests: LBUVH_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - updatedAt: DateTime - url: URI + organizationName - The name of the Organization. -class LabelEdge(GQLObject): - """ - LabelEdge - An edge in a connection. + organizationResourcePath - The HTTP path for the organization - cursor - A cursor for use in pagination. + organizationUrl - The HTTP URL for the organization - node - The item at the end of the edge. + user - The user affected by the action - """ - cursor: str - node: Label + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class list_LabelEdge(list, LabelEdge): pass + userResourcePath - The HTTP path for the user. -class list_Label(list, Label): pass + userUrl - The HTTP URL for the user. -class LabelConnection(GQLObject): - """ - LabelConnection - The connection type for Label. + """ - edges - A list of edges. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class OrgCreateAuditEntry: + """ + OrgCreateAuditEntry - Audit log entry for a org.create event. - totalCount - Identifies the total count of items in the connection. + action - The action name - """ - edges: list_LabelEdge[LabelEdge] - nodes: list_Label[Label] - pageInfo: PageInfo - totalCount: int + actor - The user who initiated the action -class DiscussionPollOption(GQLObject): - """ - DiscussionPollOption - An option for a discussion poll. + actorIp - The IP address of the actor - option - The text for this option. + actorLocation - A readable representation of the actor's location - poll - The discussion poll that this option belongs to. + actorLogin - The username of the user who initiated the action - totalVoteCount - The total number of votes that have been cast for this option. + actorResourcePath - The HTTP path for the actor. - viewerHasVoted - Indicates if the viewer has voted for this option in the poll. + actorUrl - The HTTP URL for the actor. - """ - id: ID - option: str - poll: NewType('DiscussionPoll', GQLObject) ## Circular Reference for DiscussionPoll - totalVoteCount: int - viewerHasVoted: bool + billingPlan - The billing plan for the Organization. -class DiscussionPollOptionEdge(GQLObject): - """ - DiscussionPollOptionEdge - An edge in a connection. + createdAt - The time the action was initiated - cursor - A cursor for use in pagination. + id - The Node ID of the OrgCreateAuditEntry object - node - The item at the end of the edge. + operationType - The corresponding operation type for the action - """ - cursor: str - node: DiscussionPollOption + organization - The Organization associated with the Audit Entry. -class list_DiscussionPollOptionEdge(list, DiscussionPollOptionEdge): pass + organizationName - The name of the Organization. -class list_DiscussionPollOption(list, DiscussionPollOption): pass + organizationResourcePath - The HTTP path for the organization -class DiscussionPollOptionConnection(GQLObject): - """ - DiscussionPollOptionConnection - The connection type for DiscussionPollOption. + organizationUrl - The HTTP URL for the organization - edges - A list of edges. + user - The user affected by the action - nodes - A list of nodes. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - pageInfo - Information to aid in pagination. + userResourcePath - The HTTP path for the user. - totalCount - Identifies the total count of items in the connection. + userUrl - The HTTP URL for the user. - """ - edges: list_DiscussionPollOptionEdge[DiscussionPollOptionEdge] - nodes: list_DiscussionPollOption[DiscussionPollOption] - pageInfo: PageInfo - totalCount: int + """ -class YBJJX_DiscussionPollOptionConnection_Field(DiscussionPollOptionConnection): - """ - YBJJX_DiscussionPollOptionConnection_Field - The options for this poll. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + billing_plan: Optional[OrgCreateAuditEntryBillingPlan] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - class DiscussionPollOptionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class OrgDisableOauthAppRestrictionsAuditEntry: + """ + OrgDisableOauthAppRestrictionsAuditEntry - Audit log entry for a org.disable_oauth_app_restrictions event. - first - Returns the first _n_ elements from the list. + action - The action name - last - Returns the last _n_ elements from the list. + actor - The user who initiated the action - orderBy - How to order the options for the discussion poll. + actorIp - The IP address of the actor - """ - after: str - before: str - first: int - last: int - orderBy: DiscussionPollOptionOrder + actorLocation - A readable representation of the actor's location - _args: DiscussionPollOptionConnectionArgs + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. + actorUrl - The HTTP URL for the actor. -class DiscussionPoll(GQLObject): - """ - DiscussionPoll - A poll for a discussion. + createdAt - The time the action was initiated - discussion - The discussion that this poll belongs to. + id - The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object - options - The options for this poll. + operationType - The corresponding operation type for the action - question - The question that is being asked by this poll. + organization - The Organization associated with the Audit Entry. - totalVoteCount - The total number of votes that have been cast for this poll. + organizationName - The name of the Organization. - viewerCanVote - Indicates if the viewer has permission to vote in this poll. + organizationResourcePath - The HTTP path for the organization - viewerHasVoted - Indicates if the viewer has voted for any option in this poll. + organizationUrl - The HTTP URL for the organization - """ - discussion: NewType('Discussion', GQLObject) ## Circular Reference for Discussion - id: ID - options: YBJJX_DiscussionPollOptionConnection_Field - question: str - totalVoteCount: int - viewerCanVote: bool - viewerHasVoted: bool + user - The user affected by the action -class BPBNP_DiscussionCommentConnection_Field(DiscussionCommentConnection): - """ - BPBNP_DiscussionCommentConnection_Field - The replies to the discussion. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + userResourcePath - The HTTP path for the user. - before - Returns the elements in the list that come before the specified cursor. + userUrl - The HTTP URL for the user. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - after: str - before: str - first: int - last: int - _args: DiscussionCommentConnectionArgs +@dataclass(kw_only=True) +class OrgDisableSamlAuditEntry: + """ + OrgDisableSamlAuditEntry - Audit log entry for a org.disable_saml event. + action - The action name + actor - The user who initiated the action -class LUJAU_LabelConnection_Field(LabelConnection): - """ - LUJAU_LabelConnection_Field - A list of labels associated with the object. + actorIp - The IP address of the actor - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for labels returned from the connection. + actorLocation - A readable representation of the actor's location - after - Returns the elements in the list that come after the specified cursor. + actorLogin - The username of the user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorResourcePath - The HTTP path for the actor. - first - Returns the first _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - last - Returns the last _n_ elements from the list. + createdAt - The time the action was initiated - """ - orderBy: LabelOrder - after: str - before: str - first: int - last: int + digestMethodUrl - The SAML provider's digest algorithm URL. - _args: LabelConnectionArgs + id - The Node ID of the OrgDisableSamlAuditEntry object + issuerUrl - The SAML provider's issuer URL. + operationType - The corresponding operation type for the action -class IENBK_ReactionConnection_Field(ReactionConnection): - """ - IENBK_ReactionConnection_Field - A list of Reactions left on the Issue. + organization - The Organization associated with the Audit Entry. - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationName - The name of the Organization. - before - Returns the elements in the list that come before the specified cursor. + organizationResourcePath - The HTTP path for the organization - first - Returns the first _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - last - Returns the last _n_ elements from the list. + signatureMethodUrl - The SAML provider's signature algorithm URL. - content - Allows filtering Reactions by emoji. + singleSignOnUrl - The SAML provider's single sign-on URL. - orderBy - Allows specifying the order in which reactions are returned. + user - The user affected by the action - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - _args: ReactionConnectionArgs + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. + """ -class KTMUL_UserContentEditConnection_Field(UserContentEditConnection): - """ - KTMUL_UserContentEditConnection_Field - A list of edits to this content. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + digest_method_url: Optional[URI] = None + id: ID + issuer_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + signature_method_url: Optional[URI] = None + single_sign_on_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class OrgDisableTwoFactorRequirementAuditEntry: + """ + OrgDisableTwoFactorRequirementAuditEntry - Audit log entry for a org.disable_two_factor_requirement event. - first - Returns the first _n_ elements from the list. + action - The action name - last - Returns the last _n_ elements from the list. + actor - The user who initiated the action - """ - after: str - before: str - first: int - last: int + actorIp - The IP address of the actor - _args: UserContentEditConnectionArgs + actorLocation - A readable representation of the actor's location + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. -class Discussion(GQLObject): - """ - Discussion - A discussion in a repository. + actorUrl - The HTTP URL for the actor. - activeLockReason - Reason that the conversation was locked. + createdAt - The time the action was initiated - answer - The comment chosen as this discussion's answer, if any. + id - The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object - answerChosenAt - The time when a user chose this discussion's answer, if answered. + operationType - The corresponding operation type for the action - answerChosenBy - The user who chose this discussion's answer, if answered. + organization - The Organization associated with the Audit Entry. - author - The actor who authored the comment. + organizationName - The name of the Organization. - authorAssociation - Author's association with the subject of the comment. + organizationResourcePath - The HTTP path for the organization - body - The main text of the discussion post. + organizationUrl - The HTTP URL for the organization - bodyHTML - The body rendered to HTML. + user - The user affected by the action - bodyText - The body rendered to text. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - category - The category for this discussion. + userResourcePath - The HTTP path for the user. - closed - Indicates if the object is closed (definition of closed may depend on type) + userUrl - The HTTP URL for the user. - closedAt - Identifies the date and time when the object was closed. + """ - comments - The replies to the discussion. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - createdAt - Identifies the date and time when the object was created. - createdViaEmail - Check if this comment was created via an email reply. +@dataclass(kw_only=True) +class OrgEnableOauthAppRestrictionsAuditEntry: + """ + OrgEnableOauthAppRestrictionsAuditEntry - Audit log entry for a org.enable_oauth_app_restrictions event. - databaseId - Identifies the primary key from the database. + action - The action name - editor - The actor who edited the comment. + actor - The user who initiated the action - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + actorIp - The IP address of the actor - labels - A list of labels associated with the object. + actorLocation - A readable representation of the actor's location - lastEditedAt - The moment the editor made the last edit + actorLogin - The username of the user who initiated the action - locked - `true` if the object is locked + actorResourcePath - The HTTP path for the actor. - number - The number identifying this discussion within the repository. + actorUrl - The HTTP URL for the actor. - poll - The poll associated with this discussion, if one exists. + createdAt - The time the action was initiated - publishedAt - Identifies when the comment was published at. + id - The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object - reactionGroups - A list of reactions grouped by content left on the subject. + operationType - The corresponding operation type for the action - reactions - A list of Reactions left on the Issue. + organization - The Organization associated with the Audit Entry. - repository - The repository associated with this node. + organizationName - The name of the Organization. - resourcePath - The path for this discussion. + organizationResourcePath - The HTTP path for the organization - stateReason - Identifies the reason for the discussion's state. + organizationUrl - The HTTP URL for the organization - title - The title of this discussion. + user - The user affected by the action - updatedAt - Identifies the date and time when the object was last updated. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - upvoteCount - Number of upvotes that this subject has received. + userResourcePath - The HTTP path for the user. - url - The URL for this discussion. + userUrl - The HTTP URL for the user. - userContentEdits - A list of edits to this content. + """ - viewerCanClose - Indicates if the object can be closed by the viewer. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - viewerCanDelete - Check if the current viewer can delete this object. - viewerCanReact - Can user react to this subject +@dataclass(kw_only=True) +class OrgEnableSamlAuditEntry: + """ + OrgEnableSamlAuditEntry - Audit log entry for a org.enable_saml event. - viewerCanReopen - Indicates if the object can be reopened by the viewer. + action - The action name - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + actor - The user who initiated the action - viewerCanUpdate - Check if the current viewer can update this object. + actorIp - The IP address of the actor - viewerCanUpvote - Whether or not the current user can add or remove an upvote on this subject. + actorLocation - A readable representation of the actor's location - viewerDidAuthor - Did the viewer author this comment. + actorLogin - The username of the user who initiated the action - viewerHasUpvoted - Whether or not the current user has already upvoted this subject. + actorResourcePath - The HTTP path for the actor. - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + actorUrl - The HTTP URL for the actor. - """ - activeLockReason: LockReason - answer: DiscussionComment - answerChosenAt: DateTime - answerChosenBy: Actor - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - category: DiscussionCategory - closed: bool - closedAt: DateTime - comments: BPBNP_DiscussionCommentConnection_Field - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - labels: LUJAU_LabelConnection_Field - lastEditedAt: DateTime - locked: bool - number: int - poll: DiscussionPoll - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: IENBK_ReactionConnection_Field - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - stateReason: DiscussionStateReason - title: str - updatedAt: DateTime - upvoteCount: int - url: URI - userContentEdits: KTMUL_UserContentEditConnection_Field - viewerCanClose: bool - viewerCanDelete: bool - viewerCanReact: bool - viewerCanReopen: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCanUpvote: bool - viewerDidAuthor: bool - viewerHasUpvoted: bool - viewerSubscription: SubscriptionState + createdAt - The time the action was initiated -class DiscussionCategoryEdge(GQLObject): - """ - DiscussionCategoryEdge - An edge in a connection. + digestMethodUrl - The SAML provider's digest algorithm URL. - cursor - A cursor for use in pagination. + id - The Node ID of the OrgEnableSamlAuditEntry object - node - The item at the end of the edge. + issuerUrl - The SAML provider's issuer URL. - """ - cursor: str - node: DiscussionCategory + operationType - The corresponding operation type for the action -class list_DiscussionCategoryEdge(list, DiscussionCategoryEdge): pass + organization - The Organization associated with the Audit Entry. -class list_DiscussionCategory(list, DiscussionCategory): pass + organizationName - The name of the Organization. -class DiscussionCategoryConnection(GQLObject): - """ - DiscussionCategoryConnection - The connection type for DiscussionCategory. + organizationResourcePath - The HTTP path for the organization - edges - A list of edges. + organizationUrl - The HTTP URL for the organization - nodes - A list of nodes. + signatureMethodUrl - The SAML provider's signature algorithm URL. - pageInfo - Information to aid in pagination. + singleSignOnUrl - The SAML provider's single sign-on URL. - totalCount - Identifies the total count of items in the connection. + user - The user affected by the action - """ - edges: list_DiscussionCategoryEdge[DiscussionCategoryEdge] - nodes: list_DiscussionCategory[DiscussionCategory] - pageInfo: PageInfo - totalCount: int + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class DiscussionEdge(GQLObject): - """ - DiscussionEdge - An edge in a connection. + userResourcePath - The HTTP path for the user. - cursor - A cursor for use in pagination. + userUrl - The HTTP URL for the user. - node - The item at the end of the edge. + """ - """ - cursor: str - node: Discussion + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + digest_method_url: Optional[URI] = None + id: ID + issuer_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + signature_method_url: Optional[URI] = None + single_sign_on_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class list_DiscussionEdge(list, DiscussionEdge): pass -class list_Discussion(list, Discussion): pass +@dataclass(kw_only=True) +class OrgEnableTwoFactorRequirementAuditEntry: + """ + OrgEnableTwoFactorRequirementAuditEntry - Audit log entry for a org.enable_two_factor_requirement event. -class DiscussionConnection(GQLObject): - """ - DiscussionConnection - The connection type for Discussion. + action - The action name - edges - A list of edges. + actor - The user who initiated the action - nodes - A list of nodes. + actorIp - The IP address of the actor - pageInfo - Information to aid in pagination. + actorLocation - A readable representation of the actor's location - totalCount - Identifies the total count of items in the connection. + actorLogin - The username of the user who initiated the action - """ - edges: list_DiscussionEdge[DiscussionEdge] - nodes: list_Discussion[Discussion] - pageInfo: PageInfo - totalCount: int + actorResourcePath - The HTTP path for the actor. -class DeploymentReviewer(GQLObject): - pass + actorUrl - The HTTP URL for the actor. -class DeploymentReviewerEdge(GQLObject): - """ - DeploymentReviewerEdge - An edge in a connection. + createdAt - The time the action was initiated - cursor - A cursor for use in pagination. + id - The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object - node - The item at the end of the edge. + operationType - The corresponding operation type for the action - """ - cursor: str - node: DeploymentReviewer + organization - The Organization associated with the Audit Entry. -class list_DeploymentReviewerEdge(list, DeploymentReviewerEdge): pass + organizationName - The name of the Organization. -class list_DeploymentReviewer(list, DeploymentReviewer): pass + organizationResourcePath - The HTTP path for the organization -class DeploymentReviewerConnection(GQLObject): - """ - DeploymentReviewerConnection - The connection type for DeploymentReviewer. + organizationUrl - The HTTP URL for the organization - edges - A list of edges. + user - The user affected by the action - nodes - A list of nodes. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - pageInfo - Information to aid in pagination. + userResourcePath - The HTTP path for the user. - totalCount - Identifies the total count of items in the connection. + userUrl - The HTTP URL for the user. - """ - edges: list_DeploymentReviewerEdge[DeploymentReviewerEdge] - nodes: list_DeploymentReviewer[DeploymentReviewer] - pageInfo: PageInfo - totalCount: int + """ -class SGJWW_DeploymentReviewerConnection_Field(DeploymentReviewerConnection): - """ - SGJWW_DeploymentReviewerConnection_Field - The teams or users that can review the deployment + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - class DeploymentReviewerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class OrganizationInvitation: + """ + OrganizationInvitation - An Invitation for a user to an organization. - first - Returns the first _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - last - Returns the last _n_ elements from the list. + email - The email address of the user invited to the organization. - """ - after: str - before: str - first: int - last: int + id - The Node ID of the OrganizationInvitation object - _args: DeploymentReviewerConnectionArgs + invitationSource - The source of the invitation. + invitationType - The type of invitation that was sent (e.g. email, user). + invitee - The user who was invited to the organization. -class DeploymentProtectionRule(GQLObject): - """ - DeploymentProtectionRule - A protection rule. + inviterActor - The user who created the invitation. - databaseId - Identifies the primary key from the database. + organization - The organization the invite is for - reviewers - The teams or users that can review the deployment + role - The user's pending role in the organization (e.g. member, owner). - timeout - The timeout in minutes for this protection rule. + """ - type - The type of protection rule. + created_at: DateTime + email: Optional[str] = None + id: ID + invitation_source: OrganizationInvitationSource + invitation_type: OrganizationInvitationType + invitee: Optional[User] = None + inviter_actor: Optional[User] = None + organization: Organization + role: OrganizationInvitationRole - """ - databaseId: int - reviewers: SGJWW_DeploymentReviewerConnection_Field - timeout: int - type: DeploymentProtectionRuleType -class DeploymentProtectionRuleEdge(GQLObject): - """ - DeploymentProtectionRuleEdge - An edge in a connection. +@dataclass(kw_only=True) +class OrgInviteMemberAuditEntry: + """ + OrgInviteMemberAuditEntry - Audit log entry for a org.invite_member event. - cursor - A cursor for use in pagination. + action - The action name - node - The item at the end of the edge. + actor - The user who initiated the action - """ - cursor: str - node: DeploymentProtectionRule + actorIp - The IP address of the actor -class list_DeploymentProtectionRuleEdge(list, DeploymentProtectionRuleEdge): pass + actorLocation - A readable representation of the actor's location -class list_DeploymentProtectionRule(list, DeploymentProtectionRule): pass + actorLogin - The username of the user who initiated the action -class DeploymentProtectionRuleConnection(GQLObject): - """ - DeploymentProtectionRuleConnection - The connection type for DeploymentProtectionRule. + actorResourcePath - The HTTP path for the actor. - edges - A list of edges. + actorUrl - The HTTP URL for the actor. - nodes - A list of nodes. + createdAt - The time the action was initiated - pageInfo - Information to aid in pagination. + email - The email address of the organization invitation. - totalCount - Identifies the total count of items in the connection. + id - The Node ID of the OrgInviteMemberAuditEntry object - """ - edges: list_DeploymentProtectionRuleEdge[DeploymentProtectionRuleEdge] - nodes: list_DeploymentProtectionRule[DeploymentProtectionRule] - pageInfo: PageInfo - totalCount: int + operationType - The corresponding operation type for the action -class TDOWV_DeploymentProtectionRuleConnection_Field(DeploymentProtectionRuleConnection): - """ - TDOWV_DeploymentProtectionRuleConnection_Field - The protection rules defined for this environment + organization - The Organization associated with the Audit Entry. - """ - class DeploymentProtectionRuleConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationInvitation - The organization invitation. - before - Returns the elements in the list that come before the specified cursor. + organizationName - The name of the Organization. - first - Returns the first _n_ elements from the list. + organizationResourcePath - The HTTP path for the organization - last - Returns the last _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - """ - after: str - before: str - first: int - last: int + user - The user affected by the action - _args: DeploymentProtectionRuleConnectionArgs + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. -class Environment(GQLObject): - """ - Environment - An environment. + """ - databaseId - Identifies the primary key from the database. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + email: Optional[str] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_invitation: Optional[OrganizationInvitation] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - name - The name of the environment - protectionRules - The protection rules defined for this environment +@dataclass(kw_only=True) +class OrgInviteToBusinessAuditEntry: + """ + OrgInviteToBusinessAuditEntry - Audit log entry for a org.invite_to_business event. - """ - databaseId: int - id: ID - name: str - protectionRules: TDOWV_DeploymentProtectionRuleConnection_Field + action - The action name -class EnvironmentEdge(GQLObject): - """ - EnvironmentEdge - An edge in a connection. + actor - The user who initiated the action - cursor - A cursor for use in pagination. + actorIp - The IP address of the actor - node - The item at the end of the edge. + actorLocation - A readable representation of the actor's location - """ - cursor: str - node: Environment + actorLogin - The username of the user who initiated the action -class list_EnvironmentEdge(list, EnvironmentEdge): pass + actorResourcePath - The HTTP path for the actor. -class list_Environment(list, Environment): pass + actorUrl - The HTTP URL for the actor. -class EnvironmentConnection(GQLObject): - """ - EnvironmentConnection - The connection type for Environment. + createdAt - The time the action was initiated - edges - A list of edges. + enterpriseResourcePath - The HTTP path for this enterprise. - nodes - A list of nodes. + enterpriseSlug - The slug of the enterprise. - pageInfo - Information to aid in pagination. + enterpriseUrl - The HTTP URL for this enterprise. - totalCount - Identifies the total count of items in the connection. + id - The Node ID of the OrgInviteToBusinessAuditEntry object - """ - edges: list_EnvironmentEdge[EnvironmentEdge] - nodes: list_Environment[Environment] - pageInfo: PageInfo - totalCount: int + operationType - The corresponding operation type for the action -class RepositoryEdge(GQLObject): - """ - RepositoryEdge - An edge in a connection. + organization - The Organization associated with the Audit Entry. - cursor - A cursor for use in pagination. + organizationName - The name of the Organization. - node - The item at the end of the edge. + organizationResourcePath - The HTTP path for the organization - """ - cursor: str - node: NewType('Repository', GQLObject) ## Circular Reference for Repository + organizationUrl - The HTTP URL for the organization -class list_RepositoryEdge(list, RepositoryEdge): pass + user - The user affected by the action -class RepositoryConnection(GQLObject): - """ - RepositoryConnection - A list of repositories owned by the subject. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - edges - A list of edges. + userResourcePath - The HTTP path for the user. - nodes - A list of nodes. + userUrl - The HTTP URL for the user. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - totalDiskUsage - The total size in kilobytes of all repositories in the connection. - """ - edges: list_RepositoryEdge[RepositoryEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Repository - pageInfo: PageInfo - totalCount: int - totalDiskUsage: int +@dataclass(kw_only=True) +class OrgOauthAppAccessApprovedAuditEntry: + """ + OrgOauthAppAccessApprovedAuditEntry - Audit log entry for a org.oauth_app_access_approved event. -class IssueOrPullRequest(GQLObject): - pass + action - The action name -class AEZQX_UserConnection_Field(UserConnection): - """ - AEZQX_UserConnection_Field - The suggested assignees. + actor - The user who initiated the action - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorIp - The IP address of the actor - before - Returns the elements in the list that come before the specified cursor. + actorLocation - A readable representation of the actor's location - first - Returns the first _n_ elements from the list. + actorLogin - The username of the user who initiated the action - last - Returns the last _n_ elements from the list. + actorResourcePath - The HTTP path for the actor. - """ - after: str - before: str - first: int - last: int + actorUrl - The HTTP URL for the actor. - _args: UserConnectionArgs + createdAt - The time the action was initiated + id - The Node ID of the OrgOauthAppAccessApprovedAuditEntry object + oauthApplicationName - The name of the OAuth application. -class CNDRL_LabelConnection_Field(LabelConnection): - """ - CNDRL_LabelConnection_Field - The suggested issue labels + oauthApplicationResourcePath - The HTTP path for the OAuth application - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for labels returned from the connection. + oauthApplicationUrl - The HTTP URL for the OAuth application - after - Returns the elements in the list that come after the specified cursor. + operationType - The corresponding operation type for the action - before - Returns the elements in the list that come before the specified cursor. + organization - The Organization associated with the Audit Entry. - first - Returns the first _n_ elements from the list. + organizationName - The name of the Organization. - last - Returns the last _n_ elements from the list. + organizationResourcePath - The HTTP path for the organization - """ - orderBy: LabelOrder - after: str - before: str - first: int - last: int + organizationUrl - The HTTP URL for the organization - _args: LabelConnectionArgs + user - The user affected by the action + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. -class IssueTemplate(GQLObject): - """ - IssueTemplate - A repository issue template. + userUrl - The HTTP URL for the user. - about - The template purpose. + """ - assignees - The suggested assignees. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - body - The suggested issue body. - filename - The template filename. +@dataclass(kw_only=True) +class OrgOauthAppAccessBlockedAuditEntry: + """ + OrgOauthAppAccessBlockedAuditEntry - Audit log entry for a org.oauth_app_access_blocked event. - labels - The suggested issue labels + action - The action name - name - The template name. + actor - The user who initiated the action - title - The suggested issue title. + actorIp - The IP address of the actor - """ - about: str - assignees: AEZQX_UserConnection_Field - body: str - filename: str - labels: CNDRL_LabelConnection_Field - name: str - title: str + actorLocation - A readable representation of the actor's location -class LanguageEdge(GQLObject): - """ - LanguageEdge - Represents the language of a repository. + actorLogin - The username of the user who initiated the action - size - The number of bytes of code written in the language. + actorResourcePath - The HTTP path for the actor. - """ - cursor: str - node: Language - size: int + actorUrl - The HTTP URL for the actor. -class list_LanguageEdge(list, LanguageEdge): pass + createdAt - The time the action was initiated -class list_Language(list, Language): pass + id - The Node ID of the OrgOauthAppAccessBlockedAuditEntry object -class LanguageConnection(GQLObject): - """ - LanguageConnection - A list of languages associated with the parent. + oauthApplicationName - The name of the OAuth application. - edges - A list of edges. + oauthApplicationResourcePath - The HTTP path for the OAuth application - nodes - A list of nodes. + oauthApplicationUrl - The HTTP URL for the OAuth application - pageInfo - Information to aid in pagination. + operationType - The corresponding operation type for the action - totalCount - Identifies the total count of items in the connection. + organization - The Organization associated with the Audit Entry. - totalSize - The total size in bytes of files written in that language. + organizationName - The name of the Organization. - """ - edges: list_LanguageEdge[LanguageEdge] - nodes: list_Language[Language] - pageInfo: PageInfo - totalCount: int - totalSize: int + organizationResourcePath - The HTTP path for the organization -class ReleaseAsset(GQLObject): - """ - ReleaseAsset - A release asset contains the content for a release asset. + organizationUrl - The HTTP URL for the organization - contentType - The asset's content-type + user - The user affected by the action - createdAt - Identifies the date and time when the object was created. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - downloadCount - The number of times this asset was downloaded + userResourcePath - The HTTP path for the user. - downloadUrl - Identifies the URL where you can download the release asset via the browser. + userUrl - The HTTP URL for the user. - name - Identifies the title of the release asset. + """ - release - Release that the asset is associated with + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - size - The size (in bytes) of the asset - updatedAt - Identifies the date and time when the object was last updated. +@dataclass(kw_only=True) +class OrgOauthAppAccessDeniedAuditEntry: + """ + OrgOauthAppAccessDeniedAuditEntry - Audit log entry for a org.oauth_app_access_denied event. - uploadedBy - The user that performed the upload + action - The action name - url - Identifies the URL of the release asset. + actor - The user who initiated the action - """ - contentType: str - createdAt: DateTime - downloadCount: int - downloadUrl: URI - id: ID - name: str - release: NewType('Release', GQLObject) ## Circular Reference for Release - size: int - updatedAt: DateTime - uploadedBy: NewType('User', GQLObject) ## Circular Reference for User - url: URI + actorIp - The IP address of the actor -class ReleaseAssetEdge(GQLObject): - """ - ReleaseAssetEdge - An edge in a connection. + actorLocation - A readable representation of the actor's location - cursor - A cursor for use in pagination. + actorLogin - The username of the user who initiated the action - node - The item at the end of the edge. + actorResourcePath - The HTTP path for the actor. - """ - cursor: str - node: ReleaseAsset + actorUrl - The HTTP URL for the actor. -class list_ReleaseAssetEdge(list, ReleaseAssetEdge): pass + createdAt - The time the action was initiated -class list_ReleaseAsset(list, ReleaseAsset): pass + id - The Node ID of the OrgOauthAppAccessDeniedAuditEntry object -class ReleaseAssetConnection(GQLObject): - """ - ReleaseAssetConnection - The connection type for ReleaseAsset. + oauthApplicationName - The name of the OAuth application. - edges - A list of edges. + oauthApplicationResourcePath - The HTTP path for the OAuth application - nodes - A list of nodes. + oauthApplicationUrl - The HTTP URL for the OAuth application - pageInfo - Information to aid in pagination. + operationType - The corresponding operation type for the action - totalCount - Identifies the total count of items in the connection. + organization - The Organization associated with the Audit Entry. - """ - edges: list_ReleaseAssetEdge[ReleaseAssetEdge] - nodes: list_ReleaseAsset[ReleaseAsset] - pageInfo: PageInfo - totalCount: int + organizationName - The name of the Organization. -class MQLHD_UserConnection_Field(UserConnection): - """ - MQLHD_UserConnection_Field - A list of users mentioned in the release description + organizationResourcePath - The HTTP path for the organization - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationUrl - The HTTP URL for the organization - before - Returns the elements in the list that come before the specified cursor. + user - The user affected by the action - first - Returns the first _n_ elements from the list. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - last - Returns the last _n_ elements from the list. + userResourcePath - The HTTP path for the user. - """ - after: str - before: str - first: int - last: int + userUrl - The HTTP URL for the user. - _args: UserConnectionArgs + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class SLZMV_ReactionConnection_Field(ReactionConnection): - """ - SLZMV_ReactionConnection_Field - A list of Reactions left on the Issue. +@dataclass(kw_only=True) +class OrgOauthAppAccessRequestedAuditEntry: + """ + OrgOauthAppAccessRequestedAuditEntry - Audit log entry for a org.oauth_app_access_requested event. - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + action - The action name - before - Returns the elements in the list that come before the specified cursor. + actor - The user who initiated the action - first - Returns the first _n_ elements from the list. + actorIp - The IP address of the actor - last - Returns the last _n_ elements from the list. + actorLocation - A readable representation of the actor's location - content - Allows filtering Reactions by emoji. + actorLogin - The username of the user who initiated the action - orderBy - Allows specifying the order in which reactions are returned. + actorResourcePath - The HTTP path for the actor. - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + actorUrl - The HTTP URL for the actor. - _args: ReactionConnectionArgs + createdAt - The time the action was initiated + id - The Node ID of the OrgOauthAppAccessRequestedAuditEntry object + oauthApplicationName - The name of the OAuth application. -class JYQVI_ReleaseAssetConnection_Field(ReleaseAssetConnection): - """ - JYQVI_ReleaseAssetConnection_Field - List of releases assets which are dependent on this release. + oauthApplicationResourcePath - The HTTP path for the OAuth application - """ - class ReleaseAssetConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + oauthApplicationUrl - The HTTP URL for the OAuth application - before - Returns the elements in the list that come before the specified cursor. + operationType - The corresponding operation type for the action - first - Returns the first _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - last - Returns the last _n_ elements from the list. + organizationName - The name of the Organization. - name - A list of names to filter the assets by. + organizationResourcePath - The HTTP path for the organization - """ - after: str - before: str - first: int - last: int - name: str + organizationUrl - The HTTP URL for the organization - _args: ReleaseAssetConnectionArgs + user - The user affected by the action + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. -class Release(GQLObject): - """ - Release - A release contains the content for a release. + userUrl - The HTTP URL for the user. - author - The author of the release + """ - createdAt - Identifies the date and time when the object was created. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - databaseId - Identifies the primary key from the database. - description - The description of the release. +@dataclass(kw_only=True) +class OrgOauthAppAccessUnblockedAuditEntry: + """ + OrgOauthAppAccessUnblockedAuditEntry - Audit log entry for a org.oauth_app_access_unblocked event. - descriptionHTML - The description of this release rendered to HTML. + action - The action name - isDraft - Whether or not the release is a draft + actor - The user who initiated the action - isLatest - Whether or not the release is the latest releast + actorIp - The IP address of the actor - isPrerelease - Whether or not the release is a prerelease + actorLocation - A readable representation of the actor's location - mentions - A list of users mentioned in the release description + actorLogin - The username of the user who initiated the action - name - The title of the release. + actorResourcePath - The HTTP path for the actor. - publishedAt - Identifies the date and time when the release was created. + actorUrl - The HTTP URL for the actor. - reactionGroups - A list of reactions grouped by content left on the subject. + createdAt - The time the action was initiated - reactions - A list of Reactions left on the Issue. + id - The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object - releaseAssets - List of releases assets which are dependent on this release. + oauthApplicationName - The name of the OAuth application. - repository - The repository that the release belongs to. + oauthApplicationResourcePath - The HTTP path for the OAuth application - resourcePath - The HTTP path for this issue + oauthApplicationUrl - The HTTP URL for the OAuth application - shortDescriptionHTML - A description of the release, rendered to HTML without any links in it. + operationType - The corresponding operation type for the action - tag - The Git tag the release points to + organization - The Organization associated with the Audit Entry. - tagCommit - The tag commit for this release. + organizationName - The name of the Organization. - tagName - The name of the release's Git tag + organizationResourcePath - The HTTP path for the organization - updatedAt - Identifies the date and time when the object was last updated. + organizationUrl - The HTTP URL for the organization - url - The HTTP URL for this issue + user - The user affected by the action - viewerCanReact - Can user react to this subject + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - author: NewType('User', GQLObject) ## Circular Reference for User - createdAt: DateTime - databaseId: int - description: str - descriptionHTML: HTML - id: ID - isDraft: bool - isLatest: bool - isPrerelease: bool - mentions: MQLHD_UserConnection_Field - name: str - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: SLZMV_ReactionConnection_Field - releaseAssets: JYQVI_ReleaseAssetConnection_Field - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - shortDescriptionHTML: HMPMH_HTML_Field - tag: NewType('Ref', GQLObject) ## Circular Reference for Ref - tagCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - tagName: str - updatedAt: DateTime - url: URI - viewerCanReact: bool + userResourcePath - The HTTP path for the user. -class list_LicenseRule(list, LicenseRule): pass + userUrl - The HTTP URL for the user. -class License(GQLObject): - """ - License - A repository's open source license + """ - body - The full text of the license + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - conditions - The conditions set by the license - description - A human-readable description of the license +@dataclass(kw_only=True) +class OrgRemoveBillingManagerAuditEntry: + """ + OrgRemoveBillingManagerAuditEntry - Audit log entry for a org.remove_billing_manager event. - featured - Whether the license should be featured + action - The action name - hidden - Whether the license should be displayed in license pickers + actor - The user who initiated the action - implementation - Instructions on how to implement the license + actorIp - The IP address of the actor - key - The lowercased SPDX ID of the license + actorLocation - A readable representation of the actor's location - limitations - The limitations set by the license + actorLogin - The username of the user who initiated the action - name - The license full name specified by + actorResourcePath - The HTTP path for the actor. - nickname - Customary short name if applicable (e.g, GPLv3) + actorUrl - The HTTP URL for the actor. - permissions - The permissions set by the license + createdAt - The time the action was initiated - pseudoLicense - Whether the license is a pseudo-license placeholder (e.g., other, no-license) + id - The Node ID of the OrgRemoveBillingManagerAuditEntry object - spdxId - Short identifier specified by + operationType - The corresponding operation type for the action - url - URL to the license on + organization - The Organization associated with the Audit Entry. - """ - body: str - conditions: list_LicenseRule[LicenseRule] - description: str - featured: bool - hidden: bool - id: ID - implementation: str - key: str - limitations: list_LicenseRule[LicenseRule] - name: str - nickname: str - permissions: list_LicenseRule[LicenseRule] - pseudoLicense: bool - spdxId: str - url: URI + organizationName - The name of the Organization. -class MergeQueueEntry(GQLObject): - """ - MergeQueueEntry - Entries in a MergeQueue + organizationResourcePath - The HTTP path for the organization - baseCommit - The base commit for this entry + organizationUrl - The HTTP URL for the organization - enqueuedAt - The date and time this entry was added to the merge queue + reason - The reason for the billing manager being removed. - enqueuer - The actor that enqueued this entry + user - The user affected by the action - estimatedTimeToMerge - The estimated time in seconds until this entry will be merged + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - headCommit - The head commit for this entry + userResourcePath - The HTTP path for the user. - jump - Whether this pull request should jump the queue + userUrl - The HTTP URL for the user. - mergeQueue - The merge queue that this entry belongs to + """ - position - The position of this entry in the queue + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + reason: Optional[OrgRemoveBillingManagerAuditEntryReason] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - pullRequest - The pull request that will be added to a merge group - solo - Does this pull request need to be deployed on its own +@dataclass(kw_only=True) +class OrgRemoveMemberAuditEntry: + """ + OrgRemoveMemberAuditEntry - Audit log entry for a org.remove_member event. - state - The state of this entry in the queue + action - The action name - """ - baseCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - enqueuedAt: DateTime - enqueuer: Actor - estimatedTimeToMerge: int - headCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - jump: bool - mergeQueue: NewType('MergeQueue', GQLObject) ## Circular Reference for MergeQueue - position: int - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - solo: bool - state: MergeQueueEntryState + actor - The user who initiated the action -class MergeQueueEntryEdge(GQLObject): - """ - MergeQueueEntryEdge - An edge in a connection. + actorIp - The IP address of the actor - cursor - A cursor for use in pagination. + actorLocation - A readable representation of the actor's location - node - The item at the end of the edge. + actorLogin - The username of the user who initiated the action - """ - cursor: str - node: MergeQueueEntry + actorResourcePath - The HTTP path for the actor. -class list_MergeQueueEntryEdge(list, MergeQueueEntryEdge): pass + actorUrl - The HTTP URL for the actor. -class list_MergeQueueEntry(list, MergeQueueEntry): pass + createdAt - The time the action was initiated -class MergeQueueEntryConnection(GQLObject): - """ - MergeQueueEntryConnection - The connection type for MergeQueueEntry. + id - The Node ID of the OrgRemoveMemberAuditEntry object - edges - A list of edges. + membershipTypes - The types of membership the member has with the organization. - nodes - A list of nodes. + operationType - The corresponding operation type for the action - pageInfo - Information to aid in pagination. + organization - The Organization associated with the Audit Entry. - totalCount - Identifies the total count of items in the connection. + organizationName - The name of the Organization. - """ - edges: list_MergeQueueEntryEdge[MergeQueueEntryEdge] - nodes: list_MergeQueueEntry[MergeQueueEntry] - pageInfo: PageInfo - totalCount: int + organizationResourcePath - The HTTP path for the organization -class UKSGV_MergeQueueEntryConnection_Field(MergeQueueEntryConnection): - """ - UKSGV_MergeQueueEntryConnection_Field - The entries in the queue + organizationUrl - The HTTP URL for the organization - """ - class MergeQueueEntryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + reason - The reason for the member being removed. - before - Returns the elements in the list that come before the specified cursor. + user - The user affected by the action - first - Returns the first _n_ elements from the list. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - last - Returns the last _n_ elements from the list. + userResourcePath - The HTTP path for the user. - """ - after: str - before: str - first: int - last: int + userUrl - The HTTP URL for the user. - _args: MergeQueueEntryConnectionArgs + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + membership_types: Optional[list[OrgRemoveMemberAuditEntryMembershipType]] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + reason: Optional[OrgRemoveMemberAuditEntryReason] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class MergeQueue(GQLObject): - """ - MergeQueue - The queue of pull request entries to be merged into a protected branch in a repository. +@dataclass(kw_only=True) +class OrgRemoveOutsideCollaboratorAuditEntry: + """ + OrgRemoveOutsideCollaboratorAuditEntry - Audit log entry for a org.remove_outside_collaborator event. - configuration - The configuration for this merge queue + action - The action name - entries - The entries in the queue + actor - The user who initiated the action - nextEntryEstimatedTimeToMerge - The estimated time in seconds until a newly added entry would be merged + actorIp - The IP address of the actor - repository - The repository this merge queue belongs to + actorLocation - A readable representation of the actor's location - resourcePath - The HTTP path for this merge queue + actorLogin - The username of the user who initiated the action - url - The HTTP URL for this merge queue + actorResourcePath - The HTTP path for the actor. - """ - configuration: MergeQueueConfiguration - entries: UKSGV_MergeQueueEntryConnection_Field - id: ID - nextEntryEstimatedTimeToMerge: int - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - url: URI + actorUrl - The HTTP URL for the actor. -class IJOPF_IssueConnection_Field(IssueConnection): - """ - IJOPF_IssueConnection_Field - A list of issues associated with the milestone. + createdAt - The time the action was initiated - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issues returned from the connection. + id - The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object - labels - A list of label names to filter the pull requests by. + membershipTypes - The types of membership the outside collaborator has with the organization. - states - A list of states to filter the issues by. + operationType - The corresponding operation type for the action - filterBy - Filtering options for issues returned from the connection. + organization - The Organization associated with the Audit Entry. - after - Returns the elements in the list that come after the specified cursor. + organizationName - The name of the Organization. - before - Returns the elements in the list that come before the specified cursor. + organizationResourcePath - The HTTP path for the organization - first - Returns the first _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - last - Returns the last _n_ elements from the list. + reason - The reason for the outside collaborator being removed from the Organization. - """ - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int + user - The user affected by the action - _args: IssueConnectionArgs + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. -class OMTWM_PullRequestConnection_Field(Generic[PullRequestConnection]): - """ - OMTWM_PullRequestConnection_Field - A list of pull requests associated with the milestone. + """ - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - states - A list of states to filter the pull requests by. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + membership_types: Optional[ + list[OrgRemoveOutsideCollaboratorAuditEntryMembershipType] + ] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + reason: Optional[OrgRemoveOutsideCollaboratorAuditEntryReason] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - labels - A list of label names to filter the pull requests by. - headRefName - The head ref name to filter the pull requests by. +@dataclass(kw_only=True) +class OrgRestoreMemberMembershipOrganizationAuditEntryData: + """ + OrgRestoreMemberMembershipOrganizationAuditEntryData - Metadata for an organization membership for org.restore_member actions - baseRefName - The base ref name to filter the pull requests by. + organization - The Organization associated with the Audit Entry. - orderBy - Ordering options for pull requests returned from the connection. + organizationName - The name of the Organization. - after - Returns the elements in the list that come after the specified cursor. + organizationResourcePath - The HTTP path for the organization - before - Returns the elements in the list that come before the specified cursor. + organizationUrl - The HTTP URL for the organization - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None - """ - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int - _args: PullRequestConnectionArgs +@dataclass(kw_only=True) +class BranchProtectionRuleEdge: + """ + BranchProtectionRuleEdge - An edge in a connection. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class Milestone(GQLObject): - """ - Milestone - Represents a Milestone object on a given repository. + """ - closed - Indicates if the object is closed (definition of closed may depend on type) + cursor: str + node: Optional[BranchProtectionRule] = None - closedAt - Identifies the date and time when the object was closed. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class BranchProtectionRuleConnection: + """ + BranchProtectionRuleConnection - The connection type for BranchProtectionRule. - creator - Identifies the actor who created the milestone. + edges - A list of edges. - description - Identifies the description of the milestone. + nodes - A list of nodes. - dueOn - Identifies the due date of the milestone. + pageInfo - Information to aid in pagination. - issues - A list of issues associated with the milestone. + totalCount - Identifies the total count of items in the connection. - number - Identifies the number of the milestone. + """ - progressPercentage - Identifies the percentage complete for the milestone + edges: Optional[list[BranchProtectionRuleEdge]] = None + nodes: Optional[list[BranchProtectionRule]] = None + page_info: PageInfo + total_count: int - pullRequests - A list of pull requests associated with the milestone. - repository - The repository associated with this milestone. +@dataclass(kw_only=True) +class RepositoryCodeowners: + """ + RepositoryCodeowners - Information extracted from a repository's `CODEOWNERS` file. - resourcePath - The HTTP path for this milestone + errors - Any problems that were encountered while parsing the `CODEOWNERS` file. - state - Identifies the state of the milestone. + """ - title - Identifies the title of the milestone. + errors: list[RepositoryCodeownersError] - updatedAt - Identifies the date and time when the object was last updated. - url - The HTTP URL for this milestone +@dataclass(kw_only=True) +class TeamEdge: + """ + TeamEdge - An edge in a connection. - viewerCanClose - Indicates if the object can be closed by the viewer. + cursor - A cursor for use in pagination. - viewerCanReopen - Indicates if the object can be reopened by the viewer. + node - The item at the end of the edge. - """ - closed: bool - closedAt: DateTime - createdAt: DateTime - creator: Actor - description: str - dueOn: DateTime - id: ID - issues: IJOPF_IssueConnection_Field - number: int - progressPercentage: float - pullRequests: OMTWM_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - state: MilestoneState - title: str - updatedAt: DateTime - url: URI - viewerCanClose: bool - viewerCanReopen: bool + """ -class MilestoneEdge(GQLObject): - """ - MilestoneEdge - An edge in a connection. + cursor: str + node: Optional[Team] = None - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class TeamConnection: + """ + TeamConnection - The connection type for Team. - """ - cursor: str - node: Milestone + edges - A list of edges. -class list_MilestoneEdge(list, MilestoneEdge): pass + nodes - A list of nodes. -class list_Milestone(list, Milestone): pass + pageInfo - Information to aid in pagination. -class MilestoneConnection(GQLObject): - """ - MilestoneConnection - The connection type for Milestone. + totalCount - Identifies the total count of items in the connection. - edges - A list of edges. + """ - nodes - A list of nodes. + edges: Optional[list[TeamEdge]] = None + nodes: Optional[list[Team]] = None + page_info: PageInfo + total_count: int - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class Mannequin: + """ + Mannequin - A placeholder user for attribution of imported data on GitHub. - """ - edges: list_MilestoneEdge[MilestoneEdge] - nodes: list_Milestone[Milestone] - pageInfo: PageInfo - totalCount: int + avatarUrl - A URL pointing to the GitHub App's public avatar. -class GitObject(GQLObject): - """ - GitObject - Represents a Git object. + claimant - The user that has claimed the data attributed to this mannequin. - abbreviatedOid - An abbreviated version of the Git object ID + createdAt - Identifies the date and time when the object was created. - commitResourcePath - The HTTP path for this Git object + databaseId - Identifies the primary key from the database. - commitUrl - The HTTP URL for this Git object + email - The mannequin's email on the source instance. - oid - The Git object ID + id - The Node ID of the Mannequin object - repository - The Repository the Git object belongs to + login - The username of the actor. - """ - abbreviatedOid: str - commitResourcePath: URI - commitUrl: URI - id: ID - oid: GitObjectID - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository + resourcePath - The HTML path to this resource. -class ZVYKR_RepositoryConnection_Field(RepositoryConnection): - """ - ZVYKR_RepositoryConnection_Field - A list of repositories that the user owns. + updatedAt - Identifies the date and time when the object was last updated. - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy + url - The URL to this resource. - orderBy - Ordering options for repositories returned from the connection + """ - affiliations - Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns. + avatar_url: URI + claimant: Optional[User] = None + created_at: DateTime + database_id: Optional[int] = None + email: Optional[str] = None + id: ID + login: str + resource_path: URI + updated_at: DateTime + url: URI - ownerAffiliations - Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns. - isLocked - If non-null, filters repositories according to whether they have been locked +@dataclass(kw_only=True) +class ReactorEdge: + """ + ReactorEdge - Represents an author of a reaction. - hasIssuesEnabled - If non-null, filters repositories according to whether they have issues enabled + cursor - A cursor for use in pagination. - after - Returns the elements in the list that come after the specified cursor. + node - The author of the reaction. - before - Returns the elements in the list that come before the specified cursor. + reactedAt - The moment when the user made the reaction. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + cursor: str + node: Reactor + reacted_at: DateTime - isArchived - If non-null, filters repositories according to whether they are archived and not maintained - isFork - If non-null, filters repositories according to whether they are forks of another repository +@dataclass(kw_only=True) +class ReactorConnection: + """ + ReactorConnection - The connection type for Reactor. - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - isArchived: bool - isFork: bool + edges - A list of edges. - _args: RepositoryConnectionArgs + nodes - A list of nodes. + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. -class TTIIM_Repository_Field(Generic[Repository]): - """ - TTIIM_Repository_Field - Find Repository. + """ - """ - class RepositoryArgs(GQLArgsSet, GQLObject): - """ - name - Name of Repository to find. + edges: Optional[list[ReactorEdge]] = None + nodes: Optional[list[Reactor]] = None + page_info: PageInfo + total_count: int - followRenames - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - """ - name: NonNull_str - followRenames: bool +@dataclass(kw_only=True) +class Reaction: + """ + Reaction - An emoji reaction to a particular piece of content. - _args: RepositoryArgs + content - Identifies the emoji reaction. + createdAt - Identifies the date and time when the object was created. + databaseId - Identifies the primary key from the database. -class RepositoryOwner(GQLObject): - """ - RepositoryOwner - Represents an owner of a Repository. + id - The Node ID of the Reaction object - avatarUrl - A URL pointing to the owner's public avatar. + reactable - The reactable piece of content - login - The username used to login. + user - Identifies the user who created this reaction. - repositories - A list of repositories that the user owns. + """ - repository - Find Repository. + content: ReactionContent + created_at: DateTime + database_id: Optional[int] = None + id: ID + reactable: Reactable + user: Optional[User] = None - resourcePath - The HTTP URL for the owner. - url - The HTTP URL for the owner. +@dataclass(kw_only=True) +class ReactionEdge: + """ + ReactionEdge - An edge in a connection. - """ - avatarUrl: HKLOV_URI_Field - id: ID - login: str - repositories: ZVYKR_RepositoryConnection_Field - repository: TTIIM_Repository_Field ## Circular Reference for Repository - resourcePath: URI - url: URI + cursor - A cursor for use in pagination. -class PackageFile(GQLObject): - """ - PackageFile - A file in a package version. + node - The item at the end of the edge. - md5 - MD5 hash of the file. + """ - name - Name of the file. + cursor: str + node: Optional[Reaction] = None - packageVersion - The package version this file belongs to. - sha1 - SHA1 hash of the file. +@dataclass(kw_only=True) +class ReactionConnection: + """ + ReactionConnection - A list of reactions that have been left on the subject. - sha256 - SHA256 hash of the file. + edges - A list of edges. - size - Size of the file in bytes. + nodes - A list of nodes. - updatedAt - Identifies the date and time when the object was last updated. + pageInfo - Information to aid in pagination. - url - URL to download the asset. + totalCount - Identifies the total count of items in the connection. - """ - id: ID - md5: str - name: str - packageVersion: NewType('PackageVersion', GQLObject) ## Circular Reference for PackageVersion - sha1: str - sha256: str - size: int - updatedAt: DateTime - url: URI + viewerHasReacted - Whether or not the authenticated user has left a reaction on the subject. -class PackageFileEdge(GQLObject): - """ - PackageFileEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[ReactionEdge]] = None + nodes: Optional[list[Reaction]] = None + page_info: PageInfo + total_count: int + viewer_has_reacted: bool - node - The item at the end of the edge. - """ - cursor: str - node: PackageFile +@dataclass(kw_only=True) +class ReactingUserEdge: + """ + ReactingUserEdge - Represents a user that's made a reaction. -class list_PackageFileEdge(list, PackageFileEdge): pass + cursor - A cursor for use in pagination. -class list_PackageFile(list, PackageFile): pass + reactedAt - The moment when the user made the reaction. -class PackageFileConnection(GQLObject): - """ - PackageFileConnection - The connection type for PackageFile. + """ - edges - A list of edges. + cursor: str + node: User + reacted_at: DateTime - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class ReactingUserConnection: + """ + ReactingUserConnection - The connection type for User. - totalCount - Identifies the total count of items in the connection. + edges - A list of edges. - """ - edges: list_PackageFileEdge[PackageFileEdge] - nodes: list_PackageFile[PackageFile] - pageInfo: PageInfo - totalCount: int + nodes - A list of nodes. -class JGLGY_PackageFileConnection_Field(PackageFileConnection): - """ - JGLGY_PackageFileConnection_Field - List of files associated with this package version + pageInfo - Information to aid in pagination. - """ - class PackageFileConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering of the returned package files. + totalCount - Identifies the total count of items in the connection. - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + edges: Optional[list[ReactingUserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class UserContentEdit: + """ + UserContentEdit - An edit on user content - """ - orderBy: PackageFileOrder - after: str - before: str - first: int - last: int + createdAt - Identifies the date and time when the object was created. - _args: PackageFileConnectionArgs + deletedAt - Identifies the date and time when the object was deleted. + deletedBy - The actor who deleted this content + diff - A summary of the changes for this edit -class PackageVersion(GQLObject): - """ - PackageVersion - Information about a specific package version. + editedAt - When this content was edited - files - List of files associated with this package version + editor - The actor who edited this content - package - The package associated with this version. + id - The Node ID of the UserContentEdit object - platform - The platform this version was built for. + updatedAt - Identifies the date and time when the object was last updated. - preRelease - Whether or not this version is a pre-release. + """ - readme - The README of this package version. + created_at: DateTime + deleted_at: Optional[DateTime] = None + deleted_by: Optional[Actor] = None + diff: Optional[str] = None + edited_at: DateTime + editor: Optional[Actor] = None + id: ID + updated_at: DateTime - release - The release associated with this package version. - statistics - Statistics about package activity. +@dataclass(kw_only=True) +class UserContentEditEdge: + """ + UserContentEditEdge - An edge in a connection. - summary - The package version summary. + cursor - A cursor for use in pagination. - version - The version string. + node - The item at the end of the edge. - """ - files: JGLGY_PackageFileConnection_Field - id: ID - package: NewType('Package', GQLObject) ## Circular Reference for Package - platform: str - preRelease: bool - readme: str - release: Release - statistics: PackageVersionStatistics - summary: str - version: str + """ -class PackageVersionEdge(GQLObject): - """ - PackageVersionEdge - An edge in a connection. + cursor: str + node: Optional[UserContentEdit] = None - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class UserContentEditConnection: + """ + UserContentEditConnection - A list of edits to content. - """ - cursor: str - node: PackageVersion + edges - A list of edges. -class list_PackageVersionEdge(list, PackageVersionEdge): pass + nodes - A list of nodes. -class list_PackageVersion(list, PackageVersion): pass + pageInfo - Information to aid in pagination. -class PackageVersionConnection(GQLObject): - """ - PackageVersionConnection - The connection type for PackageVersion. + totalCount - Identifies the total count of items in the connection. - edges - A list of edges. + """ - nodes - A list of nodes. + edges: Optional[list[UserContentEditEdge]] = None + nodes: Optional[list[UserContentEdit]] = None + page_info: PageInfo + total_count: int - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class TeamDiscussionComment: + """ + TeamDiscussionComment - A comment on a team discussion. - """ - edges: list_PackageVersionEdge[PackageVersionEdge] - nodes: list_PackageVersion[PackageVersion] - pageInfo: PageInfo - totalCount: int + author - The actor who authored the comment. -class PTUWB_PackageVersion_Field(PackageVersion): - """ - PTUWB_PackageVersion_Field - Find package version by version string. + body - The body as Markdown. - """ - class PackageVersionArgs(GQLArgsSet, GQLObject): - """ - version - The package version. + bodyHTML - The body rendered to HTML. - """ - version: NonNull_str + bodyText - The body rendered to text. - _args: PackageVersionArgs + createdAt - Identifies the date and time when the object was created. + createdViaEmail - Check if this comment was created via an email reply. + databaseId - Identifies the primary key from the database. -class SLIIP_PackageVersionConnection_Field(PackageVersionConnection): - """ - SLIIP_PackageVersionConnection_Field - list of versions for this package + editor - The actor who edited the comment. - """ - class PackageVersionConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering of the returned packages. + id - The Node ID of the TeamDiscussionComment object - after - Returns the elements in the list that come after the specified cursor. + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data - before - Returns the elements in the list that come before the specified cursor. + lastEditedAt - The moment the editor made the last edit - first - Returns the first _n_ elements from the list. + publishedAt - Identifies when the comment was published at. - last - Returns the last _n_ elements from the list. + reactionGroups - A list of reactions grouped by content left on the subject. - """ - orderBy: PackageVersionOrder - after: str - before: str - first: int - last: int + reactions - A list of Reactions left on the Issue. - _args: PackageVersionConnectionArgs + updatedAt - Identifies the date and time when the object was last updated. + userContentEdits - A list of edits to this content. + viewerCanDelete - Check if the current viewer can delete this object. -class Package(GQLObject): - """ - Package - Information for an uploaded package. + viewerCanReact - Can user react to this subject - latestVersion - Find the latest version for the package. + viewerCanUpdate - Check if the current viewer can update this object. - name - Identifies the name of the package. + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. - packageType - Identifies the type of the package. + viewerDidAuthor - Did the viewer author this comment. - repository - The repository this package belongs to. + """ - statistics - Statistics about package activity. + author: Optional[Actor] = None + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + last_edited_at: Optional[DateTime] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool - version - Find package version by version string. - versions - list of versions for this package +@dataclass(kw_only=True) +class TeamDiscussionCommentEdge: + """ + TeamDiscussionCommentEdge - An edge in a connection. - """ - id: ID - latestVersion: PackageVersion - name: str - packageType: PackageType - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - statistics: PackageStatistics - version: PTUWB_PackageVersion_Field - versions: SLIIP_PackageVersionConnection_Field + cursor - A cursor for use in pagination. -class PackageEdge(GQLObject): - """ - PackageEdge - An edge in a connection. + node - The item at the end of the edge. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + cursor: str + node: Optional[TeamDiscussionComment] = None - """ - cursor: str - node: Package -class list_PackageEdge(list, PackageEdge): pass +@dataclass(kw_only=True) +class TeamDiscussionCommentConnection: + """ + TeamDiscussionCommentConnection - The connection type for TeamDiscussionComment. -class list_Package(list, Package): pass + edges - A list of edges. -class PackageConnection(GQLObject): - """ - PackageConnection - The connection type for Package. + nodes - A list of nodes. - edges - A list of edges. + pageInfo - Information to aid in pagination. - nodes - A list of nodes. + totalCount - Identifies the total count of items in the connection. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + edges: Optional[list[TeamDiscussionCommentEdge]] = None + nodes: Optional[list[TeamDiscussionComment]] = None + page_info: PageInfo + total_count: int - """ - edges: list_PackageEdge[PackageEdge] - nodes: list_Package[Package] - pageInfo: PageInfo - totalCount: int -class PinnedDiscussion(GQLObject): - """ - PinnedDiscussion - A Pinned Discussion is a discussion pinned to a repository's index page. +@dataclass(kw_only=True) +class TeamDiscussionEdge: + """ + TeamDiscussionEdge - An edge in a connection. - createdAt - Identifies the date and time when the object was created. + cursor - A cursor for use in pagination. - databaseId - Identifies the primary key from the database. + node - The item at the end of the edge. - discussion - The discussion that was pinned. + """ - gradientStopColors - Color stops of the chosen gradient + cursor: str + node: Optional[TeamDiscussion] = None - pattern - Background texture pattern - pinnedBy - The actor that pinned this discussion. +@dataclass(kw_only=True) +class TeamDiscussionConnection: + """ + TeamDiscussionConnection - The connection type for TeamDiscussion. - preconfiguredGradient - Preconfigured background gradient option + edges - A list of edges. - repository - The repository associated with this node. + nodes - A list of nodes. - updatedAt - Identifies the date and time when the object was last updated. + pageInfo - Information to aid in pagination. - """ - createdAt: DateTime - databaseId: int - discussion: Discussion - gradientStopColors: list[str] - id: ID - pattern: PinnedDiscussionPattern - pinnedBy: Actor - preconfiguredGradient: PinnedDiscussionGradient - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - updatedAt: DateTime + totalCount - Identifies the total count of items in the connection. -class PinnedDiscussionEdge(GQLObject): - """ - PinnedDiscussionEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[TeamDiscussionEdge]] = None + nodes: Optional[list[TeamDiscussion]] = None + page_info: PageInfo + total_count: int - node - The item at the end of the edge. - """ - cursor: str - node: PinnedDiscussion +@dataclass(kw_only=True) +class OrganizationInvitationEdge: + """ + OrganizationInvitationEdge - An edge in a connection. -class list_PinnedDiscussionEdge(list, PinnedDiscussionEdge): pass + cursor - A cursor for use in pagination. -class list_PinnedDiscussion(list, PinnedDiscussion): pass + node - The item at the end of the edge. -class PinnedDiscussionConnection(GQLObject): - """ - PinnedDiscussionConnection - The connection type for PinnedDiscussion. + """ - edges - A list of edges. + cursor: str + node: Optional[OrganizationInvitation] = None - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class OrganizationInvitationConnection: + """ + OrganizationInvitationConnection - The connection type for OrganizationInvitation. - totalCount - Identifies the total count of items in the connection. + edges - A list of edges. - """ - edges: list_PinnedDiscussionEdge[PinnedDiscussionEdge] - nodes: list_PinnedDiscussion[PinnedDiscussion] - pageInfo: PageInfo - totalCount: int + nodes - A list of nodes. -class PinnedIssue(GQLObject): - """ - PinnedIssue - A Pinned Issue is a issue pinned to a repository's index page. + pageInfo - Information to aid in pagination. - databaseId - Identifies the primary key from the database. + totalCount - Identifies the total count of items in the connection. - fullDatabaseId - Identifies the primary key from the database as a BigInt. + """ - issue - The issue that was pinned. + edges: Optional[list[OrganizationInvitationEdge]] = None + nodes: Optional[list[OrganizationInvitation]] = None + page_info: PageInfo + total_count: int - pinnedBy - The actor that pinned this issue. - repository - The repository that this issue was pinned to. +@dataclass(kw_only=True) +class UserStatus: + """ + UserStatus - The user's description of what they're currently doing. - """ - databaseId: int - fullDatabaseId: BigInt - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - pinnedBy: Actor - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository + createdAt - Identifies the date and time when the object was created. -class PinnedIssueEdge(GQLObject): - """ - PinnedIssueEdge - An edge in a connection. + emoji - An emoji summarizing the user's status. - cursor - A cursor for use in pagination. + emojiHTML - The status emoji as HTML. - node - The item at the end of the edge. + expiresAt - If set, the status will not be shown after this date. - """ - cursor: str - node: PinnedIssue + id - The Node ID of the UserStatus object -class list_PinnedIssueEdge(list, PinnedIssueEdge): pass + indicatesLimitedAvailability - Whether this status indicates the user is not fully available on GitHub. -class list_PinnedIssue(list, PinnedIssue): pass + message - A brief message describing what the user is doing. -class PinnedIssueConnection(GQLObject): - """ - PinnedIssueConnection - The connection type for PinnedIssue. + organization - The organization whose members can see this status. If null, this status is publicly visible. - edges - A list of edges. + updatedAt - Identifies the date and time when the object was last updated. - nodes - A list of nodes. + user - The user who has this status. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + created_at: DateTime + emoji: Optional[str] = None + emoji_h_t_m_l: Optional[HTML] = None + expires_at: Optional[DateTime] = None + id: ID + indicates_limited_availability: bool + message: Optional[str] = None + organization: Optional[Organization] = None + updated_at: DateTime + user: User - """ - edges: list_PinnedIssueEdge[PinnedIssueEdge] - nodes: list_PinnedIssue[PinnedIssue] - pageInfo: PageInfo - totalCount: int -class ProjectCardItem(GQLObject): - pass +@dataclass(kw_only=True) +class UserStatusEdge: + """ + UserStatusEdge - An edge in a connection. -class ProjectCard(GQLObject): - """ - ProjectCard - A card in a project. + cursor - A cursor for use in pagination. - column - The project column this card is associated under. A card may only belong to one -project column at a time. The column field will be null if the card is created -in a pending state and has yet to be associated with a column. Once cards are -associated with a column, they will not become pending in the future. + node - The item at the end of the edge. + """ - content - The card content item + cursor: str + node: Optional[UserStatus] = None - createdAt - Identifies the date and time when the object was created. - creator - The actor who created this card +@dataclass(kw_only=True) +class UserStatusConnection: + """ + UserStatusConnection - The connection type for UserStatus. - databaseId - Identifies the primary key from the database. + edges - A list of edges. - isArchived - Whether the card is archived + nodes - A list of nodes. - note - The card note + pageInfo - Information to aid in pagination. - project - The project that contains this card. + totalCount - Identifies the total count of items in the connection. - resourcePath - The HTTP path for this card + """ - state - The state of ProjectCard + edges: Optional[list[UserStatusEdge]] = None + nodes: Optional[list[UserStatus]] = None + page_info: PageInfo + total_count: int - updatedAt - Identifies the date and time when the object was last updated. - url - The HTTP URL for this card +@dataclass(kw_only=True) +class TeamMemberEdge: + """ + TeamMemberEdge - Represents a user who is a member of a team. - """ - column: NewType('ProjectColumn', GQLObject) ## Circular Reference for ProjectColumn - content: ProjectCardItem - createdAt: DateTime - creator: Actor - databaseId: int - id: ID - isArchived: bool - note: str - project: NewType('Project', GQLObject) ## Circular Reference for Project - resourcePath: URI - state: ProjectCardState - updatedAt: DateTime - url: URI + cursor - A cursor for use in pagination. -class ProjectCardEdge(GQLObject): - """ - ProjectCardEdge - An edge in a connection. + memberAccessResourcePath - The HTTP path to the organization's member access page. - cursor - A cursor for use in pagination. + memberAccessUrl - The HTTP URL to the organization's member access page. - node - The item at the end of the edge. + role - The role the member has on the team. - """ - cursor: str - node: ProjectCard + """ -class list_ProjectCardEdge(list, ProjectCardEdge): pass + cursor: str + member_access_resource_path: URI + member_access_url: URI + node: User + role: TeamMemberRole -class list_ProjectCard(list, ProjectCard): pass -class ProjectCardConnection(GQLObject): - """ - ProjectCardConnection - The connection type for ProjectCard. +@dataclass(kw_only=True) +class TeamMemberConnection: + """ + TeamMemberConnection - The connection type for User. - edges - A list of edges. + edges - A list of edges. - nodes - A list of nodes. + nodes - A list of nodes. - pageInfo - Information to aid in pagination. + pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. + totalCount - Identifies the total count of items in the connection. - """ - edges: list_ProjectCardEdge[ProjectCardEdge] - nodes: list_ProjectCard[ProjectCard] - pageInfo: PageInfo - totalCount: int + """ -class BPDTG_ProjectCardConnection_Field(ProjectCardConnection): - """ - BPDTG_ProjectCardConnection_Field - List of cards in the column + edges: Optional[list[TeamMemberEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - """ - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class ProjectV2Field: + """ + ProjectV2Field - A field inside a project. - first - Returns the first _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - last - Returns the last _n_ elements from the list. + dataType - The field's type. - archivedStates - A list of archived states to filter the cards by + databaseId - Identifies the primary key from the database. - """ - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] + id - The Node ID of the ProjectV2Field object - _args: ProjectCardConnectionArgs + name - The project field's name. + project - The project that contains this field. + updatedAt - Identifies the date and time when the object was last updated. -class ProjectColumn(GQLObject): - """ - ProjectColumn - A column inside a project. + """ - cards - List of cards in the column + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + project: ProjectV2 + updated_at: DateTime - createdAt - Identifies the date and time when the object was created. - databaseId - Identifies the primary key from the database. +@dataclass(kw_only=True) +class ProjectV2IterationFieldConfiguration: + """ + ProjectV2IterationFieldConfiguration - Iteration field configuration for a project. - name - The project column's name. + completedIterations - The iteration's completed iterations - project - The project that contains this column. + duration - The iteration's duration in days - purpose - The semantic purpose of the column + iterations - The iteration's iterations - resourcePath - The HTTP path for this project column + startDay - The iteration's start day of the week - updatedAt - Identifies the date and time when the object was last updated. + """ - url - The HTTP URL for this project column + completed_iterations: list[ProjectV2IterationFieldIteration] + duration: int + iterations: list[ProjectV2IterationFieldIteration] + start_day: int - """ - cards: BPDTG_ProjectCardConnection_Field - createdAt: DateTime - databaseId: int - id: ID - name: str - project: NewType('Project', GQLObject) ## Circular Reference for Project - purpose: ProjectColumnPurpose - resourcePath: URI - updatedAt: DateTime - url: URI -class ProjectColumnEdge(GQLObject): - """ - ProjectColumnEdge - An edge in a connection. +@dataclass(kw_only=True) +class ProjectV2IterationField: + """ + ProjectV2IterationField - An iteration field inside a project. - cursor - A cursor for use in pagination. + configuration - Iteration configuration settings - node - The item at the end of the edge. + createdAt - Identifies the date and time when the object was created. - """ - cursor: str - node: ProjectColumn + dataType - The field's type. -class list_ProjectColumnEdge(list, ProjectColumnEdge): pass + databaseId - Identifies the primary key from the database. -class list_ProjectColumn(list, ProjectColumn): pass + id - The Node ID of the ProjectV2IterationField object -class ProjectColumnConnection(GQLObject): - """ - ProjectColumnConnection - The connection type for ProjectColumn. + name - The project field's name. - edges - A list of edges. + project - The project that contains this field. - nodes - A list of nodes. + updatedAt - Identifies the date and time when the object was last updated. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + configuration: ProjectV2IterationFieldConfiguration + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + project: ProjectV2 + updated_at: DateTime - """ - edges: list_ProjectColumnEdge[ProjectColumnEdge] - nodes: list_ProjectColumn[ProjectColumn] - pageInfo: PageInfo - totalCount: int -class ProjectEdge(GQLObject): - """ - ProjectEdge - An edge in a connection. +@dataclass(kw_only=True) +class ProjectV2SingleSelectField: + """ + ProjectV2SingleSelectField - A single select field inside a project. - cursor - A cursor for use in pagination. + createdAt - Identifies the date and time when the object was created. - node - The item at the end of the edge. + dataType - The field's type. - """ - cursor: str - node: NewType('Project', GQLObject) ## Circular Reference for Project + databaseId - Identifies the primary key from the database. -class list_ProjectEdge(list, ProjectEdge): pass + id - The Node ID of the ProjectV2SingleSelectField object -class ProjectConnection(GQLObject): - """ - ProjectConnection - A list of projects associated with the owner. + name - The project field's name. - edges - A list of edges. + options - Options for the single select field - nodes - A list of nodes. + project - The project that contains this field. - pageInfo - Information to aid in pagination. + updatedAt - Identifies the date and time when the object was last updated. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_ProjectEdge[ProjectEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Project - pageInfo: PageInfo - totalCount: int + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + options: list[ProjectV2SingleSelectFieldOption] + project: ProjectV2 + updated_at: DateTime -class PZMLO_Project_Field(Generic[Project]): - """ - PZMLO_Project_Field - Find project by number. - """ - class ProjectArgs(GQLArgsSet, GQLObject): - """ - number - The project number to find. +@dataclass(kw_only=True) +class ProjectV2FieldConfigurationEdge: + """ + ProjectV2FieldConfigurationEdge - An edge in a connection. - """ - number: NonNull_int + cursor - A cursor for use in pagination. - _args: ProjectArgs + node - The item at the end of the edge. + """ + cursor: str + node: Optional[ProjectV2FieldConfiguration] = None -class NonNull_ProjectState(GQLObject): pass -class ZOICX_ProjectConnection_Field(ProjectConnection): - """ - ZOICX_ProjectConnection_Field - A list of projects under the owner. +@dataclass(kw_only=True) +class ProjectV2FieldConfigurationConnection: + """ + ProjectV2FieldConfigurationConnection - The connection type for ProjectV2FieldConfiguration. - """ - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for projects returned from the connection + edges - A list of edges. - search - Query to search projects by, currently only searching by name. + nodes - A list of nodes. - states - A list of states to filter the projects by. + pageInfo - Information to aid in pagination. - after - Returns the elements in the list that come after the specified cursor. + totalCount - Identifies the total count of items in the connection. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + edges: Optional[list[ProjectV2FieldConfigurationEdge]] = None + nodes: Optional[list[ProjectV2FieldConfiguration]] = None + page_info: PageInfo + total_count: int - last - Returns the last _n_ elements from the list. - """ - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class ProjectV2Edge: + """ + ProjectV2Edge - An edge in a connection. - _args: ProjectConnectionArgs + cursor - A cursor for use in pagination. + node - The item at the end of the edge. + """ -class ProjectOwner(GQLObject): - """ - ProjectOwner - Represents an owner of a Project. + cursor: str + node: Optional[ProjectV2] = None - project - Find project by number. - projects - A list of projects under the owner. +@dataclass(kw_only=True) +class ProjectV2Connection: + """ + ProjectV2Connection - The connection type for ProjectV2. - projectsResourcePath - The HTTP path listing owners projects + edges - A list of edges. - projectsUrl - The HTTP URL listing owners projects + nodes - A list of nodes. - viewerCanCreateProjects - Can the current viewer create new projects on this owner. + pageInfo - Information to aid in pagination. - """ - id: ID - project: PZMLO_Project_Field ## Circular Reference for Project - projects: ZOICX_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - viewerCanCreateProjects: bool + totalCount - Identifies the total count of items in the connection. -class OSOIW_ProjectColumnConnection_Field(ProjectColumnConnection): - """ - OSOIW_ProjectColumnConnection_Field - List of columns in the project + """ - """ - class ProjectColumnConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + edges: Optional[list[ProjectV2Edge]] = None + nodes: Optional[list[ProjectV2]] = None + page_info: PageInfo + total_count: int - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class DraftIssue: + """ + DraftIssue - A draft issue within a project. - last - Returns the last _n_ elements from the list. + assignees - A list of users to assigned to this draft issue. - """ - after: str - before: str - first: int - last: int + body - The body of the draft issue. - _args: ProjectColumnConnectionArgs + bodyHTML - The body of the draft issue rendered to HTML. + bodyText - The body of the draft issue rendered to text. + createdAt - Identifies the date and time when the object was created. -class BTREI_ProjectCardConnection_Field(ProjectCardConnection): - """ - BTREI_ProjectCardConnection_Field - List of pending cards in this project + creator - The actor who created this draft issue. - """ - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the DraftIssue object - before - Returns the elements in the list that come before the specified cursor. + projectV2Items - List of items linked with the draft issue (currently draft issue can be linked to only one item). - first - Returns the first _n_ elements from the list. + projectsV2 - Projects that link to this draft issue (currently draft issue can be linked to only one project). - last - Returns the last _n_ elements from the list. + title - The title of the draft issue - archivedStates - A list of archived states to filter the cards by + updatedAt - Identifies the date and time when the object was last updated. - """ - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] + """ - _args: ProjectCardConnectionArgs + assignees: UserConnection + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + creator: Optional[Actor] = None + id: ID + project_v2_items: ProjectV2ItemConnection + projects_v2: ProjectV2Connection + title: str + updated_at: DateTime +@dataclass(kw_only=True) +class ProjectV2ItemFieldDateValue: + """ + ProjectV2ItemFieldDateValue - The value of a date field in a Project item. -class Project(GQLObject): - """ - Project - Projects manage issues, pull requests and notes within a project owner. + createdAt - Identifies the date and time when the object was created. - body - The project's description body. + creator - The actor who created the item. - bodyHTML - The projects description body rendered to HTML. + databaseId - Identifies the primary key from the database. - closed - Indicates if the object is closed (definition of closed may depend on type) + date - Date value for the field - closedAt - Identifies the date and time when the object was closed. + field - The project field that contains this value. - columns - List of columns in the project + id - The Node ID of the ProjectV2ItemFieldDateValue object - createdAt - Identifies the date and time when the object was created. + item - The project item that contains this value. - creator - The actor who originally created the project. + updatedAt - Identifies the date and time when the object was last updated. - databaseId - Identifies the primary key from the database. + """ - name - The project's name. + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + date: Optional[Date] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + updated_at: DateTime - number - The project's number. - owner - The project's owner. Currently limited to repositories, organizations, and users. +@dataclass(kw_only=True) +class ProjectV2ItemFieldIterationValue: + """ + ProjectV2ItemFieldIterationValue - The value of an iteration field in a Project item. - pendingCards - List of pending cards in this project + createdAt - Identifies the date and time when the object was created. - progress - Project progress details. + creator - The actor who created the item. - resourcePath - The HTTP path for this project + databaseId - Identifies the primary key from the database. - state - Whether the project is open or closed. + duration - The duration of the iteration in days. - updatedAt - Identifies the date and time when the object was last updated. + field - The project field that contains this value. - url - The HTTP URL for this project + id - The Node ID of the ProjectV2ItemFieldIterationValue object - viewerCanClose - Indicates if the object can be closed by the viewer. + item - The project item that contains this value. - viewerCanReopen - Indicates if the object can be reopened by the viewer. + iterationId - The ID of the iteration. - viewerCanUpdate - Check if the current viewer can update this object. + startDate - The start date of the iteration. - """ - body: str - bodyHTML: HTML - closed: bool - closedAt: DateTime - columns: OSOIW_ProjectColumnConnection_Field - createdAt: DateTime - creator: Actor - databaseId: int - id: ID - name: str - number: int - owner: ProjectOwner - pendingCards: BTREI_ProjectCardConnection_Field - progress: ProjectProgress - resourcePath: URI - state: ProjectState - updatedAt: DateTime - url: URI - viewerCanClose: bool - viewerCanReopen: bool - viewerCanUpdate: bool + title - The title of the iteration. -class PullRequestTemplate(GQLObject): - """ - PullRequestTemplate - A repository pull request template. + titleHTML - The title of the iteration, with HTML. - body - The body of the template + updatedAt - Identifies the date and time when the object was last updated. - filename - The filename of the template + """ - repository - The repository the template belongs to + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + duration: int + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + iteration_id: str + start_date: Date + title: str + title_h_t_m_l: str + updated_at: DateTime - """ - body: str - filename: str - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository -class RefEdge(GQLObject): - """ - RefEdge - An edge in a connection. +@dataclass(kw_only=True) +class IssueEdge: + """ + IssueEdge - An edge in a connection. - cursor - A cursor for use in pagination. + cursor - A cursor for use in pagination. - node - The item at the end of the edge. + node - The item at the end of the edge. - """ - cursor: str - node: NewType('Ref', GQLObject) ## Circular Reference for Ref + """ -class list_RefEdge(list, RefEdge): pass + cursor: str + node: Optional[Issue] = None -class RefConnection(GQLObject): - """ - RefConnection - The connection type for Ref. - edges - A list of edges. +@dataclass(kw_only=True) +class IssueConnection: + """ + IssueConnection - The connection type for Issue. - nodes - A list of nodes. + edges - A list of edges. - pageInfo - Information to aid in pagination. + nodes - A list of nodes. - totalCount - Identifies the total count of items in the connection. + pageInfo - Information to aid in pagination. - """ - edges: list_RefEdge[RefEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Ref - pageInfo: PageInfo - totalCount: int + totalCount - Identifies the total count of items in the connection. -class ReleaseEdge(GQLObject): - """ - ReleaseEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[IssueEdge]] = None + nodes: Optional[list[Issue]] = None + page_info: PageInfo + total_count: int - node - The item at the end of the edge. - """ - cursor: str - node: Release +@dataclass(kw_only=True) +class Label: + """ + Label - A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. -class list_ReleaseEdge(list, ReleaseEdge): pass + color - Identifies the label color. -class list_Release(list, Release): pass + createdAt - Identifies the date and time when the label was created. -class ReleaseConnection(GQLObject): - """ - ReleaseConnection - The connection type for Release. + description - A brief description of this label. - edges - A list of edges. + id - The Node ID of the Label object - nodes - A list of nodes. + isDefault - Indicates whether or not this is a default label. - pageInfo - Information to aid in pagination. + issues - A list of issues associated with this label. - totalCount - Identifies the total count of items in the connection. + name - Identifies the label name. - """ - edges: list_ReleaseEdge[ReleaseEdge] - nodes: list_Release[Release] - pageInfo: PageInfo - totalCount: int + pullRequests - A list of pull requests associated with this label. -class StargazerEdge(GQLObject): - """ - StargazerEdge - Represents a user that's starred a repository. + repository - The repository associated with this label. - cursor - A cursor for use in pagination. + resourcePath - The HTTP path for this label. - starredAt - Identifies when the item was starred. + updatedAt - Identifies the date and time when the label was last updated. - """ - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - starredAt: DateTime + url - The HTTP URL for this label. -class list_StargazerEdge(list, StargazerEdge): pass + """ -class StargazerConnection(GQLObject): - """ - StargazerConnection - The connection type for User. + color: str + created_at: Optional[DateTime] = None + description: Optional[str] = None + id: ID + is_default: bool + issues: IssueConnection + name: str + pull_requests: PullRequestConnection + repository: Repository + resource_path: URI + updated_at: Optional[DateTime] = None + url: URI - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class LabelEdge: + """ + LabelEdge - An edge in a connection. - pageInfo - Information to aid in pagination. + cursor - A cursor for use in pagination. - totalCount - Identifies the total count of items in the connection. + node - The item at the end of the edge. - """ - edges: list_StargazerEdge[StargazerEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + """ -class NXQOS_Topic_Field(Generic[Topic]): - """ - NXQOS_Topic_Field - A list of related topics, including aliases of this topic, sorted with the most relevant -first. Returns up to 10 Topics. + cursor: str + node: Optional[Label] = None - """ - class TopicArgs(GQLArgsSet, GQLObject): - """ - first - How many topics to return. +@dataclass(kw_only=True) +class LabelConnection: + """ + LabelConnection - The connection type for Label. - """ - first: int + edges - A list of edges. - _args: TopicArgs + nodes - A list of nodes. + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. -class MIJHF_RepositoryConnection_Field(RepositoryConnection): - """ - MIJHF_RepositoryConnection_Field - A list of repositories. + """ - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy + edges: Optional[list[LabelEdge]] = None + nodes: Optional[list[Label]] = None + page_info: PageInfo + total_count: int - orderBy - Ordering options for repositories returned from the connection - affiliations - Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns. +@dataclass(kw_only=True) +class ProjectV2ItemFieldLabelValue: + """ + ProjectV2ItemFieldLabelValue - The value of the labels field in a Project item. - ownerAffiliations - Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns. + field - The field that contains this value. - isLocked - If non-null, filters repositories according to whether they have been locked + labels - Labels value of a field - hasIssuesEnabled - If non-null, filters repositories according to whether they have issues enabled + """ - after - Returns the elements in the list that come after the specified cursor. + field: ProjectV2FieldConfiguration + labels: Optional[LabelConnection] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class Milestone: + """ + Milestone - Represents a Milestone object on a given repository. - last - Returns the last _n_ elements from the list. + closed - Indicates if the object is closed (definition of closed may depend on type) - sponsorableOnly - If true, only repositories whose owner can be sponsored via GitHub Sponsors will be returned. + closedAt - Identifies the date and time when the object was closed. - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - sponsorableOnly: bool + createdAt - Identifies the date and time when the object was created. - _args: RepositoryConnectionArgs + creator - Identifies the actor who created the milestone. + description - Identifies the description of the milestone. + dueOn - Identifies the due date of the milestone. -class MXVJD_StargazerConnection_Field(StargazerConnection): - """ - MXVJD_StargazerConnection_Field - A list of users who have starred this starrable. + id - The Node ID of the Milestone object - """ - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + issues - A list of issues associated with the milestone. - before - Returns the elements in the list that come before the specified cursor. + number - Identifies the number of the milestone. - first - Returns the first _n_ elements from the list. + progressPercentage - Identifies the percentage complete for the milestone - last - Returns the last _n_ elements from the list. + pullRequests - A list of pull requests associated with the milestone. - orderBy - Order for connection + repository - The repository associated with this milestone. - """ - after: str - before: str - first: int - last: int - orderBy: StarOrder + resourcePath - The HTTP path for this milestone - _args: StargazerConnectionArgs + state - Identifies the state of the milestone. + title - Identifies the title of the milestone. + updatedAt - Identifies the date and time when the object was last updated. -class Topic(GQLObject): - """ - Topic - A topic aggregates entities that are related to a subject. + url - The HTTP URL for this milestone - name - The topic's name. + viewerCanClose - Indicates if the object can be closed by the viewer. - relatedTopics - A list of related topics, including aliases of this topic, sorted with the most relevant -first. Returns up to 10 Topics. + viewerCanReopen - Indicates if the object can be reopened by the viewer. + """ - repositories - A list of repositories. + closed: bool + closed_at: Optional[DateTime] = None + created_at: DateTime + creator: Optional[Actor] = None + description: Optional[str] = None + due_on: Optional[DateTime] = None + id: ID + issues: IssueConnection + number: int + progress_percentage: float + pull_requests: PullRequestConnection + repository: Repository + resource_path: URI + state: MilestoneState + title: str + updated_at: DateTime + url: URI + viewer_can_close: bool + viewer_can_reopen: bool - stargazerCount - Returns a count of how many stargazers there are on this object +@dataclass(kw_only=True) +class ProjectV2ItemFieldMilestoneValue: + """ + ProjectV2ItemFieldMilestoneValue - The value of a milestone field in a Project item. - stargazers - A list of users who have starred this starrable. + field - The field that contains this value. - viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + milestone - Milestone value of a field - """ - id: ID - name: str - relatedTopics: NXQOS_Topic_Field ## Circular Reference for Topic - repositories: MIJHF_RepositoryConnection_Field - stargazerCount: int - stargazers: MXVJD_StargazerConnection_Field - viewerHasStarred: bool + """ -class RepositoryTopic(GQLObject): - """ - RepositoryTopic - A repository-topic connects a repository to a topic. + field: ProjectV2FieldConfiguration + milestone: Optional[Milestone] = None - resourcePath - The HTTP path for this repository-topic. - topic - The topic. +@dataclass(kw_only=True) +class ProjectV2ItemFieldNumberValue: + """ + ProjectV2ItemFieldNumberValue - The value of a number field in a Project item. - url - The HTTP URL for this repository-topic. + createdAt - Identifies the date and time when the object was created. - """ - id: ID - resourcePath: URI - topic: Topic - url: URI + creator - The actor who created the item. -class RepositoryTopicEdge(GQLObject): - """ - RepositoryTopicEdge - An edge in a connection. + databaseId - Identifies the primary key from the database. - cursor - A cursor for use in pagination. + field - The project field that contains this value. - node - The item at the end of the edge. + id - The Node ID of the ProjectV2ItemFieldNumberValue object - """ - cursor: str - node: RepositoryTopic + item - The project item that contains this value. -class list_RepositoryTopicEdge(list, RepositoryTopicEdge): pass + number - Number as a float(8) -class list_RepositoryTopic(list, RepositoryTopic): pass + updatedAt - Identifies the date and time when the object was last updated. -class RepositoryTopicConnection(GQLObject): - """ - RepositoryTopicConnection - The connection type for RepositoryTopic. + """ - edges - A list of edges. + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + number: Optional[float] = None + updated_at: DateTime - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class ProjectV2ItemFieldPullRequestValue: + """ + ProjectV2ItemFieldPullRequestValue - The value of a pull request field in a Project item. - totalCount - Identifies the total count of items in the connection. + field - The field that contains this value. - """ - edges: list_RepositoryTopicEdge[RepositoryTopicEdge] - nodes: list_RepositoryTopic[RepositoryTopic] - pageInfo: PageInfo - totalCount: int + pullRequests - The pull requests for this field -class BypassActor(GQLObject): - pass + """ -class RepositoryRulesetBypassActor(GQLObject): - """ - RepositoryRulesetBypassActor - A team or app that has the ability to bypass a rules defined on a ruleset + field: ProjectV2FieldConfiguration + pull_requests: Optional[PullRequestConnection] = None - actor - The actor that can bypass rules. - bypassMode - The mode for the bypass actor +@dataclass(kw_only=True) +class ProjectV2ItemFieldRepositoryValue: + """ + ProjectV2ItemFieldRepositoryValue - The value of a repository field in a Project item. - organizationAdmin - This actor represents the ability for an organization admin to bypass + field - The field that contains this value. - repositoryRoleDatabaseId - If the actor is a repository role, the repository role's ID that can bypass + repository - The repository for this field. - repositoryRoleName - If the actor is a repository role, the repository role's name that can bypass + """ - repositoryRuleset - Identifies the ruleset associated with the allowed actor + field: ProjectV2FieldConfiguration + repository: Optional[Repository] = None - """ - actor: BypassActor - bypassMode: RepositoryRulesetBypassActorBypassMode - id: ID - organizationAdmin: bool - repositoryRoleDatabaseId: int - repositoryRoleName: str - repositoryRuleset: NewType('RepositoryRuleset', GQLObject) ## Circular Reference for RepositoryRuleset -class RepositoryRulesetBypassActorEdge(GQLObject): - """ - RepositoryRulesetBypassActorEdge - An edge in a connection. +@dataclass(kw_only=True) +class RequestedReviewerEdge: + """ + RequestedReviewerEdge - An edge in a connection. - cursor - A cursor for use in pagination. + cursor - A cursor for use in pagination. - node - The item at the end of the edge. + node - The item at the end of the edge. - """ - cursor: str - node: RepositoryRulesetBypassActor + """ -class list_RepositoryRulesetBypassActorEdge(list, RepositoryRulesetBypassActorEdge): pass + cursor: str + node: Optional[RequestedReviewer] = None -class list_RepositoryRulesetBypassActor(list, RepositoryRulesetBypassActor): pass -class RepositoryRulesetBypassActorConnection(GQLObject): - """ - RepositoryRulesetBypassActorConnection - The connection type for RepositoryRulesetBypassActor. +@dataclass(kw_only=True) +class RequestedReviewerConnection: + """ + RequestedReviewerConnection - The connection type for RequestedReviewer. - edges - A list of edges. + edges - A list of edges. - nodes - A list of nodes. + nodes - A list of nodes. - pageInfo - Information to aid in pagination. + pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. + totalCount - Identifies the total count of items in the connection. - """ - edges: list_RepositoryRulesetBypassActorEdge[RepositoryRulesetBypassActorEdge] - nodes: list_RepositoryRulesetBypassActor[RepositoryRulesetBypassActor] - pageInfo: PageInfo - totalCount: int + """ -class RepositoryRuleConditions(GQLObject): - """ - RepositoryRuleConditions - Set of conditions that determine if a ruleset will evaluate + edges: Optional[list[RequestedReviewerEdge]] = None + nodes: Optional[list[RequestedReviewer]] = None + page_info: PageInfo + total_count: int - refName - Configuration for the ref_name condition - repositoryId - Configuration for the repository_id condition +@dataclass(kw_only=True) +class ProjectV2ItemFieldReviewerValue: + """ + ProjectV2ItemFieldReviewerValue - The value of a reviewers field in a Project item. - repositoryName - Configuration for the repository_name condition + field - The field that contains this value. - """ - refName: RefNameConditionTarget - repositoryId: RepositoryIdConditionTarget - repositoryName: RepositoryNameConditionTarget + reviewers - The reviewers for this field. -class list_StatusCheckConfiguration(list, StatusCheckConfiguration): pass + """ -class RequiredStatusChecksParameters(GQLObject): - """ - RequiredStatusChecksParameters - Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. + field: ProjectV2FieldConfiguration + reviewers: Optional[RequestedReviewerConnection] = None - requiredStatusChecks - Status checks that are required. - strictRequiredStatusChecksPolicy - Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. +@dataclass(kw_only=True) +class ProjectV2ItemFieldSingleSelectValue: + """ + ProjectV2ItemFieldSingleSelectValue - The value of a single select field in a Project item. - """ - requiredStatusChecks: list_StatusCheckConfiguration[StatusCheckConfiguration] - strictRequiredStatusChecksPolicy: bool + color - The color applied to the selected single-select option. -class RuleParameters(GQLObject): - pass + createdAt - Identifies the date and time when the object was created. -class RepositoryRule(GQLObject): - """ - RepositoryRule - A repository rule. + creator - The actor who created the item. - parameters - The parameters for this rule. + databaseId - Identifies the primary key from the database. - type - The type of rule. + description - A plain-text description of the selected single-select option, such as what the option means. - """ - id: ID - parameters: RuleParameters - type: RepositoryRuleType + descriptionHTML - The description of the selected single-select option, including HTML tags. -class RepositoryRuleEdge(GQLObject): - """ - RepositoryRuleEdge - An edge in a connection. + field - The project field that contains this value. - cursor - A cursor for use in pagination. + id - The Node ID of the ProjectV2ItemFieldSingleSelectValue object - node - The item at the end of the edge. + item - The project item that contains this value. - """ - cursor: str - node: RepositoryRule + name - The name of the selected single select option. -class list_RepositoryRuleEdge(list, RepositoryRuleEdge): pass + nameHTML - The html name of the selected single select option. -class list_RepositoryRule(list, RepositoryRule): pass + optionId - The id of the selected single select option. -class RepositoryRuleConnection(GQLObject): - """ - RepositoryRuleConnection - The connection type for RepositoryRule. + updatedAt - Identifies the date and time when the object was last updated. - edges - A list of edges. + """ - nodes - A list of nodes. + color: ProjectV2SingleSelectFieldOptionColor + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: Optional[str] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + name: Optional[str] = None + name_h_t_m_l: Optional[str] = None + option_id: Optional[str] = None + updated_at: DateTime - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class ProjectV2ItemFieldTextValue: + """ + ProjectV2ItemFieldTextValue - The value of a text field in a Project item. - """ - edges: list_RepositoryRuleEdge[RepositoryRuleEdge] - nodes: list_RepositoryRule[RepositoryRule] - pageInfo: PageInfo - totalCount: int + createdAt - Identifies the date and time when the object was created. -class RuleSource(GQLObject): - pass + creator - The actor who created the item. -class ZXIBA_RepositoryRulesetBypassActorConnection_Field(RepositoryRulesetBypassActorConnection): - """ - ZXIBA_RepositoryRulesetBypassActorConnection_Field - The actors that can bypass this ruleset + databaseId - Identifies the primary key from the database. - """ - class RepositoryRulesetBypassActorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + field - The project field that contains this value. - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the ProjectV2ItemFieldTextValue object - first - Returns the first _n_ elements from the list. + item - The project item that contains this value. - last - Returns the last _n_ elements from the list. + text - Text value of a field - """ - after: str - before: str - first: int - last: int + updatedAt - Identifies the date and time when the object was last updated. - _args: RepositoryRulesetBypassActorConnectionArgs + """ + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + text: Optional[str] = None + updated_at: DateTime -class XIKJG_RepositoryRuleConnection_Field(RepositoryRuleConnection): - """ - XIKJG_RepositoryRuleConnection_Field - List of rules. +@dataclass(kw_only=True) +class ProjectV2ItemFieldUserValue: + """ + ProjectV2ItemFieldUserValue - The value of a user field in a Project item. - """ - class RepositoryRuleConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + field - The field that contains this value. - before - Returns the elements in the list that come before the specified cursor. + users - The users for this field - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + field: ProjectV2FieldConfiguration + users: Optional[UserConnection] = None - type - The type of rule. - """ - after: str - before: str - first: int - last: int - type: RepositoryRuleType +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueEdge: + """ + ProjectV2ItemFieldValueEdge - An edge in a connection. - _args: RepositoryRuleConnectionArgs + cursor - A cursor for use in pagination. + node - The item at the end of the edge. + """ -class RepositoryRuleset(GQLObject): - """ - RepositoryRuleset - A repository ruleset. + cursor: str + node: Optional[ProjectV2ItemFieldValue] = None - bypassActors - The actors that can bypass this ruleset - conditions - The set of conditions that must evaluate to true for this ruleset to apply +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueConnection: + """ + ProjectV2ItemFieldValueConnection - The connection type for ProjectV2ItemFieldValue. - createdAt - Identifies the date and time when the object was created. + edges - A list of edges. - databaseId - Identifies the primary key from the database. + nodes - A list of nodes. - enforcement - The enforcement level of this ruleset + pageInfo - Information to aid in pagination. - name - Name of the ruleset. + totalCount - Identifies the total count of items in the connection. - rules - List of rules. + """ - source - Source of ruleset. + edges: Optional[list[ProjectV2ItemFieldValueEdge]] = None + nodes: Optional[list[ProjectV2ItemFieldValue]] = None + page_info: PageInfo + total_count: int - target - Target of the ruleset. - updatedAt - Identifies the date and time when the object was last updated. +@dataclass(kw_only=True) +class ProjectV2ItemEdge: + """ + ProjectV2ItemEdge - An edge in a connection. - """ - bypassActors: ZXIBA_RepositoryRulesetBypassActorConnection_Field - conditions: RepositoryRuleConditions - createdAt: DateTime - databaseId: int - enforcement: RuleEnforcement - id: ID - name: str - rules: XIKJG_RepositoryRuleConnection_Field - source: RuleSource - target: RepositoryRulesetTarget - updatedAt: DateTime + cursor - A cursor for use in pagination. -class RepositoryRulesetEdge(GQLObject): - """ - RepositoryRulesetEdge - An edge in a connection. + node - The item at the end of the edge. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + cursor: str + node: Optional[ProjectV2Item] = None - """ - cursor: str - node: RepositoryRuleset -class list_RepositoryRulesetEdge(list, RepositoryRulesetEdge): pass +@dataclass(kw_only=True) +class ProjectV2Owner: + """ + ProjectV2Owner - Represents an owner of a project. -class list_RepositoryRuleset(list, RepositoryRuleset): pass + id - The Node ID of the ProjectV2Owner object -class RepositoryRulesetConnection(GQLObject): - """ - RepositoryRulesetConnection - The connection type for RepositoryRuleset. + projectV2 - Find a project by number. - edges - A list of edges. + projectsV2 - A list of projects under the owner. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + id: ID + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection - totalCount - Identifies the total count of items in the connection. - """ - edges: list_RepositoryRulesetEdge[RepositoryRulesetEdge] - nodes: list_RepositoryRuleset[RepositoryRuleset] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class RepositoryEdge: + """ + RepositoryEdge - An edge in a connection. -class SubmoduleEdge(GQLObject): - """ - SubmoduleEdge - An edge in a connection. + cursor - A cursor for use in pagination. - cursor - A cursor for use in pagination. + node - The item at the end of the edge. - node - The item at the end of the edge. + """ - """ - cursor: str - node: Submodule + cursor: str + node: Optional[Repository] = None -class list_SubmoduleEdge(list, SubmoduleEdge): pass -class list_Submodule(list, Submodule): pass +@dataclass(kw_only=True) +class RepositoryConnection: + """ + RepositoryConnection - A list of repositories owned by the subject. -class SubmoduleConnection(GQLObject): - """ - SubmoduleConnection - The connection type for Submodule. + edges - A list of edges. - edges - A list of edges. + nodes - A list of nodes. - nodes - A list of nodes. + pageInfo - Information to aid in pagination. - pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. - totalCount - Identifies the total count of items in the connection. + totalDiskUsage - The total size in kilobytes of all repositories in the connection. Value will + never be larger than max 32-bit signed integer. - """ - edges: list_SubmoduleEdge[SubmoduleEdge] - nodes: list_Submodule[Submodule] - pageInfo: PageInfo - totalCount: int + """ -class DependabotUpdate(GQLObject): - """ - DependabotUpdate - A Dependabot Update for a dependency in a repository + edges: Optional[list[RepositoryEdge]] = None + nodes: Optional[list[Repository]] = None + page_info: PageInfo + total_count: int + total_disk_usage: int - error - The error from a dependency update - pullRequest - The associated pull request +@dataclass(kw_only=True) +class ProjectV2FieldEdge: + """ + ProjectV2FieldEdge - An edge in a connection. - repository - The repository associated with this node. + cursor - A cursor for use in pagination. - """ - error: DependabotUpdateError - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository + node - The item at the end of the edge. -class CWEEdge(GQLObject): - """ - CWEEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + cursor: str + node: Optional[ProjectV2Field] = None - node - The item at the end of the edge. - """ - cursor: str - node: CWE +@dataclass(kw_only=True) +class ProjectV2FieldConnection: + """ + ProjectV2FieldConnection - The connection type for ProjectV2Field. -class list_CWEEdge(list, CWEEdge): pass + edges - A list of edges. -class list_CWE(list, CWE): pass + nodes - A list of nodes. -class CWEConnection(GQLObject): - """ - CWEConnection - The connection type for CWE. + pageInfo - Information to aid in pagination. - edges - A list of edges. + totalCount - Identifies the total count of items in the connection. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + edges: Optional[list[ProjectV2FieldEdge]] = None + nodes: Optional[list[ProjectV2Field]] = None + page_info: PageInfo + total_count: int - totalCount - Identifies the total count of items in the connection. - """ - edges: list_CWEEdge[CWEEdge] - nodes: list_CWE[CWE] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class ProjectV2SortBy: + """ + ProjectV2SortBy - Represents a sort by field and direction. -class SecurityVulnerability(GQLObject): - """ - SecurityVulnerability - An individual vulnerability within an Advisory + direction - The direction of the sorting. Possible values are ASC and DESC. - advisory - The Advisory associated with this Vulnerability + field - The field by which items are sorted. - firstPatchedVersion - The first version containing a fix for the vulnerability + """ - package - A description of the vulnerable package + direction: OrderDirection + field: ProjectV2Field - severity - The severity of the vulnerability within this package - updatedAt - When the vulnerability was last updated +@dataclass(kw_only=True) +class ProjectV2SortByEdge: + """ + ProjectV2SortByEdge - An edge in a connection. - vulnerableVersionRange - A string that describes the vulnerable package versions. -This string follows a basic syntax with a few forms. -+ `= 0.2.0` denotes a single vulnerable version. -+ `<= 1.0.8` denotes a version range up to and including the specified version -+ `< 0.1.11` denotes a version range up to, but excluding, the specified version -+ `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version. -+ `>= 0.0.1` denotes a version range with a known minimum, but no known maximum + cursor - A cursor for use in pagination. + node - The item at the end of the edge. - """ - advisory: NewType('SecurityAdvisory', GQLObject) ## Circular Reference for SecurityAdvisory - firstPatchedVersion: SecurityAdvisoryPackageVersion - package: SecurityAdvisoryPackage - severity: SecurityAdvisorySeverity - updatedAt: DateTime - vulnerableVersionRange: str + """ -class SecurityVulnerabilityEdge(GQLObject): - """ - SecurityVulnerabilityEdge - An edge in a connection. + cursor: str + node: Optional[ProjectV2SortBy] = None - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class ProjectV2SortByConnection: + """ + ProjectV2SortByConnection - The connection type for ProjectV2SortBy. - """ - cursor: str - node: SecurityVulnerability + edges - A list of edges. -class list_SecurityVulnerabilityEdge(list, SecurityVulnerabilityEdge): pass + nodes - A list of nodes. -class list_SecurityVulnerability(list, SecurityVulnerability): pass + pageInfo - Information to aid in pagination. -class SecurityVulnerabilityConnection(GQLObject): - """ - SecurityVulnerabilityConnection - The connection type for SecurityVulnerability. + totalCount - Identifies the total count of items in the connection. - edges - A list of edges. + """ - nodes - A list of nodes. + edges: Optional[list[ProjectV2SortByEdge]] = None + nodes: Optional[list[ProjectV2SortBy]] = None + page_info: PageInfo + total_count: int - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class ProjectV2SortByField: + """ + ProjectV2SortByField - Represents a sort by field and direction. - """ - edges: list_SecurityVulnerabilityEdge[SecurityVulnerabilityEdge] - nodes: list_SecurityVulnerability[SecurityVulnerability] - pageInfo: PageInfo - totalCount: int + direction - The direction of the sorting. Possible values are ASC and DESC. -class HWFEY_CWEConnection_Field(CWEConnection): - """ - HWFEY_CWEConnection_Field - CWEs associated with this Advisory + field - The field by which items are sorted. - """ - class CWEConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + direction: OrderDirection + field: ProjectV2FieldConfiguration - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class ProjectV2SortByFieldEdge: + """ + ProjectV2SortByFieldEdge - An edge in a connection. - """ - after: str - before: str - first: int - last: int + cursor - A cursor for use in pagination. - _args: CWEConnectionArgs + node - The item at the end of the edge. + """ + cursor: str + node: Optional[ProjectV2SortByField] = None -class list_SecurityAdvisoryIdentifier(list, SecurityAdvisoryIdentifier): pass -class list_SecurityAdvisoryReference(list, SecurityAdvisoryReference): pass +@dataclass(kw_only=True) +class ProjectV2SortByFieldConnection: + """ + ProjectV2SortByFieldConnection - The connection type for ProjectV2SortByField. -class NonNull_SecurityAdvisorySeverity(GQLObject): pass + edges - A list of edges. -class NonNull_SecurityAdvisoryClassification(GQLObject): pass + nodes - A list of nodes. -class VVSGZ_SecurityVulnerabilityConnection_Field(SecurityVulnerabilityConnection): - """ - VVSGZ_SecurityVulnerabilityConnection_Field - Vulnerabilities associated with this Advisory + pageInfo - Information to aid in pagination. - """ - class SecurityVulnerabilityConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for the returned topics. + totalCount - Identifies the total count of items in the connection. - ecosystem - An ecosystem to filter vulnerabilities by. + """ - package - A package name to filter vulnerabilities by. + edges: Optional[list[ProjectV2SortByFieldEdge]] = None + nodes: Optional[list[ProjectV2SortByField]] = None + page_info: PageInfo + total_count: int - severities - A list of severities to filter vulnerabilities by. - classifications - A list of advisory classifications to filter vulnerabilities by. +@dataclass(kw_only=True) +class ProjectV2View: + """ + ProjectV2View - A view within a ProjectV2. - after - Returns the elements in the list that come after the specified cursor. + createdAt - Identifies the date and time when the object was created. - before - Returns the elements in the list that come before the specified cursor. + databaseId - Identifies the primary key from the database. - first - Returns the first _n_ elements from the list. + fields - The view's visible fields. - last - Returns the last _n_ elements from the list. + filter - The project view's filter. - """ - orderBy: SecurityVulnerabilityOrder - ecosystem: SecurityAdvisoryEcosystem - package: str - severities: list[NonNull_SecurityAdvisorySeverity] - classifications: list[NonNull_SecurityAdvisoryClassification] - after: str - before: str - first: int - last: int + groupByFields - The view's group-by field. - _args: SecurityVulnerabilityConnectionArgs + id - The Node ID of the ProjectV2View object + layout - The project view's layout. + name - The project view's name. -class SecurityAdvisory(GQLObject): - """ - SecurityAdvisory - A GitHub Security Advisory + number - The project view's number. - classification - The classification of the advisory + project - The project that contains this view. - cvss - The CVSS associated with this advisory + sortByFields - The view's sort-by config. - cwes - CWEs associated with this Advisory + updatedAt - Identifies the date and time when the object was last updated. - databaseId - Identifies the primary key from the database. + verticalGroupByFields - The view's vertical-group-by field. - description - This is a long plaintext description of the advisory + """ - ghsaId - The GitHub Security Advisory ID + created_at: DateTime + database_id: Optional[int] = None + fields: Optional[ProjectV2FieldConfigurationConnection] = None + filter: Optional[str] = None + group_by_fields: Optional[ProjectV2FieldConfigurationConnection] = None + id: ID + layout: ProjectV2ViewLayout + name: str + number: int + project: ProjectV2 + sort_by_fields: Optional[ProjectV2SortByFieldConnection] = None + updated_at: DateTime + vertical_group_by_fields: Optional[ProjectV2FieldConfigurationConnection] = None - identifiers - A list of identifiers for this advisory - notificationsPermalink - The permalink for the advisory's dependabot alerts page +@dataclass(kw_only=True) +class ProjectV2ViewEdge: + """ + ProjectV2ViewEdge - An edge in a connection. - origin - The organization that originated the advisory + cursor - A cursor for use in pagination. - permalink - The permalink for the advisory + node - The item at the end of the edge. - publishedAt - When the advisory was published + """ - references - A list of references for this advisory + cursor: str + node: Optional[ProjectV2View] = None - severity - The severity of the advisory - summary - A short plaintext summary of the advisory +@dataclass(kw_only=True) +class ProjectV2ViewConnection: + """ + ProjectV2ViewConnection - The connection type for ProjectV2View. - updatedAt - When the advisory was last updated + edges - A list of edges. - vulnerabilities - Vulnerabilities associated with this Advisory + nodes - A list of nodes. - withdrawnAt - When the advisory was withdrawn, if it has been withdrawn + pageInfo - Information to aid in pagination. - """ - classification: SecurityAdvisoryClassification - cvss: CVSS - cwes: HWFEY_CWEConnection_Field - databaseId: int - description: str - ghsaId: str - id: ID - identifiers: list_SecurityAdvisoryIdentifier[SecurityAdvisoryIdentifier] - notificationsPermalink: URI - origin: str - permalink: URI - publishedAt: DateTime - references: list_SecurityAdvisoryReference[SecurityAdvisoryReference] - severity: SecurityAdvisorySeverity - summary: str - updatedAt: DateTime - vulnerabilities: VVSGZ_SecurityVulnerabilityConnection_Field - withdrawnAt: DateTime + totalCount - Identifies the total count of items in the connection. -class RepositoryVulnerabilityAlert(GQLObject): - """ - RepositoryVulnerabilityAlert - A Dependabot alert for a repository with a dependency affected by a security vulnerability. + """ - autoDismissedAt - When was the alert auto-dismissed? + edges: Optional[list[ProjectV2ViewEdge]] = None + nodes: Optional[list[ProjectV2View]] = None + page_info: PageInfo + total_count: int - createdAt - When was the alert created? - dependabotUpdate - The associated Dependabot update +@dataclass(kw_only=True) +class ProjectV2Workflow: + """ + ProjectV2Workflow - A workflow inside a project. - dependencyScope - The scope of an alert's dependency + createdAt - Identifies the date and time when the object was created. - dismissComment - Comment explaining the reason the alert was dismissed + databaseId - Identifies the primary key from the database. - dismissReason - The reason the alert was dismissed + enabled - Whether the workflow is enabled. - dismissedAt - When was the alert dismissed? + id - The Node ID of the ProjectV2Workflow object - dismisser - The user who dismissed the alert + name - The name of the workflow. - fixedAt - When was the alert fixed? + number - The number of the workflow. - number - Identifies the alert number. + project - The project that contains this workflow. - repository - The associated repository + updatedAt - Identifies the date and time when the object was last updated. - securityAdvisory - The associated security advisory + """ - securityVulnerability - The associated security vulnerability + created_at: DateTime + database_id: Optional[int] = None + enabled: bool + id: ID + name: str + number: int + project: ProjectV2 + updated_at: DateTime - state - Identifies the state of the alert. - vulnerableManifestFilename - The vulnerable manifest filename +@dataclass(kw_only=True) +class ProjectV2WorkflowEdge: + """ + ProjectV2WorkflowEdge - An edge in a connection. - vulnerableManifestPath - The vulnerable manifest path + cursor - A cursor for use in pagination. - vulnerableRequirements - The vulnerable requirements + node - The item at the end of the edge. - """ - autoDismissedAt: DateTime - createdAt: DateTime - dependabotUpdate: DependabotUpdate - dependencyScope: RepositoryVulnerabilityAlertDependencyScope - dismissComment: str - dismissReason: str - dismissedAt: DateTime - dismisser: NewType('User', GQLObject) ## Circular Reference for User - fixedAt: DateTime - id: ID - number: int - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - securityAdvisory: SecurityAdvisory - securityVulnerability: SecurityVulnerability - state: RepositoryVulnerabilityAlertState - vulnerableManifestFilename: str - vulnerableManifestPath: str - vulnerableRequirements: str + """ -class RepositoryVulnerabilityAlertEdge(GQLObject): - """ - RepositoryVulnerabilityAlertEdge - An edge in a connection. + cursor: str + node: Optional[ProjectV2Workflow] = None - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class ProjectV2WorkflowConnection: + """ + ProjectV2WorkflowConnection - The connection type for ProjectV2Workflow. - """ - cursor: str - node: RepositoryVulnerabilityAlert + edges - A list of edges. -class list_RepositoryVulnerabilityAlertEdge(list, RepositoryVulnerabilityAlertEdge): pass + nodes - A list of nodes. -class list_RepositoryVulnerabilityAlert(list, RepositoryVulnerabilityAlert): pass + pageInfo - Information to aid in pagination. -class RepositoryVulnerabilityAlertConnection(GQLObject): - """ - RepositoryVulnerabilityAlertConnection - The connection type for RepositoryVulnerabilityAlert. + totalCount - Identifies the total count of items in the connection. - edges - A list of edges. + """ - nodes - A list of nodes. + edges: Optional[list[ProjectV2WorkflowEdge]] = None + nodes: Optional[list[ProjectV2Workflow]] = None + page_info: PageInfo + total_count: int - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class TeamRepositoryEdge: + """ + TeamRepositoryEdge - Represents a team repository. - """ - edges: list_RepositoryVulnerabilityAlertEdge[RepositoryVulnerabilityAlertEdge] - nodes: list_RepositoryVulnerabilityAlert[RepositoryVulnerabilityAlert] - pageInfo: PageInfo - totalCount: int + cursor - A cursor for use in pagination. -class HTQBF_UserConnection_Field(UserConnection): - """ - HTQBF_UserConnection_Field - A list of users that can be assigned to issues in this repository. + permission - The permission level the team has on the repository - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - query - Filters users with query on user name and login. + """ - after - Returns the elements in the list that come after the specified cursor. + cursor: str + node: Repository + permission: RepositoryPermission - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class TeamRepositoryConnection: + """ + TeamRepositoryConnection - The connection type for Repository. - last - Returns the last _n_ elements from the list. + edges - A list of edges. - """ - query: str - after: str - before: str - first: int - last: int + nodes - A list of nodes. - _args: UserConnectionArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class LLPCH_BranchProtectionRuleConnection_Field(BranchProtectionRuleConnection): - """ - LLPCH_BranchProtectionRuleConnection_Field - A list of branch protection rules for this repository. + edges: Optional[list[TeamRepositoryEdge]] = None + nodes: Optional[list[Repository]] = None + page_info: PageInfo + total_count: int - """ - class BranchProtectionRuleConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class PermissionSource: + """ + PermissionSource - A level of permission and source for a user's access to a repository. - first - Returns the first _n_ elements from the list. + organization - The organization the repository belongs to. - last - Returns the last _n_ elements from the list. + permission - The level of access this source has granted to the user. - """ - after: str - before: str - first: int - last: int + roleName - The name of the role this source has granted to the user. - _args: BranchProtectionRuleConnectionArgs + source - The source of this permission. + """ + organization: Organization + permission: DefaultRepositoryPermissionField + role_name: Optional[str] = None + source: PermissionGranter -class FSGYU_RepositoryCodeowners_Field(RepositoryCodeowners): - """ - FSGYU_RepositoryCodeowners_Field - Information extracted from the repository's `CODEOWNERS` file. - """ - class RepositoryCodeownersArgs(GQLArgsSet, GQLObject): - """ - refName - The ref name used to return the associated `CODEOWNERS` file. +@dataclass(kw_only=True) +class RepositoryCollaboratorEdge: + """ + RepositoryCollaboratorEdge - Represents a user who is a collaborator of a repository. - """ - refName: str + cursor - A cursor for use in pagination. - _args: RepositoryCodeownersArgs + permission - The permission the user has on the repository. + permissionSources - A list of sources for the user's access to the repository. + """ -class TEAUJ_RepositoryCollaboratorConnection_Field(RepositoryCollaboratorConnection): - """ - TEAUJ_RepositoryCollaboratorConnection_Field - A list of collaborators associated with the repository. + cursor: str + node: User + permission: RepositoryPermission + permission_sources: Optional[list[PermissionSource]] = None - """ - class RepositoryCollaboratorConnectionArgs(GQLArgsSet, GQLObject): - """ - affiliation - Collaborators affiliation level with a repository. - login - The login of one specific collaborator. +@dataclass(kw_only=True) +class RepositoryCollaboratorConnection: + """ + RepositoryCollaboratorConnection - The connection type for User. - query - Filters users with query on user name and login + edges - A list of edges. - after - Returns the elements in the list that come after the specified cursor. + nodes - A list of nodes. - before - Returns the elements in the list that come before the specified cursor. + pageInfo - Information to aid in pagination. - first - Returns the first _n_ elements from the list. + totalCount - Identifies the total count of items in the connection. - last - Returns the last _n_ elements from the list. + """ - """ - affiliation: CollaboratorAffiliation - login: str - query: str - after: str - before: str - first: int - last: int + edges: Optional[list[RepositoryCollaboratorEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - _args: RepositoryCollaboratorConnectionArgs +@dataclass(kw_only=True) +class DependencyGraphDependency: + """ + DependencyGraphDependency - A dependency manifest entry + hasDependencies - Does the dependency itself have dependencies? -class JMEKI_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - """ - JMEKI_CommitCommentConnection_Field - A list of commit comments associated with the repository. + packageManager - The dependency package manager - """ - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + packageName - The name of the package in the canonical form used by the package manager. - before - Returns the elements in the list that come before the specified cursor. + repository - The repository containing the package - first - Returns the first _n_ elements from the list. + requirements - The dependency version requirements - last - Returns the last _n_ elements from the list. + """ - """ - after: str - before: str - first: int - last: int + has_dependencies: bool + package_manager: Optional[str] = None + package_name: str + repository: Optional[Repository] = None + requirements: str - _args: CommitCommentConnectionArgs +@dataclass(kw_only=True) +class DependencyGraphDependencyEdge: + """ + DependencyGraphDependencyEdge - An edge in a connection. + cursor - A cursor for use in pagination. -class list_RepositoryContactLink(list, RepositoryContactLink): pass + node - The item at the end of the edge. -class CQYTO_DeployKeyConnection_Field(DeployKeyConnection): - """ - CQYTO_DeployKeyConnection_Field - A list of deploy keys that are on this repository. + """ - """ - class DeployKeyConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor: str + node: Optional[DependencyGraphDependency] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class DependencyGraphDependencyConnection: + """ + DependencyGraphDependencyConnection - The connection type for DependencyGraphDependency. - last - Returns the last _n_ elements from the list. + edges - A list of edges. - """ - after: str - before: str - first: int - last: int + nodes - A list of nodes. - _args: DeployKeyConnectionArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class TFQDD_DeploymentConnection_Field(DeploymentConnection): - """ - TFQDD_DeploymentConnection_Field - Deployments associated with the repository + edges: Optional[list[DependencyGraphDependencyEdge]] = None + nodes: Optional[list[DependencyGraphDependency]] = None + page_info: PageInfo + total_count: int - """ - class DeploymentConnectionArgs(GQLArgsSet, GQLObject): - """ - environments - Environments to list deployments for - orderBy - Ordering options for deployments returned from the connection. +@dataclass(kw_only=True) +class DependencyGraphManifest: + """ + DependencyGraphManifest - Dependency manifest for a repository - after - Returns the elements in the list that come after the specified cursor. + blobPath - Path to view the manifest file blob - before - Returns the elements in the list that come before the specified cursor. + dependencies - A list of manifest dependencies - first - Returns the first _n_ elements from the list. + dependenciesCount - The number of dependencies listed in the manifest - last - Returns the last _n_ elements from the list. + exceedsMaxSize - Is the manifest too big to parse? - """ - environments: list[NonNull_str] - orderBy: DeploymentOrder - after: str - before: str - first: int - last: int + filename - Fully qualified manifest filename - _args: DeploymentConnectionArgs + id - The Node ID of the DependencyGraphManifest object + parseable - Were we able to parse the manifest? + repository - The repository containing the manifest -class JBGQK_Discussion_Field(Discussion): - """ - JBGQK_Discussion_Field - Returns a single discussion from the current repository by number. + """ - """ - class DiscussionArgs(GQLArgsSet, GQLObject): - """ - number - The number for the discussion to be returned. + blob_path: str + dependencies: Optional[DependencyGraphDependencyConnection] = None + dependencies_count: Optional[int] = None + exceeds_max_size: bool + filename: str + id: ID + parseable: bool + repository: Repository - """ - number: NonNull_int - _args: DiscussionArgs +@dataclass(kw_only=True) +class DependencyGraphManifestEdge: + """ + DependencyGraphManifestEdge - An edge in a connection. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class OPQYK_DiscussionCategoryConnection_Field(DiscussionCategoryConnection): - """ - OPQYK_DiscussionCategoryConnection_Field - A list of discussion categories that are available in the repository. + """ - """ - class DiscussionCategoryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor: str + node: Optional[DependencyGraphManifest] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class DependencyGraphManifestConnection: + """ + DependencyGraphManifestConnection - The connection type for DependencyGraphManifest. - last - Returns the last _n_ elements from the list. + edges - A list of edges. - filterByAssignable - Filter by categories that are assignable by the viewer. + nodes - A list of nodes. - """ - after: str - before: str - first: int - last: int - filterByAssignable: bool + pageInfo - Information to aid in pagination. - _args: DiscussionCategoryConnectionArgs + totalCount - Identifies the total count of items in the connection. + """ + edges: Optional[list[DependencyGraphManifestEdge]] = None + nodes: Optional[list[DependencyGraphManifest]] = None + page_info: PageInfo + total_count: int -class HKEZE_DiscussionCategory_Field(DiscussionCategory): - """ - HKEZE_DiscussionCategory_Field - A discussion category by slug. - """ - class DiscussionCategoryArgs(GQLArgsSet, GQLObject): - """ - slug - The slug of the discussion category to be returned. +@dataclass(kw_only=True) +class DeployKeyEdge: + """ + DeployKeyEdge - An edge in a connection. - """ - slug: NonNull_str + cursor - A cursor for use in pagination. - _args: DiscussionCategoryArgs + node - The item at the end of the edge. + """ + cursor: str + node: Optional[DeployKey] = None -class NonNull_DiscussionState(GQLObject): pass -class WFNJW_DiscussionConnection_Field(DiscussionConnection): - """ - WFNJW_DiscussionConnection_Field - A list of discussions that have been opened in the repository. +@dataclass(kw_only=True) +class DeployKeyConnection: + """ + DeployKeyConnection - The connection type for DeployKey. - """ - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + edges - A list of edges. - before - Returns the elements in the list that come before the specified cursor. + nodes - A list of nodes. - first - Returns the first _n_ elements from the list. + pageInfo - Information to aid in pagination. - last - Returns the last _n_ elements from the list. + totalCount - Identifies the total count of items in the connection. - categoryId - Only include discussions that belong to the category with this ID. + """ - states - A list of states to filter the discussions by. + edges: Optional[list[DeployKeyEdge]] = None + nodes: Optional[list[DeployKey]] = None + page_info: PageInfo + total_count: int - orderBy - Ordering options for discussions returned from the connection. - """ - after: str - before: str - first: int - last: int - categoryId: ID - states: list[NonNull_DiscussionState] - orderBy: DiscussionOrder +@dataclass(kw_only=True) +class DeploymentStatus: + """ + DeploymentStatus - Describes the status of a given deployment attempt. - _args: DiscussionConnectionArgs + createdAt - Identifies the date and time when the object was created. + creator - Identifies the actor who triggered the deployment. + deployment - Identifies the deployment associated with status. -class EUVAQ_Environment_Field(Environment): - """ - EUVAQ_Environment_Field - Returns a single active environment from the current repository by name. + description - Identifies the description of the deployment. - """ - class EnvironmentArgs(GQLArgsSet, GQLObject): - """ - name - The name of the environment to be returned. + environment - Identifies the environment of the deployment at the time of this deployment status - """ - name: NonNull_str + environmentUrl - Identifies the environment URL of the deployment. - _args: EnvironmentArgs + id - The Node ID of the DeploymentStatus object + logUrl - Identifies the log URL of the deployment. + state - Identifies the current state of the deployment. -class IDWBD_EnvironmentConnection_Field(EnvironmentConnection): - """ - IDWBD_EnvironmentConnection_Field - A list of environments that are in this repository. + updatedAt - Identifies the date and time when the object was last updated. - """ - class EnvironmentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + created_at: DateTime + creator: Actor + deployment: Deployment + description: Optional[str] = None + environment: Optional[str] = None + environment_url: Optional[URI] = None + id: ID + log_url: Optional[URI] = None + state: DeploymentStatusState + updated_at: DateTime - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class DeploymentStatusEdge: + """ + DeploymentStatusEdge - An edge in a connection. - orderBy - Ordering options for the environments + cursor - A cursor for use in pagination. - """ - after: str - before: str - first: int - last: int - orderBy: Environments + node - The item at the end of the edge. - _args: EnvironmentConnectionArgs + """ + cursor: str + node: Optional[DeploymentStatus] = None -class TMJRN_RepositoryConnection_Field(RepositoryConnection): - """ - TMJRN_RepositoryConnection_Field - A list of direct forked repositories. +@dataclass(kw_only=True) +class DeploymentStatusConnection: + """ + DeploymentStatusConnection - The connection type for DeploymentStatus. - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy + edges - A list of edges. - orderBy - Ordering options for repositories returned from the connection + nodes - A list of nodes. - affiliations - Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns. + pageInfo - Information to aid in pagination. - ownerAffiliations - Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns. + totalCount - Identifies the total count of items in the connection. - isLocked - If non-null, filters repositories according to whether they have been locked + """ - hasIssuesEnabled - If non-null, filters repositories according to whether they have issues enabled + edges: Optional[list[DeploymentStatusEdge]] = None + nodes: Optional[list[DeploymentStatus]] = None + page_info: PageInfo + total_count: int - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class DeploymentEdge: + """ + DeploymentEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int + """ - _args: RepositoryConnectionArgs + cursor: str + node: Optional[Deployment] = None +@dataclass(kw_only=True) +class DeploymentConnection: + """ + DeploymentConnection - The connection type for Deployment. -class list_FundingLink(list, FundingLink): pass + edges - A list of edges. -class MKSMV_Issue_Field(Generic[Issue]): - """ - MKSMV_Issue_Field - Returns a single issue from the current repository by number. + nodes - A list of nodes. - """ - class IssueArgs(GQLArgsSet, GQLObject): - """ - number - The number for the issue to be returned. + pageInfo - Information to aid in pagination. - """ - number: NonNull_int + totalCount - Identifies the total count of items in the connection. - _args: IssueArgs + """ + edges: Optional[list[DeploymentEdge]] = None + nodes: Optional[list[Deployment]] = None + page_info: PageInfo + total_count: int -class XZCJD_IssueOrPullRequest_Field(IssueOrPullRequest): - """ - XZCJD_IssueOrPullRequest_Field - Returns a single issue-like object from the current repository by number. +@dataclass(kw_only=True) +class DiscussionCommentEdge: + """ + DiscussionCommentEdge - An edge in a connection. - """ - class IssueOrPullRequestArgs(GQLArgsSet, GQLObject): - """ - number - The number for the issue to be returned. + cursor - A cursor for use in pagination. - """ - number: NonNull_int + node - The item at the end of the edge. - _args: IssueOrPullRequestArgs + """ + cursor: str + node: Optional[DiscussionComment] = None -class list_IssueTemplate(list, IssueTemplate): pass +@dataclass(kw_only=True) +class DiscussionCommentConnection: + """ + DiscussionCommentConnection - The connection type for DiscussionComment. -class KCECR_IssueConnection_Field(IssueConnection): - """ - KCECR_IssueConnection_Field - A list of issues that have been opened in the repository. + edges - A list of edges. - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issues returned from the connection. + nodes - A list of nodes. - labels - A list of label names to filter the pull requests by. + pageInfo - Information to aid in pagination. - states - A list of states to filter the issues by. + totalCount - Identifies the total count of items in the connection. - filterBy - Filtering options for issues returned from the connection. + """ - after - Returns the elements in the list that come after the specified cursor. + edges: Optional[list[DiscussionCommentEdge]] = None + nodes: Optional[list[DiscussionComment]] = None + page_info: PageInfo + total_count: int - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class DiscussionCategory: + """ + DiscussionCategory - A category for discussions in a repository. - last - Returns the last _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - """ - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int + description - A description of this category. - _args: IssueConnectionArgs + emoji - An emoji representing this category. + emojiHTML - This category's emoji rendered as HTML. + id - The Node ID of the DiscussionCategory object -class DTXPE_Label_Field(Label): - """ - DTXPE_Label_Field - Returns a single label by name + isAnswerable - Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation. - """ - class LabelArgs(GQLArgsSet, GQLObject): - """ - name - Label name + name - The name of this category. - """ - name: NonNull_str + repository - The repository associated with this node. - _args: LabelArgs + slug - The slug of this category. + updatedAt - Identifies the date and time when the object was last updated. + """ -class XWTNQ_LabelConnection_Field(LabelConnection): - """ - XWTNQ_LabelConnection_Field - A list of labels associated with the repository. + created_at: DateTime + description: Optional[str] = None + emoji: str + emoji_h_t_m_l: HTML + id: ID + is_answerable: bool + name: str + repository: Repository + slug: str + updated_at: DateTime - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for labels returned from the connection. - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class DiscussionPollOption: + """ + DiscussionPollOption - An option for a discussion poll. - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the DiscussionPollOption object - first - Returns the first _n_ elements from the list. + option - The text for this option. - last - Returns the last _n_ elements from the list. + poll - The discussion poll that this option belongs to. - query - If provided, searches labels by name and description. + totalVoteCount - The total number of votes that have been cast for this option. - """ - orderBy: LabelOrder - after: str - before: str - first: int - last: int - query: str + viewerHasVoted - Indicates if the viewer has voted for this option in the poll. - _args: LabelConnectionArgs + """ + id: ID + option: str + poll: Optional[DiscussionPoll] = None + total_vote_count: int + viewer_has_voted: bool -class QMDHT_LanguageConnection_Field(LanguageConnection): - """ - QMDHT_LanguageConnection_Field - A list containing a breakdown of the language composition of the repository. +@dataclass(kw_only=True) +class DiscussionPollOptionEdge: + """ + DiscussionPollOptionEdge - An edge in a connection. - """ - class LanguageConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor - A cursor for use in pagination. - before - Returns the elements in the list that come before the specified cursor. + node - The item at the end of the edge. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + cursor: str + node: Optional[DiscussionPollOption] = None - orderBy - Order for connection - """ - after: str - before: str - first: int - last: int - orderBy: LanguageOrder +@dataclass(kw_only=True) +class DiscussionPollOptionConnection: + """ + DiscussionPollOptionConnection - The connection type for DiscussionPollOption. - _args: LanguageConnectionArgs + edges - A list of edges. + nodes - A list of nodes. + pageInfo - Information to aid in pagination. -class CADWH_UserConnection_Field(UserConnection): - """ - CADWH_UserConnection_Field - A list of Users that can be mentioned in the context of the repository. + totalCount - Identifies the total count of items in the connection. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - query - Filters users with query on user name and login + """ - after - Returns the elements in the list that come after the specified cursor. + edges: Optional[list[DiscussionPollOptionEdge]] = None + nodes: Optional[list[DiscussionPollOption]] = None + page_info: PageInfo + total_count: int - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class DiscussionCategoryEdge: + """ + DiscussionCategoryEdge - An edge in a connection. - last - Returns the last _n_ elements from the list. + cursor - A cursor for use in pagination. - """ - query: str - after: str - before: str - first: int - last: int + node - The item at the end of the edge. - _args: UserConnectionArgs + """ + cursor: str + node: Optional[DiscussionCategory] = None -class EKZTM_MergeQueue_Field(MergeQueue): - """ - EKZTM_MergeQueue_Field - The merge queue for a specified branch, otherwise the default branch if not provided. +@dataclass(kw_only=True) +class DiscussionCategoryConnection: + """ + DiscussionCategoryConnection - The connection type for DiscussionCategory. - """ - class MergeQueueArgs(GQLArgsSet, GQLObject): - """ - branch - The name of the branch to get the merge queue for. Case sensitive. + edges - A list of edges. - """ - branch: str + nodes - A list of nodes. - _args: MergeQueueArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class UEWJQ_Milestone_Field(Milestone): - """ - UEWJQ_Milestone_Field - Returns a single milestone from the current repository by number. + edges: Optional[list[DiscussionCategoryEdge]] = None + nodes: Optional[list[DiscussionCategory]] = None + page_info: PageInfo + total_count: int - """ - class MilestoneArgs(GQLArgsSet, GQLObject): - """ - number - The number for the milestone to be returned. - """ - number: NonNull_int +@dataclass(kw_only=True) +class DiscussionEdge: + """ + DiscussionEdge - An edge in a connection. - _args: MilestoneArgs + cursor - A cursor for use in pagination. + node - The item at the end of the edge. + """ -class NonNull_MilestoneState(GQLObject): pass + cursor: str + node: Optional[Discussion] = None -class BNKNW_MilestoneConnection_Field(MilestoneConnection): - """ - BNKNW_MilestoneConnection_Field - A list of milestones associated with the repository. - """ - class MilestoneConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class DiscussionConnection: + """ + DiscussionConnection - The connection type for Discussion. - before - Returns the elements in the list that come before the specified cursor. + edges - A list of edges. - first - Returns the first _n_ elements from the list. + nodes - A list of nodes. - last - Returns the last _n_ elements from the list. + pageInfo - Information to aid in pagination. - states - Filter by the state of the milestones. + totalCount - Identifies the total count of items in the connection. - orderBy - Ordering options for milestones. + """ - query - Filters milestones with a query on the title + edges: Optional[list[DiscussionEdge]] = None + nodes: Optional[list[Discussion]] = None + page_info: PageInfo + total_count: int - """ - after: str - before: str - first: int - last: int - states: list[NonNull_MilestoneState] - orderBy: MilestoneOrder - query: str - _args: MilestoneConnectionArgs +@dataclass(kw_only=True) +class DeploymentReviewerEdge: + """ + DeploymentReviewerEdge - An edge in a connection. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class WWTOL_GitObject_Field(GitObject): - """ - WWTOL_GitObject_Field - A Git object in the repository + """ - """ - class GitObjectArgs(GQLArgsSet, GQLObject): - """ - oid - The Git object ID + cursor: str + node: Optional[DeploymentReviewer] = None - expression - A Git revision expression suitable for rev-parse - """ - oid: GitObjectID - expression: str +@dataclass(kw_only=True) +class DeploymentReviewerConnection: + """ + DeploymentReviewerConnection - The connection type for DeploymentReviewer. - _args: GitObjectArgs + edges - A list of edges. + nodes - A list of nodes. + pageInfo - Information to aid in pagination. -class UHPRV_PackageConnection_Field(PackageConnection): - """ - UHPRV_PackageConnection_Field - A list of packages under the owner. + totalCount - Identifies the total count of items in the connection. - """ - class PackageConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + edges: Optional[list[DeploymentReviewerEdge]] = None + nodes: Optional[list[DeploymentReviewer]] = None + page_info: PageInfo + total_count: int - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class DeploymentProtectionRule: + """ + DeploymentProtectionRule - A protection rule. - names - Find packages by their names. + databaseId - Identifies the primary key from the database. - repositoryId - Find packages in a repository by ID. + preventSelfReview - Whether deployments to this environment can be approved by the user who created the deployment. - packageType - Filter registry package by type. + reviewers - The teams or users that can review the deployment - orderBy - Ordering of the returned packages. + timeout - The timeout in minutes for this protection rule. - """ - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder + type - The type of protection rule. - _args: PackageConnectionArgs + """ + database_id: Optional[int] = None + prevent_self_review: Optional[bool] = None + reviewers: DeploymentReviewerConnection + timeout: int + type: DeploymentProtectionRuleType -class EZQZR_PinnedDiscussionConnection_Field(PinnedDiscussionConnection): - """ - EZQZR_PinnedDiscussionConnection_Field - A list of discussions that have been pinned in this repository. +@dataclass(kw_only=True) +class DeploymentProtectionRuleEdge: + """ + DeploymentProtectionRuleEdge - An edge in a connection. - """ - class PinnedDiscussionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor - A cursor for use in pagination. - before - Returns the elements in the list that come before the specified cursor. + node - The item at the end of the edge. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + cursor: str + node: Optional[DeploymentProtectionRule] = None - """ - after: str - before: str - first: int - last: int - _args: PinnedDiscussionConnectionArgs +@dataclass(kw_only=True) +class DeploymentProtectionRuleConnection: + """ + DeploymentProtectionRuleConnection - The connection type for DeploymentProtectionRule. + edges - A list of edges. + nodes - A list of nodes. -class QFRTA_PinnedIssueConnection_Field(PinnedIssueConnection): - """ - QFRTA_PinnedIssueConnection_Field - A list of pinned issues for this repository. + pageInfo - Information to aid in pagination. - """ - class PinnedIssueConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + totalCount - Identifies the total count of items in the connection. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + edges: Optional[list[DeploymentProtectionRuleEdge]] = None + nodes: Optional[list[DeploymentProtectionRule]] = None + page_info: PageInfo + total_count: int - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class Environment: + """ + Environment - An environment. - _args: PinnedIssueConnectionArgs + databaseId - Identifies the primary key from the database. + id - The Node ID of the Environment object + name - The name of the environment -class CIPJL_Project_Field(Project): - """ - CIPJL_Project_Field - Find project by number. + protectionRules - The protection rules defined for this environment - """ - class ProjectArgs(GQLArgsSet, GQLObject): - """ - number - The project number to find. + """ - """ - number: NonNull_int + database_id: Optional[int] = None + id: ID + name: str + protection_rules: DeploymentProtectionRuleConnection - _args: ProjectArgs +@dataclass(kw_only=True) +class EnvironmentEdge: + """ + EnvironmentEdge - An edge in a connection. + cursor - A cursor for use in pagination. -class BGMFI_ProjectV2_Field(Generic[ProjectV2]): - """ - BGMFI_ProjectV2_Field - Finds and returns the Project according to the provided Project number. + node - The item at the end of the edge. - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The Project number. + """ - """ - number: NonNull_int + cursor: str + node: Optional[Environment] = None - _args: ProjectV2Args +@dataclass(kw_only=True) +class EnvironmentConnection: + """ + EnvironmentConnection - The connection type for Environment. + edges - A list of edges. -class NIOQB_ProjectConnection_Field(ProjectConnection): - """ - NIOQB_ProjectConnection_Field - A list of projects under the owner. + nodes - A list of nodes. - """ - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for projects returned from the connection + pageInfo - Information to aid in pagination. - search - Query to search projects by, currently only searching by name. + totalCount - Identifies the total count of items in the connection. - states - A list of states to filter the projects by. + """ - after - Returns the elements in the list that come after the specified cursor. + edges: Optional[list[EnvironmentEdge]] = None + nodes: Optional[list[Environment]] = None + page_info: PageInfo + total_count: int - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class IssueTemplate: + """ + IssueTemplate - A repository issue template. - last - Returns the last _n_ elements from the list. + about - The template purpose. - """ - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int + assignees - The suggested assignees. - _args: ProjectConnectionArgs + body - The suggested issue body. + filename - The template filename. + labels - The suggested issue labels -class EWVEJ_ProjectV2Connection_Field(ProjectV2Connection): - """ - EWVEJ_ProjectV2Connection_Field - List of projects linked to this repository. + name - The template name. - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + title - The suggested issue title. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + about: Optional[str] = None + assignees: UserConnection + body: Optional[str] = None + filename: str + labels: Optional[LabelConnection] = None + name: str + title: Optional[str] = None - last - Returns the last _n_ elements from the list. - query - A project to search for linked to the repo. +@dataclass(kw_only=True) +class LanguageEdge: + """ + LanguageEdge - Represents the language of a repository. - orderBy - How to order the returned projects. + size - The number of bytes of code written in the language. - """ - after: str - before: str - first: int - last: int - query: str - orderBy: ProjectV2Order + """ - _args: ProjectV2ConnectionArgs + cursor: str + node: Language + size: int +@dataclass(kw_only=True) +class LanguageConnection: + """ + LanguageConnection - A list of languages associated with the parent. -class YMCRZ_PullRequest_Field(Generic[PullRequest]): - """ - YMCRZ_PullRequest_Field - Returns a single pull request from the current repository by number. + edges - A list of edges. - """ - class PullRequestArgs(GQLArgsSet, GQLObject): - """ - number - The number for the pull request to be returned. + nodes - A list of nodes. - """ - number: NonNull_int + pageInfo - Information to aid in pagination. - _args: PullRequestArgs + totalCount - Identifies the total count of items in the connection. + totalSize - The total size in bytes of files written in that language. + """ -class list_PullRequestTemplate(list, PullRequestTemplate): pass + edges: Optional[list[LanguageEdge]] = None + nodes: Optional[list[Language]] = None + page_info: PageInfo + total_count: int + total_size: int -class GXJRC_PullRequestConnection_Field(Generic[PullRequestConnection]): - """ - GXJRC_PullRequestConnection_Field - A list of pull requests that have been opened in the repository. - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - states - A list of states to filter the pull requests by. +@dataclass(kw_only=True) +class ReleaseAsset: + """ + ReleaseAsset - A release asset contains the content for a release asset. - labels - A list of label names to filter the pull requests by. + contentType - The asset's content-type - headRefName - The head ref name to filter the pull requests by. + createdAt - Identifies the date and time when the object was created. - baseRefName - The base ref name to filter the pull requests by. + downloadCount - The number of times this asset was downloaded - orderBy - Ordering options for pull requests returned from the connection. + downloadUrl - Identifies the URL where you can download the release asset via the browser. - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the ReleaseAsset object - before - Returns the elements in the list that come before the specified cursor. + name - Identifies the title of the release asset. - first - Returns the first _n_ elements from the list. + release - Release that the asset is associated with - last - Returns the last _n_ elements from the list. + size - The size (in bytes) of the asset - """ - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int + updatedAt - Identifies the date and time when the object was last updated. - _args: PullRequestConnectionArgs + uploadedBy - The user that performed the upload + url - Identifies the URL of the release asset. + """ -class BCIJJ_ProjectV2Connection_Field(ProjectV2Connection): - """ - BCIJJ_ProjectV2Connection_Field - Recent projects that this user has modified in the context of the owner. + content_type: str + created_at: DateTime + download_count: int + download_url: URI + id: ID + name: str + release: Optional[Release] = None + size: int + updated_at: DateTime + uploaded_by: User + url: URI - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class ReleaseAssetEdge: + """ + ReleaseAssetEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - """ - after: str - before: str - first: int - last: int + """ - _args: ProjectV2ConnectionArgs + cursor: str + node: Optional[ReleaseAsset] = None +@dataclass(kw_only=True) +class ReleaseAssetConnection: + """ + ReleaseAssetConnection - The connection type for ReleaseAsset. -class NRGTC_Ref_Field(Generic[Ref]): - """ - NRGTC_Ref_Field - Fetch a given ref from the repository + edges - A list of edges. - """ - class RefArgs(GQLArgsSet, GQLObject): - """ - qualifiedName - The ref to retrieve. Fully qualified matches are checked in order (`refs/heads/master`) before falling back onto checks for short name matches (`master`). + nodes - A list of nodes. - """ - qualifiedName: NonNull_str + pageInfo - Information to aid in pagination. - _args: RefArgs + totalCount - Identifies the total count of items in the connection. + """ + edges: Optional[list[ReleaseAssetEdge]] = None + nodes: Optional[list[ReleaseAsset]] = None + page_info: PageInfo + total_count: int -class MIIOC_RefConnection_Field(RefConnection): - """ - MIIOC_RefConnection_Field - Fetch a list of refs from the repository - """ - class RefConnectionArgs(GQLArgsSet, GQLObject): - """ - query - Filters refs with query on name +@dataclass(kw_only=True) +class License: + """ + License - A repository's open source license - after - Returns the elements in the list that come after the specified cursor. + body - The full text of the license - before - Returns the elements in the list that come before the specified cursor. + conditions - The conditions set by the license - first - Returns the first _n_ elements from the list. + description - A human-readable description of the license - last - Returns the last _n_ elements from the list. + featured - Whether the license should be featured - refPrefix - A ref name prefix like `refs/heads/`, `refs/tags/`, etc. + hidden - Whether the license should be displayed in license pickers - direction - DEPRECATED: use orderBy. The ordering direction. + id - The Node ID of the License object - orderBy - Ordering options for refs returned from the connection. + implementation - Instructions on how to implement the license - """ - query: str - after: str - before: str - first: int - last: int - refPrefix: NonNull_str - direction: OrderDirection - orderBy: RefOrder + key - The lowercased SPDX ID of the license - _args: RefConnectionArgs + limitations - The limitations set by the license + name - The license full name specified by + nickname - Customary short name if applicable (e.g, GPLv3) -class LGRGT_Release_Field(Release): - """ - LGRGT_Release_Field - Lookup a single release given various criteria. + permissions - The permissions set by the license - """ - class ReleaseArgs(GQLArgsSet, GQLObject): - """ - tagName - The name of the Tag the Release was created from + pseudoLicense - Whether the license is a pseudo-license placeholder (e.g., other, no-license) - """ - tagName: NonNull_str + spdxId - Short identifier specified by - _args: ReleaseArgs + url - URL to the license on + """ + body: str + conditions: list[LicenseRule] + description: Optional[str] = None + featured: bool + hidden: bool + id: ID + implementation: Optional[str] = None + key: str + limitations: list[LicenseRule] + name: str + nickname: Optional[str] = None + permissions: list[LicenseRule] + pseudo_license: bool + spdx_id: Optional[str] = None + url: Optional[URI] = None -class ZAPRX_ReleaseConnection_Field(ReleaseConnection): - """ - ZAPRX_ReleaseConnection_Field - List of releases which are dependent on this repository. - """ - class ReleaseConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class MergeQueueEntry: + """ + MergeQueueEntry - Entries in a MergeQueue - before - Returns the elements in the list that come before the specified cursor. + baseCommit - The base commit for this entry - first - Returns the first _n_ elements from the list. + enqueuedAt - The date and time this entry was added to the merge queue - last - Returns the last _n_ elements from the list. + enqueuer - The actor that enqueued this entry - orderBy - Order for connection + estimatedTimeToMerge - The estimated time in seconds until this entry will be merged - """ - after: str - before: str - first: int - last: int - orderBy: ReleaseOrder + headCommit - The head commit for this entry - _args: ReleaseConnectionArgs + id - The Node ID of the MergeQueueEntry object + jump - Whether this pull request should jump the queue + mergeQueue - The merge queue that this entry belongs to -class KBJCN_RepositoryTopicConnection_Field(RepositoryTopicConnection): - """ - KBJCN_RepositoryTopicConnection_Field - A list of applied repository-topic associations for this repository. + position - The position of this entry in the queue - """ - class RepositoryTopicConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + pullRequest - The pull request that will be added to a merge group - before - Returns the elements in the list that come before the specified cursor. + solo - Does this pull request need to be deployed on its own - first - Returns the first _n_ elements from the list. + state - The state of this entry in the queue - last - Returns the last _n_ elements from the list. + """ - """ - after: str - before: str - first: int - last: int + base_commit: Optional[Commit] = None + enqueued_at: DateTime + enqueuer: Actor + estimated_time_to_merge: Optional[int] = None + head_commit: Optional[Commit] = None + id: ID + jump: bool + merge_queue: Optional[MergeQueue] = None + position: int + pull_request: Optional[PullRequest] = None + solo: bool + state: MergeQueueEntryState - _args: RepositoryTopicConnectionArgs +@dataclass(kw_only=True) +class MergeQueueEntryEdge: + """ + MergeQueueEntryEdge - An edge in a connection. + cursor - A cursor for use in pagination. -class IPIAS_RepositoryRuleset_Field(RepositoryRuleset): - """ - IPIAS_RepositoryRuleset_Field - Returns a single ruleset from the current repository by ID. + node - The item at the end of the edge. - """ - class RepositoryRulesetArgs(GQLArgsSet, GQLObject): - """ - includeParents - Include rulesets configured at higher levels that apply to this repository + """ - databaseId - The ID of the ruleset to be returned. + cursor: str + node: Optional[MergeQueueEntry] = None - """ - includeParents: bool - databaseId: NonNull_int - _args: RepositoryRulesetArgs +@dataclass(kw_only=True) +class MergeQueueEntryConnection: + """ + MergeQueueEntryConnection - The connection type for MergeQueueEntry. + edges - A list of edges. + nodes - A list of nodes. -class WKHBX_RepositoryRulesetConnection_Field(RepositoryRulesetConnection): - """ - WKHBX_RepositoryRulesetConnection_Field - A list of rulesets for this repository. + pageInfo - Information to aid in pagination. - """ - class RepositoryRulesetConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + totalCount - Identifies the total count of items in the connection. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + edges: Optional[list[MergeQueueEntryEdge]] = None + nodes: Optional[list[MergeQueueEntry]] = None + page_info: PageInfo + total_count: int - last - Returns the last _n_ elements from the list. - includeParents - Return rulesets configured at higher levels that apply to this repository +@dataclass(kw_only=True) +class MilestoneEdge: + """ + MilestoneEdge - An edge in a connection. - """ - after: str - before: str - first: int - last: int - includeParents: bool + cursor - A cursor for use in pagination. - _args: RepositoryRulesetConnectionArgs + node - The item at the end of the edge. + """ + cursor: str + node: Optional[Milestone] = None -class DXAAV_StargazerConnection_Field(StargazerConnection): - """ - DXAAV_StargazerConnection_Field - A list of users who have starred this starrable. - """ - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class MilestoneConnection: + """ + MilestoneConnection - The connection type for Milestone. - before - Returns the elements in the list that come before the specified cursor. + edges - A list of edges. - first - Returns the first _n_ elements from the list. + nodes - A list of nodes. - last - Returns the last _n_ elements from the list. + pageInfo - Information to aid in pagination. - orderBy - Order for connection + totalCount - Identifies the total count of items in the connection. - """ - after: str - before: str - first: int - last: int - orderBy: StarOrder + """ - _args: StargazerConnectionArgs + edges: Optional[list[MilestoneEdge]] = None + nodes: Optional[list[Milestone]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class GitObject: + """ + GitObject - Represents a Git object. -class NWFXE_SubmoduleConnection_Field(SubmoduleConnection): - """ - NWFXE_SubmoduleConnection_Field - Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit. + abbreviatedOid - An abbreviated version of the Git object ID - """ - class SubmoduleConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + commitResourcePath - The HTTP path for this Git object - before - Returns the elements in the list that come before the specified cursor. + commitUrl - The HTTP URL for this Git object - first - Returns the first _n_ elements from the list. + id - The Node ID of the GitObject object - last - Returns the last _n_ elements from the list. + oid - The Git object ID - """ - after: str - before: str - first: int - last: int + repository - The Repository the Git object belongs to - _args: SubmoduleConnectionArgs + """ + abbreviated_oid: str + commit_resource_path: URI + commit_url: URI + id: ID + oid: GitObjectID + repository: Repository -class AGUGZ_RepositoryVulnerabilityAlert_Field(RepositoryVulnerabilityAlert): - """ - AGUGZ_RepositoryVulnerabilityAlert_Field - Returns a single vulnerability alert from the current repository by number. +@dataclass(kw_only=True) +class RepositoryOwner: + """ + RepositoryOwner - Represents an owner of a Repository. - """ - class RepositoryVulnerabilityAlertArgs(GQLArgsSet, GQLObject): - """ - number - The number for the vulnerability alert to be returned. + avatarUrl - A URL pointing to the owner's public avatar. - """ - number: NonNull_int + id - The Node ID of the RepositoryOwner object - _args: RepositoryVulnerabilityAlertArgs + login - The username used to login. + repositories - A list of repositories that the user owns. + repository - Find Repository. -class NonNull_RepositoryVulnerabilityAlertState(GQLObject): pass + resourcePath - The HTTP URL for the owner. -class NonNull_RepositoryVulnerabilityAlertDependencyScope(GQLObject): pass + url - The HTTP URL for the owner. -class WCZQR_RepositoryVulnerabilityAlertConnection_Field(RepositoryVulnerabilityAlertConnection): - """ - WCZQR_RepositoryVulnerabilityAlertConnection_Field - A list of vulnerability alerts that are on this repository. + """ - """ - class RepositoryVulnerabilityAlertConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + avatar_url: URI + id: ID + login: str + repositories: RepositoryConnection + repository: Optional[Repository] = None + resource_path: URI + url: URI - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class PackageFile: + """ + PackageFile - A file in a package version. - last - Returns the last _n_ elements from the list. + id - The Node ID of the PackageFile object - states - Filter by the state of the alert + md5 - MD5 hash of the file. - dependencyScopes - Filter by the scope of the alert's dependency + name - Name of the file. - """ - after: str - before: str - first: int - last: int - states: list[NonNull_RepositoryVulnerabilityAlertState] - dependencyScopes: list[NonNull_RepositoryVulnerabilityAlertDependencyScope] + packageVersion - The package version this file belongs to. - _args: RepositoryVulnerabilityAlertConnectionArgs + sha1 - SHA1 hash of the file. + sha256 - SHA256 hash of the file. + size - Size of the file in bytes. -class VTKHT_UserConnection_Field(UserConnection): - """ - VTKHT_UserConnection_Field - A list of users watching the repository. + updatedAt - Identifies the date and time when the object was last updated. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + url - URL to download the asset. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + id: ID + md5: Optional[str] = None + name: str + package_version: Optional[PackageVersion] = None + sha1: Optional[str] = None + sha256: Optional[str] = None + size: Optional[int] = None + updated_at: DateTime + url: Optional[URI] = None - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PackageFileEdge: + """ + PackageFileEdge - An edge in a connection. - _args: UserConnectionArgs + cursor - A cursor for use in pagination. + node - The item at the end of the edge. + """ -class Repository(GQLObject): - """ - Repository - A repository contains the content for a project. + cursor: str + node: Optional[PackageFile] = None - allowUpdateBranch - Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. - archivedAt - Identifies the date and time when the repository was archived. +@dataclass(kw_only=True) +class PackageFileConnection: + """ + PackageFileConnection - The connection type for PackageFile. - assignableUsers - A list of users that can be assigned to issues in this repository. + edges - A list of edges. - autoMergeAllowed - Whether or not Auto-merge can be enabled on pull requests in this repository. + nodes - A list of nodes. - branchProtectionRules - A list of branch protection rules for this repository. + pageInfo - Information to aid in pagination. - codeOfConduct - Returns the code of conduct for this repository + totalCount - Identifies the total count of items in the connection. - codeowners - Information extracted from the repository's `CODEOWNERS` file. + """ - collaborators - A list of collaborators associated with the repository. + edges: Optional[list[PackageFileEdge]] = None + nodes: Optional[list[PackageFile]] = None + page_info: PageInfo + total_count: int - commitComments - A list of commit comments associated with the repository. - contactLinks - Returns a list of contact links associated to the repository +@dataclass(kw_only=True) +class PackageVersionEdge: + """ + PackageVersionEdge - An edge in a connection. - createdAt - Identifies the date and time when the object was created. + cursor - A cursor for use in pagination. - databaseId - Identifies the primary key from the database. + node - The item at the end of the edge. - defaultBranchRef - The Ref associated with the repository's default branch. + """ - deleteBranchOnMerge - Whether or not branches are automatically deleted when merged in this repository. + cursor: str + node: Optional[PackageVersion] = None - deployKeys - A list of deploy keys that are on this repository. - deployments - Deployments associated with the repository +@dataclass(kw_only=True) +class PackageVersionConnection: + """ + PackageVersionConnection - The connection type for PackageVersion. - description - The description of the repository. + edges - A list of edges. - descriptionHTML - The description of the repository rendered to HTML. + nodes - A list of nodes. - discussion - Returns a single discussion from the current repository by number. + pageInfo - Information to aid in pagination. - discussionCategories - A list of discussion categories that are available in the repository. + totalCount - Identifies the total count of items in the connection. - discussionCategory - A discussion category by slug. + """ - discussions - A list of discussions that have been opened in the repository. + edges: Optional[list[PackageVersionEdge]] = None + nodes: Optional[list[PackageVersion]] = None + page_info: PageInfo + total_count: int - diskUsage - The number of kilobytes this repository occupies on disk. - environment - Returns a single active environment from the current repository by name. +@dataclass(kw_only=True) +class PackageEdge: + """ + PackageEdge - An edge in a connection. - environments - A list of environments that are in this repository. + cursor - A cursor for use in pagination. - forkCount - Returns how many forks there are of this repository in the whole network. + node - The item at the end of the edge. - forkingAllowed - Whether this repository allows forks. + """ - forks - A list of direct forked repositories. + cursor: str + node: Optional[Package] = None - fundingLinks - The funding links for this repository - hasDiscussionsEnabled - Indicates if the repository has the Discussions feature enabled. +@dataclass(kw_only=True) +class PackageConnection: + """ + PackageConnection - The connection type for Package. - hasIssuesEnabled - Indicates if the repository has issues feature enabled. + edges - A list of edges. - hasProjectsEnabled - Indicates if the repository has the Projects feature enabled. + nodes - A list of nodes. - hasVulnerabilityAlertsEnabled - Whether vulnerability alerts are enabled for the repository. + pageInfo - Information to aid in pagination. - hasWikiEnabled - Indicates if the repository has wiki feature enabled. + totalCount - Identifies the total count of items in the connection. - homepageUrl - The repository's URL. + """ - interactionAbility - The interaction ability settings for this repository. + edges: Optional[list[PackageEdge]] = None + nodes: Optional[list[Package]] = None + page_info: PageInfo + total_count: int - isArchived - Indicates if the repository is unmaintained. - isBlankIssuesEnabled - Returns true if blank issue creation is allowed +@dataclass(kw_only=True) +class PinnedDiscussion: + """ + PinnedDiscussion - A Pinned Discussion is a discussion pinned to a repository's index page. - isDisabled - Returns whether or not this repository disabled. + createdAt - Identifies the date and time when the object was created. - isEmpty - Returns whether or not this repository is empty. + databaseId - Identifies the primary key from the database. - isFork - Identifies if the repository is a fork. + discussion - The discussion that was pinned. - isInOrganization - Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. + gradientStopColors - Color stops of the chosen gradient - isLocked - Indicates if the repository has been locked or not. + id - The Node ID of the PinnedDiscussion object - isMirror - Identifies if the repository is a mirror. + pattern - Background texture pattern - isPrivate - Identifies if the repository is private or internal. + pinnedBy - The actor that pinned this discussion. - isSecurityPolicyEnabled - Returns true if this repository has a security policy + preconfiguredGradient - Preconfigured background gradient option - isTemplate - Identifies if the repository is a template that can be used to generate new repositories. + repository - The repository associated with this node. - isUserConfigurationRepository - Is this repository a user configuration repository? + updatedAt - Identifies the date and time when the object was last updated. - issue - Returns a single issue from the current repository by number. + """ - issueOrPullRequest - Returns a single issue-like object from the current repository by number. + created_at: DateTime + database_id: Optional[int] = None + discussion: Discussion + gradient_stop_colors: list[str] + id: ID + pattern: PinnedDiscussionPattern + pinned_by: Actor + preconfigured_gradient: Optional[PinnedDiscussionGradient] = None + repository: Repository + updated_at: DateTime - issueTemplates - Returns a list of issue templates associated to the repository - issues - A list of issues that have been opened in the repository. +@dataclass(kw_only=True) +class PinnedDiscussionEdge: + """ + PinnedDiscussionEdge - An edge in a connection. - label - Returns a single label by name + cursor - A cursor for use in pagination. - labels - A list of labels associated with the repository. + node - The item at the end of the edge. - languages - A list containing a breakdown of the language composition of the repository. + """ - latestRelease - Get the latest release for the repository if one exists. + cursor: str + node: Optional[PinnedDiscussion] = None - licenseInfo - The license associated with the repository - lockReason - The reason the repository has been locked. +@dataclass(kw_only=True) +class PinnedDiscussionConnection: + """ + PinnedDiscussionConnection - The connection type for PinnedDiscussion. - mentionableUsers - A list of Users that can be mentioned in the context of the repository. + edges - A list of edges. - mergeCommitAllowed - Whether or not PRs are merged with a merge commit on this repository. + nodes - A list of nodes. - mergeCommitMessage - How the default commit message will be generated when merging a pull request. + pageInfo - Information to aid in pagination. - mergeCommitTitle - How the default commit title will be generated when merging a pull request. + totalCount - Identifies the total count of items in the connection. - mergeQueue - The merge queue for a specified branch, otherwise the default branch if not provided. + """ - milestone - Returns a single milestone from the current repository by number. + edges: Optional[list[PinnedDiscussionEdge]] = None + nodes: Optional[list[PinnedDiscussion]] = None + page_info: PageInfo + total_count: int - milestones - A list of milestones associated with the repository. - mirrorUrl - The repository's original mirror URL. +@dataclass(kw_only=True) +class PinnedIssue: + """ + PinnedIssue - A Pinned Issue is a issue pinned to a repository's index page. - name - The name of the repository. + databaseId - Identifies the primary key from the database. - nameWithOwner - The repository's name with owner. + fullDatabaseId - Identifies the primary key from the database as a BigInt. - object - A Git object in the repository + id - The Node ID of the PinnedIssue object - openGraphImageUrl - The image used to represent this repository in Open Graph data. + issue - The issue that was pinned. - owner - The User owner of the repository. + pinnedBy - The actor that pinned this issue. - packages - A list of packages under the owner. + repository - The repository that this issue was pinned to. - parent - The repository parent, if this is a fork. + """ - pinnedDiscussions - A list of discussions that have been pinned in this repository. + database_id: Optional[int] = None + full_database_id: Optional[BigInt] = None + id: ID + issue: Issue + pinned_by: Actor + repository: Repository - pinnedIssues - A list of pinned issues for this repository. - primaryLanguage - The primary language of the repository's code. +@dataclass(kw_only=True) +class PinnedIssueEdge: + """ + PinnedIssueEdge - An edge in a connection. - project - Find project by number. + cursor - A cursor for use in pagination. - projectV2 - Finds and returns the Project according to the provided Project number. + node - The item at the end of the edge. - projects - A list of projects under the owner. + """ - projectsResourcePath - The HTTP path listing the repository's projects + cursor: str + node: Optional[PinnedIssue] = None - projectsUrl - The HTTP URL listing the repository's projects - projectsV2 - List of projects linked to this repository. +@dataclass(kw_only=True) +class PinnedIssueConnection: + """ + PinnedIssueConnection - The connection type for PinnedIssue. - pullRequest - Returns a single pull request from the current repository by number. + edges - A list of edges. - pullRequestTemplates - Returns a list of pull request templates associated to the repository + nodes - A list of nodes. - pullRequests - A list of pull requests that have been opened in the repository. + pageInfo - Information to aid in pagination. - pushedAt - Identifies the date and time when the repository was last pushed to. + totalCount - Identifies the total count of items in the connection. - rebaseMergeAllowed - Whether or not rebase-merging is enabled on this repository. + """ - recentProjects - Recent projects that this user has modified in the context of the owner. + edges: Optional[list[PinnedIssueEdge]] = None + nodes: Optional[list[PinnedIssue]] = None + page_info: PageInfo + total_count: int - ref - Fetch a given ref from the repository - refs - Fetch a list of refs from the repository +@dataclass(kw_only=True) +class ProjectCard: + """ + ProjectCard - A card in a project. - release - Lookup a single release given various criteria. + column - The project column this card is associated under. A card may only belong to one + project column at a time. The column field will be null if the card is created + in a pending state and has yet to be associated with a column. Once cards are + associated with a column, they will not become pending in the future. - releases - List of releases which are dependent on this repository. + content - The card content item - repositoryTopics - A list of applied repository-topic associations for this repository. + createdAt - Identifies the date and time when the object was created. - resourcePath - The HTTP path for this repository + creator - The actor who created this card - ruleset - Returns a single ruleset from the current repository by ID. + databaseId - Identifies the primary key from the database. - rulesets - A list of rulesets for this repository. + id - The Node ID of the ProjectCard object - securityPolicyUrl - The security policy URL. + isArchived - Whether the card is archived - shortDescriptionHTML - A description of the repository, rendered to HTML without any links in it. + note - The card note - squashMergeAllowed - Whether or not squash-merging is enabled on this repository. + project - The project that contains this card. - squashMergeCommitMessage - How the default commit message will be generated when squash merging a pull request. + resourcePath - The HTTP path for this card - squashMergeCommitTitle - How the default commit title will be generated when squash merging a pull request. + state - The state of ProjectCard - sshUrl - The SSH URL to clone this repository + updatedAt - Identifies the date and time when the object was last updated. - stargazerCount - Returns a count of how many stargazers there are on this object + url - The HTTP URL for this card + """ - stargazers - A list of users who have starred this starrable. + column: Optional[ProjectColumn] = None + content: Optional[ProjectCardItem] = None + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + id: ID + is_archived: bool + note: Optional[str] = None + project: Project + resource_path: URI + state: Optional[ProjectCardState] = None + updated_at: DateTime + url: URI - submodules - Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit. - tempCloneToken - Temporary authentication token for cloning this repository. +@dataclass(kw_only=True) +class ProjectCardEdge: + """ + ProjectCardEdge - An edge in a connection. - templateRepository - The repository from which this repository was generated, if any. + cursor - A cursor for use in pagination. - updatedAt - Identifies the date and time when the object was last updated. + node - The item at the end of the edge. - url - The HTTP URL for this repository + """ - usesCustomOpenGraphImage - Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. + cursor: str + node: Optional[ProjectCard] = None - viewerCanAdminister - Indicates whether the viewer has admin permissions on this repository. - viewerCanCreateProjects - Can the current viewer create new projects on this owner. +@dataclass(kw_only=True) +class ProjectCardConnection: + """ + ProjectCardConnection - The connection type for ProjectCard. - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + edges - A list of edges. - viewerCanUpdateTopics - Indicates whether the viewer can update the topics of this repository. + nodes - A list of nodes. - viewerDefaultCommitEmail - The last commit email for the viewer. + pageInfo - Information to aid in pagination. - viewerDefaultMergeMethod - The last used merge method by the viewer or the default for the repository. + totalCount - Identifies the total count of items in the connection. - viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + """ - viewerPermission - The users permission level on the repository. Will return null if authenticated as an GitHub App. + edges: Optional[list[ProjectCardEdge]] = None + nodes: Optional[list[ProjectCard]] = None + page_info: PageInfo + total_count: int - viewerPossibleCommitEmails - A list of emails this viewer can commit with. - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. +@dataclass(kw_only=True) +class ProjectColumnEdge: + """ + ProjectColumnEdge - An edge in a connection. - visibility - Indicates the repository's visibility level. + cursor - A cursor for use in pagination. - vulnerabilityAlert - Returns a single vulnerability alert from the current repository by number. + node - The item at the end of the edge. - vulnerabilityAlerts - A list of vulnerability alerts that are on this repository. + """ - watchers - A list of users watching the repository. + cursor: str + node: Optional[ProjectColumn] = None - webCommitSignoffRequired - Whether contributors are required to sign off on web-based commits in this repository. - """ - allowUpdateBranch: bool - archivedAt: DateTime - assignableUsers: HTQBF_UserConnection_Field - autoMergeAllowed: bool - branchProtectionRules: LLPCH_BranchProtectionRuleConnection_Field - codeOfConduct: CodeOfConduct - codeowners: FSGYU_RepositoryCodeowners_Field - collaborators: TEAUJ_RepositoryCollaboratorConnection_Field - commitComments: JMEKI_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - contactLinks: list_RepositoryContactLink[RepositoryContactLink] - createdAt: DateTime - databaseId: int - defaultBranchRef: NewType('Ref', GQLObject) ## Circular Reference for Ref - deleteBranchOnMerge: bool - deployKeys: CQYTO_DeployKeyConnection_Field - deployments: TFQDD_DeploymentConnection_Field - description: str - descriptionHTML: HTML - discussion: JBGQK_Discussion_Field - discussionCategories: OPQYK_DiscussionCategoryConnection_Field - discussionCategory: HKEZE_DiscussionCategory_Field - discussions: WFNJW_DiscussionConnection_Field - diskUsage: int - environment: EUVAQ_Environment_Field - environments: IDWBD_EnvironmentConnection_Field - forkCount: int - forkingAllowed: bool - forks: TMJRN_RepositoryConnection_Field - fundingLinks: list_FundingLink[FundingLink] - hasDiscussionsEnabled: bool - hasIssuesEnabled: bool - hasProjectsEnabled: bool - hasVulnerabilityAlertsEnabled: bool - hasWikiEnabled: bool - homepageUrl: URI - id: ID - interactionAbility: RepositoryInteractionAbility - isArchived: bool - isBlankIssuesEnabled: bool - isDisabled: bool - isEmpty: bool - isFork: bool - isInOrganization: bool - isLocked: bool - isMirror: bool - isPrivate: bool - isSecurityPolicyEnabled: bool - isTemplate: bool - isUserConfigurationRepository: bool - issue: MKSMV_Issue_Field ## Circular Reference for Issue - issueOrPullRequest: XZCJD_IssueOrPullRequest_Field - issueTemplates: list_IssueTemplate[IssueTemplate] - issues: KCECR_IssueConnection_Field - label: DTXPE_Label_Field - labels: XWTNQ_LabelConnection_Field - languages: QMDHT_LanguageConnection_Field - latestRelease: Release - licenseInfo: License - lockReason: RepositoryLockReason - mentionableUsers: CADWH_UserConnection_Field - mergeCommitAllowed: bool - mergeCommitMessage: MergeCommitMessage - mergeCommitTitle: MergeCommitTitle - mergeQueue: EKZTM_MergeQueue_Field - milestone: UEWJQ_Milestone_Field - milestones: BNKNW_MilestoneConnection_Field - mirrorUrl: URI - name: str - nameWithOwner: str - object: WWTOL_GitObject_Field - openGraphImageUrl: URI - owner: RepositoryOwner - packages: UHPRV_PackageConnection_Field - parent: NewType('Repository', GQLObject) ## Circular Reference for Repository - pinnedDiscussions: EZQZR_PinnedDiscussionConnection_Field - pinnedIssues: QFRTA_PinnedIssueConnection_Field - primaryLanguage: Language - project: CIPJL_Project_Field - projectV2: BGMFI_ProjectV2_Field ## Circular Reference for ProjectV2 - projects: NIOQB_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - projectsV2: EWVEJ_ProjectV2Connection_Field - pullRequest: YMCRZ_PullRequest_Field ## Circular Reference for PullRequest - pullRequestTemplates: list_PullRequestTemplate[PullRequestTemplate] - pullRequests: GXJRC_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - pushedAt: DateTime - rebaseMergeAllowed: bool - recentProjects: BCIJJ_ProjectV2Connection_Field - ref: NRGTC_Ref_Field ## Circular Reference for Ref - refs: MIIOC_RefConnection_Field - release: LGRGT_Release_Field - releases: ZAPRX_ReleaseConnection_Field - repositoryTopics: KBJCN_RepositoryTopicConnection_Field - resourcePath: URI - ruleset: IPIAS_RepositoryRuleset_Field - rulesets: WKHBX_RepositoryRulesetConnection_Field - securityPolicyUrl: URI - shortDescriptionHTML: PJJUQ_HTML_Field - squashMergeAllowed: bool - squashMergeCommitMessage: SquashMergeCommitMessage - squashMergeCommitTitle: SquashMergeCommitTitle - sshUrl: GitSSHRemote - stargazerCount: int - stargazers: DXAAV_StargazerConnection_Field - submodules: NWFXE_SubmoduleConnection_Field - tempCloneToken: str - templateRepository: NewType('Repository', GQLObject) ## Circular Reference for Repository - updatedAt: DateTime - url: URI - usesCustomOpenGraphImage: bool - viewerCanAdminister: bool - viewerCanCreateProjects: bool - viewerCanSubscribe: bool - viewerCanUpdateTopics: bool - viewerDefaultCommitEmail: str - viewerDefaultMergeMethod: PullRequestMergeMethod - viewerHasStarred: bool - viewerPermission: RepositoryPermission - viewerPossibleCommitEmails: list[str] - viewerSubscription: SubscriptionState - visibility: RepositoryVisibility - vulnerabilityAlert: AGUGZ_RepositoryVulnerabilityAlert_Field - vulnerabilityAlerts: WCZQR_RepositoryVulnerabilityAlertConnection_Field - watchers: VTKHT_UserConnection_Field - webCommitSignoffRequired: bool - -class EWNRH_ReactionConnection_Field(ReactionConnection): - """ - EWNRH_ReactionConnection_Field - A list of Reactions left on the Issue. - - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - content - Allows filtering Reactions by emoji. +@dataclass(kw_only=True) +class ProjectColumnConnection: + """ + ProjectColumnConnection - The connection type for ProjectColumn. - orderBy - Allows specifying the order in which reactions are returned. + edges - A list of edges. - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + nodes - A list of nodes. - _args: ReactionConnectionArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class XEQBJ_UserContentEditConnection_Field(UserContentEditConnection): - """ - XEQBJ_UserContentEditConnection_Field - A list of edits to this content. + edges: Optional[list[ProjectColumnEdge]] = None + nodes: Optional[list[ProjectColumn]] = None + page_info: PageInfo + total_count: int - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class ProjectEdge: + """ + ProjectEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - """ - after: str - before: str - first: int - last: int + """ - _args: UserContentEditConnectionArgs + cursor: str + node: Optional[Project] = None +@dataclass(kw_only=True) +class ProjectConnection: + """ + ProjectConnection - A list of projects associated with the owner. -class IssueComment(GQLObject): - """ - IssueComment - Represents a comment on an Issue. + edges - A list of edges. - author - The actor who authored the comment. + nodes - A list of nodes. - authorAssociation - Author's association with the subject of the comment. + pageInfo - Information to aid in pagination. - body - The body as Markdown. + totalCount - Identifies the total count of items in the connection. - bodyHTML - The body rendered to HTML. + """ - bodyText - The body rendered to text. + edges: Optional[list[ProjectEdge]] = None + nodes: Optional[list[Project]] = None + page_info: PageInfo + total_count: int - createdAt - Identifies the date and time when the object was created. - createdViaEmail - Check if this comment was created via an email reply. +@dataclass(kw_only=True) +class ProjectOwner: + """ + ProjectOwner - Represents an owner of a Project. - databaseId - Identifies the primary key from the database. + id - The Node ID of the ProjectOwner object - editor - The actor who edited the comment. + project - Find project by number. - fullDatabaseId - Identifies the primary key from the database as a BigInt. + projects - A list of projects under the owner. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + projectsResourcePath - The HTTP path listing owners projects - isMinimized - Returns whether or not a comment has been minimized. + projectsUrl - The HTTP URL listing owners projects - issue - Identifies the issue associated with the comment. + viewerCanCreateProjects - Can the current viewer create new projects on this owner. - lastEditedAt - The moment the editor made the last edit + """ - minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. + id: ID + project: Optional[Project] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + viewer_can_create_projects: bool - publishedAt - Identifies when the comment was published at. - pullRequest - Returns the pull request associated with the comment, if this comment was made on a -pull request. +@dataclass(kw_only=True) +class PullRequestTemplate: + """ + PullRequestTemplate - A repository pull request template. + body - The body of the template - reactionGroups - A list of reactions grouped by content left on the subject. + filename - The filename of the template - reactions - A list of Reactions left on the Issue. + repository - The repository the template belongs to - repository - The repository associated with this node. + """ - resourcePath - The HTTP path for this issue comment + body: Optional[str] = None + filename: Optional[str] = None + repository: Repository - updatedAt - Identifies the date and time when the object was last updated. - url - The HTTP URL for this issue comment +@dataclass(kw_only=True) +class RefEdge: + """ + RefEdge - An edge in a connection. - userContentEdits - A list of edits to this content. + cursor - A cursor for use in pagination. - viewerCanDelete - Check if the current viewer can delete this object. + node - The item at the end of the edge. - viewerCanMinimize - Check if the current viewer can minimize this object. + """ - viewerCanReact - Can user react to this subject + cursor: str + node: Optional[Ref] = None - viewerCanUpdate - Check if the current viewer can update this object. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. +@dataclass(kw_only=True) +class RefConnection: + """ + RefConnection - The connection type for Ref. - viewerDidAuthor - Did the viewer author this comment. + edges - A list of edges. - """ - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - fullDatabaseId: BigInt - id: ID - includesCreatedEdit: bool - isMinimized: bool - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - lastEditedAt: DateTime - minimizedReason: str - publishedAt: DateTime - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: EWNRH_ReactionConnection_Field - repository: Repository - resourcePath: URI - updatedAt: DateTime - url: URI - userContentEdits: XEQBJ_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool + nodes - A list of nodes. -class IssueCommentEdge(GQLObject): - """ - IssueCommentEdge - An edge in a connection. + pageInfo - Information to aid in pagination. - cursor - A cursor for use in pagination. + totalCount - Identifies the total count of items in the connection. - node - The item at the end of the edge. + """ - """ - cursor: str - node: IssueComment + edges: Optional[list[RefEdge]] = None + nodes: Optional[list[Ref]] = None + page_info: PageInfo + total_count: int -class list_IssueCommentEdge(list, IssueCommentEdge): pass -class list_IssueComment(list, IssueComment): pass +@dataclass(kw_only=True) +class ReleaseEdge: + """ + ReleaseEdge - An edge in a connection. -class IssueCommentConnection(GQLObject): - """ - IssueCommentConnection - The connection type for IssueComment. + cursor - A cursor for use in pagination. - edges - A list of edges. + node - The item at the end of the edge. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + cursor: str + node: Optional[Release] = None - totalCount - Identifies the total count of items in the connection. - """ - edges: list_IssueCommentEdge[IssueCommentEdge] - nodes: list_IssueComment[IssueComment] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class ReleaseConnection: + """ + ReleaseConnection - The connection type for Release. -class list_HovercardContext(list, HovercardContext): pass + edges - A list of edges. -class Hovercard(GQLObject): - """ - Hovercard - Detail needed to display a hovercard for a user + nodes - A list of nodes. - contexts - Each of the contexts for this hovercard + pageInfo - Information to aid in pagination. - """ - contexts: list_HovercardContext[HovercardContext] + totalCount - Identifies the total count of items in the connection. -class LinkedBranch(GQLObject): - """ - LinkedBranch - A branch linked to an issue. + """ - ref - The branch's ref. + edges: Optional[list[ReleaseEdge]] = None + nodes: Optional[list[Release]] = None + page_info: PageInfo + total_count: int - """ - id: ID - ref: NewType('Ref', GQLObject) ## Circular Reference for Ref -class LinkedBranchEdge(GQLObject): - """ - LinkedBranchEdge - An edge in a connection. +@dataclass(kw_only=True) +class StargazerEdge: + """ + StargazerEdge - Represents a user that's starred a repository. - cursor - A cursor for use in pagination. + cursor - A cursor for use in pagination. - node - The item at the end of the edge. + starredAt - Identifies when the item was starred. - """ - cursor: str - node: LinkedBranch + """ -class list_LinkedBranchEdge(list, LinkedBranchEdge): pass + cursor: str + node: User + starred_at: DateTime -class list_LinkedBranch(list, LinkedBranch): pass -class LinkedBranchConnection(GQLObject): - """ - LinkedBranchConnection - The connection type for LinkedBranch. +@dataclass(kw_only=True) +class StargazerConnection: + """ + StargazerConnection - The connection type for User. - edges - A list of edges. + edges - A list of edges. - nodes - A list of nodes. + nodes - A list of nodes. - pageInfo - Information to aid in pagination. + pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. + totalCount - Identifies the total count of items in the connection. - """ - edges: list_LinkedBranchEdge[LinkedBranchEdge] - nodes: list_LinkedBranch[LinkedBranch] - pageInfo: PageInfo - totalCount: int + """ -class OHUWQ_UserConnection_Field(UserConnection): - """ - OHUWQ_UserConnection_Field - A list of Users assigned to this object. + edges: Optional[list[StargazerEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class RepositoryTopic: + """ + RepositoryTopic - A repository-topic connects a repository to a topic. - first - Returns the first _n_ elements from the list. + id - The Node ID of the RepositoryTopic object - last - Returns the last _n_ elements from the list. + resourcePath - The HTTP path for this repository-topic. - """ - after: str - before: str - first: int - last: int + topic - The topic. - _args: UserConnectionArgs + url - The HTTP URL for this repository-topic. + """ + id: ID + resource_path: URI + topic: Topic + url: URI -class Assignable(GQLObject): - """ - Assignable - An object that can have users assigned to it. - assignees - A list of Users assigned to this object. +@dataclass(kw_only=True) +class RepositoryTopicEdge: + """ + RepositoryTopicEdge - An edge in a connection. - """ - assignees: OHUWQ_UserConnection_Field + cursor - A cursor for use in pagination. -class Assignee(GQLObject): - pass + node - The item at the end of the edge. -class AssignedEvent(GQLObject): - """ - AssignedEvent - Represents an 'assigned' event on any assignable object. + """ - actor - Identifies the actor who performed the event. + cursor: str + node: Optional[RepositoryTopic] = None - assignable - Identifies the assignable associated with the event. - assignee - Identifies the user or mannequin that was assigned. +@dataclass(kw_only=True) +class RepositoryTopicConnection: + """ + RepositoryTopicConnection - The connection type for RepositoryTopic. - createdAt - Identifies the date and time when the object was created. + edges - A list of edges. - """ - actor: Actor - assignable: Assignable - assignee: Assignee - createdAt: DateTime - id: ID + nodes - A list of nodes. -class Closer(GQLObject): - pass + pageInfo - Information to aid in pagination. -class ClosedEvent(GQLObject): - """ - ClosedEvent - Represents a 'closed' event on any `Closable`. + totalCount - Identifies the total count of items in the connection. - actor - Identifies the actor who performed the event. + """ - closable - Object that was closed. + edges: Optional[list[RepositoryTopicEdge]] = None + nodes: Optional[list[RepositoryTopic]] = None + page_info: PageInfo + total_count: int - closer - Object which triggered the creation of this event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class RepositoryRulesetBypassActor: + """ + RepositoryRulesetBypassActor - A team or app that has the ability to bypass a rules defined on a ruleset - resourcePath - The HTTP path for this closed event. + actor - The actor that can bypass rules. - stateReason - The reason the issue state was changed to closed. + bypassMode - The mode for the bypass actor - url - The HTTP URL for this closed event. + id - The Node ID of the RepositoryRulesetBypassActor object - """ - actor: Actor - closable: Closable - closer: Closer - createdAt: DateTime - id: ID - resourcePath: URI - stateReason: IssueStateReason - url: URI + organizationAdmin - This actor represents the ability for an organization owner to bypass -class ReferencedSubject(GQLObject): - pass + repositoryRoleDatabaseId - If the actor is a repository role, the repository role's ID that can bypass -class CrossReferencedEvent(GQLObject): - """ - CrossReferencedEvent - Represents a mention made by one issue or pull request to another. + repositoryRoleName - If the actor is a repository role, the repository role's name that can bypass - actor - Identifies the actor who performed the event. + repositoryRuleset - Identifies the ruleset associated with the allowed actor - createdAt - Identifies the date and time when the object was created. + """ - isCrossRepository - Reference originated in a different repository. + actor: Optional[BypassActor] = None + bypass_mode: Optional[RepositoryRulesetBypassActorBypassMode] = None + id: ID + organization_admin: bool + repository_role_database_id: Optional[int] = None + repository_role_name: Optional[str] = None + repository_ruleset: Optional[RepositoryRuleset] = None - referencedAt - Identifies when the reference was made. - resourcePath - The HTTP path for this pull request. +@dataclass(kw_only=True) +class RepositoryRulesetBypassActorEdge: + """ + RepositoryRulesetBypassActorEdge - An edge in a connection. - source - Issue or pull request that made the reference. + cursor - A cursor for use in pagination. - target - Issue or pull request to which the reference was made. + node - The item at the end of the edge. - url - The HTTP URL for this pull request. + """ - willCloseTarget - Checks if the target will be closed when the source is merged. + cursor: str + node: Optional[RepositoryRulesetBypassActor] = None - """ - actor: Actor - createdAt: DateTime - id: ID - isCrossRepository: bool - referencedAt: DateTime - resourcePath: URI - source: ReferencedSubject - target: ReferencedSubject - url: URI - willCloseTarget: bool -class MilestoneItem(GQLObject): - pass +@dataclass(kw_only=True) +class RepositoryRulesetBypassActorConnection: + """ + RepositoryRulesetBypassActorConnection - The connection type for RepositoryRulesetBypassActor. -class DemilestonedEvent(GQLObject): - """ - DemilestonedEvent - Represents a 'demilestoned' event on a given issue or pull request. + edges - A list of edges. - actor - Identifies the actor who performed the event. + nodes - A list of nodes. - createdAt - Identifies the date and time when the object was created. + pageInfo - Information to aid in pagination. - milestoneTitle - Identifies the milestone title associated with the 'demilestoned' event. + totalCount - Identifies the total count of items in the connection. - subject - Object referenced by event. + """ - """ - actor: Actor - createdAt: DateTime - id: ID - milestoneTitle: str - subject: MilestoneItem + edges: Optional[list[RepositoryRulesetBypassActorEdge]] = None + nodes: Optional[list[RepositoryRulesetBypassActor]] = None + page_info: PageInfo + total_count: int -class HVLBV_LabelConnection_Field(LabelConnection): - """ - HVLBV_LabelConnection_Field - A list of labels associated with the object. - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for labels returned from the connection. +@dataclass(kw_only=True) +class RepositoryPropertyConditionTarget: + """ + RepositoryPropertyConditionTarget - Parameters to be used for the repository_property condition - after - Returns the elements in the list that come after the specified cursor. + exclude - Array of repository properties that must not match. - before - Returns the elements in the list that come before the specified cursor. + include - Array of repository properties that must match - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + exclude: list[PropertyTargetDefinition] + include: list[PropertyTargetDefinition] - """ - orderBy: LabelOrder - after: str - before: str - first: int - last: int - _args: LabelConnectionArgs +@dataclass(kw_only=True) +class RepositoryRuleConditions: + """ + RepositoryRuleConditions - Set of conditions that determine if a ruleset will evaluate + refName - Configuration for the ref_name condition + repositoryId - Configuration for the repository_id condition -class Labelable(GQLObject): - """ - Labelable - An object that can have labels assigned to it. + repositoryName - Configuration for the repository_name condition - labels - A list of labels associated with the object. + repositoryProperty - Configuration for the repository_property condition - """ - labels: HVLBV_LabelConnection_Field + """ -class LabeledEvent(GQLObject): - """ - LabeledEvent - Represents a 'labeled' event on a given issue or pull request. + ref_name: Optional[RefNameConditionTarget] = None + repository_id: Optional[RepositoryIdConditionTarget] = None + repository_name: Optional[RepositoryNameConditionTarget] = None + repository_property: Optional[RepositoryPropertyConditionTarget] = None - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class RequiredStatusChecksParameters: + """ + RequiredStatusChecksParameters - 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. - label - Identifies the label associated with the 'labeled' event. + requiredStatusChecks - Status checks that are required. - labelable - Identifies the `Labelable` associated with the event. + strictRequiredStatusChecksPolicy - Whether pull requests targeting a matching branch must be tested with the + latest code. This setting will not take effect unless at least one status + check is enabled. - """ - actor: Actor - createdAt: DateTime - id: ID - label: Label - labelable: Labelable + """ -class LockedEvent(GQLObject): - """ - LockedEvent - Represents a 'locked' event on a given issue or pull request. + required_status_checks: list[StatusCheckConfiguration] + strict_required_status_checks_policy: bool - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class WorkflowsParameters: + """ + WorkflowsParameters - Require all changes made to a targeted branch to pass the specified workflows before they can be merged. - lockReason - Reason that the conversation was locked (optional). + workflows - Workflows that must pass for this rule to pass. - lockable - Object that was locked. + """ - """ - actor: Actor - createdAt: DateTime - id: ID - lockReason: LockReason - lockable: Lockable + workflows: list[WorkflowFileReference] -class MilestonedEvent(GQLObject): - """ - MilestonedEvent - Represents a 'milestoned' event on a given issue or pull request. - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class RepositoryRule: + """ + RepositoryRule - A repository rule. - createdAt - Identifies the date and time when the object was created. + id - The Node ID of the RepositoryRule object - milestoneTitle - Identifies the milestone title associated with the 'milestoned' event. + parameters - The parameters for this rule. - subject - Object referenced by event. + repositoryRuleset - The repository ruleset associated with this rule configuration - """ - actor: Actor - createdAt: DateTime - id: ID - milestoneTitle: str - subject: MilestoneItem + type - The type of rule. -class ReferencedEvent(GQLObject): - """ - ReferencedEvent - Represents a 'referenced' event on a given `ReferencedSubject`. + """ - actor - Identifies the actor who performed the event. + id: ID + parameters: Optional[RuleParameters] = None + repository_ruleset: Optional[RepositoryRuleset] = None + type: RepositoryRuleType - commit - Identifies the commit associated with the 'referenced' event. - commitRepository - Identifies the repository associated with the 'referenced' event. +@dataclass(kw_only=True) +class RepositoryRuleEdge: + """ + RepositoryRuleEdge - An edge in a connection. - createdAt - Identifies the date and time when the object was created. + cursor - A cursor for use in pagination. - isCrossRepository - Reference originated in a different repository. + node - The item at the end of the edge. - isDirectReference - Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference. + """ - subject - Object referenced by event. + cursor: str + node: Optional[RepositoryRule] = None - """ - actor: Actor - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - commitRepository: Repository - createdAt: DateTime - id: ID - isCrossRepository: bool - isDirectReference: bool - subject: ReferencedSubject -class RenamedTitleSubject(GQLObject): - pass +@dataclass(kw_only=True) +class RepositoryRuleConnection: + """ + RepositoryRuleConnection - The connection type for RepositoryRule. -class RenamedTitleEvent(GQLObject): - """ - RenamedTitleEvent - Represents a 'renamed' event on a given issue or pull request + edges - A list of edges. - actor - Identifies the actor who performed the event. + nodes - A list of nodes. - createdAt - Identifies the date and time when the object was created. + pageInfo - Information to aid in pagination. - currentTitle - Identifies the current title of the issue or pull request. + totalCount - Identifies the total count of items in the connection. - previousTitle - Identifies the previous title of the issue or pull request. + """ - subject - Subject that was renamed. + edges: Optional[list[RepositoryRuleEdge]] = None + nodes: Optional[list[RepositoryRule]] = None + page_info: PageInfo + total_count: int - """ - actor: Actor - createdAt: DateTime - currentTitle: str - id: ID - previousTitle: str - subject: RenamedTitleSubject -class ReopenedEvent(GQLObject): - """ - ReopenedEvent - Represents a 'reopened' event on any `Closable`. +@dataclass(kw_only=True) +class RepositoryRulesetEdge: + """ + RepositoryRulesetEdge - An edge in a connection. - actor - Identifies the actor who performed the event. + cursor - A cursor for use in pagination. - closable - Object that was reopened. + node - The item at the end of the edge. - createdAt - Identifies the date and time when the object was created. + """ - stateReason - The reason the issue state was changed to open. + cursor: str + node: Optional[RepositoryRuleset] = None - """ - actor: Actor - closable: Closable - createdAt: DateTime - id: ID - stateReason: IssueStateReason -class SubscribedEvent(GQLObject): - """ - SubscribedEvent - Represents a 'subscribed' event on a given `Subscribable`. +@dataclass(kw_only=True) +class RepositoryRulesetConnection: + """ + RepositoryRulesetConnection - The connection type for RepositoryRuleset. - actor - Identifies the actor who performed the event. + edges - A list of edges. - createdAt - Identifies the date and time when the object was created. + nodes - A list of nodes. - subscribable - Object referenced by event. + pageInfo - Information to aid in pagination. - """ - actor: Actor - createdAt: DateTime - id: ID - subscribable: Subscribable + totalCount - Identifies the total count of items in the connection. -class TransferredEvent(GQLObject): - """ - TransferredEvent - Represents a 'transferred' event on a given issue or pull request. + """ - actor - Identifies the actor who performed the event. + edges: Optional[list[RepositoryRulesetEdge]] = None + nodes: Optional[list[RepositoryRuleset]] = None + page_info: PageInfo + total_count: int - createdAt - Identifies the date and time when the object was created. - fromRepository - The repository this came from +@dataclass(kw_only=True) +class SubmoduleEdge: + """ + SubmoduleEdge - An edge in a connection. - issue - Identifies the issue associated with the event. + cursor - A cursor for use in pagination. - """ - actor: Actor - createdAt: DateTime - fromRepository: Repository - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue + node - The item at the end of the edge. -class UnassignedEvent(GQLObject): - """ - UnassignedEvent - Represents an 'unassigned' event on any assignable object. + """ - actor - Identifies the actor who performed the event. + cursor: str + node: Optional[Submodule] = None - assignable - Identifies the assignable associated with the event. - assignee - Identifies the user or mannequin that was unassigned. +@dataclass(kw_only=True) +class SubmoduleConnection: + """ + SubmoduleConnection - The connection type for Submodule. - createdAt - Identifies the date and time when the object was created. + edges - A list of edges. - """ - actor: Actor - assignable: Assignable - assignee: Assignee - createdAt: DateTime - id: ID + nodes - A list of nodes. -class UnlabeledEvent(GQLObject): - """ - UnlabeledEvent - Represents an 'unlabeled' event on a given issue or pull request. + pageInfo - Information to aid in pagination. - actor - Identifies the actor who performed the event. + totalCount - Identifies the total count of items in the connection. - createdAt - Identifies the date and time when the object was created. + """ - label - Identifies the label associated with the 'unlabeled' event. + edges: Optional[list[SubmoduleEdge]] = None + nodes: Optional[list[Submodule]] = None + page_info: PageInfo + total_count: int - labelable - Identifies the `Labelable` associated with the event. - """ - actor: Actor - createdAt: DateTime - id: ID - label: Label - labelable: Labelable +@dataclass(kw_only=True) +class DependabotUpdate: + """ + DependabotUpdate - A Dependabot Update for a dependency in a repository -class UnlockedEvent(GQLObject): - """ - UnlockedEvent - Represents an 'unlocked' event on a given issue or pull request. + error - The error from a dependency update - actor - Identifies the actor who performed the event. + pullRequest - The associated pull request - createdAt - Identifies the date and time when the object was created. + repository - The repository associated with this node. - lockable - Object that was unlocked. + """ - """ - actor: Actor - createdAt: DateTime - id: ID - lockable: Lockable + error: Optional[DependabotUpdateError] = None + pull_request: Optional[PullRequest] = None + repository: Repository -class UnsubscribedEvent(GQLObject): - """ - UnsubscribedEvent - Represents an 'unsubscribed' event on a given `Subscribable`. - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class CWEEdge: + """ + CWEEdge - An edge in a connection. - createdAt - Identifies the date and time when the object was created. + cursor - A cursor for use in pagination. - subscribable - Object referenced by event. + node - The item at the end of the edge. - """ - actor: Actor - createdAt: DateTime - id: ID - subscribable: Subscribable + """ -class UserBlockedEvent(GQLObject): - """ - UserBlockedEvent - Represents a 'user_blocked' event on a given user. + cursor: str + node: Optional[CWE] = None - actor - Identifies the actor who performed the event. - blockDuration - Number of days that the user was blocked for. +@dataclass(kw_only=True) +class CWEConnection: + """ + CWEConnection - The connection type for CWE. - createdAt - Identifies the date and time when the object was created. + edges - A list of edges. - subject - The user who was blocked. + nodes - A list of nodes. - """ - actor: Actor - blockDuration: UserBlockDuration - createdAt: DateTime - id: ID - subject: NewType('User', GQLObject) ## Circular Reference for User + pageInfo - Information to aid in pagination. -class IssueTimelineItem(GQLObject): - pass + totalCount - Identifies the total count of items in the connection. -class IssueTimelineItemEdge(GQLObject): - """ - IssueTimelineItemEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[CWEEdge]] = None + nodes: Optional[list[CWE]] = None + page_info: PageInfo + total_count: int - node - The item at the end of the edge. - """ - cursor: str - node: IssueTimelineItem +@dataclass(kw_only=True) +class SecurityVulnerability: + """ + SecurityVulnerability - An individual vulnerability within an Advisory -class list_IssueTimelineItemEdge(list, IssueTimelineItemEdge): pass + advisory - The Advisory associated with this Vulnerability -class list_IssueTimelineItem(list, IssueTimelineItem): pass + firstPatchedVersion - The first version containing a fix for the vulnerability -class IssueTimelineConnection(GQLObject): - """ - IssueTimelineConnection - The connection type for IssueTimelineItem. + package - A description of the vulnerable package - edges - A list of edges. + severity - The severity of the vulnerability within this package - nodes - A list of nodes. + updatedAt - When the vulnerability was last updated - pageInfo - Information to aid in pagination. + vulnerableVersionRange - A string that describes the vulnerable package versions. + This string follows a basic syntax with a few forms. + + `= 0.2.0` denotes a single vulnerable version. + + `<= 1.0.8` denotes a version range up to and including the specified version + + `< 0.1.11` denotes a version range up to, but excluding, the specified version + + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version. + + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_IssueTimelineItemEdge[IssueTimelineItemEdge] - nodes: list_IssueTimelineItem[IssueTimelineItem] - pageInfo: PageInfo - totalCount: int + advisory: SecurityAdvisory + first_patched_version: Optional[SecurityAdvisoryPackageVersion] = None + package: SecurityAdvisoryPackage + severity: SecurityAdvisorySeverity + updated_at: DateTime + vulnerable_version_range: str -class AddedToProjectEvent(GQLObject): - """ - AddedToProjectEvent - Represents a 'added_to_project' event on a given issue or pull request. - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class SecurityVulnerabilityEdge: + """ + SecurityVulnerabilityEdge - An edge in a connection. - createdAt - Identifies the date and time when the object was created. + cursor - A cursor for use in pagination. - databaseId - Identifies the primary key from the database. + node - The item at the end of the edge. - """ - actor: Actor - createdAt: DateTime - databaseId: int - id: ID + """ -class CommentDeletedEvent(GQLObject): - """ - CommentDeletedEvent - Represents a 'comment_deleted' event on a given issue or pull request. + cursor: str + node: Optional[SecurityVulnerability] = None - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class SecurityVulnerabilityConnection: + """ + SecurityVulnerabilityConnection - The connection type for SecurityVulnerability. - databaseId - Identifies the primary key from the database. + edges - A list of edges. - deletedCommentAuthor - The user who authored the deleted comment. + nodes - A list of nodes. - """ - actor: Actor - createdAt: DateTime - databaseId: int - deletedCommentAuthor: Actor - id: ID + pageInfo - Information to aid in pagination. -class ConnectedEvent(GQLObject): - """ - ConnectedEvent - Represents a 'connected' event on a given issue or pull request. + totalCount - Identifies the total count of items in the connection. - actor - Identifies the actor who performed the event. + """ - createdAt - Identifies the date and time when the object was created. + edges: Optional[list[SecurityVulnerabilityEdge]] = None + nodes: Optional[list[SecurityVulnerability]] = None + page_info: PageInfo + total_count: int - isCrossRepository - Reference originated in a different repository. - source - Issue or pull request that made the reference. +@dataclass(kw_only=True) +class RepositoryVulnerabilityAlert: + """ + RepositoryVulnerabilityAlert - A Dependabot alert for a repository with a dependency affected by a security vulnerability. - subject - Issue or pull request which was connected. + autoDismissedAt - When was the alert auto-dismissed? - """ - actor: Actor - createdAt: DateTime - id: ID - isCrossRepository: bool - source: ReferencedSubject - subject: ReferencedSubject + createdAt - When was the alert created? -class ConvertedNoteToIssueEvent(GQLObject): - """ - ConvertedNoteToIssueEvent - Represents a 'converted_note_to_issue' event on a given issue or pull request. + dependabotUpdate - The associated Dependabot update - actor - Identifies the actor who performed the event. + dependencyScope - The scope of an alert's dependency - createdAt - Identifies the date and time when the object was created. + dismissComment - Comment explaining the reason the alert was dismissed - databaseId - Identifies the primary key from the database. + dismissReason - The reason the alert was dismissed - """ - actor: Actor - createdAt: DateTime - databaseId: int - id: ID + dismissedAt - When was the alert dismissed? -class ConvertedToDiscussionEvent(GQLObject): - """ - ConvertedToDiscussionEvent - Represents a 'converted_to_discussion' event on a given issue. + dismisser - The user who dismissed the alert - actor - Identifies the actor who performed the event. + fixedAt - When was the alert fixed? - createdAt - Identifies the date and time when the object was created. + id - The Node ID of the RepositoryVulnerabilityAlert object - discussion - The discussion that the issue was converted into. + number - Identifies the alert number. - """ - actor: Actor - createdAt: DateTime - discussion: Discussion - id: ID + repository - The associated repository -class DisconnectedEvent(GQLObject): - """ - DisconnectedEvent - Represents a 'disconnected' event on a given issue or pull request. + securityAdvisory - The associated security advisory - actor - Identifies the actor who performed the event. + securityVulnerability - The associated security vulnerability - createdAt - Identifies the date and time when the object was created. + state - Identifies the state of the alert. - isCrossRepository - Reference originated in a different repository. + vulnerableManifestFilename - The vulnerable manifest filename - source - Issue or pull request from which the issue was disconnected. + vulnerableManifestPath - The vulnerable manifest path - subject - Issue or pull request which was disconnected. + vulnerableRequirements - The vulnerable requirements - """ - actor: Actor - createdAt: DateTime - id: ID - isCrossRepository: bool - source: ReferencedSubject - subject: ReferencedSubject + """ -class MarkedAsDuplicateEvent(GQLObject): - """ - MarkedAsDuplicateEvent - Represents a 'marked_as_duplicate' event on a given issue or pull request. + auto_dismissed_at: Optional[DateTime] = None + created_at: DateTime + dependabot_update: Optional[DependabotUpdate] = None + dependency_scope: Optional[RepositoryVulnerabilityAlertDependencyScope] = None + dismiss_comment: Optional[str] = None + dismiss_reason: Optional[str] = None + dismissed_at: Optional[DateTime] = None + dismisser: Optional[User] = None + fixed_at: Optional[DateTime] = None + id: ID + number: int + repository: Repository + security_advisory: Optional[SecurityAdvisory] = None + security_vulnerability: Optional[SecurityVulnerability] = None + state: RepositoryVulnerabilityAlertState + vulnerable_manifest_filename: str + vulnerable_manifest_path: str + vulnerable_requirements: Optional[str] = None - actor - Identifies the actor who performed the event. - canonical - The authoritative issue or pull request which has been duplicated by another. +@dataclass(kw_only=True) +class RepositoryVulnerabilityAlertEdge: + """ + RepositoryVulnerabilityAlertEdge - An edge in a connection. - createdAt - Identifies the date and time when the object was created. + cursor - A cursor for use in pagination. - duplicate - The issue or pull request which has been marked as a duplicate of another. + node - The item at the end of the edge. - isCrossRepository - Canonical and duplicate belong to different repositories. + """ - """ - actor: Actor - canonical: IssueOrPullRequest - createdAt: DateTime - duplicate: IssueOrPullRequest - id: ID - isCrossRepository: bool + cursor: str + node: Optional[RepositoryVulnerabilityAlert] = None -class MentionedEvent(GQLObject): - """ - MentionedEvent - Represents a 'mentioned' event on a given issue or pull request. - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class RepositoryVulnerabilityAlertConnection: + """ + RepositoryVulnerabilityAlertConnection - The connection type for RepositoryVulnerabilityAlert. - createdAt - Identifies the date and time when the object was created. + edges - A list of edges. - databaseId - Identifies the primary key from the database. + nodes - A list of nodes. - """ - actor: Actor - createdAt: DateTime - databaseId: int - id: ID + pageInfo - Information to aid in pagination. -class MovedColumnsInProjectEvent(GQLObject): - """ - MovedColumnsInProjectEvent - Represents a 'moved_columns_in_project' event on a given issue or pull request. + totalCount - Identifies the total count of items in the connection. - actor - Identifies the actor who performed the event. + """ - createdAt - Identifies the date and time when the object was created. + edges: Optional[list[RepositoryVulnerabilityAlertEdge]] = None + nodes: Optional[list[RepositoryVulnerabilityAlert]] = None + page_info: PageInfo + total_count: int - databaseId - Identifies the primary key from the database. - """ - actor: Actor - createdAt: DateTime - databaseId: int - id: ID +@dataclass(kw_only=True) +class OrgRestoreMemberMembershipRepositoryAuditEntryData: + """ + OrgRestoreMemberMembershipRepositoryAuditEntryData - Metadata for a repository membership for org.restore_member actions -class PinnedEvent(GQLObject): - """ - PinnedEvent - Represents a 'pinned' event on a given issue or pull request. + repository - The repository associated with the action - actor - Identifies the actor who performed the event. + repositoryName - The name of the repository - createdAt - Identifies the date and time when the object was created. + repositoryResourcePath - The HTTP path for the repository - issue - Identifies the issue associated with the event. + repositoryUrl - The HTTP URL for the repository - """ - actor: Actor - createdAt: DateTime - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue + """ -class RemovedFromProjectEvent(GQLObject): - """ - RemovedFromProjectEvent - Represents a 'removed_from_project' event on a given issue or pull request. + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class OrgRestoreMemberMembershipTeamAuditEntryData: + """ + OrgRestoreMemberMembershipTeamAuditEntryData - Metadata for a team membership for org.restore_member actions - databaseId - Identifies the primary key from the database. + team - The team associated with the action - """ - actor: Actor - createdAt: DateTime - databaseId: int - id: ID + teamName - The name of the team -class UnmarkedAsDuplicateEvent(GQLObject): - """ - UnmarkedAsDuplicateEvent - Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + teamResourcePath - The HTTP path for this team - actor - Identifies the actor who performed the event. + teamUrl - The HTTP URL for this team - canonical - The authoritative issue or pull request which has been duplicated by another. + """ - createdAt - Identifies the date and time when the object was created. + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None - duplicate - The issue or pull request which has been marked as a duplicate of another. - isCrossRepository - Canonical and duplicate belong to different repositories. +@dataclass(kw_only=True) +class OrgRestoreMemberAuditEntry: + """ + OrgRestoreMemberAuditEntry - Audit log entry for a org.restore_member event. - """ - actor: Actor - canonical: IssueOrPullRequest - createdAt: DateTime - duplicate: IssueOrPullRequest - id: ID - isCrossRepository: bool + action - The action name -class UnpinnedEvent(GQLObject): - """ - UnpinnedEvent - Represents an 'unpinned' event on a given issue or pull request. + actor - The user who initiated the action - actor - Identifies the actor who performed the event. + actorIp - The IP address of the actor - createdAt - Identifies the date and time when the object was created. + actorLocation - A readable representation of the actor's location - issue - Identifies the issue associated with the event. + actorLogin - The username of the user who initiated the action - """ - actor: Actor - createdAt: DateTime - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue + actorResourcePath - The HTTP path for the actor. -class IssueTimelineItems(GQLObject): - pass + actorUrl - The HTTP URL for the actor. -class IssueTimelineItemsEdge(GQLObject): - """ - IssueTimelineItemsEdge - An edge in a connection. + createdAt - The time the action was initiated - cursor - A cursor for use in pagination. + id - The Node ID of the OrgRestoreMemberAuditEntry object - node - The item at the end of the edge. + operationType - The corresponding operation type for the action - """ - cursor: str - node: IssueTimelineItems + organization - The Organization associated with the Audit Entry. -class list_IssueTimelineItemsEdge(list, IssueTimelineItemsEdge): pass + organizationName - The name of the Organization. -class list_IssueTimelineItems(list, IssueTimelineItems): pass + organizationResourcePath - The HTTP path for the organization -class IssueTimelineItemsConnection(GQLObject): - """ - IssueTimelineItemsConnection - The connection type for IssueTimelineItems. + organizationUrl - The HTTP URL for the organization - edges - A list of edges. + restoredCustomEmailRoutingsCount - The number of custom email routings for the restored member. - filteredCount - Identifies the count of items after applying `before` and `after` filters. + restoredIssueAssignmentsCount - The number of issue assignments for the restored member. - nodes - A list of nodes. + restoredMemberships - Restored organization membership objects. - pageCount - Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. + restoredMembershipsCount - The number of restored memberships. - pageInfo - Information to aid in pagination. + restoredRepositoriesCount - The number of repositories of the restored member. - totalCount - Identifies the total count of items in the connection. + restoredRepositoryStarsCount - The number of starred repositories for the restored member. - updatedAt - Identifies the date and time when the timeline was last updated. + restoredRepositoryWatchesCount - The number of watched repositories for the restored member. - """ - edges: list_IssueTimelineItemsEdge[IssueTimelineItemsEdge] - filteredCount: int - nodes: list_IssueTimelineItems[IssueTimelineItems] - pageCount: int - pageInfo: PageInfo - totalCount: int - updatedAt: DateTime + user - The user affected by the action -class NYXHJ_UserConnection_Field(UserConnection): - """ - NYXHJ_UserConnection_Field - A list of Users assigned to this object. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + userResourcePath - The HTTP path for the user. - before - Returns the elements in the list that come before the specified cursor. + userUrl - The HTTP URL for the user. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + restored_custom_email_routings_count: Optional[int] = None + restored_issue_assignments_count: Optional[int] = None + restored_memberships: Optional[list[OrgRestoreMemberAuditEntryMembership]] = None + restored_memberships_count: Optional[int] = None + restored_repositories_count: Optional[int] = None + restored_repository_stars_count: Optional[int] = None + restored_repository_watches_count: Optional[int] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class OrgUnblockUserAuditEntry: + """ + OrgUnblockUserAuditEntry - Audit log entry for a org.unblock_user + action - The action name + actor - The user who initiated the action -class AATVC_IssueCommentConnection_Field(IssueCommentConnection): - """ - AATVC_IssueCommentConnection_Field - A list of comments associated with the Issue. + actorIp - The IP address of the actor - """ - class IssueCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issue comments returned from the connection. + actorLocation - A readable representation of the actor's location - after - Returns the elements in the list that come after the specified cursor. + actorLogin - The username of the user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorResourcePath - The HTTP path for the actor. - first - Returns the first _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - last - Returns the last _n_ elements from the list. + blockedUser - The user being unblocked by the organization. - """ - orderBy: IssueCommentOrder - after: str - before: str - first: int - last: int + blockedUserName - The username of the blocked user. - _args: IssueCommentConnectionArgs + blockedUserResourcePath - The HTTP path for the blocked user. + blockedUserUrl - The HTTP URL for the blocked user. + createdAt - The time the action was initiated -class AAONA_Hovercard_Field(Hovercard): - """ - AAONA_Hovercard_Field - The hovercard information for this issue + id - The Node ID of the OrgUnblockUserAuditEntry object - """ - class HovercardArgs(GQLArgsSet, GQLObject): - """ - includeNotificationContexts - Whether or not to include notification contexts + operationType - The corresponding operation type for the action - """ - includeNotificationContexts: bool + organization - The Organization associated with the Audit Entry. - _args: HovercardArgs + organizationName - The name of the Organization. + organizationResourcePath - The HTTP path for the organization + organizationUrl - The HTTP URL for the organization -class OIEUF_LabelConnection_Field(LabelConnection): - """ - OIEUF_LabelConnection_Field - A list of labels associated with the object. + user - The user affected by the action - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for labels returned from the connection. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - after - Returns the elements in the list that come after the specified cursor. + userResourcePath - The HTTP path for the user. - before - Returns the elements in the list that come before the specified cursor. + userUrl - The HTTP URL for the user. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + blocked_user: Optional[User] = None + blocked_user_name: Optional[str] = None + blocked_user_resource_path: Optional[URI] = None + blocked_user_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - orderBy: LabelOrder - after: str - before: str - first: int - last: int - _args: LabelConnectionArgs +@dataclass(kw_only=True) +class OrgUpdateDefaultRepositoryPermissionAuditEntry: + """ + OrgUpdateDefaultRepositoryPermissionAuditEntry - Audit log entry for a org.update_default_repository_permission + action - The action name + actor - The user who initiated the action -class UWMXY_LinkedBranchConnection_Field(LinkedBranchConnection): - """ - UWMXY_LinkedBranchConnection_Field - Branches linked to this issue. + actorIp - The IP address of the actor - """ - class LinkedBranchConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorLocation - A readable representation of the actor's location - before - Returns the elements in the list that come before the specified cursor. + actorLogin - The username of the user who initiated the action - first - Returns the first _n_ elements from the list. + actorResourcePath - The HTTP path for the actor. - last - Returns the last _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - """ - after: str - before: str - first: int - last: int + createdAt - The time the action was initiated - _args: LinkedBranchConnectionArgs + id - The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object + operationType - The corresponding operation type for the action + organization - The Organization associated with the Audit Entry. -class PJYTA_UserConnection_Field(UserConnection): - """ - PJYTA_UserConnection_Field - A list of Users that are participating in the Issue conversation. + organizationName - The name of the Organization. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationResourcePath - The HTTP path for the organization - before - Returns the elements in the list that come before the specified cursor. + organizationUrl - The HTTP URL for the organization - first - Returns the first _n_ elements from the list. + permission - The new base repository permission level for the organization. - last - Returns the last _n_ elements from the list. + permissionWas - The former base repository permission level for the organization. - """ - after: str - before: str - first: int - last: int + user - The user affected by the action - _args: UserConnectionArgs + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. -class EFKZR_ProjectCardConnection_Field(ProjectCardConnection): - """ - EFKZR_ProjectCardConnection_Field - List of project cards associated with this issue. + """ - """ - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + permission: Optional[ + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission + ] = None + permission_was: Optional[ + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission + ] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class OrgUpdateMemberAuditEntry: + """ + OrgUpdateMemberAuditEntry - Audit log entry for a org.update_member event. - last - Returns the last _n_ elements from the list. + action - The action name - archivedStates - A list of archived states to filter the cards by + actor - The user who initiated the action - """ - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] + actorIp - The IP address of the actor - _args: ProjectCardConnectionArgs + actorLocation - A readable representation of the actor's location + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. -class SPUWP_ProjectV2ItemConnection_Field(Generic[ProjectV2ItemConnection]): - """ - SPUWP_ProjectV2ItemConnection_Field - List of project items associated with this issue. + actorUrl - The HTTP URL for the actor. - """ - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - """ - includeArchived - Include archived items. + createdAt - The time the action was initiated - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the OrgUpdateMemberAuditEntry object - before - Returns the elements in the list that come before the specified cursor. + operationType - The corresponding operation type for the action - first - Returns the first _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - last - Returns the last _n_ elements from the list. + organizationName - The name of the Organization. - """ - includeArchived: bool - after: str - before: str - first: int - last: int + organizationResourcePath - The HTTP path for the organization - _args: ProjectV2ItemConnectionArgs + organizationUrl - The HTTP URL for the organization + permission - The new member permission level for the organization. + permissionWas - The former member permission level for the organization. -class OVASV_ProjectV2_Field(Generic[ProjectV2]): - """ - OVASV_ProjectV2_Field - Find a project by number. + user - The user affected by the action - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The project number. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - number: NonNull_int + userResourcePath - The HTTP path for the user. - _args: ProjectV2Args + userUrl - The HTTP URL for the user. + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + permission: Optional[OrgUpdateMemberAuditEntryPermission] = None + permission_was: Optional[OrgUpdateMemberAuditEntryPermission] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class TUYUR_ProjectV2Connection_Field(ProjectV2Connection): - """ - TUYUR_ProjectV2Connection_Field - A list of projects under the owner. - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - query - A project to search for under the the owner. +@dataclass(kw_only=True) +class OrgUpdateMemberRepositoryCreationPermissionAuditEntry: + """ + OrgUpdateMemberRepositoryCreationPermissionAuditEntry - Audit log entry for a org.update_member_repository_creation_permission event. - orderBy - How to order the returned projects. + action - The action name - after - Returns the elements in the list that come after the specified cursor. + actor - The user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorIp - The IP address of the actor - first - Returns the first _n_ elements from the list. + actorLocation - A readable representation of the actor's location - last - Returns the last _n_ elements from the list. + actorLogin - The username of the user who initiated the action - """ - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int + actorResourcePath - The HTTP path for the actor. - _args: ProjectV2ConnectionArgs + actorUrl - The HTTP URL for the actor. + canCreateRepositories - Can members create repositories in the organization. + createdAt - The time the action was initiated -class JRLLT_ReactionConnection_Field(ReactionConnection): - """ - JRLLT_ReactionConnection_Field - A list of Reactions left on the Issue. + id - The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + operationType - The corresponding operation type for the action - before - Returns the elements in the list that come before the specified cursor. + organization - The Organization associated with the Audit Entry. - first - Returns the first _n_ elements from the list. + organizationName - The name of the Organization. - last - Returns the last _n_ elements from the list. + organizationResourcePath - The HTTP path for the organization - content - Allows filtering Reactions by emoji. + organizationUrl - The HTTP URL for the organization - orderBy - Allows specifying the order in which reactions are returned. + user - The user affected by the action - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - _args: ReactionConnectionArgs + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. + visibility - The permission for visibility level of repositories for this organization. -class NonNull_IssueTimelineItemsItemType(GQLObject): pass + """ -class HPYKE_IssueTimelineItemsConnection_Field(IssueTimelineItemsConnection): - """ - HPYKE_IssueTimelineItemsConnection_Field - A list of events, comments, commits, etc. associated with the issue. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + can_create_repositories: Optional[bool] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[ + OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility + ] = None - """ - class IssueTimelineItemsConnectionArgs(GQLArgsSet, GQLObject): - """ - since - Filter timeline items by a `since` timestamp. - skip - Skips the first _n_ elements in the list. +@dataclass(kw_only=True) +class OrgUpdateMemberRepositoryInvitationPermissionAuditEntry: + """ + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry - Audit log entry for a org.update_member_repository_invitation_permission event. - itemTypes - Filter timeline items by type. + action - The action name - after - Returns the elements in the list that come after the specified cursor. + actor - The user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorIp - The IP address of the actor - first - Returns the first _n_ elements from the list. + actorLocation - A readable representation of the actor's location - last - Returns the last _n_ elements from the list. + actorLogin - The username of the user who initiated the action - """ - since: DateTime - skip: int - itemTypes: list[NonNull_IssueTimelineItemsItemType] - after: str - before: str - first: int - last: int + actorResourcePath - The HTTP path for the actor. - _args: IssueTimelineItemsConnectionArgs + actorUrl - The HTTP URL for the actor. + canInviteOutsideCollaboratorsToRepositories - Can outside collaborators be invited to repositories in the organization. + createdAt - The time the action was initiated -class XZOZJ_IssueConnection_Field(IssueConnection): - """ - XZOZJ_IssueConnection_Field - A list of issues that track this issue + id - The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + operationType - The corresponding operation type for the action - before - Returns the elements in the list that come before the specified cursor. + organization - The Organization associated with the Audit Entry. - first - Returns the first _n_ elements from the list. + organizationName - The name of the Organization. - last - Returns the last _n_ elements from the list. + organizationResourcePath - The HTTP path for the organization - """ - after: str - before: str - first: int - last: int + organizationUrl - The HTTP URL for the organization - _args: IssueConnectionArgs + user - The user affected by the action + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. -class NOAJN_IssueConnection_Field(IssueConnection): - """ - NOAJN_IssueConnection_Field - A list of issues tracked inside the current issue + userUrl - The HTTP URL for the user. - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + can_invite_outside_collaborators_to_repositories: Optional[bool] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class PrivateRepositoryForkingDisableAuditEntry: + """ + PrivateRepositoryForkingDisableAuditEntry - Audit log entry for a private_repository_forking.disable event. - """ - after: str - before: str - first: int - last: int + action - The action name - _args: IssueConnectionArgs + actor - The user who initiated the action + actorIp - The IP address of the actor + actorLocation - A readable representation of the actor's location -class OJFYT_UserContentEditConnection_Field(UserContentEditConnection): - """ - OJFYT_UserContentEditConnection_Field - A list of edits to this content. + actorLogin - The username of the user who initiated the action - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorResourcePath - The HTTP path for the actor. - before - Returns the elements in the list that come before the specified cursor. + actorUrl - The HTTP URL for the actor. - first - Returns the first _n_ elements from the list. + createdAt - The time the action was initiated - last - Returns the last _n_ elements from the list. + enterpriseResourcePath - The HTTP path for this enterprise. - """ - after: str - before: str - first: int - last: int + enterpriseSlug - The slug of the enterprise. - _args: UserContentEditConnectionArgs + enterpriseUrl - The HTTP URL for this enterprise. + id - The Node ID of the PrivateRepositoryForkingDisableAuditEntry object + operationType - The corresponding operation type for the action -class Issue(GQLObject): - """ - Issue - An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. + organization - The Organization associated with the Audit Entry. - activeLockReason - Reason that the conversation was locked. + organizationName - The name of the Organization. - assignees - A list of Users assigned to this object. + organizationResourcePath - The HTTP path for the organization - author - The actor who authored the comment. + organizationUrl - The HTTP URL for the organization - authorAssociation - Author's association with the subject of the comment. + repository - The repository associated with the action - body - Identifies the body of the issue. + repositoryName - The name of the repository - bodyHTML - The body rendered to HTML. + repositoryResourcePath - The HTTP path for the repository - bodyResourcePath - The http path for this issue body + repositoryUrl - The HTTP URL for the repository - bodyText - Identifies the body of the issue rendered to text. + user - The user affected by the action - bodyUrl - The http URL for this issue body + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - closed - Indicates if the object is closed (definition of closed may depend on type) + userResourcePath - The HTTP path for the user. - closedAt - Identifies the date and time when the object was closed. + userUrl - The HTTP URL for the user. - comments - A list of comments associated with the Issue. + """ - createdAt - Identifies the date and time when the object was created. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - createdViaEmail - Check if this comment was created via an email reply. - databaseId - Identifies the primary key from the database. +@dataclass(kw_only=True) +class PrivateRepositoryForkingEnableAuditEntry: + """ + PrivateRepositoryForkingEnableAuditEntry - Audit log entry for a private_repository_forking.enable event. - editor - The actor who edited the comment. + action - The action name - fullDatabaseId - Identifies the primary key from the database as a BigInt. + actor - The user who initiated the action - hovercard - The hovercard information for this issue + actorIp - The IP address of the actor - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + actorLocation - A readable representation of the actor's location - isPinned - Indicates whether or not this issue is currently pinned to the repository issues list + actorLogin - The username of the user who initiated the action - isReadByViewer - Is this issue read by the viewer + actorResourcePath - The HTTP path for the actor. - labels - A list of labels associated with the object. + actorUrl - The HTTP URL for the actor. - lastEditedAt - The moment the editor made the last edit + createdAt - The time the action was initiated - linkedBranches - Branches linked to this issue. + enterpriseResourcePath - The HTTP path for this enterprise. - locked - `true` if the object is locked + enterpriseSlug - The slug of the enterprise. - milestone - Identifies the milestone associated with the issue. + enterpriseUrl - The HTTP URL for this enterprise. - number - Identifies the issue number. + id - The Node ID of the PrivateRepositoryForkingEnableAuditEntry object - participants - A list of Users that are participating in the Issue conversation. + operationType - The corresponding operation type for the action - projectCards - List of project cards associated with this issue. + organization - The Organization associated with the Audit Entry. - projectItems - List of project items associated with this issue. + organizationName - The name of the Organization. - projectV2 - Find a project by number. + organizationResourcePath - The HTTP path for the organization - projectsV2 - A list of projects under the owner. + organizationUrl - The HTTP URL for the organization - publishedAt - Identifies when the comment was published at. + repository - The repository associated with the action - reactionGroups - A list of reactions grouped by content left on the subject. + repositoryName - The name of the repository - reactions - A list of Reactions left on the Issue. + repositoryResourcePath - The HTTP path for the repository - repository - The repository associated with this node. + repositoryUrl - The HTTP URL for the repository - resourcePath - The HTTP path for this issue + user - The user affected by the action - state - Identifies the state of the issue. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - stateReason - Identifies the reason for the issue state. + userResourcePath - The HTTP path for the user. - timelineItems - A list of events, comments, commits, etc. associated with the issue. + userUrl - The HTTP URL for the user. - title - Identifies the issue title. + """ - titleHTML - Identifies the issue title rendered to HTML. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - trackedInIssues - A list of issues that track this issue - trackedIssues - A list of issues tracked inside the current issue +@dataclass(kw_only=True) +class RepoAccessAuditEntry: + """ + RepoAccessAuditEntry - Audit log entry for a repo.access event. - trackedIssuesCount - The number of tracked issues for this issue + action - The action name - updatedAt - Identifies the date and time when the object was last updated. + actor - The user who initiated the action - url - The HTTP URL for this issue + actorIp - The IP address of the actor - userContentEdits - A list of edits to this content. + actorLocation - A readable representation of the actor's location - viewerCanClose - Indicates if the object can be closed by the viewer. + actorLogin - The username of the user who initiated the action - viewerCanDelete - Check if the current viewer can delete this object. + actorResourcePath - The HTTP path for the actor. - viewerCanReact - Can user react to this subject + actorUrl - The HTTP URL for the actor. - viewerCanReopen - Indicates if the object can be reopened by the viewer. + createdAt - The time the action was initiated - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + id - The Node ID of the RepoAccessAuditEntry object - viewerCanUpdate - Check if the current viewer can update this object. + operationType - The corresponding operation type for the action - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + organization - The Organization associated with the Audit Entry. - viewerDidAuthor - Did the viewer author this comment. + organizationName - The name of the Organization. - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + organizationResourcePath - The HTTP path for the organization - viewerThreadSubscriptionFormAction - Identifies the viewer's thread subscription form action. + organizationUrl - The HTTP URL for the organization - viewerThreadSubscriptionStatus - Identifies the viewer's thread subscription status. + repository - The repository associated with the action - """ - activeLockReason: LockReason - assignees: NYXHJ_UserConnection_Field - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyResourcePath: URI - bodyText: str - bodyUrl: URI - closed: bool - closedAt: DateTime - comments: AATVC_IssueCommentConnection_Field - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - fullDatabaseId: BigInt - hovercard: AAONA_Hovercard_Field - id: ID - includesCreatedEdit: bool - isPinned: bool - isReadByViewer: bool - labels: OIEUF_LabelConnection_Field - lastEditedAt: DateTime - linkedBranches: UWMXY_LinkedBranchConnection_Field - locked: bool - milestone: Milestone - number: int - participants: PJYTA_UserConnection_Field - projectCards: EFKZR_ProjectCardConnection_Field - projectItems: SPUWP_ProjectV2ItemConnection_Field ## Circular Reference for ProjectV2ItemConnection - projectV2: OVASV_ProjectV2_Field ## Circular Reference for ProjectV2 - projectsV2: TUYUR_ProjectV2Connection_Field - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: JRLLT_ReactionConnection_Field - repository: Repository - resourcePath: URI - state: IssueState - stateReason: IssueStateReason - timelineItems: HPYKE_IssueTimelineItemsConnection_Field - title: str - titleHTML: str - trackedInIssues: XZOZJ_IssueConnection_Field - trackedIssues: NOAJN_IssueConnection_Field - trackedIssuesCount: JLOQM_trackedIssuesCount_Field - updatedAt: DateTime - url: URI - userContentEdits: OJFYT_UserContentEditConnection_Field - viewerCanClose: bool - viewerCanDelete: bool - viewerCanReact: bool - viewerCanReopen: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerSubscription: SubscriptionState - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction - viewerThreadSubscriptionStatus: ThreadSubscriptionState + repositoryName - The name of the repository -class ProjectV2ItemContent(GQLObject): - pass + repositoryResourcePath - The HTTP path for the repository -class ProjectV2ItemFieldDateValue(GQLObject): - """ - ProjectV2ItemFieldDateValue - The value of a date field in a Project item. + repositoryUrl - The HTTP URL for the repository - createdAt - Identifies the date and time when the object was created. + user - The user affected by the action - creator - The actor who created the item. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - databaseId - Identifies the primary key from the database. + userResourcePath - The HTTP path for the user. - date - Date value for the field + userUrl - The HTTP URL for the user. - field - The project field that contains this value. + visibility - The visibility of the repository - item - The project item that contains this value. + """ - updatedAt - Identifies the date and time when the object was last updated. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoAccessAuditEntryVisibility] = None - """ - createdAt: DateTime - creator: Actor - databaseId: int - date: Date - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - updatedAt: DateTime - -class ProjectV2ItemFieldIterationValue(GQLObject): - """ - ProjectV2ItemFieldIterationValue - The value of an iteration field in a Project item. - - createdAt - Identifies the date and time when the object was created. - - creator - The actor who created the item. - - databaseId - Identifies the primary key from the database. - - duration - The duration of the iteration in days. - - field - The project field that contains this value. - - item - The project item that contains this value. - - iterationId - The ID of the iteration. - startDate - The start date of the iteration. +@dataclass(kw_only=True) +class RepoAddMemberAuditEntry: + """ + RepoAddMemberAuditEntry - Audit log entry for a repo.add_member event. - title - The title of the iteration. + action - The action name - titleHTML - The title of the iteration, with HTML. + actor - The user who initiated the action - updatedAt - Identifies the date and time when the object was last updated. + actorIp - The IP address of the actor - """ - createdAt: DateTime - creator: Actor - databaseId: int - duration: int - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - iterationId: str - startDate: Date - title: str - titleHTML: str - updatedAt: DateTime + actorLocation - A readable representation of the actor's location -class ACZNG_LabelConnection_Field(LabelConnection): - """ - ACZNG_LabelConnection_Field - Labels value of a field + actorLogin - The username of the user who initiated the action - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorResourcePath - The HTTP path for the actor. - before - Returns the elements in the list that come before the specified cursor. + actorUrl - The HTTP URL for the actor. - first - Returns the first _n_ elements from the list. + createdAt - The time the action was initiated - last - Returns the last _n_ elements from the list. + id - The Node ID of the RepoAddMemberAuditEntry object - """ - after: str - before: str - first: int - last: int + operationType - The corresponding operation type for the action - _args: LabelConnectionArgs + organization - The Organization associated with the Audit Entry. + organizationName - The name of the Organization. + organizationResourcePath - The HTTP path for the organization -class ProjectV2ItemFieldLabelValue(GQLObject): - """ - ProjectV2ItemFieldLabelValue - The value of the labels field in a Project item. + organizationUrl - The HTTP URL for the organization - field - The field that contains this value. + repository - The repository associated with the action - labels - Labels value of a field + repositoryName - The name of the repository - """ - field: ProjectV2FieldConfiguration - labels: ACZNG_LabelConnection_Field + repositoryResourcePath - The HTTP path for the repository -class ProjectV2ItemFieldMilestoneValue(GQLObject): - """ - ProjectV2ItemFieldMilestoneValue - The value of a milestone field in a Project item. + repositoryUrl - The HTTP URL for the repository - field - The field that contains this value. + user - The user affected by the action - milestone - Milestone value of a field + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - field: ProjectV2FieldConfiguration - milestone: Milestone + userResourcePath - The HTTP path for the user. -class ProjectV2ItemFieldNumberValue(GQLObject): - """ - ProjectV2ItemFieldNumberValue - The value of a number field in a Project item. + userUrl - The HTTP URL for the user. - createdAt - Identifies the date and time when the object was created. + visibility - The visibility of the repository - creator - The actor who created the item. + """ - databaseId - Identifies the primary key from the database. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoAddMemberAuditEntryVisibility] = None - field - The project field that contains this value. - item - The project item that contains this value. +@dataclass(kw_only=True) +class RepoAddTopicAuditEntry: + """ + RepoAddTopicAuditEntry - Audit log entry for a repo.add_topic event. - number - Number as a float(8) + action - The action name - updatedAt - Identifies the date and time when the object was last updated. + actor - The user who initiated the action - """ - createdAt: DateTime - creator: Actor - databaseId: int - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - number: float - updatedAt: DateTime + actorIp - The IP address of the actor -class MISOV_PullRequestConnection_Field(Generic[PullRequestConnection]): - """ - MISOV_PullRequestConnection_Field - The pull requests for this field + actorLocation - A readable representation of the actor's location - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorLogin - The username of the user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorResourcePath - The HTTP path for the actor. - first - Returns the first _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - last - Returns the last _n_ elements from the list. + createdAt - The time the action was initiated - orderBy - Ordering options for pull requests. + id - The Node ID of the RepoAddTopicAuditEntry object - """ - after: str - before: str - first: int - last: int - orderBy: PullRequestOrder + operationType - The corresponding operation type for the action - _args: PullRequestConnectionArgs + organization - The Organization associated with the Audit Entry. + organizationName - The name of the Organization. + organizationResourcePath - The HTTP path for the organization -class ProjectV2ItemFieldPullRequestValue(GQLObject): - """ - ProjectV2ItemFieldPullRequestValue - The value of a pull request field in a Project item. + organizationUrl - The HTTP URL for the organization - field - The field that contains this value. + repository - The repository associated with the action - pullRequests - The pull requests for this field + repositoryName - The name of the repository - """ - field: ProjectV2FieldConfiguration - pullRequests: MISOV_PullRequestConnection_Field ## Circular Reference for PullRequestConnection + repositoryResourcePath - The HTTP path for the repository -class ProjectV2ItemFieldRepositoryValue(GQLObject): - """ - ProjectV2ItemFieldRepositoryValue - The value of a repository field in a Project item. + repositoryUrl - The HTTP URL for the repository - field - The field that contains this value. + topic - The name of the topic added to the repository - repository - The repository for this field. + topicName - The name of the topic added to the repository - """ - field: ProjectV2FieldConfiguration - repository: Repository + user - The user affected by the action -class RequestedReviewer(GQLObject): - pass + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class RequestedReviewerEdge(GQLObject): - """ - RequestedReviewerEdge - An edge in a connection. + userResourcePath - The HTTP path for the user. - cursor - A cursor for use in pagination. + userUrl - The HTTP URL for the user. - node - The item at the end of the edge. + """ - """ - cursor: str - node: RequestedReviewer + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + topic: Optional[Topic] = None + topic_name: Optional[str] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class list_RequestedReviewerEdge(list, RequestedReviewerEdge): pass -class list_RequestedReviewer(list, RequestedReviewer): pass +@dataclass(kw_only=True) +class RepoArchivedAuditEntry: + """ + RepoArchivedAuditEntry - Audit log entry for a repo.archived event. -class RequestedReviewerConnection(GQLObject): - """ - RequestedReviewerConnection - The connection type for RequestedReviewer. + action - The action name - edges - A list of edges. + actor - The user who initiated the action - nodes - A list of nodes. + actorIp - The IP address of the actor - pageInfo - Information to aid in pagination. + actorLocation - A readable representation of the actor's location - totalCount - Identifies the total count of items in the connection. + actorLogin - The username of the user who initiated the action - """ - edges: list_RequestedReviewerEdge[RequestedReviewerEdge] - nodes: list_RequestedReviewer[RequestedReviewer] - pageInfo: PageInfo - totalCount: int + actorResourcePath - The HTTP path for the actor. -class HGKME_RequestedReviewerConnection_Field(RequestedReviewerConnection): - """ - HGKME_RequestedReviewerConnection_Field - The reviewers for this field. + actorUrl - The HTTP URL for the actor. - """ - class RequestedReviewerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + createdAt - The time the action was initiated - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the RepoArchivedAuditEntry object - first - Returns the first _n_ elements from the list. + operationType - The corresponding operation type for the action - last - Returns the last _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - """ - after: str - before: str - first: int - last: int + organizationName - The name of the Organization. - _args: RequestedReviewerConnectionArgs + organizationResourcePath - The HTTP path for the organization + organizationUrl - The HTTP URL for the organization + repository - The repository associated with the action -class ProjectV2ItemFieldReviewerValue(GQLObject): - """ - ProjectV2ItemFieldReviewerValue - The value of a reviewers field in a Project item. + repositoryName - The name of the repository - field - The field that contains this value. + repositoryResourcePath - The HTTP path for the repository - reviewers - The reviewers for this field. + repositoryUrl - The HTTP URL for the repository - """ - field: ProjectV2FieldConfiguration - reviewers: HGKME_RequestedReviewerConnection_Field + user - The user affected by the action -class ProjectV2ItemFieldSingleSelectValue(GQLObject): - """ - ProjectV2ItemFieldSingleSelectValue - The value of a single select field in a Project item. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - color - The color applied to the selected single-select option. + userResourcePath - The HTTP path for the user. - createdAt - Identifies the date and time when the object was created. + userUrl - The HTTP URL for the user. - creator - The actor who created the item. + visibility - The visibility of the repository - databaseId - Identifies the primary key from the database. + """ - description - A plain-text description of the selected single-select option, such as what the option means. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoArchivedAuditEntryVisibility] = None - descriptionHTML - The description of the selected single-select option, including HTML tags. - field - The project field that contains this value. +@dataclass(kw_only=True) +class RepoChangeMergeSettingAuditEntry: + """ + RepoChangeMergeSettingAuditEntry - Audit log entry for a repo.change_merge_setting event. - item - The project item that contains this value. + action - The action name - name - The name of the selected single select option. + actor - The user who initiated the action - nameHTML - The html name of the selected single select option. + actorIp - The IP address of the actor - optionId - The id of the selected single select option. + actorLocation - A readable representation of the actor's location - updatedAt - Identifies the date and time when the object was last updated. + actorLogin - The username of the user who initiated the action - """ - color: ProjectV2SingleSelectFieldOptionColor - createdAt: DateTime - creator: Actor - databaseId: int - description: str - descriptionHTML: str - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - name: str - nameHTML: str - optionId: str - updatedAt: DateTime + actorResourcePath - The HTTP path for the actor. -class ProjectV2ItemFieldTextValue(GQLObject): - """ - ProjectV2ItemFieldTextValue - The value of a text field in a Project item. + actorUrl - The HTTP URL for the actor. - createdAt - Identifies the date and time when the object was created. + createdAt - The time the action was initiated - creator - The actor who created the item. + id - The Node ID of the RepoChangeMergeSettingAuditEntry object - databaseId - Identifies the primary key from the database. + isEnabled - Whether the change was to enable (true) or disable (false) the merge type - field - The project field that contains this value. + mergeType - The merge method affected by the change - item - The project item that contains this value. + operationType - The corresponding operation type for the action - text - Text value of a field + organization - The Organization associated with the Audit Entry. - updatedAt - Identifies the date and time when the object was last updated. + organizationName - The name of the Organization. - """ - createdAt: DateTime - creator: Actor - databaseId: int - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - text: str - updatedAt: DateTime + organizationResourcePath - The HTTP path for the organization -class WOROF_UserConnection_Field(UserConnection): - """ - WOROF_UserConnection_Field - The users for this field + organizationUrl - The HTTP URL for the organization - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + repository - The repository associated with the action - before - Returns the elements in the list that come before the specified cursor. + repositoryName - The name of the repository - first - Returns the first _n_ elements from the list. + repositoryResourcePath - The HTTP path for the repository - last - Returns the last _n_ elements from the list. + repositoryUrl - The HTTP URL for the repository - """ - after: str - before: str - first: int - last: int + user - The user affected by the action - _args: UserConnectionArgs + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. -class ProjectV2ItemFieldUserValue(GQLObject): - """ - ProjectV2ItemFieldUserValue - The value of a user field in a Project item. + """ - field - The field that contains this value. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_enabled: Optional[bool] = None + merge_type: Optional[RepoChangeMergeSettingAuditEntryMergeType] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - users - The users for this field - """ - field: ProjectV2FieldConfiguration - users: WOROF_UserConnection_Field +@dataclass(kw_only=True) +class RepoConfigDisableAnonymousGitAccessAuditEntry: + """ + RepoConfigDisableAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.disable_anonymous_git_access event. -class ProjectV2ItemFieldValue(GQLObject): - pass + action - The action name -class ProjectV2ItemFieldValueEdge(GQLObject): - """ - ProjectV2ItemFieldValueEdge - An edge in a connection. + actor - The user who initiated the action - cursor - A cursor for use in pagination. + actorIp - The IP address of the actor - node - The item at the end of the edge. + actorLocation - A readable representation of the actor's location - """ - cursor: str - node: ProjectV2ItemFieldValue + actorLogin - The username of the user who initiated the action -class list_ProjectV2ItemFieldValueEdge(list, ProjectV2ItemFieldValueEdge): pass + actorResourcePath - The HTTP path for the actor. -class list_ProjectV2ItemFieldValue(list, ProjectV2ItemFieldValue): pass + actorUrl - The HTTP URL for the actor. -class ProjectV2ItemFieldValueConnection(GQLObject): - """ - ProjectV2ItemFieldValueConnection - The connection type for ProjectV2ItemFieldValue. + createdAt - The time the action was initiated - edges - A list of edges. + id - The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object - nodes - A list of nodes. + operationType - The corresponding operation type for the action - pageInfo - Information to aid in pagination. + organization - The Organization associated with the Audit Entry. - totalCount - Identifies the total count of items in the connection. + organizationName - The name of the Organization. - """ - edges: list_ProjectV2ItemFieldValueEdge[ProjectV2ItemFieldValueEdge] - nodes: list_ProjectV2ItemFieldValue[ProjectV2ItemFieldValue] - pageInfo: PageInfo - totalCount: int + organizationResourcePath - The HTTP path for the organization -class TCDHW_ProjectV2ItemFieldValue_Field(ProjectV2ItemFieldValue): - """ - TCDHW_ProjectV2ItemFieldValue_Field - The field value of the first project field which matches the 'name' argument that is set on the item. + organizationUrl - The HTTP URL for the organization - """ - class ProjectV2ItemFieldValueArgs(GQLArgsSet, GQLObject): - """ - name - The name of the field to return the field value of + repository - The repository associated with the action - """ - name: NonNull_str + repositoryName - The name of the repository - _args: ProjectV2ItemFieldValueArgs + repositoryResourcePath - The HTTP path for the repository + repositoryUrl - The HTTP URL for the repository + user - The user affected by the action -class IFIXN_ProjectV2ItemFieldValueConnection_Field(ProjectV2ItemFieldValueConnection): - """ - IFIXN_ProjectV2ItemFieldValueConnection_Field - The field values that are set on the item. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - class ProjectV2ItemFieldValueConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + userResourcePath - The HTTP path for the user. - before - Returns the elements in the list that come before the specified cursor. + userUrl - The HTTP URL for the user. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - orderBy - Ordering options for project v2 item field values returned from the connection - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2ItemFieldValueOrder +@dataclass(kw_only=True) +class RepoConfigDisableCollaboratorsOnlyAuditEntry: + """ + RepoConfigDisableCollaboratorsOnlyAuditEntry - Audit log entry for a repo.config.disable_collaborators_only event. - _args: ProjectV2ItemFieldValueConnectionArgs + action - The action name + actor - The user who initiated the action + actorIp - The IP address of the actor -class ProjectV2Item(GQLObject): - """ - ProjectV2Item - An item within a Project. + actorLocation - A readable representation of the actor's location - content - The content of the referenced draft issue, issue, or pull request + actorLogin - The username of the user who initiated the action - createdAt - Identifies the date and time when the object was created. + actorResourcePath - The HTTP path for the actor. - creator - The actor who created the item. + actorUrl - The HTTP URL for the actor. - databaseId - Identifies the primary key from the database. + createdAt - The time the action was initiated - fieldValueByName - The field value of the first project field which matches the 'name' argument that is set on the item. + id - The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object - fieldValues - The field values that are set on the item. + operationType - The corresponding operation type for the action - isArchived - Whether the item is archived. + organization - The Organization associated with the Audit Entry. - project - The project that contains this item. + organizationName - The name of the Organization. - type - The type of the item. + organizationResourcePath - The HTTP path for the organization - updatedAt - Identifies the date and time when the object was last updated. + organizationUrl - The HTTP URL for the organization - """ - content: ProjectV2ItemContent - createdAt: DateTime - creator: Actor - databaseId: int - fieldValueByName: TCDHW_ProjectV2ItemFieldValue_Field - fieldValues: IFIXN_ProjectV2ItemFieldValueConnection_Field - id: ID - isArchived: bool - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - type: ProjectV2ItemType - updatedAt: DateTime + repository - The repository associated with the action -class ProjectV2ItemEdge(GQLObject): - """ - ProjectV2ItemEdge - An edge in a connection. + repositoryName - The name of the repository - cursor - A cursor for use in pagination. + repositoryResourcePath - The HTTP path for the repository - node - The item at the end of the edge. + repositoryUrl - The HTTP URL for the repository - """ - cursor: str - node: ProjectV2Item + user - The user affected by the action -class list_ProjectV2ItemEdge(list, ProjectV2ItemEdge): pass + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class list_ProjectV2Item(list, ProjectV2Item): pass + userResourcePath - The HTTP path for the user. -class ProjectV2ItemConnection(GQLObject): - """ - ProjectV2ItemConnection - The connection type for ProjectV2Item. + userUrl - The HTTP URL for the user. - edges - A list of edges. + """ - nodes - A list of nodes. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class RepoConfigDisableContributorsOnlyAuditEntry: + """ + RepoConfigDisableContributorsOnlyAuditEntry - Audit log entry for a repo.config.disable_contributors_only event. - """ - edges: list_ProjectV2ItemEdge[ProjectV2ItemEdge] - nodes: list_ProjectV2Item[ProjectV2Item] - pageInfo: PageInfo - totalCount: int + action - The action name -class ZOMWL_ProjectV2_Field(Generic[ProjectV2]): - """ - ZOMWL_ProjectV2_Field - Find a project by number. + actor - The user who initiated the action - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The project number. + actorIp - The IP address of the actor - """ - number: NonNull_int + actorLocation - A readable representation of the actor's location - _args: ProjectV2Args + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. + actorUrl - The HTTP URL for the actor. -class MZHVY_ProjectV2Connection_Field(ProjectV2Connection): - """ - MZHVY_ProjectV2Connection_Field - A list of projects under the owner. + createdAt - The time the action was initiated - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - query - A project to search for under the the owner. + id - The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object - orderBy - How to order the returned projects. + operationType - The corresponding operation type for the action - after - Returns the elements in the list that come after the specified cursor. + organization - The Organization associated with the Audit Entry. - before - Returns the elements in the list that come before the specified cursor. + organizationName - The name of the Organization. - first - Returns the first _n_ elements from the list. + organizationResourcePath - The HTTP path for the organization - last - Returns the last _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - """ - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int + repository - The repository associated with the action - _args: ProjectV2ConnectionArgs + repositoryName - The name of the repository + repositoryResourcePath - The HTTP path for the repository + repositoryUrl - The HTTP URL for the repository -class ProjectV2Owner(GQLObject): - """ - ProjectV2Owner - Represents an owner of a project (beta). + user - The user affected by the action - projectV2 - Find a project by number. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - projectsV2 - A list of projects under the owner. + userResourcePath - The HTTP path for the user. - """ - id: ID - projectV2: ZOMWL_ProjectV2_Field ## Circular Reference for ProjectV2 - projectsV2: MZHVY_ProjectV2Connection_Field + userUrl - The HTTP URL for the user. -class ProjectV2FieldEdge(GQLObject): - """ - ProjectV2FieldEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - node - The item at the end of the edge. - """ - cursor: str - node: ProjectV2Field +@dataclass(kw_only=True) +class RepoConfigDisableSockpuppetDisallowedAuditEntry: + """ + RepoConfigDisableSockpuppetDisallowedAuditEntry - Audit log entry for a repo.config.disable_sockpuppet_disallowed event. -class list_ProjectV2FieldEdge(list, ProjectV2FieldEdge): pass + action - The action name -class list_ProjectV2Field(list, ProjectV2Field): pass + actor - The user who initiated the action -class ProjectV2FieldConnection(GQLObject): - """ - ProjectV2FieldConnection - The connection type for ProjectV2Field. + actorIp - The IP address of the actor - edges - A list of edges. + actorLocation - A readable representation of the actor's location - nodes - A list of nodes. + actorLogin - The username of the user who initiated the action - pageInfo - Information to aid in pagination. + actorResourcePath - The HTTP path for the actor. - totalCount - Identifies the total count of items in the connection. + actorUrl - The HTTP URL for the actor. - """ - edges: list_ProjectV2FieldEdge[ProjectV2FieldEdge] - nodes: list_ProjectV2Field[ProjectV2Field] - pageInfo: PageInfo - totalCount: int + createdAt - The time the action was initiated -class ProjectV2SortBy(GQLObject): - """ - ProjectV2SortBy - Represents a sort by field and direction. + id - The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object - direction - The direction of the sorting. Possible values are ASC and DESC. + operationType - The corresponding operation type for the action - field - The field by which items are sorted. + organization - The Organization associated with the Audit Entry. - """ - direction: OrderDirection - field: ProjectV2Field + organizationName - The name of the Organization. -class ProjectV2SortByEdge(GQLObject): - """ - ProjectV2SortByEdge - An edge in a connection. + organizationResourcePath - The HTTP path for the organization - cursor - A cursor for use in pagination. + organizationUrl - The HTTP URL for the organization - node - The item at the end of the edge. + repository - The repository associated with the action - """ - cursor: str - node: ProjectV2SortBy + repositoryName - The name of the repository -class list_ProjectV2SortByEdge(list, ProjectV2SortByEdge): pass + repositoryResourcePath - The HTTP path for the repository -class list_ProjectV2SortBy(list, ProjectV2SortBy): pass + repositoryUrl - The HTTP URL for the repository -class ProjectV2SortByConnection(GQLObject): - """ - ProjectV2SortByConnection - The connection type for ProjectV2SortBy. + user - The user affected by the action - edges - A list of edges. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - nodes - A list of nodes. + userResourcePath - The HTTP path for the user. - pageInfo - Information to aid in pagination. + userUrl - The HTTP URL for the user. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_ProjectV2SortByEdge[ProjectV2SortByEdge] - nodes: list_ProjectV2SortBy[ProjectV2SortBy] - pageInfo: PageInfo - totalCount: int + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class ProjectV2SortByField(GQLObject): - """ - ProjectV2SortByField - Represents a sort by field and direction. - direction - The direction of the sorting. Possible values are ASC and DESC. +@dataclass(kw_only=True) +class RepoConfigEnableAnonymousGitAccessAuditEntry: + """ + RepoConfigEnableAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.enable_anonymous_git_access event. - field - The field by which items are sorted. + action - The action name - """ - direction: OrderDirection - field: ProjectV2FieldConfiguration + actor - The user who initiated the action -class ProjectV2SortByFieldEdge(GQLObject): - """ - ProjectV2SortByFieldEdge - An edge in a connection. + actorIp - The IP address of the actor - cursor - A cursor for use in pagination. + actorLocation - A readable representation of the actor's location - node - The item at the end of the edge. + actorLogin - The username of the user who initiated the action - """ - cursor: str - node: ProjectV2SortByField + actorResourcePath - The HTTP path for the actor. -class list_ProjectV2SortByFieldEdge(list, ProjectV2SortByFieldEdge): pass + actorUrl - The HTTP URL for the actor. -class list_ProjectV2SortByField(list, ProjectV2SortByField): pass + createdAt - The time the action was initiated -class ProjectV2SortByFieldConnection(GQLObject): - """ - ProjectV2SortByFieldConnection - The connection type for ProjectV2SortByField. + id - The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object - edges - A list of edges. + operationType - The corresponding operation type for the action - nodes - A list of nodes. + organization - The Organization associated with the Audit Entry. - pageInfo - Information to aid in pagination. + organizationName - The name of the Organization. - totalCount - Identifies the total count of items in the connection. + organizationResourcePath - The HTTP path for the organization - """ - edges: list_ProjectV2SortByFieldEdge[ProjectV2SortByFieldEdge] - nodes: list_ProjectV2SortByField[ProjectV2SortByField] - pageInfo: PageInfo - totalCount: int + organizationUrl - The HTTP URL for the organization -class RRHKO_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - """ - RRHKO_ProjectV2FieldConfigurationConnection_Field - The view's visible fields. + repository - The repository associated with the action - """ - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + repositoryName - The name of the repository - before - Returns the elements in the list that come before the specified cursor. + repositoryResourcePath - The HTTP path for the repository - first - Returns the first _n_ elements from the list. + repositoryUrl - The HTTP URL for the repository - last - Returns the last _n_ elements from the list. + user - The user affected by the action - orderBy - Ordering options for the project v2 fields returned from the connection. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder + userResourcePath - The HTTP path for the user. - _args: ProjectV2FieldConfigurationConnectionArgs + userUrl - The HTTP URL for the user. + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class JZMSV_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - """ - JZMSV_ProjectV2FieldConfigurationConnection_Field - The view's group-by field. - """ - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class RepoConfigEnableCollaboratorsOnlyAuditEntry: + """ + RepoConfigEnableCollaboratorsOnlyAuditEntry - Audit log entry for a repo.config.enable_collaborators_only event. - before - Returns the elements in the list that come before the specified cursor. + action - The action name - first - Returns the first _n_ elements from the list. + actor - The user who initiated the action - last - Returns the last _n_ elements from the list. + actorIp - The IP address of the actor - orderBy - Ordering options for the project v2 fields returned from the connection. + actorLocation - A readable representation of the actor's location - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder + actorLogin - The username of the user who initiated the action - _args: ProjectV2FieldConfigurationConnectionArgs + actorResourcePath - The HTTP path for the actor. + actorUrl - The HTTP URL for the actor. + createdAt - The time the action was initiated -class LRBPM_ProjectV2SortByFieldConnection_Field(ProjectV2SortByFieldConnection): - """ - LRBPM_ProjectV2SortByFieldConnection_Field - The view's sort-by config. + id - The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object - """ - class ProjectV2SortByFieldConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + operationType - The corresponding operation type for the action - before - Returns the elements in the list that come before the specified cursor. + organization - The Organization associated with the Audit Entry. - first - Returns the first _n_ elements from the list. + organizationName - The name of the Organization. - last - Returns the last _n_ elements from the list. + organizationResourcePath - The HTTP path for the organization - """ - after: str - before: str - first: int - last: int + organizationUrl - The HTTP URL for the organization - _args: ProjectV2SortByFieldConnectionArgs + repository - The repository associated with the action + repositoryName - The name of the repository + repositoryResourcePath - The HTTP path for the repository -class ZYQMP_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - """ - ZYQMP_ProjectV2FieldConfigurationConnection_Field - The view's vertical-group-by field. + repositoryUrl - The HTTP URL for the repository - """ - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + user - The user affected by the action - before - Returns the elements in the list that come before the specified cursor. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - first - Returns the first _n_ elements from the list. + userResourcePath - The HTTP path for the user. - last - Returns the last _n_ elements from the list. + userUrl - The HTTP URL for the user. - orderBy - Ordering options for the project v2 fields returned from the connection. + """ - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - _args: ProjectV2FieldConfigurationConnectionArgs +@dataclass(kw_only=True) +class RepoConfigEnableContributorsOnlyAuditEntry: + """ + RepoConfigEnableContributorsOnlyAuditEntry - Audit log entry for a repo.config.enable_contributors_only event. + action - The action name -class ProjectV2View(GQLObject): - """ - ProjectV2View - A view within a ProjectV2. + actor - The user who initiated the action - createdAt - Identifies the date and time when the object was created. + actorIp - The IP address of the actor - databaseId - Identifies the primary key from the database. + actorLocation - A readable representation of the actor's location - fields - The view's visible fields. + actorLogin - The username of the user who initiated the action - filter - The project view's filter. + actorResourcePath - The HTTP path for the actor. - groupByFields - The view's group-by field. + actorUrl - The HTTP URL for the actor. - layout - The project view's layout. + createdAt - The time the action was initiated - name - The project view's name. + id - The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object - number - The project view's number. + operationType - The corresponding operation type for the action - project - The project that contains this view. + organization - The Organization associated with the Audit Entry. - sortByFields - The view's sort-by config. + organizationName - The name of the Organization. - updatedAt - Identifies the date and time when the object was last updated. + organizationResourcePath - The HTTP path for the organization - verticalGroupByFields - The view's vertical-group-by field. + organizationUrl - The HTTP URL for the organization - """ - createdAt: DateTime - databaseId: int - fields: RRHKO_ProjectV2FieldConfigurationConnection_Field - filter: str - groupByFields: JZMSV_ProjectV2FieldConfigurationConnection_Field - id: ID - layout: ProjectV2ViewLayout - name: str - number: int - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - sortByFields: LRBPM_ProjectV2SortByFieldConnection_Field - updatedAt: DateTime - verticalGroupByFields: ZYQMP_ProjectV2FieldConfigurationConnection_Field + repository - The repository associated with the action -class ProjectV2ViewEdge(GQLObject): - """ - ProjectV2ViewEdge - An edge in a connection. + repositoryName - The name of the repository - cursor - A cursor for use in pagination. + repositoryResourcePath - The HTTP path for the repository - node - The item at the end of the edge. + repositoryUrl - The HTTP URL for the repository - """ - cursor: str - node: ProjectV2View + user - The user affected by the action -class list_ProjectV2ViewEdge(list, ProjectV2ViewEdge): pass + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class list_ProjectV2View(list, ProjectV2View): pass + userResourcePath - The HTTP path for the user. -class ProjectV2ViewConnection(GQLObject): - """ - ProjectV2ViewConnection - The connection type for ProjectV2View. + userUrl - The HTTP URL for the user. - edges - A list of edges. + """ - nodes - A list of nodes. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class RepoConfigEnableSockpuppetDisallowedAuditEntry: + """ + RepoConfigEnableSockpuppetDisallowedAuditEntry - Audit log entry for a repo.config.enable_sockpuppet_disallowed event. - """ - edges: list_ProjectV2ViewEdge[ProjectV2ViewEdge] - nodes: list_ProjectV2View[ProjectV2View] - pageInfo: PageInfo - totalCount: int + action - The action name -class ProjectV2Workflow(GQLObject): - """ - ProjectV2Workflow - A workflow inside a project. + actor - The user who initiated the action - createdAt - Identifies the date and time when the object was created. + actorIp - The IP address of the actor - databaseId - Identifies the primary key from the database. + actorLocation - A readable representation of the actor's location - enabled - The workflows' enabled state. + actorLogin - The username of the user who initiated the action - name - The workflows' name. + actorResourcePath - The HTTP path for the actor. - number - The workflows' number. + actorUrl - The HTTP URL for the actor. - project - The project that contains this workflow. + createdAt - The time the action was initiated - updatedAt - Identifies the date and time when the object was last updated. + id - The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object - """ - createdAt: DateTime - databaseId: int - enabled: bool - id: ID - name: str - number: int - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime + operationType - The corresponding operation type for the action -class ProjectV2WorkflowEdge(GQLObject): - """ - ProjectV2WorkflowEdge - An edge in a connection. + organization - The Organization associated with the Audit Entry. - cursor - A cursor for use in pagination. + organizationName - The name of the Organization. - node - The item at the end of the edge. + organizationResourcePath - The HTTP path for the organization - """ - cursor: str - node: ProjectV2Workflow + organizationUrl - The HTTP URL for the organization -class list_ProjectV2WorkflowEdge(list, ProjectV2WorkflowEdge): pass + repository - The repository associated with the action -class list_ProjectV2Workflow(list, ProjectV2Workflow): pass + repositoryName - The name of the repository -class ProjectV2WorkflowConnection(GQLObject): - """ - ProjectV2WorkflowConnection - The connection type for ProjectV2Workflow. + repositoryResourcePath - The HTTP path for the repository - edges - A list of edges. + repositoryUrl - The HTTP URL for the repository - nodes - A list of nodes. + user - The user affected by the action - pageInfo - Information to aid in pagination. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - totalCount - Identifies the total count of items in the connection. + userResourcePath - The HTTP path for the user. - """ - edges: list_ProjectV2WorkflowEdge[ProjectV2WorkflowEdge] - nodes: list_ProjectV2Workflow[ProjectV2Workflow] - pageInfo: PageInfo - totalCount: int + userUrl - The HTTP URL for the user. -class QCQCR_ProjectV2FieldConfiguration_Field(ProjectV2FieldConfiguration): - """ - QCQCR_ProjectV2FieldConfiguration_Field - A field of the project + """ - """ - class ProjectV2FieldConfigurationArgs(GQLArgsSet, GQLObject): - """ - name - The name of the field + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - name: NonNull_str - _args: ProjectV2FieldConfigurationArgs +@dataclass(kw_only=True) +class RepoConfigLockAnonymousGitAccessAuditEntry: + """ + RepoConfigLockAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.lock_anonymous_git_access event. + action - The action name + actor - The user who initiated the action -class WQATT_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - """ - WQATT_ProjectV2FieldConfigurationConnection_Field - List of fields and their constraints in the project + actorIp - The IP address of the actor - """ - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorLocation - A readable representation of the actor's location - before - Returns the elements in the list that come before the specified cursor. + actorLogin - The username of the user who initiated the action - first - Returns the first _n_ elements from the list. + actorResourcePath - The HTTP path for the actor. - last - Returns the last _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - orderBy - Ordering options for project v2 fields returned from the connection + createdAt - The time the action was initiated - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder + id - The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object - _args: ProjectV2FieldConfigurationConnectionArgs + operationType - The corresponding operation type for the action + organization - The Organization associated with the Audit Entry. + organizationName - The name of the Organization. -class SEICT_ProjectV2ItemConnection_Field(ProjectV2ItemConnection): - """ - SEICT_ProjectV2ItemConnection_Field - List of items in the project + organizationResourcePath - The HTTP path for the organization - """ - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationUrl - The HTTP URL for the organization - before - Returns the elements in the list that come before the specified cursor. + repository - The repository associated with the action - first - Returns the first _n_ elements from the list. + repositoryName - The name of the repository - last - Returns the last _n_ elements from the list. + repositoryResourcePath - The HTTP path for the repository - orderBy - Ordering options for project v2 items returned from the connection + repositoryUrl - The HTTP URL for the repository - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2ItemOrder + user - The user affected by the action - _args: ProjectV2ItemConnectionArgs + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. -class YAYFI_RepositoryConnection_Field(RepositoryConnection): - """ - YAYFI_RepositoryConnection_Field - The repositories the project is linked to. + """ - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class RepoConfigUnlockAnonymousGitAccessAuditEntry: + """ + RepoConfigUnlockAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.unlock_anonymous_git_access event. - last - Returns the last _n_ elements from the list. + action - The action name - orderBy - Ordering options for repositories returned from the connection + actor - The user who initiated the action - """ - after: str - before: str - first: int - last: int - orderBy: RepositoryOrder + actorIp - The IP address of the actor - _args: RepositoryConnectionArgs + actorLocation - A readable representation of the actor's location + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. -class MNQWC_TeamConnection_Field(TeamConnection): - """ - MNQWC_TeamConnection_Field - The teams the project is linked to. + actorUrl - The HTTP URL for the actor. - """ - class TeamConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + createdAt - The time the action was initiated - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object - first - Returns the first _n_ elements from the list. + operationType - The corresponding operation type for the action - last - Returns the last _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - orderBy - Ordering options for teams returned from this connection. + organizationName - The name of the Organization. - """ - after: str - before: str - first: int - last: int - orderBy: TeamOrder + organizationResourcePath - The HTTP path for the organization - _args: TeamConnectionArgs + organizationUrl - The HTTP URL for the organization + repository - The repository associated with the action + repositoryName - The name of the repository -class GKOGP_ProjectV2View_Field(ProjectV2View): - """ - GKOGP_ProjectV2View_Field - A view of the project + repositoryResourcePath - The HTTP path for the repository - """ - class ProjectV2ViewArgs(GQLArgsSet, GQLObject): - """ - number - The number of a view belonging to the project + repositoryUrl - The HTTP URL for the repository - """ - number: NonNull_int + user - The user affected by the action - _args: ProjectV2ViewArgs + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. -class XDQSG_ProjectV2ViewConnection_Field(ProjectV2ViewConnection): - """ - XDQSG_ProjectV2ViewConnection_Field - List of views in the project + """ - """ - class ProjectV2ViewConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class RepoCreateAuditEntry: + """ + RepoCreateAuditEntry - Audit log entry for a repo.create event. - last - Returns the last _n_ elements from the list. + action - The action name - orderBy - Ordering options for project v2 views returned from the connection + actor - The user who initiated the action - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2ViewOrder + actorIp - The IP address of the actor - _args: ProjectV2ViewConnectionArgs + actorLocation - A readable representation of the actor's location + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. -class FIZWZ_ProjectV2Workflow_Field(ProjectV2Workflow): - """ - FIZWZ_ProjectV2Workflow_Field - A workflow of the project + actorUrl - The HTTP URL for the actor. - """ - class ProjectV2WorkflowArgs(GQLArgsSet, GQLObject): - """ - number - The number of a workflow belonging to the project + createdAt - The time the action was initiated - """ - number: NonNull_int + forkParentName - The name of the parent repository for this forked repository. - _args: ProjectV2WorkflowArgs + forkSourceName - The name of the root repository for this network. + id - The Node ID of the RepoCreateAuditEntry object + operationType - The corresponding operation type for the action -class VOZPZ_ProjectV2WorkflowConnection_Field(ProjectV2WorkflowConnection): - """ - VOZPZ_ProjectV2WorkflowConnection_Field - List of the workflows in the project + organization - The Organization associated with the Audit Entry. - """ - class ProjectV2WorkflowConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationName - The name of the Organization. - before - Returns the elements in the list that come before the specified cursor. + organizationResourcePath - The HTTP path for the organization - first - Returns the first _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - last - Returns the last _n_ elements from the list. + repository - The repository associated with the action - orderBy - Ordering options for project v2 workflows returned from the connection + repositoryName - The name of the repository - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2WorkflowOrder + repositoryResourcePath - The HTTP path for the repository - _args: ProjectV2WorkflowConnectionArgs + repositoryUrl - The HTTP URL for the repository + user - The user affected by the action + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class ProjectV2(GQLObject): - """ - ProjectV2 - New projects that manage issues, pull requests and drafts using tables and boards. + userResourcePath - The HTTP path for the user. - closed - Returns true if the project is closed. + userUrl - The HTTP URL for the user. - closedAt - Identifies the date and time when the object was closed. + visibility - The visibility of the repository - createdAt - Identifies the date and time when the object was created. + """ - creator - The actor who originally created the project. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + fork_parent_name: Optional[str] = None + fork_source_name: Optional[str] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoCreateAuditEntryVisibility] = None - databaseId - Identifies the primary key from the database. - field - A field of the project +@dataclass(kw_only=True) +class RepoDestroyAuditEntry: + """ + RepoDestroyAuditEntry - Audit log entry for a repo.destroy event. - fields - List of fields and their constraints in the project + action - The action name - items - List of items in the project + actor - The user who initiated the action - number - The project's number. + actorIp - The IP address of the actor - owner - The project's owner. Currently limited to organizations and users. + actorLocation - A readable representation of the actor's location - public - Returns true if the project is public. + actorLogin - The username of the user who initiated the action - readme - The project's readme. + actorResourcePath - The HTTP path for the actor. - repositories - The repositories the project is linked to. + actorUrl - The HTTP URL for the actor. - resourcePath - The HTTP path for this project + createdAt - The time the action was initiated - shortDescription - The project's short description. + id - The Node ID of the RepoDestroyAuditEntry object - teams - The teams the project is linked to. + operationType - The corresponding operation type for the action - template - Returns true if this project is a template. + organization - The Organization associated with the Audit Entry. - title - The project's name. + organizationName - The name of the Organization. - updatedAt - Identifies the date and time when the object was last updated. + organizationResourcePath - The HTTP path for the organization - url - The HTTP URL for this project + organizationUrl - The HTTP URL for the organization - view - A view of the project + repository - The repository associated with the action - viewerCanClose - Indicates if the object can be closed by the viewer. + repositoryName - The name of the repository - viewerCanReopen - Indicates if the object can be reopened by the viewer. + repositoryResourcePath - The HTTP path for the repository - viewerCanUpdate - Check if the current viewer can update this object. + repositoryUrl - The HTTP URL for the repository - views - List of views in the project + user - The user affected by the action - workflow - A workflow of the project + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - workflows - List of the workflows in the project + userResourcePath - The HTTP path for the user. - """ - closed: bool - closedAt: DateTime - createdAt: DateTime - creator: Actor - databaseId: int - field: QCQCR_ProjectV2FieldConfiguration_Field - fields: WQATT_ProjectV2FieldConfigurationConnection_Field - id: ID - items: SEICT_ProjectV2ItemConnection_Field - number: int - owner: ProjectV2Owner - public: bool - readme: str - repositories: YAYFI_RepositoryConnection_Field - resourcePath: URI - shortDescription: str - teams: MNQWC_TeamConnection_Field - template: bool - title: str - updatedAt: DateTime - url: URI - view: GKOGP_ProjectV2View_Field - viewerCanClose: bool - viewerCanReopen: bool - viewerCanUpdate: bool - views: XDQSG_ProjectV2ViewConnection_Field - workflow: FIZWZ_ProjectV2Workflow_Field - workflows: VOZPZ_ProjectV2WorkflowConnection_Field + userUrl - The HTTP URL for the user. -class TeamRepositoryEdge(GQLObject): - """ - TeamRepositoryEdge - Represents a team repository. + visibility - The visibility of the repository - cursor - A cursor for use in pagination. + """ - permission - The permission level the team has on the repository + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoDestroyAuditEntryVisibility] = None - """ - cursor: str - node: Repository - permission: RepositoryPermission -class list_TeamRepositoryEdge(list, TeamRepositoryEdge): pass +@dataclass(kw_only=True) +class RepoRemoveMemberAuditEntry: + """ + RepoRemoveMemberAuditEntry - Audit log entry for a repo.remove_member event. -class list_Repository(list, Repository): pass + action - The action name -class TeamRepositoryConnection(GQLObject): - """ - TeamRepositoryConnection - The connection type for Repository. + actor - The user who initiated the action - edges - A list of edges. + actorIp - The IP address of the actor - nodes - A list of nodes. + actorLocation - A readable representation of the actor's location - pageInfo - Information to aid in pagination. + actorLogin - The username of the user who initiated the action - totalCount - Identifies the total count of items in the connection. + actorResourcePath - The HTTP path for the actor. - """ - edges: list_TeamRepositoryEdge[TeamRepositoryEdge] - nodes: list_Repository[Repository] - pageInfo: PageInfo - totalCount: int + actorUrl - The HTTP URL for the actor. -class CPGCZ_TeamConnection_Field(TeamConnection): - """ - CPGCZ_TeamConnection_Field - A list of teams that are ancestors of this team. + createdAt - The time the action was initiated - """ - class TeamConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the RepoRemoveMemberAuditEntry object - before - Returns the elements in the list that come before the specified cursor. + operationType - The corresponding operation type for the action - first - Returns the first _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - last - Returns the last _n_ elements from the list. + organizationName - The name of the Organization. - """ - after: str - before: str - first: int - last: int + organizationResourcePath - The HTTP path for the organization - _args: TeamConnectionArgs + organizationUrl - The HTTP URL for the organization + repository - The repository associated with the action + repositoryName - The name of the repository -class RSYLZ_TeamConnection_Field(TeamConnection): - """ - RSYLZ_TeamConnection_Field - List of child teams belonging to this team + repositoryResourcePath - The HTTP path for the repository - """ - class TeamConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Order for connection + repositoryUrl - The HTTP URL for the repository - userLogins - User logins to filter by + user - The user affected by the action - immediateOnly - Whether to list immediate child teams or all descendant child teams. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - after - Returns the elements in the list that come after the specified cursor. + userResourcePath - The HTTP path for the user. - before - Returns the elements in the list that come before the specified cursor. + userUrl - The HTTP URL for the user. - first - Returns the first _n_ elements from the list. + visibility - The visibility of the repository - last - Returns the last _n_ elements from the list. + """ - """ - orderBy: TeamOrder - userLogins: list[NonNull_str] - immediateOnly: bool - after: str - before: str - first: int - last: int + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoRemoveMemberAuditEntryVisibility] = None - _args: TeamConnectionArgs +@dataclass(kw_only=True) +class RepoRemoveTopicAuditEntry: + """ + RepoRemoveTopicAuditEntry - Audit log entry for a repo.remove_topic event. + action - The action name -class PKEIL_TeamDiscussion_Field(TeamDiscussion): - """ - PKEIL_TeamDiscussion_Field - Find a team discussion by its number. + actor - The user who initiated the action - """ - class TeamDiscussionArgs(GQLArgsSet, GQLObject): - """ - number - The sequence number of the discussion to find. + actorIp - The IP address of the actor - """ - number: NonNull_int + actorLocation - A readable representation of the actor's location - _args: TeamDiscussionArgs + actorLogin - The username of the user who initiated the action + actorResourcePath - The HTTP path for the actor. + actorUrl - The HTTP URL for the actor. -class OWCDD_TeamDiscussionConnection_Field(TeamDiscussionConnection): - """ - OWCDD_TeamDiscussionConnection_Field - A list of team discussions. + createdAt - The time the action was initiated - """ - class TeamDiscussionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the RepoRemoveTopicAuditEntry object - before - Returns the elements in the list that come before the specified cursor. + operationType - The corresponding operation type for the action - first - Returns the first _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - last - Returns the last _n_ elements from the list. + organizationName - The name of the Organization. - isPinned - If provided, filters discussions according to whether or not they are pinned. + organizationResourcePath - The HTTP path for the organization - orderBy - Order for connection + organizationUrl - The HTTP URL for the organization - """ - after: str - before: str - first: int - last: int - isPinned: bool - orderBy: TeamDiscussionOrder + repository - The repository associated with the action - _args: TeamDiscussionConnectionArgs + repositoryName - The name of the repository + repositoryResourcePath - The HTTP path for the repository + repositoryUrl - The HTTP URL for the repository -class NDJZL_OrganizationInvitationConnection_Field(OrganizationInvitationConnection): - """ - NDJZL_OrganizationInvitationConnection_Field - A list of pending invitations for users to this team + topic - The name of the topic added to the repository - """ - class OrganizationInvitationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + topicName - The name of the topic added to the repository - before - Returns the elements in the list that come before the specified cursor. + user - The user affected by the action - first - Returns the first _n_ elements from the list. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - last - Returns the last _n_ elements from the list. + userResourcePath - The HTTP path for the user. - """ - after: str - before: str - first: int - last: int + userUrl - The HTTP URL for the user. - _args: OrganizationInvitationConnectionArgs + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + topic: Optional[Topic] = None + topic_name: Optional[str] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class JFGGF_UserStatusConnection_Field(UserStatusConnection): - """ - JFGGF_UserStatusConnection_Field - Get the status messages members of this entity have set that are either public or visible only to the organization. +@dataclass(kw_only=True) +class RepositoryVisibilityChangeDisableAuditEntry: + """ + RepositoryVisibilityChangeDisableAuditEntry - Audit log entry for a repository_visibility_change.disable event. - """ - class UserStatusConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + action - The action name - before - Returns the elements in the list that come before the specified cursor. + actor - The user who initiated the action - first - Returns the first _n_ elements from the list. + actorIp - The IP address of the actor - last - Returns the last _n_ elements from the list. + actorLocation - A readable representation of the actor's location - orderBy - Ordering options for user statuses returned from the connection. + actorLogin - The username of the user who initiated the action - """ - after: str - before: str - first: int - last: int - orderBy: UserStatusOrder + actorResourcePath - The HTTP path for the actor. - _args: UserStatusConnectionArgs + actorUrl - The HTTP URL for the actor. + createdAt - The time the action was initiated + enterpriseResourcePath - The HTTP path for this enterprise. -class JEOCO_TeamMemberConnection_Field(TeamMemberConnection): - """ - JEOCO_TeamMemberConnection_Field - A list of users who are members of this team. + enterpriseSlug - The slug of the enterprise. - """ - class TeamMemberConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + enterpriseUrl - The HTTP URL for this enterprise. - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object - first - Returns the first _n_ elements from the list. + operationType - The corresponding operation type for the action - last - Returns the last _n_ elements from the list. + organization - The Organization associated with the Audit Entry. - query - The search string to look for. + organizationName - The name of the Organization. - membership - Filter by membership type + organizationResourcePath - The HTTP path for the organization - role - Filter by team member role + organizationUrl - The HTTP URL for the organization - orderBy - Order for the connection. + user - The user affected by the action - """ - after: str - before: str - first: int - last: int - query: str - membership: TeamMembershipType - role: TeamMemberRole - orderBy: TeamMemberOrder + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - _args: TeamMemberConnectionArgs + userResourcePath - The HTTP path for the user. + userUrl - The HTTP URL for the user. + """ -class WRDAO_ProjectV2_Field(ProjectV2): - """ - WRDAO_ProjectV2_Field - Finds and returns the project according to the provided project number. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The Project number. - """ - number: NonNull_int +@dataclass(kw_only=True) +class RepositoryVisibilityChangeEnableAuditEntry: + """ + RepositoryVisibilityChangeEnableAuditEntry - Audit log entry for a repository_visibility_change.enable event. - _args: ProjectV2Args + action - The action name + actor - The user who initiated the action + actorIp - The IP address of the actor -class EXSRB_ProjectV2Connection_Field(ProjectV2Connection): - """ - EXSRB_ProjectV2Connection_Field - List of projects this team has collaborator access to. + actorLocation - A readable representation of the actor's location - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorLogin - The username of the user who initiated the action - before - Returns the elements in the list that come before the specified cursor. + actorResourcePath - The HTTP path for the actor. - first - Returns the first _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - last - Returns the last _n_ elements from the list. + createdAt - The time the action was initiated - orderBy - How to order the returned projects. + enterpriseResourcePath - The HTTP path for this enterprise. - filterBy - Filtering options for projects returned from this connection + enterpriseSlug - The slug of the enterprise. - query - The query to search projects by. + enterpriseUrl - The HTTP URL for this enterprise. - """ - after: str - before: str - first: int - last: int - orderBy: ProjectV2Order - filterBy: ProjectV2Filters - query: str + id - The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object - _args: ProjectV2ConnectionArgs + operationType - The corresponding operation type for the action + organization - The Organization associated with the Audit Entry. + organizationName - The name of the Organization. -class LITOW_TeamRepositoryConnection_Field(TeamRepositoryConnection): - """ - LITOW_TeamRepositoryConnection_Field - A list of repositories this team has access to. + organizationResourcePath - The HTTP path for the organization - """ - class TeamRepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationUrl - The HTTP URL for the organization - before - Returns the elements in the list that come before the specified cursor. + user - The user affected by the action - first - Returns the first _n_ elements from the list. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - last - Returns the last _n_ elements from the list. + userResourcePath - The HTTP path for the user. - query - The search string to look for. Repositories will be returned where the name contains your search string. + userUrl - The HTTP URL for the user. - orderBy - Order for the connection. + """ - """ - after: str - before: str - first: int - last: int - query: str - orderBy: TeamRepositoryOrder + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - _args: TeamRepositoryConnectionArgs +@dataclass(kw_only=True) +class TeamAddMemberAuditEntry: + """ + TeamAddMemberAuditEntry - Audit log entry for a team.add_member event. + action - The action name -class Team(GQLObject): - """ - Team - A team of users in an organization. + actor - The user who initiated the action - ancestors - A list of teams that are ancestors of this team. + actorIp - The IP address of the actor - avatarUrl - A URL pointing to the team's avatar. + actorLocation - A readable representation of the actor's location - childTeams - List of child teams belonging to this team + actorLogin - The username of the user who initiated the action - combinedSlug - The slug corresponding to the organization and team. + actorResourcePath - The HTTP path for the actor. - createdAt - Identifies the date and time when the object was created. + actorUrl - The HTTP URL for the actor. - databaseId - Identifies the primary key from the database. + createdAt - The time the action was initiated - description - The description of the team. + id - The Node ID of the TeamAddMemberAuditEntry object - discussion - Find a team discussion by its number. + isLdapMapped - Whether the team was mapped to an LDAP Group. - discussions - A list of team discussions. + operationType - The corresponding operation type for the action - discussionsResourcePath - The HTTP path for team discussions + organization - The Organization associated with the Audit Entry. - discussionsUrl - The HTTP URL for team discussions + organizationName - The name of the Organization. - editTeamResourcePath - The HTTP path for editing this team + organizationResourcePath - The HTTP path for the organization - editTeamUrl - The HTTP URL for editing this team + organizationUrl - The HTTP URL for the organization - invitations - A list of pending invitations for users to this team + team - The team associated with the action - memberStatuses - Get the status messages members of this entity have set that are either public or visible only to the organization. + teamName - The name of the team - members - A list of users who are members of this team. + teamResourcePath - The HTTP path for this team - membersResourcePath - The HTTP path for the team' members + teamUrl - The HTTP URL for this team - membersUrl - The HTTP URL for the team' members + user - The user affected by the action - name - The name of the team. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - newTeamResourcePath - The HTTP path creating a new team + userResourcePath - The HTTP path for the user. - newTeamUrl - The HTTP URL creating a new team + userUrl - The HTTP URL for the user. - notificationSetting - The notification setting that the team has set. + """ - organization - The organization that owns this team. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - parentTeam - The parent team of the team. - privacy - The level of privacy the team has. +@dataclass(kw_only=True) +class TeamAddRepositoryAuditEntry: + """ + TeamAddRepositoryAuditEntry - Audit log entry for a team.add_repository event. - projectV2 - Finds and returns the project according to the provided project number. + action - The action name - projectsV2 - List of projects this team has collaborator access to. + actor - The user who initiated the action - repositories - A list of repositories this team has access to. + actorIp - The IP address of the actor - repositoriesResourcePath - The HTTP path for this team's repositories + actorLocation - A readable representation of the actor's location - repositoriesUrl - The HTTP URL for this team's repositories + actorLogin - The username of the user who initiated the action - resourcePath - The HTTP path for this team + actorResourcePath - The HTTP path for the actor. - slug - The slug corresponding to the team. + actorUrl - The HTTP URL for the actor. - teamsResourcePath - The HTTP path for this team's teams + createdAt - The time the action was initiated - teamsUrl - The HTTP URL for this team's teams + id - The Node ID of the TeamAddRepositoryAuditEntry object - updatedAt - Identifies the date and time when the object was last updated. + isLdapMapped - Whether the team was mapped to an LDAP Group. - url - The HTTP URL for this team + operationType - The corresponding operation type for the action - viewerCanAdminister - Team is adminable by the viewer. + organization - The Organization associated with the Audit Entry. - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + organizationName - The name of the Organization. - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + organizationResourcePath - The HTTP path for the organization - """ - ancestors: CPGCZ_TeamConnection_Field - avatarUrl: WHPBO_URI_Field - childTeams: RSYLZ_TeamConnection_Field - combinedSlug: str - createdAt: DateTime - databaseId: int - description: str - discussion: PKEIL_TeamDiscussion_Field - discussions: OWCDD_TeamDiscussionConnection_Field - discussionsResourcePath: URI - discussionsUrl: URI - editTeamResourcePath: URI - editTeamUrl: URI - id: ID - invitations: NDJZL_OrganizationInvitationConnection_Field - memberStatuses: JFGGF_UserStatusConnection_Field - members: JEOCO_TeamMemberConnection_Field - membersResourcePath: URI - membersUrl: URI - name: str - newTeamResourcePath: URI - newTeamUrl: URI - notificationSetting: TeamNotificationSetting - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - parentTeam: NewType('Team', GQLObject) ## Circular Reference for Team - privacy: TeamPrivacy - projectV2: WRDAO_ProjectV2_Field - projectsV2: EXSRB_ProjectV2Connection_Field - repositories: LITOW_TeamRepositoryConnection_Field - repositoriesResourcePath: URI - repositoriesUrl: URI - resourcePath: URI - slug: str - teamsResourcePath: URI - teamsUrl: URI - updatedAt: DateTime - url: URI - viewerCanAdminister: bool - viewerCanSubscribe: bool - viewerSubscription: SubscriptionState + organizationUrl - The HTTP URL for the organization -class BranchActorAllowanceActor(GQLObject): - pass + repository - The repository associated with the action -class BypassForcePushAllowance(GQLObject): - """ - BypassForcePushAllowance - A user, team, or app who has the ability to bypass a force push requirement on a protected branch. + repositoryName - The name of the repository - actor - The actor that can force push. + repositoryResourcePath - The HTTP path for the repository - branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. + repositoryUrl - The HTTP URL for the repository - """ - actor: BranchActorAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID + team - The team associated with the action -class BypassForcePushAllowanceEdge(GQLObject): - """ - BypassForcePushAllowanceEdge - An edge in a connection. + teamName - The name of the team - cursor - A cursor for use in pagination. + teamResourcePath - The HTTP path for this team - node - The item at the end of the edge. + teamUrl - The HTTP URL for this team - """ - cursor: str - node: BypassForcePushAllowance + user - The user affected by the action -class list_BypassForcePushAllowanceEdge(list, BypassForcePushAllowanceEdge): pass + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class list_BypassForcePushAllowance(list, BypassForcePushAllowance): pass + userResourcePath - The HTTP path for the user. -class BypassForcePushAllowanceConnection(GQLObject): - """ - BypassForcePushAllowanceConnection - The connection type for BypassForcePushAllowance. + userUrl - The HTTP URL for the user. - edges - A list of edges. + """ - nodes - A list of nodes. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class TeamChangeParentTeamAuditEntry: + """ + TeamChangeParentTeamAuditEntry - Audit log entry for a team.change_parent_team event. - """ - edges: list_BypassForcePushAllowanceEdge[BypassForcePushAllowanceEdge] - nodes: list_BypassForcePushAllowance[BypassForcePushAllowance] - pageInfo: PageInfo - totalCount: int + action - The action name -class BypassPullRequestAllowance(GQLObject): - """ - BypassPullRequestAllowance - A user, team, or app who has the ability to bypass a pull request requirement on a protected branch. + actor - The user who initiated the action - actor - The actor that can bypass. + actorIp - The IP address of the actor - branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. + actorLocation - A readable representation of the actor's location - """ - actor: BranchActorAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID + actorLogin - The username of the user who initiated the action -class BypassPullRequestAllowanceEdge(GQLObject): - """ - BypassPullRequestAllowanceEdge - An edge in a connection. + actorResourcePath - The HTTP path for the actor. - cursor - A cursor for use in pagination. + actorUrl - The HTTP URL for the actor. - node - The item at the end of the edge. + createdAt - The time the action was initiated - """ - cursor: str - node: BypassPullRequestAllowance + id - The Node ID of the TeamChangeParentTeamAuditEntry object -class list_BypassPullRequestAllowanceEdge(list, BypassPullRequestAllowanceEdge): pass + isLdapMapped - Whether the team was mapped to an LDAP Group. -class list_BypassPullRequestAllowance(list, BypassPullRequestAllowance): pass + operationType - The corresponding operation type for the action -class BypassPullRequestAllowanceConnection(GQLObject): - """ - BypassPullRequestAllowanceConnection - The connection type for BypassPullRequestAllowance. + organization - The Organization associated with the Audit Entry. - edges - A list of edges. + organizationName - The name of the Organization. - nodes - A list of nodes. + organizationResourcePath - The HTTP path for the organization - pageInfo - Information to aid in pagination. + organizationUrl - The HTTP URL for the organization - totalCount - Identifies the total count of items in the connection. + parentTeam - The new parent team. - """ - edges: list_BypassPullRequestAllowanceEdge[BypassPullRequestAllowanceEdge] - nodes: list_BypassPullRequestAllowance[BypassPullRequestAllowance] - pageInfo: PageInfo - totalCount: int + parentTeamName - The name of the new parent team -class PushAllowanceActor(GQLObject): - pass + parentTeamNameWas - The name of the former parent team -class PushAllowance(GQLObject): - """ - PushAllowance - A team, user, or app who has the ability to push to a protected branch. + parentTeamResourcePath - The HTTP path for the parent team - actor - The actor that can push. + parentTeamUrl - The HTTP URL for the parent team - branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. + parentTeamWas - The former parent team. - """ - actor: PushAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID + parentTeamWasResourcePath - The HTTP path for the previous parent team -class PushAllowanceEdge(GQLObject): - """ - PushAllowanceEdge - An edge in a connection. + parentTeamWasUrl - The HTTP URL for the previous parent team - cursor - A cursor for use in pagination. + team - The team associated with the action - node - The item at the end of the edge. + teamName - The name of the team - """ - cursor: str - node: PushAllowance + teamResourcePath - The HTTP path for this team -class list_PushAllowanceEdge(list, PushAllowanceEdge): pass + teamUrl - The HTTP URL for this team -class list_PushAllowance(list, PushAllowance): pass + user - The user affected by the action -class PushAllowanceConnection(GQLObject): - """ - PushAllowanceConnection - The connection type for PushAllowance. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - edges - A list of edges. + userResourcePath - The HTTP path for the user. - nodes - A list of nodes. + userUrl - The HTTP URL for the user. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + parent_team: Optional[Team] = None + parent_team_name: Optional[str] = None + parent_team_name_was: Optional[str] = None + parent_team_resource_path: Optional[URI] = None + parent_team_url: Optional[URI] = None + parent_team_was: Optional[Team] = None + parent_team_was_resource_path: Optional[URI] = None + parent_team_was_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - edges: list_PushAllowanceEdge[PushAllowanceEdge] - nodes: list_PushAllowance[PushAllowance] - pageInfo: PageInfo - totalCount: int -class RequiredStatusCheckDescription(GQLObject): - """ - RequiredStatusCheckDescription - Represents a required status check for a protected branch, but not any specific run of that check. +@dataclass(kw_only=True) +class TeamRemoveMemberAuditEntry: + """ + TeamRemoveMemberAuditEntry - Audit log entry for a team.remove_member event. - app - The App that must provide this status in order for it to be accepted. + action - The action name - context - The name of this status. + actor - The user who initiated the action - """ - app: NewType('App', GQLObject) ## Circular Reference for App - context: str + actorIp - The IP address of the actor -class ReviewDismissalAllowanceActor(GQLObject): - pass + actorLocation - A readable representation of the actor's location -class ReviewDismissalAllowance(GQLObject): - """ - ReviewDismissalAllowance - A user, team, or app who has the ability to dismiss a review on a protected branch. + actorLogin - The username of the user who initiated the action - actor - The actor that can dismiss. + actorResourcePath - The HTTP path for the actor. - branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. + actorUrl - The HTTP URL for the actor. - """ - actor: ReviewDismissalAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID + createdAt - The time the action was initiated -class ReviewDismissalAllowanceEdge(GQLObject): - """ - ReviewDismissalAllowanceEdge - An edge in a connection. + id - The Node ID of the TeamRemoveMemberAuditEntry object - cursor - A cursor for use in pagination. + isLdapMapped - Whether the team was mapped to an LDAP Group. - node - The item at the end of the edge. + operationType - The corresponding operation type for the action - """ - cursor: str - node: ReviewDismissalAllowance + organization - The Organization associated with the Audit Entry. -class list_ReviewDismissalAllowanceEdge(list, ReviewDismissalAllowanceEdge): pass + organizationName - The name of the Organization. -class list_ReviewDismissalAllowance(list, ReviewDismissalAllowance): pass + organizationResourcePath - The HTTP path for the organization -class ReviewDismissalAllowanceConnection(GQLObject): - """ - ReviewDismissalAllowanceConnection - The connection type for ReviewDismissalAllowance. + organizationUrl - The HTTP URL for the organization - edges - A list of edges. + team - The team associated with the action - nodes - A list of nodes. + teamName - The name of the team - pageInfo - Information to aid in pagination. + teamResourcePath - The HTTP path for this team - totalCount - Identifies the total count of items in the connection. + teamUrl - The HTTP URL for this team - """ - edges: list_ReviewDismissalAllowanceEdge[ReviewDismissalAllowanceEdge] - nodes: list_ReviewDismissalAllowance[ReviewDismissalAllowance] - pageInfo: PageInfo - totalCount: int + user - The user affected by the action -class QHRRI_BranchProtectionRuleConflictConnection_Field(BranchProtectionRuleConflictConnection): - """ - QHRRI_BranchProtectionRuleConflictConnection_Field - A list of conflicts matching branches protection rule and other branch protection rules + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - class BranchProtectionRuleConflictConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + userResourcePath - The HTTP path for the user. - before - Returns the elements in the list that come before the specified cursor. + userUrl - The HTTP URL for the user. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - """ - after: str - before: str - first: int - last: int - _args: BranchProtectionRuleConflictConnectionArgs +@dataclass(kw_only=True) +class TeamRemoveRepositoryAuditEntry: + """ + TeamRemoveRepositoryAuditEntry - Audit log entry for a team.remove_repository event. + action - The action name + actor - The user who initiated the action -class OMVCJ_BypassForcePushAllowanceConnection_Field(BypassForcePushAllowanceConnection): - """ - OMVCJ_BypassForcePushAllowanceConnection_Field - A list of actors able to force push for this branch protection rule. + actorIp - The IP address of the actor - """ - class BypassForcePushAllowanceConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actorLocation - A readable representation of the actor's location - before - Returns the elements in the list that come before the specified cursor. + actorLogin - The username of the user who initiated the action - first - Returns the first _n_ elements from the list. + actorResourcePath - The HTTP path for the actor. - last - Returns the last _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - """ - after: str - before: str - first: int - last: int + createdAt - The time the action was initiated - _args: BypassForcePushAllowanceConnectionArgs + id - The Node ID of the TeamRemoveRepositoryAuditEntry object + isLdapMapped - Whether the team was mapped to an LDAP Group. + operationType - The corresponding operation type for the action -class FFLCY_BypassPullRequestAllowanceConnection_Field(BypassPullRequestAllowanceConnection): - """ - FFLCY_BypassPullRequestAllowanceConnection_Field - A list of actors able to bypass PRs for this branch protection rule. + organization - The Organization associated with the Audit Entry. - """ - class BypassPullRequestAllowanceConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + organizationName - The name of the Organization. - before - Returns the elements in the list that come before the specified cursor. + organizationResourcePath - The HTTP path for the organization - first - Returns the first _n_ elements from the list. + organizationUrl - The HTTP URL for the organization - last - Returns the last _n_ elements from the list. + repository - The repository associated with the action - """ - after: str - before: str - first: int - last: int + repositoryName - The name of the repository - _args: BypassPullRequestAllowanceConnectionArgs + repositoryResourcePath - The HTTP path for the repository + repositoryUrl - The HTTP URL for the repository + team - The team associated with the action -class ZPKZJ_RefConnection_Field(RefConnection): - """ - ZPKZJ_RefConnection_Field - Repository refs that are protected by this rule + teamName - The name of the team - """ - class RefConnectionArgs(GQLArgsSet, GQLObject): - """ - query - Filters refs with query on name + teamResourcePath - The HTTP path for this team - after - Returns the elements in the list that come after the specified cursor. + teamUrl - The HTTP URL for this team - before - Returns the elements in the list that come before the specified cursor. + user - The user affected by the action - first - Returns the first _n_ elements from the list. + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - last - Returns the last _n_ elements from the list. + userResourcePath - The HTTP path for the user. - """ - query: str - after: str - before: str - first: int - last: int + userUrl - The HTTP URL for the user. - _args: RefConnectionArgs + """ + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None -class JTFFV_PushAllowanceConnection_Field(PushAllowanceConnection): - """ - JTFFV_PushAllowanceConnection_Field - A list push allowances for this branch protection rule. +@dataclass(kw_only=True) +class OrganizationAuditEntryEdge: + """ + OrganizationAuditEntryEdge - An edge in a connection. - """ - class PushAllowanceConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor - A cursor for use in pagination. - before - Returns the elements in the list that come before the specified cursor. + node - The item at the end of the edge. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + cursor: str + node: Optional[OrganizationAuditEntry] = None - """ - after: str - before: str - first: int - last: int - _args: PushAllowanceConnectionArgs +@dataclass(kw_only=True) +class OrganizationAuditEntryConnection: + """ + OrganizationAuditEntryConnection - The connection type for OrganizationAuditEntry. + edges - A list of edges. + nodes - A list of nodes. -class list_RequiredStatusCheckDescription(list, RequiredStatusCheckDescription): pass + pageInfo - Information to aid in pagination. -class HFXXX_ReviewDismissalAllowanceConnection_Field(ReviewDismissalAllowanceConnection): - """ - HFXXX_ReviewDismissalAllowanceConnection_Field - A list review dismissal allowances for this branch protection rule. + totalCount - Identifies the total count of items in the connection. - """ - class ReviewDismissalAllowanceConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + edges: Optional[list[OrganizationAuditEntryEdge]] = None + nodes: Optional[list[OrganizationAuditEntry]] = None + page_info: PageInfo + total_count: int - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class VerifiableDomain: + """ + VerifiableDomain - A domain that can be verified or approved for an organization or an enterprise. - """ - after: str - before: str - first: int - last: int + createdAt - Identifies the date and time when the object was created. - _args: ReviewDismissalAllowanceConnectionArgs + databaseId - Identifies the primary key from the database. + dnsHostName - The DNS host name that should be used for verification. + domain - The unicode encoded domain. -class BranchProtectionRule(GQLObject): - """ - BranchProtectionRule - A branch protection rule. + hasFoundHostName - Whether a TXT record for verification with the expected host name was found. - allowsDeletions - Can this branch be deleted. + hasFoundVerificationToken - Whether a TXT record for verification with the expected verification token was found. - allowsForcePushes - Are force pushes allowed on this branch. + id - The Node ID of the VerifiableDomain object - blocksCreations - Is branch creation a protected operation. + isApproved - Whether or not the domain is approved. - branchProtectionRuleConflicts - A list of conflicts matching branches protection rule and other branch protection rules + isRequiredForPolicyEnforcement - Whether this domain is required to exist for an organization or enterprise policy to be enforced. - bypassForcePushAllowances - A list of actors able to force push for this branch protection rule. + isVerified - Whether or not the domain is verified. - bypassPullRequestAllowances - A list of actors able to bypass PRs for this branch protection rule. + owner - The owner of the domain. - creator - The actor who created this branch protection rule. + punycodeEncodedDomain - The punycode encoded domain. - databaseId - Identifies the primary key from the database. + tokenExpirationTime - The time that the current verification token will expire. - dismissesStaleReviews - Will new commits pushed to matching branches dismiss pull request review approvals. + updatedAt - Identifies the date and time when the object was last updated. - isAdminEnforced - Can admins overwrite branch protection. + verificationToken - The current verification token for the domain. - lockAllowsFetchAndMerge - 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. + """ - lockBranch - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. + created_at: DateTime + database_id: Optional[int] = None + dns_host_name: Optional[URI] = None + domain: URI + has_found_host_name: bool + has_found_verification_token: bool + id: ID + is_approved: bool + is_required_for_policy_enforcement: bool + is_verified: bool + owner: VerifiableDomainOwner + punycode_encoded_domain: URI + token_expiration_time: Optional[DateTime] = None + updated_at: DateTime + verification_token: Optional[str] = None - matchingRefs - Repository refs that are protected by this rule - pattern - Identifies the protection rule pattern. +@dataclass(kw_only=True) +class VerifiableDomainEdge: + """ + VerifiableDomainEdge - An edge in a connection. - pushAllowances - A list push allowances for this branch protection rule. + cursor - A cursor for use in pagination. - repository - The repository associated with this branch protection rule. + node - The item at the end of the edge. - requireLastPushApproval - Whether the most recent push must be approved by someone other than the person who pushed it + """ - requiredApprovingReviewCount - Number of approving reviews required to update matching branches. + cursor: str + node: Optional[VerifiableDomain] = None - requiredDeploymentEnvironments - List of required deployment environments that must be deployed successfully to update matching branches - requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. +@dataclass(kw_only=True) +class VerifiableDomainConnection: + """ + VerifiableDomainConnection - The connection type for VerifiableDomain. - requiredStatusChecks - List of required status checks that must pass for commits to be accepted to matching branches. + edges - A list of edges. - requiresApprovingReviews - Are approving reviews required to update matching branches. + nodes - A list of nodes. - requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. + pageInfo - Information to aid in pagination. - requiresCommitSignatures - Are commits required to be signed. + totalCount - Identifies the total count of items in the connection. - requiresConversationResolution - Are conversations required to be resolved before merging. + """ - requiresDeployments - Does this branch require deployment to specific environments before merging + edges: Optional[list[VerifiableDomainEdge]] = None + nodes: Optional[list[VerifiableDomain]] = None + page_info: PageInfo + total_count: int - requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. - requiresStatusChecks - Are status checks required to update matching branches. +@dataclass(kw_only=True) +class OrganizationEnterpriseOwnerEdge: + """ + OrganizationEnterpriseOwnerEdge - An enterprise owner in the context of an organization that is part of the enterprise. - requiresStrictStatusChecks - Are branches required to be up to date before merging. + cursor - A cursor for use in pagination. - restrictsPushes - Is pushing to matching branches restricted. + node - The item at the end of the edge. - restrictsReviewDismissals - Is dismissal of pull request reviews restricted. + organizationRole - The role of the owner with respect to the organization. - reviewDismissalAllowances - A list review dismissal allowances for this branch protection rule. + """ - """ - allowsDeletions: bool - allowsForcePushes: bool - blocksCreations: bool - branchProtectionRuleConflicts: QHRRI_BranchProtectionRuleConflictConnection_Field - bypassForcePushAllowances: OMVCJ_BypassForcePushAllowanceConnection_Field - bypassPullRequestAllowances: FFLCY_BypassPullRequestAllowanceConnection_Field - creator: Actor - databaseId: int - dismissesStaleReviews: bool - id: ID - isAdminEnforced: bool - lockAllowsFetchAndMerge: bool - lockBranch: bool - matchingRefs: ZPKZJ_RefConnection_Field - pattern: str - pushAllowances: JTFFV_PushAllowanceConnection_Field - repository: Repository - requireLastPushApproval: bool - requiredApprovingReviewCount: int - requiredDeploymentEnvironments: list[str] - requiredStatusCheckContexts: list[str] - requiredStatusChecks: list_RequiredStatusCheckDescription[RequiredStatusCheckDescription] - requiresApprovingReviews: bool - requiresCodeOwnerReviews: bool - requiresCommitSignatures: bool - requiresConversationResolution: bool - requiresDeployments: bool - requiresLinearHistory: bool - requiresStatusChecks: bool - requiresStrictStatusChecks: bool - restrictsPushes: bool - restrictsReviewDismissals: bool - reviewDismissalAllowances: HFXXX_ReviewDismissalAllowanceConnection_Field + cursor: str + node: Optional[User] = None + organization_role: RoleInOrganization -class CommitEdge(GQLObject): - """ - CommitEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class OrganizationEnterpriseOwnerConnection: + """ + OrganizationEnterpriseOwnerConnection - The connection type for User. - node - The item at the end of the edge. + edges - A list of edges. - """ - cursor: str - node: NewType('Commit', GQLObject) ## Circular Reference for Commit + nodes - A list of nodes. -class list_CommitEdge(list, CommitEdge): pass + pageInfo - Information to aid in pagination. -class ComparisonCommitConnection(GQLObject): - """ - ComparisonCommitConnection - The connection type for Commit. + totalCount - Identifies the total count of items in the connection. - authorCount - The total count of authors and co-authors across all commits. + """ - edges - A list of edges. + edges: Optional[list[OrganizationEnterpriseOwnerEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class GistComment: + """ + GistComment - Represents a comment on an Gist. - totalCount - Identifies the total count of items in the connection. + author - The actor who authored the comment. - """ - authorCount: int - edges: list_CommitEdge[CommitEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Commit - pageInfo: PageInfo - totalCount: int + authorAssociation - Author's association with the gist. -class NHFCB_ComparisonCommitConnection_Field(ComparisonCommitConnection): - """ - NHFCB_ComparisonCommitConnection_Field - The commits which compose this comparison. + body - Identifies the comment body. - """ - class ComparisonCommitConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + bodyHTML - The body rendered to HTML. - before - Returns the elements in the list that come before the specified cursor. + bodyText - The body rendered to text. - first - Returns the first _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - last - Returns the last _n_ elements from the list. + createdViaEmail - Check if this comment was created via an email reply. - """ - after: str - before: str - first: int - last: int + databaseId - Identifies the primary key from the database. - _args: ComparisonCommitConnectionArgs + editor - The actor who edited the comment. + gist - The associated gist. + id - The Node ID of the GistComment object -class Comparison(GQLObject): - """ - Comparison - Represents a comparison between two commit revisions. + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data - aheadBy - The number of commits ahead of the base branch. + isMinimized - Returns whether or not a comment has been minimized. - baseTarget - The base revision of this comparison. + lastEditedAt - The moment the editor made the last edit - behindBy - The number of commits behind the base branch. + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. - commits - The commits which compose this comparison. + publishedAt - Identifies when the comment was published at. - headTarget - The head revision of this comparison. + updatedAt - Identifies the date and time when the object was last updated. - status - The status of this comparison. + userContentEdits - A list of edits to this content. - """ - aheadBy: int - baseTarget: GitObject - behindBy: int - commits: NHFCB_ComparisonCommitConnection_Field - headTarget: GitObject - id: ID - status: ComparisonStatus + viewerCanDelete - Check if the current viewer can delete this object. -class TKKVI_PullRequestConnection_Field(Generic[PullRequestConnection]): - """ - TKKVI_PullRequestConnection_Field - A list of pull requests with this ref as the head ref. + viewerCanMinimize - Check if the current viewer can minimize this object. - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - states - A list of states to filter the pull requests by. + viewerCanUpdate - Check if the current viewer can update this object. - labels - A list of label names to filter the pull requests by. + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. - headRefName - The head ref name to filter the pull requests by. + viewerDidAuthor - Did the viewer author this comment. - baseRefName - The base ref name to filter the pull requests by. + """ - orderBy - Ordering options for pull requests returned from the connection. + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + gist: Gist + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + published_at: Optional[DateTime] = None + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class GistCommentEdge: + """ + GistCommentEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - """ - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int + """ - _args: PullRequestConnectionArgs + cursor: str + node: Optional[GistComment] = None +@dataclass(kw_only=True) +class GistCommentConnection: + """ + GistCommentConnection - The connection type for GistComment. -class HHQID_Comparison_Field(Comparison): - """ - HHQID_Comparison_Field - Compares the current ref as a base ref to another head ref, if the comparison can be made. + edges - A list of edges. - """ - class ComparisonArgs(GQLArgsSet, GQLObject): - """ - headRef - The head ref to compare against. + nodes - A list of nodes. - """ - headRef: NonNull_str + pageInfo - Information to aid in pagination. - _args: ComparisonArgs + totalCount - Identifies the total count of items in the connection. + """ + edges: Optional[list[GistCommentEdge]] = None + nodes: Optional[list[GistComment]] = None + page_info: PageInfo + total_count: int -class Ref(GQLObject): - """ - Ref - Represents a Git reference. - associatedPullRequests - A list of pull requests with this ref as the head ref. +@dataclass(kw_only=True) +class GistFile: + """ + GistFile - A file in a gist. - branchProtectionRule - Branch protection rules for this ref + encodedName - The file name encoded to remove characters that are invalid in URL paths. - compare - Compares the current ref as a base ref to another head ref, if the comparison can be made. + encoding - The gist file encoding. - name - The ref name. + extension - The file extension from the file name. - prefix - The ref's prefix, such as `refs/heads/` or `refs/tags/`. + isImage - Indicates if this file is an image. - refUpdateRule - Branch protection rules that are viewable by non-admins + isTruncated - Whether the file's contents were truncated. - repository - The repository the ref belongs to. + language - The programming language this file is written in. - target - The object the ref points to. Returns null when object does not exist. + name - The gist file name. - """ - associatedPullRequests: TKKVI_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - branchProtectionRule: BranchProtectionRule - compare: HHQID_Comparison_Field - id: ID - name: str - prefix: str - refUpdateRule: RefUpdateRule - repository: Repository - target: GitObject + size - The gist file size in bytes. -class PullRequestCommit(GQLObject): - """ - PullRequestCommit - Represents a Git commit part of a pull request. + text - UTF8 text data or null if the file is binary - commit - The Git commit object + """ - pullRequest - The pull request this commit belongs to + encoded_name: Optional[str] = None + encoding: Optional[str] = None + extension: Optional[str] = None + is_image: bool + is_truncated: bool + language: Optional[Language] = None + name: Optional[str] = None + size: Optional[int] = None + text: Optional[str] = None - resourcePath - The HTTP path for this pull request commit - url - The HTTP URL for this pull request commit +@dataclass(kw_only=True) +class GistEdge: + """ + GistEdge - An edge in a connection. - """ - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI + cursor - A cursor for use in pagination. -class PullRequestCommitEdge(GQLObject): - """ - PullRequestCommitEdge - An edge in a connection. + node - The item at the end of the edge. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + cursor: str + node: Optional[Gist] = None - """ - cursor: str - node: PullRequestCommit -class list_PullRequestCommitEdge(list, PullRequestCommitEdge): pass +@dataclass(kw_only=True) +class GistConnection: + """ + GistConnection - The connection type for Gist. -class list_PullRequestCommit(list, PullRequestCommit): pass + edges - A list of edges. -class PullRequestCommitConnection(GQLObject): - """ - PullRequestCommitConnection - The connection type for PullRequestCommit. + nodes - A list of nodes. - edges - A list of edges. + pageInfo - Information to aid in pagination. - nodes - A list of nodes. + totalCount - Identifies the total count of items in the connection. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + edges: Optional[list[GistEdge]] = None + nodes: Optional[list[Gist]] = None + page_info: PageInfo + total_count: int - """ - edges: list_PullRequestCommitEdge[PullRequestCommitEdge] - nodes: list_PullRequestCommit[PullRequestCommit] - pageInfo: PageInfo - totalCount: int -class PullRequestChangedFileEdge(GQLObject): - """ - PullRequestChangedFileEdge - An edge in a connection. +@dataclass(kw_only=True) +class PinnableItemEdge: + """ + PinnableItemEdge - An edge in a connection. - cursor - A cursor for use in pagination. + cursor - A cursor for use in pagination. - node - The item at the end of the edge. + node - The item at the end of the edge. - """ - cursor: str - node: PullRequestChangedFile + """ -class list_PullRequestChangedFileEdge(list, PullRequestChangedFileEdge): pass + cursor: str + node: Optional[PinnableItem] = None -class list_PullRequestChangedFile(list, PullRequestChangedFile): pass -class PullRequestChangedFileConnection(GQLObject): - """ - PullRequestChangedFileConnection - The connection type for PullRequestChangedFile. +@dataclass(kw_only=True) +class PinnableItemConnection: + """ + PinnableItemConnection - The connection type for PinnableItem. - edges - A list of edges. + edges - A list of edges. - nodes - A list of nodes. + nodes - A list of nodes. - pageInfo - Information to aid in pagination. + pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. + totalCount - Identifies the total count of items in the connection. - """ - edges: list_PullRequestChangedFileEdge[PullRequestChangedFileEdge] - nodes: list_PullRequestChangedFile[PullRequestChangedFile] - pageInfo: PageInfo - totalCount: int + """ -class QGEKV_ReactionConnection_Field(ReactionConnection): - """ - QGEKV_ReactionConnection_Field - A list of Reactions left on the Issue. + edges: Optional[list[PinnableItemEdge]] = None + nodes: Optional[list[PinnableItem]] = None + page_info: PageInfo + total_count: int - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class ProfileItemShowcase: + """ + ProfileItemShowcase - A curatable list of repositories relating to a repository owner, which defaults + to showing the most popular repositories they own. - first - Returns the first _n_ elements from the list. + hasPinnedItems - Whether or not the owner has pinned any repositories or gists. - last - Returns the last _n_ elements from the list. + items - The repositories and gists in the showcase. If the profile owner has any + pinned items, those will be returned. Otherwise, the profile owner's popular + repositories will be returned. - content - Allows filtering Reactions by emoji. + """ - orderBy - Allows specifying the order in which reactions are returned. + has_pinned_items: bool + items: PinnableItemConnection - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - _args: ReactionConnectionArgs +@dataclass(kw_only=True) +class SponsorEdge: + """ + SponsorEdge - Represents a user or organization who is sponsoring someone in GitHub Sponsors. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class VPNTW_UserContentEditConnection_Field(UserContentEditConnection): - """ - VPNTW_UserContentEditConnection_Field - A list of edits to this content. + """ - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor: str + node: Optional[Sponsor] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class SponsorConnection: + """ + SponsorConnection - A list of users and organizations sponsoring someone via GitHub Sponsors. - last - Returns the last _n_ elements from the list. + edges - A list of edges. - """ - after: str - before: str - first: int - last: int + nodes - A list of nodes. - _args: UserContentEditConnectionArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class PullRequestReviewComment(GQLObject): - """ - PullRequestReviewComment - A review comment associated with a given repository pull request. + edges: Optional[list[SponsorEdge]] = None + nodes: Optional[list[Sponsor]] = None + page_info: PageInfo + total_count: int - author - The actor who authored the comment. - authorAssociation - Author's association with the subject of the comment. +@dataclass(kw_only=True) +class Sponsorship: + """ + Sponsorship - A sponsorship relationship between a sponsor and a maintainer - body - The comment body of this review comment. + createdAt - Identifies the date and time when the object was created. - bodyHTML - The body rendered to HTML. + id - The Node ID of the Sponsorship object - bodyText - The comment body of this review comment rendered as plain text. + isActive - Whether the sponsorship is active. False implies the sponsor is a past sponsor + of the maintainer, while true implies they are a current sponsor. - commit - Identifies the commit associated with the comment. + isOneTimePayment - Whether this sponsorship represents a one-time payment versus a recurring sponsorship. - createdAt - Identifies when the comment was created. + isSponsorOptedIntoEmail - Whether the sponsor has chosen to receive sponsorship update emails sent from + the sponsorable. Only returns a non-null value when the viewer has permission to know this. - createdViaEmail - Check if this comment was created via an email reply. + paymentSource - The platform that was most recently used to pay for the sponsorship. - databaseId - Identifies the primary key from the database. + privacyLevel - The privacy level for this sponsorship. - diffHunk - The diff hunk to which the comment applies. + sponsorEntity - The user or organization that is sponsoring, if you have permission to view them. - draftedAt - Identifies when the comment was created in a draft state. + sponsorable - The entity that is being sponsored - editor - The actor who edited the comment. + tier - The associated sponsorship tier - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + tierSelectedAt - Identifies the date and time when the current tier was chosen for this sponsorship. - isMinimized - Returns whether or not a comment has been minimized. + """ - lastEditedAt - The moment the editor made the last edit + created_at: DateTime + id: ID + is_active: bool + is_one_time_payment: bool + is_sponsor_opted_into_email: Optional[bool] = None + payment_source: Optional[SponsorshipPaymentSource] = None + privacy_level: SponsorshipPrivacy + sponsor_entity: Optional[Sponsor] = None + sponsorable: Sponsorable + tier: Optional[SponsorsTier] = None + tier_selected_at: Optional[DateTime] = None - line - The end line number on the file to which the comment applies - minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. +@dataclass(kw_only=True) +class SponsorshipEdge: + """ + SponsorshipEdge - An edge in a connection. - originalCommit - Identifies the original commit associated with the comment. + cursor - A cursor for use in pagination. - originalLine - The end line number on the file to which the comment applied when it was first created + node - The item at the end of the edge. - originalStartLine - The start line number on the file to which the comment applied when it was first created + """ - outdated - Identifies when the comment body is outdated + cursor: str + node: Optional[Sponsorship] = None - path - The path to which the comment applies. - publishedAt - Identifies when the comment was published at. +@dataclass(kw_only=True) +class SponsorshipConnection: + """ + SponsorshipConnection - A list of sponsorships either from the subject or received by the subject. - pullRequest - The pull request associated with this review comment. + edges - A list of edges. - pullRequestReview - The pull request review associated with this review comment. + nodes - A list of nodes. - reactionGroups - A list of reactions grouped by content left on the subject. + pageInfo - Information to aid in pagination. - reactions - A list of Reactions left on the Issue. + totalCount - Identifies the total count of items in the connection. - replyTo - The comment this is a reply to. + totalRecurringMonthlyPriceInCents - The total amount in cents of all recurring sponsorships in the connection + whose amount you can view. Does not include one-time sponsorships. - repository - The repository associated with this node. + totalRecurringMonthlyPriceInDollars - The total amount in USD of all recurring sponsorships in the connection whose + amount you can view. Does not include one-time sponsorships. - resourcePath - The HTTP path permalink for this review comment. + """ - startLine - The start line number on the file to which the comment applies + edges: Optional[list[SponsorshipEdge]] = None + nodes: Optional[list[Sponsorship]] = None + page_info: PageInfo + total_count: int + total_recurring_monthly_price_in_cents: int + total_recurring_monthly_price_in_dollars: int - state - Identifies the state of the comment. - subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file +@dataclass(kw_only=True) +class SponsorsTierAdminInfo: + """ + SponsorsTierAdminInfo - SponsorsTier information only visible to users that can administer the associated Sponsors listing. - updatedAt - Identifies when the comment was last updated. + isDraft - Indicates whether this tier is still a work in progress by the sponsorable and + not yet published to the associated GitHub Sponsors profile. Draft tiers + cannot be used for new sponsorships and will not be in use on existing + sponsorships. Draft tiers cannot be seen by anyone but the admins of the + GitHub Sponsors profile. - url - The HTTP URL permalink for this review comment. + isPublished - Indicates whether this tier is published to the associated GitHub Sponsors + profile. Published tiers are visible to anyone who can see the GitHub Sponsors + profile, and are available for use in sponsorships if the GitHub Sponsors + profile is publicly visible. - userContentEdits - A list of edits to this content. + isRetired - Indicates whether this tier has been retired from the associated GitHub + Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors + profile and cannot be chosen for new sponsorships. Existing sponsorships may + still use retired tiers if the sponsor selected the tier before it was retired. - viewerCanDelete - Check if the current viewer can delete this object. + sponsorships - The sponsorships using this tier. - viewerCanMinimize - Check if the current viewer can minimize this object. + """ - viewerCanReact - Can user react to this subject + is_draft: bool + is_published: bool + is_retired: bool + sponsorships: SponsorshipConnection - viewerCanUpdate - Check if the current viewer can update this object. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. +@dataclass(kw_only=True) +class StripeConnectAccount: + """ + StripeConnectAccount - A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors. - viewerDidAuthor - Did the viewer author this comment. + accountId - The account number used to identify this Stripe Connect account. - """ - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - createdViaEmail: bool - databaseId: int - diffHunk: str - draftedAt: DateTime - editor: Actor - id: ID - includesCreatedEdit: bool - isMinimized: bool - lastEditedAt: DateTime - line: int - minimizedReason: str - originalCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - originalLine: int - originalStartLine: int - outdated: bool - path: str - publishedAt: DateTime - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - pullRequestReview: NewType('PullRequestReview', GQLObject) ## Circular Reference for PullRequestReview - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: QGEKV_ReactionConnection_Field - replyTo: NewType('PullRequestReviewComment', GQLObject) ## Circular Reference for PullRequestReviewComment - repository: Repository - resourcePath: URI - startLine: int - state: PullRequestReviewCommentState - subjectType: PullRequestReviewThreadSubjectType - updatedAt: DateTime - url: URI - userContentEdits: VPNTW_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool + billingCountryOrRegion - The name of the country or region of an external account, such as a bank + account, tied to the Stripe Connect account. Will only return a value when + queried by the maintainer of the associated GitHub Sponsors profile + themselves, or by an admin of the sponsorable organization. -class PullRequestReviewCommentEdge(GQLObject): - """ - PullRequestReviewCommentEdge - An edge in a connection. + countryOrRegion - The name of the country or region of the Stripe Connect account. Will only + return a value when queried by the maintainer of the associated GitHub + Sponsors profile themselves, or by an admin of the sponsorable organization. - cursor - A cursor for use in pagination. + isActive - Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. - node - The item at the end of the edge. + sponsorsListing - The GitHub Sponsors profile associated with this Stripe Connect account. - """ - cursor: str - node: PullRequestReviewComment + stripeDashboardUrl - The URL to access this Stripe Connect account on Stripe's website. -class list_PullRequestReviewCommentEdge(list, PullRequestReviewCommentEdge): pass + """ -class list_PullRequestReviewComment(list, PullRequestReviewComment): pass + account_id: str + billing_country_or_region: Optional[str] = None + country_or_region: Optional[str] = None + is_active: bool + sponsors_listing: SponsorsListing + stripe_dashboard_url: URI -class PullRequestReviewCommentConnection(GQLObject): - """ - PullRequestReviewCommentConnection - The connection type for PullRequestReviewComment. - edges - A list of edges. +@dataclass(kw_only=True) +class SponsorsListingFeaturedItem: + """ + SponsorsListingFeaturedItem - A record that is promoted on a GitHub Sponsors profile. - nodes - A list of nodes. + createdAt - Identifies the date and time when the object was created. - pageInfo - Information to aid in pagination. + description - Will either be a description from the sponsorable maintainer about why they + featured this item, or the item's description itself, such as a user's bio + from their GitHub profile page. - totalCount - Identifies the total count of items in the connection. + featureable - The record that is featured on the GitHub Sponsors profile. - """ - edges: list_PullRequestReviewCommentEdge[PullRequestReviewCommentEdge] - nodes: list_PullRequestReviewComment[PullRequestReviewComment] - pageInfo: PageInfo - totalCount: int + id - The Node ID of the SponsorsListingFeaturedItem object -class RJZXV_PullRequestReviewCommentConnection_Field(PullRequestReviewCommentConnection): - """ - RJZXV_PullRequestReviewCommentConnection_Field - A list of review comments for the current pull request review. + position - The position of this featured item on the GitHub Sponsors profile with a lower + position indicating higher precedence. Starts at 1. - """ - class PullRequestReviewCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + sponsorsListing - The GitHub Sponsors profile that features this record. - before - Returns the elements in the list that come before the specified cursor. + updatedAt - Identifies the date and time when the object was last updated. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + created_at: DateTime + description: Optional[str] = None + featureable: SponsorsListingFeatureableItem + id: ID + position: int + sponsors_listing: SponsorsListing + updated_at: DateTime - """ - after: str - before: str - first: int - last: int - _args: PullRequestReviewCommentConnectionArgs +@dataclass(kw_only=True) +class SponsorsTierEdge: + """ + SponsorsTierEdge - An edge in a connection. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class AISIH_TeamConnection_Field(TeamConnection): - """ - AISIH_TeamConnection_Field - A list of teams that this review was made on behalf of. + """ - """ - class TeamConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + cursor: str + node: Optional[SponsorsTier] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class SponsorsTierConnection: + """ + SponsorsTierConnection - The connection type for SponsorsTier. - last - Returns the last _n_ elements from the list. + edges - A list of edges. - """ - after: str - before: str - first: int - last: int + nodes - A list of nodes. - _args: TeamConnectionArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class CAJUQ_ReactionConnection_Field(ReactionConnection): - """ - CAJUQ_ReactionConnection_Field - A list of Reactions left on the Issue. + edges: Optional[list[SponsorsTierEdge]] = None + nodes: Optional[list[SponsorsTier]] = None + page_info: PageInfo + total_count: int - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class SponsorsActivity: + """ + SponsorsActivity - An event related to sponsorship activity. - first - Returns the first _n_ elements from the list. + action - What action this activity indicates took place. - last - Returns the last _n_ elements from the list. + currentPrivacyLevel - The sponsor's current privacy level. - content - Allows filtering Reactions by emoji. + id - The Node ID of the SponsorsActivity object - orderBy - Allows specifying the order in which reactions are returned. + paymentSource - The platform that was used to pay for the sponsorship. - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder + previousSponsorsTier - The tier that the sponsorship used to use, for tier change events. - _args: ReactionConnectionArgs + sponsor - The user or organization who triggered this activity and was/is sponsoring the sponsorable. + sponsorable - The user or organization that is being sponsored, the maintainer. + sponsorsTier - The associated sponsorship tier. -class WRPNZ_UserContentEditConnection_Field(UserContentEditConnection): - """ - WRPNZ_UserContentEditConnection_Field - A list of edits to this content. + timestamp - The timestamp of this event. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + viaBulkSponsorship - Was this sponsorship made alongside other sponsorships at the same time from the same sponsor? - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + action: SponsorsActivityAction + current_privacy_level: Optional[SponsorshipPrivacy] = None + id: ID + payment_source: Optional[SponsorshipPaymentSource] = None + previous_sponsors_tier: Optional[SponsorsTier] = None + sponsor: Optional[Sponsor] = None + sponsorable: Sponsorable + sponsors_tier: Optional[SponsorsTier] = None + timestamp: Optional[DateTime] = None + via_bulk_sponsorship: bool - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class SponsorsActivityEdge: + """ + SponsorsActivityEdge - An edge in a connection. - _args: UserContentEditConnectionArgs + cursor - A cursor for use in pagination. + node - The item at the end of the edge. + """ -class PullRequestReview(GQLObject): - """ - PullRequestReview - A review object for a given pull request. + cursor: str + node: Optional[SponsorsActivity] = None - author - The actor who authored the comment. - authorAssociation - Author's association with the subject of the comment. +@dataclass(kw_only=True) +class SponsorsActivityConnection: + """ + SponsorsActivityConnection - The connection type for SponsorsActivity. - authorCanPushToRepository - Indicates whether the author of this review has push access to the repository. + edges - A list of edges. - body - Identifies the pull request review body. + nodes - A list of nodes. - bodyHTML - The body rendered to HTML. + pageInfo - Information to aid in pagination. - bodyText - The body of this review rendered as plain text. + totalCount - Identifies the total count of items in the connection. - comments - A list of review comments for the current pull request review. + """ - commit - Identifies the commit associated with this pull request review. + edges: Optional[list[SponsorsActivityEdge]] = None + nodes: Optional[list[SponsorsActivity]] = None + page_info: PageInfo + total_count: int - createdAt - Identifies the date and time when the object was created. - createdViaEmail - Check if this comment was created via an email reply. +@dataclass(kw_only=True) +class SponsorshipNewsletter: + """ + SponsorshipNewsletter - An update sent to sponsors of a user or organization on GitHub Sponsors. - databaseId - Identifies the primary key from the database. + author - The author of the newsletter. - editor - The actor who edited the comment. + body - The contents of the newsletter, the message the sponsorable wanted to give. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + createdAt - Identifies the date and time when the object was created. - lastEditedAt - The moment the editor made the last edit + id - The Node ID of the SponsorshipNewsletter object - onBehalfOf - A list of teams that this review was made on behalf of. + isPublished - Indicates if the newsletter has been made available to sponsors. - publishedAt - Identifies when the comment was published at. + sponsorable - The user or organization this newsletter is from. - pullRequest - Identifies the pull request associated with this pull request review. + subject - The subject of the newsletter, what it's about. - reactionGroups - A list of reactions grouped by content left on the subject. + updatedAt - Identifies the date and time when the object was last updated. - reactions - A list of Reactions left on the Issue. + """ - repository - The repository associated with this node. + author: Optional[User] = None + body: str + created_at: DateTime + id: ID + is_published: bool + sponsorable: Sponsorable + subject: str + updated_at: DateTime - resourcePath - The HTTP path permalink for this PullRequestReview. - state - Identifies the current state of the pull request review. +@dataclass(kw_only=True) +class SponsorshipNewsletterEdge: + """ + SponsorshipNewsletterEdge - An edge in a connection. - submittedAt - Identifies when the Pull Request Review was submitted + cursor - A cursor for use in pagination. - updatedAt - Identifies the date and time when the object was last updated. + node - The item at the end of the edge. - url - The HTTP URL permalink for this PullRequestReview. + """ - userContentEdits - A list of edits to this content. + cursor: str + node: Optional[SponsorshipNewsletter] = None - viewerCanDelete - Check if the current viewer can delete this object. - viewerCanReact - Can user react to this subject +@dataclass(kw_only=True) +class SponsorshipNewsletterConnection: + """ + SponsorshipNewsletterConnection - The connection type for SponsorshipNewsletter. - viewerCanUpdate - Check if the current viewer can update this object. + edges - A list of edges. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + nodes - A list of nodes. - viewerDidAuthor - Did the viewer author this comment. + pageInfo - Information to aid in pagination. - """ - author: Actor - authorAssociation: CommentAuthorAssociation - authorCanPushToRepository: bool - body: str - bodyHTML: HTML - bodyText: str - comments: RJZXV_PullRequestReviewCommentConnection_Field - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - onBehalfOf: AISIH_TeamConnection_Field - publishedAt: DateTime - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: CAJUQ_ReactionConnection_Field - repository: Repository - resourcePath: URI - state: PullRequestReviewState - submittedAt: DateTime - updatedAt: DateTime - url: URI - userContentEdits: WRPNZ_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool + totalCount - Identifies the total count of items in the connection. -class PullRequestReviewEdge(GQLObject): - """ - PullRequestReviewEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[SponsorshipNewsletterEdge]] = None + nodes: Optional[list[SponsorshipNewsletter]] = None + page_info: PageInfo + total_count: int - node - The item at the end of the edge. - """ - cursor: str - node: PullRequestReview +@dataclass(kw_only=True) +class SponsorAndLifetimeValue: + """ + SponsorAndLifetimeValue - A GitHub account and the total amount in USD they've paid for sponsorships to a + particular maintainer. Does not include payments made via Patreon. -class list_PullRequestReviewEdge(list, PullRequestReviewEdge): pass + amountInCents - The amount in cents. -class list_PullRequestReview(list, PullRequestReview): pass + formattedAmount - The amount in USD, formatted as a string. -class PullRequestReviewConnection(GQLObject): - """ - PullRequestReviewConnection - The connection type for PullRequestReview. + sponsor - The sponsor's GitHub account. - edges - A list of edges. + sponsorable - The maintainer's GitHub account. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + amount_in_cents: int + formatted_amount: str + sponsor: Sponsorable + sponsorable: Sponsorable - totalCount - Identifies the total count of items in the connection. - """ - edges: list_PullRequestReviewEdge[PullRequestReviewEdge] - nodes: list_PullRequestReview[PullRequestReview] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class SponsorAndLifetimeValueEdge: + """ + SponsorAndLifetimeValueEdge - An edge in a connection. -class ReviewRequest(GQLObject): - """ - ReviewRequest - A request for a user to review a pull request. + cursor - A cursor for use in pagination. - asCodeOwner - Whether this request was created for a code owner + node - The item at the end of the edge. - databaseId - Identifies the primary key from the database. + """ - pullRequest - Identifies the pull request associated with this review request. + cursor: str + node: Optional[SponsorAndLifetimeValue] = None - requestedReviewer - The reviewer that is requested. - """ - asCodeOwner: bool - databaseId: int - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - requestedReviewer: RequestedReviewer +@dataclass(kw_only=True) +class MannequinEdge: + """ + MannequinEdge - Represents a mannequin. -class ReviewRequestEdge(GQLObject): - """ - ReviewRequestEdge - An edge in a connection. + cursor - A cursor for use in pagination. - cursor - A cursor for use in pagination. + node - The item at the end of the edge. - node - The item at the end of the edge. + """ - """ - cursor: str - node: ReviewRequest + cursor: str + node: Optional[Mannequin] = None -class list_ReviewRequestEdge(list, ReviewRequestEdge): pass -class list_ReviewRequest(list, ReviewRequest): pass +@dataclass(kw_only=True) +class MannequinConnection: + """ + MannequinConnection - A list of mannequins. -class ReviewRequestConnection(GQLObject): - """ - ReviewRequestConnection - The connection type for ReviewRequest. + edges - A list of edges. - edges - A list of edges. + nodes - A list of nodes. - nodes - A list of nodes. + pageInfo - Information to aid in pagination. - pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_ReviewRequestEdge[ReviewRequestEdge] - nodes: list_ReviewRequest[ReviewRequest] - pageInfo: PageInfo - totalCount: int + edges: Optional[list[MannequinEdge]] = None + nodes: Optional[list[Mannequin]] = None + page_info: PageInfo + total_count: int -class JWBVA_PullRequestReviewCommentConnection_Field(PullRequestReviewCommentConnection): - """ - JWBVA_PullRequestReviewCommentConnection_Field - A list of pull request comments associated with the thread. - """ - class PullRequestReviewCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class OrganizationMemberEdge: + """ + OrganizationMemberEdge - Represents a user within an organization. - before - Returns the elements in the list that come before the specified cursor. + cursor - A cursor for use in pagination. - first - Returns the first _n_ elements from the list. + hasTwoFactorEnabled - Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - skip - Skips the first _n_ elements in the list. + role - The role this user has in the organization. - """ - after: str - before: str - first: int - last: int - skip: int + """ - _args: PullRequestReviewCommentConnectionArgs + cursor: str + has_two_factor_enabled: Optional[bool] = None + node: Optional[User] = None + role: Optional[OrganizationMemberRole] = None +@dataclass(kw_only=True) +class OrganizationMemberConnection: + """ + OrganizationMemberConnection - A list of users who belong to the organization. -class PullRequestReviewThread(GQLObject): - """ - PullRequestReviewThread - A threaded list of comments for a given pull request. + edges - A list of edges. - comments - A list of pull request comments associated with the thread. + nodes - A list of nodes. - diffSide - The side of the diff on which this thread was placed. + pageInfo - Information to aid in pagination. - isCollapsed - Whether or not the thread has been collapsed (resolved) + totalCount - Identifies the total count of items in the connection. - isOutdated - Indicates whether this thread was outdated by newer changes. + """ - isResolved - Whether this thread has been resolved + edges: Optional[list[OrganizationMemberEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - line - The line in the file to which this thread refers - originalLine - The original line in the file to which this thread refers. +@dataclass(kw_only=True) +class RepositoryMigration: + """ + RepositoryMigration - A GitHub Enterprise Importer (GEI) repository migration. - originalStartLine - The original start line in the file to which this thread refers (multi-line only). + continueOnError - The migration flag to continue on error. - path - Identifies the file path of this thread. + createdAt - Identifies the date and time when the object was created. - pullRequest - Identifies the pull request associated with this thread. + databaseId - Identifies the primary key from the database. - repository - Identifies the repository associated with this thread. + failureReason - The reason the migration failed. - resolvedBy - The user who resolved this thread + id - The Node ID of the RepositoryMigration object - startDiffSide - The side of the diff that the first line of the thread starts on (multi-line only) + migrationLogUrl - The URL for the migration log (expires 1 day after migration completes). - startLine - The start line in the file to which this thread refers (multi-line only) + migrationSource - The migration source. - subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + repositoryName - The target repository name. - viewerCanReply - Indicates whether the current viewer can reply to this thread. + sourceUrl - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. - viewerCanResolve - Whether or not the viewer can resolve this thread + state - The migration state. - viewerCanUnresolve - Whether or not the viewer can unresolve this thread + warningsCount - The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). - """ - comments: JWBVA_PullRequestReviewCommentConnection_Field - diffSide: DiffSide - id: ID - isCollapsed: bool - isOutdated: bool - isResolved: bool - line: int - originalLine: int - originalStartLine: int - path: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - repository: Repository - resolvedBy: NewType('User', GQLObject) ## Circular Reference for User - startDiffSide: DiffSide - startLine: int - subjectType: PullRequestReviewThreadSubjectType - viewerCanReply: bool - viewerCanResolve: bool - viewerCanUnresolve: bool + """ -class PullRequestReviewThreadEdge(GQLObject): - """ - PullRequestReviewThreadEdge - An edge in a connection. + continue_on_error: bool + created_at: DateTime + database_id: Optional[str] = None + failure_reason: Optional[str] = None + id: ID + migration_log_url: Optional[URI] = None + migration_source: MigrationSource + repository_name: str + source_url: URI + state: MigrationState + warnings_count: int - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class RepositoryMigrationEdge: + """ + RepositoryMigrationEdge - Represents a repository migration. - """ - cursor: str - node: PullRequestReviewThread + cursor - A cursor for use in pagination. -class list_PullRequestReviewThreadEdge(list, PullRequestReviewThreadEdge): pass + node - The item at the end of the edge. -class list_PullRequestReviewThread(list, PullRequestReviewThread): pass + """ -class PullRequestReviewThreadConnection(GQLObject): - """ - PullRequestReviewThreadConnection - Review comment threads for a pull request review. + cursor: str + node: Optional[RepositoryMigration] = None - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class RepositoryMigrationConnection: + """ + RepositoryMigrationConnection - A list of migrations. - pageInfo - Information to aid in pagination. + edges - A list of edges. - totalCount - Identifies the total count of items in the connection. + nodes - A list of nodes. - """ - edges: list_PullRequestReviewThreadEdge[PullRequestReviewThreadEdge] - nodes: list_PullRequestReviewThread[PullRequestReviewThread] - pageInfo: PageInfo - totalCount: int + pageInfo - Information to aid in pagination. -class SuggestedReviewer(GQLObject): - """ - SuggestedReviewer - A suggestion to review a pull request based on a user's commit history and review comments. + totalCount - Identifies the total count of items in the connection. - isAuthor - Is this suggestion based on past commits? + """ - isCommenter - Is this suggestion based on past review comments? + edges: Optional[list[RepositoryMigrationEdge]] = None + nodes: Optional[list[RepositoryMigration]] = None + page_info: PageInfo + total_count: int - reviewer - Identifies the user suggested to review the pull request. - """ - isAuthor: bool - isCommenter: bool - reviewer: NewType('User', GQLObject) ## Circular Reference for User +@dataclass(kw_only=True) +class ExternalIdentitySamlAttributes: + """ + ExternalIdentitySamlAttributes - SAML attributes for the External Identity -class BaseRefDeletedEvent(GQLObject): - """ - BaseRefDeletedEvent - Represents a 'base_ref_deleted' event on a given pull request. + attributes - SAML Identity attributes - actor - Identifies the actor who performed the event. + emails - The emails associated with the SAML identity - baseRefName - Identifies the name of the Ref associated with the `base_ref_deleted` event. + familyName - Family name of the SAML identity - createdAt - Identifies the date and time when the object was created. + givenName - Given name of the SAML identity - pullRequest - PullRequest referenced by event. + groups - The groups linked to this identity in IDP - """ - actor: Actor - baseRefName: str - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + nameId - The NameID of the SAML identity -class BaseRefForcePushedEvent(GQLObject): - """ - BaseRefForcePushedEvent - Represents a 'base_ref_force_pushed' event on a given pull request. + username - The userName of the SAML identity - actor - Identifies the actor who performed the event. + """ - afterCommit - Identifies the after commit SHA for the 'base_ref_force_pushed' event. + attributes: list[ExternalIdentityAttribute] + emails: Optional[list[UserEmailMetadata]] = None + family_name: Optional[str] = None + given_name: Optional[str] = None + groups: Optional[list[str]] = None + name_id: Optional[str] = None + username: Optional[str] = None - beforeCommit - Identifies the before commit SHA for the 'base_ref_force_pushed' event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class ExternalIdentityScimAttributes: + """ + ExternalIdentityScimAttributes - SCIM attributes for the External Identity - pullRequest - PullRequest referenced by event. + emails - The emails associated with the SCIM identity - ref - Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. + familyName - Family name of the SCIM identity - """ - actor: Actor - afterCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - beforeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - ref: Ref + givenName - Given name of the SCIM identity -class BRVUN_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - """ - BRVUN_CommitCommentConnection_Field - The comments that exist in this thread. + groups - The groups linked to this identity in IDP - """ - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + username - The userName of the SCIM identity - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + emails: Optional[list[UserEmailMetadata]] = None + family_name: Optional[str] = None + given_name: Optional[str] = None + groups: Optional[list[str]] = None + username: Optional[str] = None - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class ExternalIdentity: + """ + ExternalIdentity - An external identity provisioned by SAML SSO or SCIM. If SAML is configured on + the organization, the external identity is visible to (1) organization owners, + (2) organization owners' personal access tokens (classic) with read:org or + admin:org scope, (3) GitHub App with an installation token with read or write + access to members. If SAML is configured on the enterprise, the external + identity is visible to (1) enterprise owners, (2) enterprise owners' personal + access tokens (classic) with read:enterprise or admin:enterprise scope. - _args: CommitCommentConnectionArgs + guid - The GUID for this identity + id - The Node ID of the ExternalIdentity object + organizationInvitation - Organization invitation for this SCIM-provisioned external identity -class CommitCommentThread(GQLObject): - """ - CommitCommentThread - A thread of comments on a commit. + samlIdentity - SAML Identity attributes - comments - The comments that exist in this thread. + scimIdentity - SCIM Identity attributes - commit - The commit the comments were made on. + user - User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member. - path - The file the comments were made on. + """ - position - The position in the diff for the commit that the comment was made on. + guid: str + id: ID + organization_invitation: Optional[OrganizationInvitation] = None + saml_identity: Optional[ExternalIdentitySamlAttributes] = None + scim_identity: Optional[ExternalIdentityScimAttributes] = None + user: Optional[User] = None - repository - The repository associated with this node. - """ - comments: BRVUN_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - path: str - position: int - repository: Repository +@dataclass(kw_only=True) +class ExternalIdentityEdge: + """ + ExternalIdentityEdge - An edge in a connection. -class DeployedEvent(GQLObject): - """ - DeployedEvent - Represents a 'deployed' event on a given pull request. + cursor - A cursor for use in pagination. - actor - Identifies the actor who performed the event. + node - The item at the end of the edge. - createdAt - Identifies the date and time when the object was created. + """ - databaseId - Identifies the primary key from the database. + cursor: str + node: Optional[ExternalIdentity] = None - deployment - The deployment associated with the 'deployed' event. - pullRequest - PullRequest referenced by event. +@dataclass(kw_only=True) +class ExternalIdentityConnection: + """ + ExternalIdentityConnection - The connection type for ExternalIdentity. - ref - The ref associated with the 'deployed' event. + edges - A list of edges. - """ - actor: Actor - createdAt: DateTime - databaseId: int - deployment: Deployment - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - ref: Ref + nodes - A list of nodes. -class DeploymentEnvironmentChangedEvent(GQLObject): - """ - DeploymentEnvironmentChangedEvent - Represents a 'deployment_environment_changed' event on a given pull request. + pageInfo - Information to aid in pagination. - actor - Identifies the actor who performed the event. + totalCount - Identifies the total count of items in the connection. - createdAt - Identifies the date and time when the object was created. + """ - deploymentStatus - The deployment status that updated the deployment environment. + edges: Optional[list[ExternalIdentityEdge]] = None + nodes: Optional[list[ExternalIdentity]] = None + page_info: PageInfo + total_count: int - pullRequest - PullRequest referenced by event. - """ - actor: Actor - createdAt: DateTime - deploymentStatus: DeploymentStatus - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest +@dataclass(kw_only=True) +class OrganizationIdentityProvider: + """ + OrganizationIdentityProvider - An Identity Provider configured to provision SAML and SCIM identities for + Organizations. Visible to (1) organization owners, (2) organization owners' + personal access tokens (classic) with read:org or admin:org scope, (3) GitHub + App with an installation token with read or write access to members. -class HeadRefDeletedEvent(GQLObject): - """ - HeadRefDeletedEvent - Represents a 'head_ref_deleted' event on a given pull request. + digestMethod - The digest algorithm used to sign SAML requests for the Identity Provider. - actor - Identifies the actor who performed the event. + externalIdentities - External Identities provisioned by this Identity Provider - createdAt - Identifies the date and time when the object was created. + id - The Node ID of the OrganizationIdentityProvider object - headRef - Identifies the Ref associated with the `head_ref_deleted` event. + idpCertificate - The x509 certificate used by the Identity Provider to sign assertions and responses. - headRefName - Identifies the name of the Ref associated with the `head_ref_deleted` event. + issuer - The Issuer Entity ID for the SAML Identity Provider - pullRequest - PullRequest referenced by event. + organization - Organization this Identity Provider belongs to - """ - actor: Actor - createdAt: DateTime - headRef: Ref - headRefName: str - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + signatureMethod - The signature algorithm used to sign SAML requests for the Identity Provider. -class HeadRefForcePushedEvent(GQLObject): - """ - HeadRefForcePushedEvent - Represents a 'head_ref_force_pushed' event on a given pull request. + ssoUrl - The URL endpoint for the Identity Provider's SAML SSO. - actor - Identifies the actor who performed the event. + """ - afterCommit - Identifies the after commit SHA for the 'head_ref_force_pushed' event. + digest_method: Optional[URI] = None + external_identities: ExternalIdentityConnection + id: ID + idp_certificate: Optional[X509Certificate] = None + issuer: Optional[str] = None + organization: Optional[Organization] = None + signature_method: Optional[URI] = None + sso_url: Optional[URI] = None - beforeCommit - Identifies the before commit SHA for the 'head_ref_force_pushed' event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class EnterpriseOrganizationMembershipEdge: + """ + EnterpriseOrganizationMembershipEdge - An enterprise organization that a user is a member of. - pullRequest - PullRequest referenced by event. + cursor - A cursor for use in pagination. - ref - Identifies the fully qualified ref name for the 'head_ref_force_pushed' event. + node - The item at the end of the edge. - """ - actor: Actor - afterCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - beforeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - ref: Ref + role - The role of the user in the enterprise membership. -class HeadRefRestoredEvent(GQLObject): - """ - HeadRefRestoredEvent - Represents a 'head_ref_restored' event on a given pull request. + """ - actor - Identifies the actor who performed the event. + cursor: str + node: Optional[Organization] = None + role: EnterpriseUserAccountMembershipRole - createdAt - Identifies the date and time when the object was created. - pullRequest - PullRequest referenced by event. +@dataclass(kw_only=True) +class EnterpriseOrganizationMembershipConnection: + """ + EnterpriseOrganizationMembershipConnection - The connection type for Organization. - """ - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + edges - A list of edges. -class MergedEvent(GQLObject): - """ - MergedEvent - Represents a 'merged' event on a given pull request. + nodes - A list of nodes. - actor - Identifies the actor who performed the event. + pageInfo - Information to aid in pagination. - commit - Identifies the commit associated with the `merge` event. + totalCount - Identifies the total count of items in the connection. - createdAt - Identifies the date and time when the object was created. + """ - mergeRef - Identifies the Ref associated with the `merge` event. + edges: Optional[list[EnterpriseOrganizationMembershipEdge]] = None + nodes: Optional[list[Organization]] = None + page_info: PageInfo + total_count: int - mergeRefName - Identifies the name of the Ref associated with the `merge` event. - pullRequest - PullRequest referenced by event. +@dataclass(kw_only=True) +class EnterpriseUserAccount: + """ + EnterpriseUserAccount - An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. - resourcePath - The HTTP path for this merged event. + avatarUrl - A URL pointing to the enterprise user account's public avatar. - url - The HTTP URL for this merged event. + createdAt - Identifies the date and time when the object was created. - """ - actor: Actor - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - id: ID - mergeRef: Ref - mergeRefName: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI + enterprise - The enterprise in which this user account exists. -class ReviewDismissedEvent(GQLObject): - """ - ReviewDismissedEvent - Represents a 'review_dismissed' event on a given issue or pull request. + enterpriseInstallations - A list of Enterprise Server installations this user is a member of. - actor - Identifies the actor who performed the event. + id - The Node ID of the EnterpriseUserAccount object - createdAt - Identifies the date and time when the object was created. + login - An identifier for the enterprise user account, a login or email address - databaseId - Identifies the primary key from the database. + name - The name of the enterprise user account - dismissalMessage - Identifies the optional message associated with the 'review_dismissed' event. + organizations - A list of enterprise organizations this user is a member of. - dismissalMessageHTML - Identifies the optional message associated with the event, rendered to HTML. + resourcePath - The HTTP path for this user. - previousReviewState - Identifies the previous state of the review with the 'review_dismissed' event. + updatedAt - Identifies the date and time when the object was last updated. - pullRequest - PullRequest referenced by event. + url - The HTTP URL for this user. - pullRequestCommit - Identifies the commit which caused the review to become stale. + user - The user within the enterprise. - resourcePath - The HTTP path for this review dismissed event. + """ - review - Identifies the review associated with the 'review_dismissed' event. + avatar_url: URI + created_at: DateTime + enterprise: Enterprise + enterprise_installations: EnterpriseServerInstallationMembershipConnection + id: ID + login: str + name: Optional[str] = None + organizations: EnterpriseOrganizationMembershipConnection + resource_path: URI + updated_at: DateTime + url: URI + user: Optional[User] = None - url - The HTTP URL for this review dismissed event. - """ - actor: Actor - createdAt: DateTime - databaseId: int - dismissalMessage: str - dismissalMessageHTML: str - id: ID - previousReviewState: PullRequestReviewState - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - pullRequestCommit: PullRequestCommit - resourcePath: URI - review: PullRequestReview - url: URI +@dataclass(kw_only=True) +class EnterpriseMemberEdge: + """ + EnterpriseMemberEdge - A User who is a member of an enterprise through one or more organizations. -class ReviewRequestRemovedEvent(GQLObject): - """ - ReviewRequestRemovedEvent - Represents an 'review_request_removed' event on a given pull request. + cursor - A cursor for use in pagination. - actor - Identifies the actor who performed the event. + node - The item at the end of the edge. - createdAt - Identifies the date and time when the object was created. + """ - pullRequest - PullRequest referenced by event. + cursor: str + node: Optional[EnterpriseMember] = None - requestedReviewer - Identifies the reviewer whose review request was removed. - """ - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - requestedReviewer: RequestedReviewer +@dataclass(kw_only=True) +class EnterpriseMemberConnection: + """ + EnterpriseMemberConnection - The connection type for EnterpriseMember. -class ReviewRequestedEvent(GQLObject): - """ - ReviewRequestedEvent - Represents an 'review_requested' event on a given pull request. + edges - A list of edges. - actor - Identifies the actor who performed the event. + nodes - A list of nodes. - createdAt - Identifies the date and time when the object was created. + pageInfo - Information to aid in pagination. - pullRequest - PullRequest referenced by event. + totalCount - Identifies the total count of items in the connection. - requestedReviewer - Identifies the reviewer whose review was requested. + """ - """ - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - requestedReviewer: RequestedReviewer + edges: Optional[list[EnterpriseMemberEdge]] = None + nodes: Optional[list[EnterpriseMember]] = None + page_info: PageInfo + total_count: int -class PullRequestTimelineItem(GQLObject): - pass -class PullRequestTimelineItemEdge(GQLObject): - """ - PullRequestTimelineItemEdge - An edge in a connection. +@dataclass(kw_only=True) +class OrganizationEdge: + """ + OrganizationEdge - An edge in a connection. - cursor - A cursor for use in pagination. + cursor - A cursor for use in pagination. - node - The item at the end of the edge. + node - The item at the end of the edge. - """ - cursor: str - node: PullRequestTimelineItem + """ -class list_PullRequestTimelineItemEdge(list, PullRequestTimelineItemEdge): pass + cursor: str + node: Optional[Organization] = None -class list_PullRequestTimelineItem(list, PullRequestTimelineItem): pass -class PullRequestTimelineConnection(GQLObject): - """ - PullRequestTimelineConnection - The connection type for PullRequestTimelineItem. +@dataclass(kw_only=True) +class OrganizationConnection: + """ + OrganizationConnection - A list of organizations managed by an enterprise. - edges - A list of edges. + edges - A list of edges. - nodes - A list of nodes. + nodes - A list of nodes. - pageInfo - Information to aid in pagination. + pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. + totalCount - Identifies the total count of items in the connection. - """ - edges: list_PullRequestTimelineItemEdge[PullRequestTimelineItemEdge] - nodes: list_PullRequestTimelineItem[PullRequestTimelineItem] - pageInfo: PageInfo - totalCount: int + """ -class AddedToMergeQueueEvent(GQLObject): - """ - AddedToMergeQueueEvent - Represents an 'added_to_merge_queue' event on a given pull request. + edges: Optional[list[OrganizationEdge]] = None + nodes: Optional[list[Organization]] = None + page_info: PageInfo + total_count: int - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class EnterpriseAdministratorEdge: + """ + EnterpriseAdministratorEdge - A User who is an administrator of an enterprise. - enqueuer - The user who added this Pull Request to the merge queue + cursor - A cursor for use in pagination. - mergeQueue - The merge queue where this pull request was added to. + node - The item at the end of the edge. - pullRequest - PullRequest referenced by event. + role - The role of the administrator. - """ - actor: Actor - createdAt: DateTime - enqueuer: NewType('User', GQLObject) ## Circular Reference for User - id: ID - mergeQueue: MergeQueue - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + """ -class AutoMergeDisabledEvent(GQLObject): - """ - AutoMergeDisabledEvent - Represents a 'auto_merge_disabled' event on a given pull request. + cursor: str + node: Optional[User] = None + role: EnterpriseAdministratorRole - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class EnterpriseAdministratorConnection: + """ + EnterpriseAdministratorConnection - The connection type for User. - disabler - The user who disabled auto-merge for this Pull Request + edges - A list of edges. - pullRequest - PullRequest referenced by event + nodes - A list of nodes. - reason - The reason auto-merge was disabled + pageInfo - Information to aid in pagination. - reasonCode - The reason_code relating to why auto-merge was disabled + totalCount - Identifies the total count of items in the connection. - """ - actor: Actor - createdAt: DateTime - disabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reason: str - reasonCode: str + """ -class AutoMergeEnabledEvent(GQLObject): - """ - AutoMergeEnabledEvent - Represents a 'auto_merge_enabled' event on a given pull request. + edges: Optional[list[EnterpriseAdministratorEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class EnterpriseServerInstallationEdge: + """ + EnterpriseServerInstallationEdge - An edge in a connection. - enabler - The user who enabled auto-merge for this Pull Request + cursor - A cursor for use in pagination. - pullRequest - PullRequest referenced by event. + node - The item at the end of the edge. - """ - actor: Actor - createdAt: DateTime - enabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + """ -class AutoRebaseEnabledEvent(GQLObject): - """ - AutoRebaseEnabledEvent - Represents a 'auto_rebase_enabled' event on a given pull request. + cursor: str + node: Optional[EnterpriseServerInstallation] = None - actor - Identifies the actor who performed the event. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class EnterpriseServerInstallationConnection: + """ + EnterpriseServerInstallationConnection - The connection type for EnterpriseServerInstallation. - enabler - The user who enabled auto-merge (rebase) for this Pull Request + edges - A list of edges. - pullRequest - PullRequest referenced by event. + nodes - A list of nodes. - """ - actor: Actor - createdAt: DateTime - enabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + pageInfo - Information to aid in pagination. -class AutoSquashEnabledEvent(GQLObject): - """ - AutoSquashEnabledEvent - Represents a 'auto_squash_enabled' event on a given pull request. + totalCount - Identifies the total count of items in the connection. - actor - Identifies the actor who performed the event. + """ - createdAt - Identifies the date and time when the object was created. + edges: Optional[list[EnterpriseServerInstallationEdge]] = None + nodes: Optional[list[EnterpriseServerInstallation]] = None + page_info: PageInfo + total_count: int - enabler - The user who enabled auto-merge (squash) for this Pull Request - pullRequest - PullRequest referenced by event. +@dataclass(kw_only=True) +class EnterpriseFailedInvitationEdge: + """ + EnterpriseFailedInvitationEdge - A failed invitation to be a member in an enterprise organization. - """ - actor: Actor - createdAt: DateTime - enabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + cursor - A cursor for use in pagination. -class AutomaticBaseChangeFailedEvent(GQLObject): - """ - AutomaticBaseChangeFailedEvent - Represents a 'automatic_base_change_failed' event on a given pull request. + node - The item at the end of the edge. - actor - Identifies the actor who performed the event. + """ - createdAt - Identifies the date and time when the object was created. + cursor: str + node: Optional[OrganizationInvitation] = None - newBase - The new base for this PR - oldBase - The old base for this PR +@dataclass(kw_only=True) +class EnterpriseFailedInvitationConnection: + """ + EnterpriseFailedInvitationConnection - The connection type for OrganizationInvitation. - pullRequest - PullRequest referenced by event. + edges - A list of edges. - """ - actor: Actor - createdAt: DateTime - id: ID - newBase: str - oldBase: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest + nodes - A list of nodes. -class AutomaticBaseChangeSucceededEvent(GQLObject): - """ - AutomaticBaseChangeSucceededEvent - Represents a 'automatic_base_change_succeeded' event on a given pull request. + pageInfo - Information to aid in pagination. - actor - Identifies the actor who performed the event. + totalCount - Identifies the total count of items in the connection. - createdAt - Identifies the date and time when the object was created. + totalUniqueUserCount - Identifies the total count of unique users in the connection. - newBase - The new base for this PR + """ - oldBase - The old base for this PR + edges: Optional[list[EnterpriseFailedInvitationEdge]] = None + nodes: Optional[list[OrganizationInvitation]] = None + page_info: PageInfo + total_count: int + total_unique_user_count: int - pullRequest - PullRequest referenced by event. - """ - actor: Actor - createdAt: DateTime - id: ID - newBase: str - oldBase: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest +@dataclass(kw_only=True) +class OIDCProvider: + """ + OIDCProvider - An OIDC identity provider configured to provision identities for an enterprise. + Visible to enterprise owners or enterprise owners' personal access tokens + (classic) with read:enterprise or admin:enterprise scope. -class BaseRefChangedEvent(GQLObject): - """ - BaseRefChangedEvent - Represents a 'base_ref_changed' event on a given issue or pull request. + enterprise - The enterprise this identity provider belongs to. - actor - Identifies the actor who performed the event. + externalIdentities - ExternalIdentities provisioned by this identity provider. - createdAt - Identifies the date and time when the object was created. + id - The Node ID of the OIDCProvider object - currentRefName - Identifies the name of the base ref for the pull request after it was changed. + providerType - The OIDC identity provider type - databaseId - Identifies the primary key from the database. + tenantId - The id of the tenant this provider is attached to - previousRefName - Identifies the name of the base ref for the pull request before it was changed. + """ - pullRequest - PullRequest referenced by event. + enterprise: Optional[Enterprise] = None + external_identities: ExternalIdentityConnection + id: ID + provider_type: OIDCProviderType + tenant_id: str - """ - actor: Actor - createdAt: DateTime - currentRefName: str - databaseId: int - id: ID - previousRefName: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest -class ConvertToDraftEvent(GQLObject): - """ - ConvertToDraftEvent - Represents a 'convert_to_draft' event on a given pull request. +@dataclass(kw_only=True) +class EnterpriseRepositoryInfoEdge: + """ + EnterpriseRepositoryInfoEdge - An edge in a connection. - actor - Identifies the actor who performed the event. + cursor - A cursor for use in pagination. - createdAt - Identifies the date and time when the object was created. + node - The item at the end of the edge. - pullRequest - PullRequest referenced by event. + """ - resourcePath - The HTTP path for this convert to draft event. + cursor: str + node: Optional[EnterpriseRepositoryInfo] = None - url - The HTTP URL for this convert to draft event. - """ - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI +@dataclass(kw_only=True) +class EnterpriseRepositoryInfoConnection: + """ + EnterpriseRepositoryInfoConnection - The connection type for EnterpriseRepositoryInfo. -class AXPEO_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - """ - AXPEO_CommitCommentConnection_Field - The comments that exist in this thread. + edges - A list of edges. - """ - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + nodes - A list of nodes. - before - Returns the elements in the list that come before the specified cursor. + pageInfo - Information to aid in pagination. - first - Returns the first _n_ elements from the list. + totalCount - Identifies the total count of items in the connection. - last - Returns the last _n_ elements from the list. + """ - """ - after: str - before: str - first: int - last: int + edges: Optional[list[EnterpriseRepositoryInfoEdge]] = None + nodes: Optional[list[EnterpriseRepositoryInfo]] = None + page_info: PageInfo + total_count: int - _args: CommitCommentConnectionArgs +@dataclass(kw_only=True) +class EnterpriseOutsideCollaboratorEdge: + """ + EnterpriseOutsideCollaboratorEdge - A User who is an outside collaborator of an enterprise through one or more organizations. + cursor - A cursor for use in pagination. -class PullRequestCommitCommentThread(GQLObject): - """ - PullRequestCommitCommentThread - Represents a commit comment thread part of a pull request. + node - The item at the end of the edge. - comments - The comments that exist in this thread. + repositories - The enterprise organization repositories this user is a member of. - commit - The commit the comments were made on. + """ - path - The file the comments were made on. + cursor: str + node: Optional[User] = None + repositories: EnterpriseRepositoryInfoConnection - position - The position in the diff for the commit that the comment was made on. - pullRequest - The pull request this commit comment thread belongs to +@dataclass(kw_only=True) +class EnterpriseOutsideCollaboratorConnection: + """ + EnterpriseOutsideCollaboratorConnection - The connection type for User. - repository - The repository associated with this node. + edges - A list of edges. - """ - comments: AXPEO_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - path: str - position: int - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - repository: Repository + nodes - A list of nodes. -class PullRequestRevisionMarker(GQLObject): - """ - PullRequestRevisionMarker - Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. + pageInfo - Information to aid in pagination. - createdAt - Identifies the date and time when the object was created. + totalCount - Identifies the total count of items in the connection. - lastSeenCommit - The last commit the viewer has seen. + """ - pullRequest - The pull request to which the marker belongs. + edges: Optional[list[EnterpriseOutsideCollaboratorEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - """ - createdAt: DateTime - lastSeenCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest -class ReadyForReviewEvent(GQLObject): - """ - ReadyForReviewEvent - Represents a 'ready_for_review' event on a given pull request. +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitation: + """ + EnterpriseAdministratorInvitation - An invitation for a user to become an owner or billing manager of an enterprise. - actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. - createdAt - Identifies the date and time when the object was created. + email - The email of the person who was invited to the enterprise. - pullRequest - PullRequest referenced by event. + enterprise - The enterprise the invitation is for. - resourcePath - The HTTP path for this ready for review event. + id - The Node ID of the EnterpriseAdministratorInvitation object - url - The HTTP URL for this ready for review event. + invitee - The user who was invited to the enterprise. - """ - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI + inviter - The user who created the invitation. -class RemovedFromMergeQueueEvent(GQLObject): - """ - RemovedFromMergeQueueEvent - Represents a 'removed_from_merge_queue' event on a given pull request. + role - The invitee's pending role in the enterprise (owner or billing_manager). - actor - Identifies the actor who performed the event. + """ - beforeCommit - Identifies the before commit SHA for the 'removed_from_merge_queue' event. + created_at: DateTime + email: Optional[str] = None + enterprise: Enterprise + id: ID + invitee: Optional[User] = None + inviter: Optional[User] = None + role: EnterpriseAdministratorRole - createdAt - Identifies the date and time when the object was created. - enqueuer - The user who removed this Pull Request from the merge queue +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitationEdge: + """ + EnterpriseAdministratorInvitationEdge - An edge in a connection. - mergeQueue - The merge queue where this pull request was removed from. + cursor - A cursor for use in pagination. - pullRequest - PullRequest referenced by event. + node - The item at the end of the edge. - reason - The reason this pull request was removed from the queue. + """ - """ - actor: Actor - beforeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - enqueuer: NewType('User', GQLObject) ## Circular Reference for User - id: ID - mergeQueue: MergeQueue - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reason: str + cursor: str + node: Optional[EnterpriseAdministratorInvitation] = None -class PullRequestTimelineItems(GQLObject): - pass -class PullRequestTimelineItemsEdge(GQLObject): - """ - PullRequestTimelineItemsEdge - An edge in a connection. +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitationConnection: + """ + EnterpriseAdministratorInvitationConnection - The connection type for EnterpriseAdministratorInvitation. - cursor - A cursor for use in pagination. + edges - A list of edges. - node - The item at the end of the edge. + nodes - A list of nodes. - """ - cursor: str - node: PullRequestTimelineItems + pageInfo - Information to aid in pagination. -class list_PullRequestTimelineItemsEdge(list, PullRequestTimelineItemsEdge): pass + totalCount - Identifies the total count of items in the connection. -class list_PullRequestTimelineItems(list, PullRequestTimelineItems): pass + """ -class PullRequestTimelineItemsConnection(GQLObject): - """ - PullRequestTimelineItemsConnection - The connection type for PullRequestTimelineItems. + edges: Optional[list[EnterpriseAdministratorInvitationEdge]] = None + nodes: Optional[list[EnterpriseAdministratorInvitation]] = None + page_info: PageInfo + total_count: int - edges - A list of edges. - filteredCount - Identifies the count of items after applying `before` and `after` filters. +@dataclass(kw_only=True) +class RepositoryInfo: + """ + RepositoryInfo - A subset of repository info. - nodes - A list of nodes. + archivedAt - Identifies the date and time when the repository was archived. - pageCount - Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. + createdAt - Identifies the date and time when the object was created. - pageInfo - Information to aid in pagination. + description - The description of the repository. - totalCount - Identifies the total count of items in the connection. + descriptionHTML - The description of the repository rendered to HTML. - updatedAt - Identifies the date and time when the timeline was last updated. + forkCount - Returns how many forks there are of this repository in the whole network. - """ - edges: list_PullRequestTimelineItemsEdge[PullRequestTimelineItemsEdge] - filteredCount: int - nodes: list_PullRequestTimelineItems[PullRequestTimelineItems] - pageCount: int - pageInfo: PageInfo - totalCount: int - updatedAt: DateTime + hasDiscussionsEnabled - Indicates if the repository has the Discussions feature enabled. -class OMZNC_UserConnection_Field(UserConnection): - """ - OMZNC_UserConnection_Field - A list of Users assigned to this object. + hasIssuesEnabled - Indicates if the repository has issues feature enabled. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + hasProjectsEnabled - Indicates if the repository has the Projects feature enabled. - before - Returns the elements in the list that come before the specified cursor. + hasSponsorshipsEnabled - Indicates if the repository displays a Sponsor button for financial contributions. - first - Returns the first _n_ elements from the list. + hasWikiEnabled - Indicates if the repository has wiki feature enabled. - last - Returns the last _n_ elements from the list. + homepageUrl - The repository's URL. - """ - after: str - before: str - first: int - last: int + isArchived - Indicates if the repository is unmaintained. - _args: UserConnectionArgs + isFork - Identifies if the repository is a fork. + isInOrganization - Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. + isLocked - Indicates if the repository has been locked or not. -class JEPET_IssueConnection_Field(IssueConnection): - """ - JEPET_IssueConnection_Field - List of issues that were may be closed by this pull request + isMirror - Identifies if the repository is a mirror. - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - userLinkedOnly - Return only manually linked Issues + isPrivate - Identifies if the repository is private or internal. - after - Returns the elements in the list that come after the specified cursor. + isTemplate - Identifies if the repository is a template that can be used to generate new repositories. - before - Returns the elements in the list that come before the specified cursor. + licenseInfo - The license associated with the repository - first - Returns the first _n_ elements from the list. + lockReason - The reason the repository has been locked. - last - Returns the last _n_ elements from the list. + mirrorUrl - The repository's original mirror URL. - orderBy - Ordering options for issues returned from the connection + name - The name of the repository. - """ - userLinkedOnly: bool - after: str - before: str - first: int - last: int - orderBy: IssueOrder + nameWithOwner - The repository's name with owner. - _args: IssueConnectionArgs + openGraphImageUrl - The image used to represent this repository in Open Graph data. + owner - The User owner of the repository. + pushedAt - Identifies the date and time when the repository was last pushed to. -class LDLYS_IssueCommentConnection_Field(IssueCommentConnection): - """ - LDLYS_IssueCommentConnection_Field - A list of comments associated with the pull request. + resourcePath - The HTTP path for this repository - """ - class IssueCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issue comments returned from the connection. + shortDescriptionHTML - A description of the repository, rendered to HTML without any links in it. - after - Returns the elements in the list that come after the specified cursor. + updatedAt - Identifies the date and time when the object was last updated. - before - Returns the elements in the list that come before the specified cursor. + url - The HTTP URL for this repository - first - Returns the first _n_ elements from the list. + usesCustomOpenGraphImage - Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. - last - Returns the last _n_ elements from the list. + visibility - Indicates the repository's visibility level. - """ - orderBy: IssueCommentOrder - after: str - before: str - first: int - last: int + """ - _args: IssueCommentConnectionArgs + archived_at: Optional[DateTime] = None + created_at: DateTime + description: Optional[str] = None + description_h_t_m_l: HTML + fork_count: int + has_discussions_enabled: bool + has_issues_enabled: bool + has_projects_enabled: bool + has_sponsorships_enabled: bool + has_wiki_enabled: bool + homepage_url: Optional[URI] = None + is_archived: bool + is_fork: bool + is_in_organization: bool + is_locked: bool + is_mirror: bool + is_private: bool + is_template: bool + license_info: Optional[License] = None + lock_reason: Optional[RepositoryLockReason] = None + mirror_url: Optional[URI] = None + name: str + name_with_owner: str + open_graph_image_url: URI + owner: RepositoryOwner + pushed_at: Optional[DateTime] = None + resource_path: URI + short_description_h_t_m_l: HTML + updated_at: DateTime + url: URI + uses_custom_open_graph_image: bool + visibility: RepositoryVisibility +@dataclass(kw_only=True) +class RepositoryInvitation: + """ + RepositoryInvitation - An invitation for a user to be added to a repository. -class KNOBI_PullRequestCommitConnection_Field(PullRequestCommitConnection): - """ - KNOBI_PullRequestCommitConnection_Field - A list of commits present in this pull request's head branch not present in the base branch. + email - The email address that received the invitation. - """ - class PullRequestCommitConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the RepositoryInvitation object - before - Returns the elements in the list that come before the specified cursor. + invitee - The user who received the invitation. - first - Returns the first _n_ elements from the list. + inviter - The user who created the invitation. - last - Returns the last _n_ elements from the list. + permalink - The permalink for this repository invitation. - """ - after: str - before: str - first: int - last: int + permission - The permission granted on this repository by this invitation. - _args: PullRequestCommitConnectionArgs + repository - The Repository the user is invited to. + """ + email: Optional[str] = None + id: ID + invitee: Optional[User] = None + inviter: User + permalink: URI + permission: RepositoryPermission + repository: Optional[RepositoryInfo] = None -class NFPFP_PullRequestChangedFileConnection_Field(PullRequestChangedFileConnection): - """ - NFPFP_PullRequestChangedFileConnection_Field - Lists the files changed within this pull request. - """ - class PullRequestChangedFileConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class RepositoryInvitationEdge: + """ + RepositoryInvitationEdge - An edge in a connection. - before - Returns the elements in the list that come before the specified cursor. + cursor - A cursor for use in pagination. - first - Returns the first _n_ elements from the list. + node - The item at the end of the edge. - last - Returns the last _n_ elements from the list. + """ - """ - after: str - before: str - first: int - last: int + cursor: str + node: Optional[RepositoryInvitation] = None - _args: PullRequestChangedFileConnectionArgs +@dataclass(kw_only=True) +class RepositoryInvitationConnection: + """ + RepositoryInvitationConnection - A list of repository invitations. + edges - A list of edges. -class OJWHK_Hovercard_Field(Hovercard): - """ - OJWHK_Hovercard_Field - The hovercard information for this issue + nodes - A list of nodes. - """ - class HovercardArgs(GQLArgsSet, GQLObject): - """ - includeNotificationContexts - Whether or not to include notification contexts + pageInfo - Information to aid in pagination. - """ - includeNotificationContexts: bool + totalCount - Identifies the total count of items in the connection. - _args: HovercardArgs + """ + edges: Optional[list[RepositoryInvitationEdge]] = None + nodes: Optional[list[RepositoryInvitation]] = None + page_info: PageInfo + total_count: int -class SLKBU_LabelConnection_Field(LabelConnection): - """ - SLKBU_LabelConnection_Field - A list of labels associated with the object. +@dataclass(kw_only=True) +class EnterprisePendingMemberInvitationEdge: + """ + EnterprisePendingMemberInvitationEdge - An invitation to be a member in an enterprise organization. - """ - class LabelConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for labels returned from the connection. + cursor - A cursor for use in pagination. - after - Returns the elements in the list that come after the specified cursor. + node - The item at the end of the edge. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + cursor: str + node: Optional[OrganizationInvitation] = None - last - Returns the last _n_ elements from the list. - """ - orderBy: LabelOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class EnterprisePendingMemberInvitationConnection: + """ + EnterprisePendingMemberInvitationConnection - The connection type for OrganizationInvitation. - _args: LabelConnectionArgs + edges - A list of edges. + nodes - A list of nodes. + pageInfo - Information to aid in pagination. -class HJGSX_PullRequestReviewConnection_Field(PullRequestReviewConnection): - """ - HJGSX_PullRequestReviewConnection_Field - A list of latest reviews per user associated with the pull request. + totalCount - Identifies the total count of items in the connection. - """ - class PullRequestReviewConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + totalUniqueUserCount - Identifies the total count of unique users in the connection. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + edges: Optional[list[EnterprisePendingMemberInvitationEdge]] = None + nodes: Optional[list[OrganizationInvitation]] = None + page_info: PageInfo + total_count: int + total_unique_user_count: int - last - Returns the last _n_ elements from the list. - writersOnly - Only return reviews from user who have write access to the repository +@dataclass(kw_only=True) +class EnterpriseIdentityProvider: + """ + EnterpriseIdentityProvider - An identity provider configured to provision identities for an enterprise. + Visible to enterprise owners or enterprise owners' personal access tokens + (classic) with read:enterprise or admin:enterprise scope. - """ - after: str - before: str - first: int - last: int - writersOnly: bool + digestMethod - The digest algorithm used to sign SAML requests for the identity provider. - _args: PullRequestReviewConnectionArgs + enterprise - The enterprise this identity provider belongs to. + externalIdentities - ExternalIdentities provisioned by this identity provider. + id - The Node ID of the EnterpriseIdentityProvider object -class HARSQ_PullRequestReviewConnection_Field(PullRequestReviewConnection): - """ - HARSQ_PullRequestReviewConnection_Field - A list of latest reviews per user associated with the pull request that are not also pending review. + idpCertificate - The x509 certificate used by the identity provider to sign assertions and responses. - """ - class PullRequestReviewConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + issuer - The Issuer Entity ID for the SAML identity provider. - before - Returns the elements in the list that come before the specified cursor. + recoveryCodes - Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable. - first - Returns the first _n_ elements from the list. + signatureMethod - The signature algorithm used to sign SAML requests for the identity provider. - last - Returns the last _n_ elements from the list. + ssoUrl - The URL endpoint for the identity provider's SAML SSO. - """ - after: str - before: str - first: int - last: int + """ - _args: PullRequestReviewConnectionArgs + digest_method: Optional[SamlDigestAlgorithm] = None + enterprise: Optional[Enterprise] = None + external_identities: ExternalIdentityConnection + id: ID + idp_certificate: Optional[X509Certificate] = None + issuer: Optional[str] = None + recovery_codes: Optional[list[str]] = None + signature_method: Optional[SamlSignatureAlgorithm] = None + sso_url: Optional[URI] = None +@dataclass(kw_only=True) +class EnterpriseOwnerInfo: + """ + EnterpriseOwnerInfo - Enterprise information visible to enterprise owners or enterprise owners' + personal access tokens (classic) with read:enterprise or admin:enterprise scope. -class ODMYR_UserConnection_Field(UserConnection): - """ - ODMYR_UserConnection_Field - A list of Users that are participating in the Pull Request conversation. + admins - A list of all of the administrators for this enterprise. - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + affiliatedUsersWithTwoFactorDisabled - A list of users in the enterprise who currently have two-factor authentication disabled. - before - Returns the elements in the list that come before the specified cursor. + affiliatedUsersWithTwoFactorDisabledExist - Whether or not affiliated users with two-factor authentication disabled exist in the enterprise. - first - Returns the first _n_ elements from the list. + allowPrivateRepositoryForkingSetting - The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise. - last - Returns the last _n_ elements from the list. + allowPrivateRepositoryForkingSettingOrganizations - A list of enterprise organizations configured with the provided private repository forking setting value. - """ - after: str - before: str - first: int - last: int + allowPrivateRepositoryForkingSettingPolicyValue - The value for the allow private repository forking policy on the enterprise. - _args: UserConnectionArgs + defaultRepositoryPermissionSetting - The setting value for base repository permissions for organizations in this enterprise. + defaultRepositoryPermissionSettingOrganizations - A list of enterprise organizations configured with the provided base repository permission. + domains - A list of domains owned by the enterprise. Visible to enterprise owners or + enterprise owners' personal access tokens (classic) with admin:enterprise scope. -class CRTJJ_ProjectCardConnection_Field(ProjectCardConnection): - """ - CRTJJ_ProjectCardConnection_Field - List of project cards associated with this pull request. + enterpriseServerInstallations - Enterprise Server installations owned by the enterprise. - """ - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + failedInvitations - A list of failed invitations in the enterprise. - before - Returns the elements in the list that come before the specified cursor. + ipAllowListEnabledSetting - The setting value for whether the enterprise has an IP allow list enabled. - first - Returns the first _n_ elements from the list. + ipAllowListEntries - The IP addresses that are allowed to access resources owned by the enterprise. + Visible to enterprise owners or enterprise owners' personal access tokens + (classic) with admin:enterprise scope. - last - Returns the last _n_ elements from the list. + ipAllowListForInstalledAppsEnabledSetting - The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. - archivedStates - A list of archived states to filter the cards by + isUpdatingDefaultRepositoryPermission - Whether or not the base repository permission is currently being updated. - """ - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] + isUpdatingTwoFactorRequirement - Whether the two-factor authentication requirement is currently being enforced. - _args: ProjectCardConnectionArgs + membersCanChangeRepositoryVisibilitySetting - The setting value for whether organization members with admin permissions on a + repository can change repository visibility. + membersCanChangeRepositoryVisibilitySettingOrganizations - A list of enterprise organizations configured with the provided can change repository visibility setting value. + membersCanCreateInternalRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create internal repositories. -class DEVAS_ProjectV2ItemConnection_Field(ProjectV2ItemConnection): - """ - DEVAS_ProjectV2ItemConnection_Field - List of project items associated with this pull request. + membersCanCreatePrivateRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create private repositories. - """ - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - """ - includeArchived - Include archived items. + membersCanCreatePublicRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create public repositories. - after - Returns the elements in the list that come after the specified cursor. + membersCanCreateRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create repositories. - before - Returns the elements in the list that come before the specified cursor. + membersCanCreateRepositoriesSettingOrganizations - A list of enterprise organizations configured with the provided repository creation setting value. - first - Returns the first _n_ elements from the list. + membersCanDeleteIssuesSetting - The setting value for whether members with admin permissions for repositories can delete issues. - last - Returns the last _n_ elements from the list. + membersCanDeleteIssuesSettingOrganizations - A list of enterprise organizations configured with the provided members can delete issues setting value. - """ - includeArchived: bool - after: str - before: str - first: int - last: int + membersCanDeleteRepositoriesSetting - The setting value for whether members with admin permissions for repositories can delete or transfer repositories. - _args: ProjectV2ItemConnectionArgs + membersCanDeleteRepositoriesSettingOrganizations - A list of enterprise organizations configured with the provided members can delete repositories setting value. + membersCanInviteCollaboratorsSetting - The setting value for whether members of organizations in the enterprise can invite outside collaborators. + membersCanInviteCollaboratorsSettingOrganizations - A list of enterprise organizations configured with the provided members can invite collaborators setting value. -class NZNUI_ProjectV2_Field(ProjectV2): - """ - NZNUI_ProjectV2_Field - Find a project by number. + membersCanMakePurchasesSetting - Indicates whether members of this enterprise's organizations can purchase additional services for those organizations. - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The project number. + membersCanUpdateProtectedBranchesSetting - The setting value for whether members with admin permissions for repositories can update protected branches. - """ - number: NonNull_int + membersCanUpdateProtectedBranchesSettingOrganizations - A list of enterprise organizations configured with the provided members can update protected branches setting value. - _args: ProjectV2Args + membersCanViewDependencyInsightsSetting - The setting value for whether members can view dependency insights. + membersCanViewDependencyInsightsSettingOrganizations - A list of enterprise organizations configured with the provided members can view dependency insights setting value. + notificationDeliveryRestrictionEnabledSetting - Indicates if email notification delivery for this enterprise is restricted to verified or approved domains. -class DKTPZ_ProjectV2Connection_Field(ProjectV2Connection): - """ - DKTPZ_ProjectV2Connection_Field - A list of projects under the owner. + oidcProvider - The OIDC Identity Provider for the enterprise. - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - query - A project to search for under the the owner. + organizationProjectsSetting - The setting value for whether organization projects are enabled for organizations in this enterprise. - orderBy - How to order the returned projects. + organizationProjectsSettingOrganizations - A list of enterprise organizations configured with the provided organization projects setting value. - after - Returns the elements in the list that come after the specified cursor. + outsideCollaborators - A list of outside collaborators across the repositories in the enterprise. - before - Returns the elements in the list that come before the specified cursor. + pendingAdminInvitations - A list of pending administrator invitations for the enterprise. - first - Returns the first _n_ elements from the list. + pendingCollaboratorInvitations - A list of pending collaborator invitations across the repositories in the enterprise. - last - Returns the last _n_ elements from the list. + pendingMemberInvitations - A list of pending member invitations for organizations in the enterprise. - """ - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int + repositoryProjectsSetting - The setting value for whether repository projects are enabled in this enterprise. - _args: ProjectV2ConnectionArgs + repositoryProjectsSettingOrganizations - A list of enterprise organizations configured with the provided repository projects setting value. + samlIdentityProvider - The SAML Identity Provider for the enterprise. + samlIdentityProviderSettingOrganizations - A list of enterprise organizations configured with the SAML single sign-on setting value. -class VQQPI_ReactionConnection_Field(ReactionConnection): - """ - VQQPI_ReactionConnection_Field - A list of Reactions left on the Issue. + supportEntitlements - A list of members with a support entitlement. - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + teamDiscussionsSetting - The setting value for whether team discussions are enabled for organizations in this enterprise. - before - Returns the elements in the list that come before the specified cursor. + teamDiscussionsSettingOrganizations - A list of enterprise organizations configured with the provided team discussions setting value. - first - Returns the first _n_ elements from the list. + twoFactorRequiredSetting - The setting value for whether the enterprise requires two-factor authentication for its organizations and users. - last - Returns the last _n_ elements from the list. + twoFactorRequiredSettingOrganizations - A list of enterprise organizations configured with the two-factor authentication setting value. - content - Allows filtering Reactions by emoji. + """ - orderBy - Allows specifying the order in which reactions are returned. + admins: EnterpriseAdministratorConnection + affiliated_users_with_two_factor_disabled: UserConnection + affiliated_users_with_two_factor_disabled_exist: bool + allow_private_repository_forking_setting: EnterpriseEnabledDisabledSettingValue + allow_private_repository_forking_setting_organizations: OrganizationConnection + allow_private_repository_forking_setting_policy_value: Optional[ + EnterpriseAllowPrivateRepositoryForkingPolicyValue + ] = None + default_repository_permission_setting: EnterpriseDefaultRepositoryPermissionSettingValue + default_repository_permission_setting_organizations: OrganizationConnection + domains: VerifiableDomainConnection + enterprise_server_installations: EnterpriseServerInstallationConnection + failed_invitations: EnterpriseFailedInvitationConnection + ip_allow_list_enabled_setting: IpAllowListEnabledSettingValue + ip_allow_list_entries: IpAllowListEntryConnection + ip_allow_list_for_installed_apps_enabled_setting: IpAllowListForInstalledAppsEnabledSettingValue + is_updating_default_repository_permission: bool + is_updating_two_factor_requirement: bool + members_can_change_repository_visibility_setting: EnterpriseEnabledDisabledSettingValue + members_can_change_repository_visibility_setting_organizations: OrganizationConnection + members_can_create_internal_repositories_setting: Optional[bool] = None + members_can_create_private_repositories_setting: Optional[bool] = None + members_can_create_public_repositories_setting: Optional[bool] = None + members_can_create_repositories_setting: Optional[ + EnterpriseMembersCanCreateRepositoriesSettingValue + ] = None + members_can_create_repositories_setting_organizations: OrganizationConnection + members_can_delete_issues_setting: EnterpriseEnabledDisabledSettingValue + members_can_delete_issues_setting_organizations: OrganizationConnection + members_can_delete_repositories_setting: EnterpriseEnabledDisabledSettingValue + members_can_delete_repositories_setting_organizations: OrganizationConnection + members_can_invite_collaborators_setting: EnterpriseEnabledDisabledSettingValue + members_can_invite_collaborators_setting_organizations: OrganizationConnection + members_can_make_purchases_setting: EnterpriseMembersCanMakePurchasesSettingValue + members_can_update_protected_branches_setting: EnterpriseEnabledDisabledSettingValue + members_can_update_protected_branches_setting_organizations: OrganizationConnection + members_can_view_dependency_insights_setting: EnterpriseEnabledDisabledSettingValue + members_can_view_dependency_insights_setting_organizations: OrganizationConnection + notification_delivery_restriction_enabled_setting: NotificationRestrictionSettingValue + oidc_provider: Optional[OIDCProvider] = None + organization_projects_setting: EnterpriseEnabledDisabledSettingValue + organization_projects_setting_organizations: OrganizationConnection + outside_collaborators: EnterpriseOutsideCollaboratorConnection + pending_admin_invitations: EnterpriseAdministratorInvitationConnection + pending_collaborator_invitations: RepositoryInvitationConnection + pending_member_invitations: EnterprisePendingMemberInvitationConnection + repository_projects_setting: EnterpriseEnabledDisabledSettingValue + repository_projects_setting_organizations: OrganizationConnection + saml_identity_provider: Optional[EnterpriseIdentityProvider] = None + saml_identity_provider_setting_organizations: OrganizationConnection + support_entitlements: EnterpriseMemberConnection + team_discussions_setting: EnterpriseEnabledDisabledSettingValue + team_discussions_setting_organizations: OrganizationConnection + two_factor_required_setting: EnterpriseEnabledSettingValue + two_factor_required_setting_organizations: OrganizationConnection - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - _args: ReactionConnectionArgs +@dataclass(kw_only=True) +class IpAllowListEntry: + """ + IpAllowListEntry - An IP address or range of addresses that is allowed to access an owner's resources. + allowListValue - A single IP address or range of IP addresses in CIDR notation. + createdAt - Identifies the date and time when the object was created. -class JFHYC_ReviewRequestConnection_Field(ReviewRequestConnection): - """ - JFHYC_ReviewRequestConnection_Field - A list of review requests associated with the pull request. + id - The Node ID of the IpAllowListEntry object - """ - class ReviewRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + isActive - Whether the entry is currently active. - before - Returns the elements in the list that come before the specified cursor. + name - The name of the IP allow list entry. - first - Returns the first _n_ elements from the list. + owner - The owner of the IP allow list entry. - last - Returns the last _n_ elements from the list. + updatedAt - Identifies the date and time when the object was last updated. - """ - after: str - before: str - first: int - last: int + """ - _args: ReviewRequestConnectionArgs + allow_list_value: str + created_at: DateTime + id: ID + is_active: bool + name: Optional[str] = None + owner: IpAllowListOwner + updated_at: DateTime +@dataclass(kw_only=True) +class IpAllowListEntryEdge: + """ + IpAllowListEntryEdge - An edge in a connection. -class EWQVV_PullRequestReviewThreadConnection_Field(PullRequestReviewThreadConnection): - """ - EWQVV_PullRequestReviewThreadConnection_Field - The list of all review threads for this pull request. + cursor - A cursor for use in pagination. - """ - class PullRequestReviewThreadConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + node - The item at the end of the edge. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + cursor: str + node: Optional[IpAllowListEntry] = None - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class BypassForcePushAllowance: + """ + BypassForcePushAllowance - A user, team, or app who has the ability to bypass a force push requirement on a protected branch. - _args: PullRequestReviewThreadConnectionArgs + actor - The actor that can force push. + branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. + id - The Node ID of the BypassForcePushAllowance object -class NonNull_PullRequestReviewState(GQLObject): pass + """ -class EBRNM_PullRequestReviewConnection_Field(PullRequestReviewConnection): - """ - EBRNM_PullRequestReviewConnection_Field - A list of reviews associated with the pull request. + actor: Optional[BranchActorAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID - """ - class PullRequestReviewConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class BypassForcePushAllowanceEdge: + """ + BypassForcePushAllowanceEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - states - A list of states to filter the reviews. + """ - author - Filter by author of the review. + cursor: str + node: Optional[BypassForcePushAllowance] = None - """ - after: str - before: str - first: int - last: int - states: list[NonNull_PullRequestReviewState] - author: str - _args: PullRequestReviewConnectionArgs +@dataclass(kw_only=True) +class BypassForcePushAllowanceConnection: + """ + BypassForcePushAllowanceConnection - The connection type for BypassForcePushAllowance. + edges - A list of edges. + nodes - A list of nodes. -class list_SuggestedReviewer(list, SuggestedReviewer): pass + pageInfo - Information to aid in pagination. -class NonNull_PullRequestTimelineItemsItemType(GQLObject): pass + totalCount - Identifies the total count of items in the connection. -class GTZNR_PullRequestTimelineItemsConnection_Field(PullRequestTimelineItemsConnection): - """ - GTZNR_PullRequestTimelineItemsConnection_Field - A list of events, comments, commits, etc. associated with the pull request. + """ - """ - class PullRequestTimelineItemsConnectionArgs(GQLArgsSet, GQLObject): - """ - since - Filter timeline items by a `since` timestamp. + edges: Optional[list[BypassForcePushAllowanceEdge]] = None + nodes: Optional[list[BypassForcePushAllowance]] = None + page_info: PageInfo + total_count: int - skip - Skips the first _n_ elements in the list. - itemTypes - Filter timeline items by type. +@dataclass(kw_only=True) +class BypassPullRequestAllowance: + """ + BypassPullRequestAllowance - A user, team, or app who has the ability to bypass a pull request requirement on a protected branch. - after - Returns the elements in the list that come after the specified cursor. + actor - The actor that can bypass. - before - Returns the elements in the list that come before the specified cursor. + branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. - first - Returns the first _n_ elements from the list. + id - The Node ID of the BypassPullRequestAllowance object - last - Returns the last _n_ elements from the list. + """ - """ - since: DateTime - skip: int - itemTypes: list[NonNull_PullRequestTimelineItemsItemType] - after: str - before: str - first: int - last: int + actor: Optional[BranchActorAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID - _args: PullRequestTimelineItemsConnectionArgs +@dataclass(kw_only=True) +class BypassPullRequestAllowanceEdge: + """ + BypassPullRequestAllowanceEdge - An edge in a connection. + cursor - A cursor for use in pagination. -class IERIJ_UserContentEditConnection_Field(UserContentEditConnection): - """ - IERIJ_UserContentEditConnection_Field - A list of edits to this content. + node - The item at the end of the edge. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + cursor: str + node: Optional[BypassPullRequestAllowance] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class BypassPullRequestAllowanceConnection: + """ + BypassPullRequestAllowanceConnection - The connection type for BypassPullRequestAllowance. - """ - after: str - before: str - first: int - last: int + edges - A list of edges. - _args: UserContentEditConnectionArgs + nodes - A list of nodes. + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. -class PullRequest(GQLObject): - """ - PullRequest - A repository pull request. + """ - activeLockReason - Reason that the conversation was locked. + edges: Optional[list[BypassPullRequestAllowanceEdge]] = None + nodes: Optional[list[BypassPullRequestAllowance]] = None + page_info: PageInfo + total_count: int - additions - The number of additions in this pull request. - assignees - A list of Users assigned to this object. +@dataclass(kw_only=True) +class PushAllowance: + """ + PushAllowance - A team, user, or app who has the ability to push to a protected branch. - author - The actor who authored the comment. + actor - The actor that can push. - authorAssociation - Author's association with the subject of the comment. + branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. - autoMergeRequest - Returns the auto-merge request object if one exists for this pull request. + id - The Node ID of the PushAllowance object - baseRef - Identifies the base Ref associated with the pull request. + """ - baseRefName - Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted. + actor: Optional[PushAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID - baseRefOid - Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted. - baseRepository - The repository associated with this pull request's base Ref. +@dataclass(kw_only=True) +class PushAllowanceEdge: + """ + PushAllowanceEdge - An edge in a connection. - body - The body as Markdown. + cursor - A cursor for use in pagination. - bodyHTML - The body rendered to HTML. + node - The item at the end of the edge. - bodyText - The body rendered to text. + """ - changedFiles - The number of changed files in this pull request. + cursor: str + node: Optional[PushAllowance] = None - checksResourcePath - The HTTP path for the checks of this pull request. - checksUrl - The HTTP URL for the checks of this pull request. +@dataclass(kw_only=True) +class PushAllowanceConnection: + """ + PushAllowanceConnection - The connection type for PushAllowance. - closed - `true` if the pull request is closed + edges - A list of edges. - closedAt - Identifies the date and time when the object was closed. + nodes - A list of nodes. - closingIssuesReferences - List of issues that were may be closed by this pull request + pageInfo - Information to aid in pagination. - comments - A list of comments associated with the pull request. + totalCount - Identifies the total count of items in the connection. - commits - A list of commits present in this pull request's head branch not present in the base branch. + """ - createdAt - Identifies the date and time when the object was created. + edges: Optional[list[PushAllowanceEdge]] = None + nodes: Optional[list[PushAllowance]] = None + page_info: PageInfo + total_count: int - createdViaEmail - Check if this comment was created via an email reply. - databaseId - Identifies the primary key from the database. +@dataclass(kw_only=True) +class RequiredStatusCheckDescription: + """ + RequiredStatusCheckDescription - Represents a required status check for a protected branch, but not any specific run of that check. - deletions - The number of deletions in this pull request. + app - The App that must provide this status in order for it to be accepted. - editor - The actor who edited this pull request's body. + context - The name of this status. - files - Lists the files changed within this pull request. + """ - headRef - Identifies the head Ref associated with the pull request. + app: Optional[App] = None + context: str - headRefName - Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. - headRefOid - Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted. +@dataclass(kw_only=True) +class ReviewDismissalAllowance: + """ + ReviewDismissalAllowance - A user, team, or app who has the ability to dismiss a review on a protected branch. - headRepository - The repository associated with this pull request's head Ref. + actor - The actor that can dismiss. - headRepositoryOwner - The owner of the repository associated with this pull request's head Ref. + branchProtectionRule - Identifies the branch protection rule associated with the allowed user, team, or app. - hovercard - The hovercard information for this issue + id - The Node ID of the ReviewDismissalAllowance object - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + """ - isCrossRepository - The head and base repositories are different. + actor: Optional[ReviewDismissalAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID - isDraft - Identifies if the pull request is a draft. - isReadByViewer - Is this pull request read by the viewer +@dataclass(kw_only=True) +class ReviewDismissalAllowanceEdge: + """ + ReviewDismissalAllowanceEdge - An edge in a connection. - labels - A list of labels associated with the object. + cursor - A cursor for use in pagination. - lastEditedAt - The moment the editor made the last edit + node - The item at the end of the edge. - latestOpinionatedReviews - A list of latest reviews per user associated with the pull request. + """ - latestReviews - A list of latest reviews per user associated with the pull request that are not also pending review. + cursor: str + node: Optional[ReviewDismissalAllowance] = None - locked - `true` if the pull request is locked - maintainerCanModify - Indicates whether maintainers can modify the pull request. +@dataclass(kw_only=True) +class ReviewDismissalAllowanceConnection: + """ + ReviewDismissalAllowanceConnection - The connection type for ReviewDismissalAllowance. - mergeCommit - The commit that was created when this pull request was merged. + edges - A list of edges. - mergeQueueEntry - The merge queue entry of the pull request in the base branch's merge queue + nodes - A list of nodes. - mergeable - Whether or not the pull request can be merged based on the existence of merge conflicts. + pageInfo - Information to aid in pagination. - merged - Whether or not the pull request was merged. + totalCount - Identifies the total count of items in the connection. - mergedAt - The date and time that the pull request was merged. + """ - mergedBy - The actor who merged the pull request. + edges: Optional[list[ReviewDismissalAllowanceEdge]] = None + nodes: Optional[list[ReviewDismissalAllowance]] = None + page_info: PageInfo + total_count: int - milestone - Identifies the milestone associated with the pull request. - number - Identifies the pull request number. +@dataclass(kw_only=True) +class CommitEdge: + """ + CommitEdge - An edge in a connection. - participants - A list of Users that are participating in the Pull Request conversation. + cursor - A cursor for use in pagination. - permalink - The permalink to the pull request. + node - The item at the end of the edge. - potentialMergeCommit - The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the `mergeable` field for more details on the mergeability of the pull request. + """ - projectCards - List of project cards associated with this pull request. + cursor: str + node: Optional[Commit] = None - projectItems - List of project items associated with this pull request. - projectV2 - Find a project by number. +@dataclass(kw_only=True) +class ComparisonCommitConnection: + """ + ComparisonCommitConnection - The connection type for Commit. - projectsV2 - A list of projects under the owner. + authorCount - The total count of authors and co-authors across all commits. - publishedAt - Identifies when the comment was published at. + edges - A list of edges. - reactionGroups - A list of reactions grouped by content left on the subject. + nodes - A list of nodes. - reactions - A list of Reactions left on the Issue. + pageInfo - Information to aid in pagination. - repository - The repository associated with this node. + totalCount - Identifies the total count of items in the connection. - resourcePath - The HTTP path for this pull request. + """ - revertResourcePath - The HTTP path for reverting this pull request. + author_count: int + edges: Optional[list[CommitEdge]] = None + nodes: Optional[list[Commit]] = None + page_info: PageInfo + total_count: int - revertUrl - The HTTP URL for reverting this pull request. - reviewDecision - The current status of this pull request with respect to code review. +@dataclass(kw_only=True) +class Comparison: + """ + Comparison - Represents a comparison between two commit revisions. - reviewRequests - A list of review requests associated with the pull request. + aheadBy - The number of commits ahead of the base branch. - reviewThreads - The list of all review threads for this pull request. + baseTarget - The base revision of this comparison. - reviews - A list of reviews associated with the pull request. + behindBy - The number of commits behind the base branch. - state - Identifies the state of the pull request. + commits - The commits which compose this comparison. - suggestedReviewers - A list of reviewer suggestions based on commit history and past review comments. + headTarget - The head revision of this comparison. - timelineItems - A list of events, comments, commits, etc. associated with the pull request. + id - The Node ID of the Comparison object - title - Identifies the pull request title. + status - The status of this comparison. - titleHTML - Identifies the pull request title rendered to HTML. + """ - totalCommentsCount - Returns a count of how many comments this pull request has received. + ahead_by: int + base_target: GitObject + behind_by: int + commits: ComparisonCommitConnection + head_target: GitObject + id: ID + status: ComparisonStatus - updatedAt - Identifies the date and time when the object was last updated. - url - The HTTP URL for this pull request. +@dataclass(kw_only=True) +class IssueCommentConnection: + """ + IssueCommentConnection - The connection type for IssueComment. - userContentEdits - A list of edits to this content. + edges - A list of edges. - viewerCanApplySuggestion - Whether or not the viewer can apply suggestion. + nodes - A list of nodes. - viewerCanClose - Indicates if the object can be closed by the viewer. + pageInfo - Information to aid in pagination. - viewerCanDeleteHeadRef - Check if the viewer can restore the deleted head ref. + totalCount - Identifies the total count of items in the connection. - viewerCanDisableAutoMerge - Whether or not the viewer can disable auto-merge + """ - viewerCanEditFiles - Can the viewer edit files within this pull request. + edges: Optional[list[IssueCommentEdge]] = None + nodes: Optional[list[IssueComment]] = None + page_info: PageInfo + total_count: int - viewerCanEnableAutoMerge - Whether or not the viewer can enable auto-merge - viewerCanMergeAsAdmin - Indicates whether the viewer can bypass branch protections and merge the pull request immediately +@dataclass(kw_only=True) +class PullRequestCommit: + """ + PullRequestCommit - Represents a Git commit part of a pull request. - viewerCanReact - Can user react to this subject + commit - The Git commit object - viewerCanReopen - Indicates if the object can be reopened by the viewer. + id - The Node ID of the PullRequestCommit object - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + pullRequest - The pull request this commit belongs to - viewerCanUpdate - Check if the current viewer can update this object. + resourcePath - The HTTP path for this pull request commit - viewerCanUpdateBranch - Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. -If the head ref is up to date or unable to be updated by this user, this will return false. + url - The HTTP URL for this pull request commit + """ - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + commit: Commit + id: ID + pull_request: PullRequest + resource_path: URI + url: URI - viewerDidAuthor - Did the viewer author this comment. - viewerLatestReview - The latest review given from the viewer. +@dataclass(kw_only=True) +class PullRequestCommitEdge: + """ + PullRequestCommitEdge - An edge in a connection. - viewerLatestReviewRequest - The person who has requested the viewer for review on this pull request. + cursor - A cursor for use in pagination. - viewerMergeBodyText - The merge body text for the viewer and method. + node - The item at the end of the edge. - viewerMergeHeadlineText - The merge headline text for the viewer and method. + """ - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + cursor: str + node: Optional[PullRequestCommit] = None - """ - activeLockReason: LockReason - additions: int - assignees: OMZNC_UserConnection_Field - author: Actor - authorAssociation: CommentAuthorAssociation - autoMergeRequest: AutoMergeRequest - baseRef: Ref - baseRefName: str - baseRefOid: GitObjectID - baseRepository: Repository - body: str - bodyHTML: HTML - bodyText: str - changedFiles: int - checksResourcePath: URI - checksUrl: URI - closed: bool - closedAt: DateTime - closingIssuesReferences: JEPET_IssueConnection_Field - comments: LDLYS_IssueCommentConnection_Field - commits: KNOBI_PullRequestCommitConnection_Field - createdAt: DateTime - createdViaEmail: bool - databaseId: int - deletions: int - editor: Actor - files: NFPFP_PullRequestChangedFileConnection_Field - headRef: Ref - headRefName: str - headRefOid: GitObjectID - headRepository: Repository - headRepositoryOwner: RepositoryOwner - hovercard: OJWHK_Hovercard_Field - id: ID - includesCreatedEdit: bool - isCrossRepository: bool - isDraft: bool - isReadByViewer: bool - labels: SLKBU_LabelConnection_Field - lastEditedAt: DateTime - latestOpinionatedReviews: HJGSX_PullRequestReviewConnection_Field - latestReviews: HARSQ_PullRequestReviewConnection_Field - locked: bool - maintainerCanModify: bool - mergeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - mergeQueueEntry: MergeQueueEntry - mergeable: MergeableState - merged: bool - mergedAt: DateTime - mergedBy: Actor - milestone: Milestone - number: int - participants: ODMYR_UserConnection_Field - permalink: URI - potentialMergeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - projectCards: CRTJJ_ProjectCardConnection_Field - projectItems: DEVAS_ProjectV2ItemConnection_Field - projectV2: NZNUI_ProjectV2_Field - projectsV2: DKTPZ_ProjectV2Connection_Field - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: VQQPI_ReactionConnection_Field - repository: Repository - resourcePath: URI - revertResourcePath: URI - revertUrl: URI - reviewDecision: PullRequestReviewDecision - reviewRequests: JFHYC_ReviewRequestConnection_Field - reviewThreads: EWQVV_PullRequestReviewThreadConnection_Field - reviews: EBRNM_PullRequestReviewConnection_Field - state: PullRequestState - suggestedReviewers: list_SuggestedReviewer[SuggestedReviewer] - timelineItems: GTZNR_PullRequestTimelineItemsConnection_Field - title: str - titleHTML: HTML - totalCommentsCount: int - updatedAt: DateTime - url: URI - userContentEdits: IERIJ_UserContentEditConnection_Field - viewerCanApplySuggestion: bool - viewerCanClose: bool - viewerCanDeleteHeadRef: bool - viewerCanDisableAutoMerge: bool - viewerCanEditFiles: bool - viewerCanEnableAutoMerge: bool - viewerCanMergeAsAdmin: bool - viewerCanReact: bool - viewerCanReopen: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCanUpdateBranch: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerLatestReview: PullRequestReview - viewerLatestReviewRequest: ReviewRequest - viewerMergeBodyText: EAHTS_viewerMergeBodyText_Field - viewerMergeHeadlineText: EPWRV_viewerMergeHeadlineText_Field - viewerSubscription: SubscriptionState - -class PullRequestEdge(GQLObject): - """ - PullRequestEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: PullRequest - -class list_PullRequestEdge(list, PullRequestEdge): pass - -class list_PullRequest(list, PullRequest): pass - -class PullRequestConnection(GQLObject): - """ - PullRequestConnection - The connection type for PullRequest. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_PullRequestEdge[PullRequestEdge] - nodes: list_PullRequest[PullRequest] - pageInfo: PageInfo - totalCount: int - -class GitActor(GQLObject): - """ - GitActor - Represents an actor in a Git commit (ie. an author or committer). - - avatarUrl - A URL pointing to the author's public avatar. - date - The timestamp of the Git action (authoring or committing). +@dataclass(kw_only=True) +class PullRequestCommitConnection: + """ + PullRequestCommitConnection - The connection type for PullRequestCommit. - email - The email in the Git commit. + edges - A list of edges. - name - The name in the Git commit. + nodes - A list of nodes. - user - The GitHub user corresponding to the email field. Null if no such user exists. + pageInfo - Information to aid in pagination. - """ - avatarUrl: FBRUV_URI_Field - date: GitTimestamp - email: str - name: str - user: NewType('User', GQLObject) ## Circular Reference for User + totalCount - Identifies the total count of items in the connection. -class GitActorEdge(GQLObject): - """ - GitActorEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[PullRequestCommitEdge]] = None + nodes: Optional[list[PullRequestCommit]] = None + page_info: PageInfo + total_count: int - node - The item at the end of the edge. - """ - cursor: str - node: GitActor +@dataclass(kw_only=True) +class PullRequestChangedFileEdge: + """ + PullRequestChangedFileEdge - An edge in a connection. -class list_GitActorEdge(list, GitActorEdge): pass + cursor - A cursor for use in pagination. -class list_GitActor(list, GitActor): pass + node - The item at the end of the edge. -class GitActorConnection(GQLObject): - """ - GitActorConnection - The connection type for GitActor. + """ - edges - A list of edges. + cursor: str + node: Optional[PullRequestChangedFile] = None - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class PullRequestChangedFileConnection: + """ + PullRequestChangedFileConnection - The connection type for PullRequestChangedFile. - totalCount - Identifies the total count of items in the connection. + edges - A list of edges. - """ - edges: list_GitActorEdge[GitActorEdge] - nodes: list_GitActor[GitActor] - pageInfo: PageInfo - totalCount: int + nodes - A list of nodes. -class BlameRange(GQLObject): - """ - BlameRange - Represents a range of information from a Git blame. + pageInfo - Information to aid in pagination. - age - Identifies the recency of the change, from 1 (new) to 10 (old). This is calculated as a 2-quantile and determines the length of distance between the median age of all the changes in the file and the recency of the current range's change. + totalCount - Identifies the total count of items in the connection. - commit - Identifies the line author + """ - endingLine - The ending line for the range + edges: Optional[list[PullRequestChangedFileEdge]] = None + nodes: Optional[list[PullRequestChangedFile]] = None + page_info: PageInfo + total_count: int - startingLine - The starting line for the range - """ - age: int - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - endingLine: int - startingLine: int +@dataclass(kw_only=True) +class Hovercard: + """ + Hovercard - Detail needed to display a hovercard for a user -class list_BlameRange(list, BlameRange): pass + contexts - Each of the contexts for this hovercard -class Blame(GQLObject): - """ - Blame - Represents a Git blame. + """ - ranges - The list of ranges from a Git blame. + contexts: list[HovercardContext] - """ - ranges: list_BlameRange[BlameRange] -class CheckSuiteEdge(GQLObject): - """ - CheckSuiteEdge - An edge in a connection. +@dataclass(kw_only=True) +class PullRequestReviewCommentEdge: + """ + PullRequestReviewCommentEdge - An edge in a connection. - cursor - A cursor for use in pagination. + cursor - A cursor for use in pagination. - node - The item at the end of the edge. + node - The item at the end of the edge. - """ - cursor: str - node: NewType('CheckSuite', GQLObject) ## Circular Reference for CheckSuite + """ -class list_CheckSuiteEdge(list, CheckSuiteEdge): pass + cursor: str + node: Optional[PullRequestReviewComment] = None -class CheckSuiteConnection(GQLObject): - """ - CheckSuiteConnection - The connection type for CheckSuite. - edges - A list of edges. +@dataclass(kw_only=True) +class PullRequestReviewCommentConnection: + """ + PullRequestReviewCommentConnection - The connection type for PullRequestReviewComment. - nodes - A list of nodes. + edges - A list of edges. - pageInfo - Information to aid in pagination. + nodes - A list of nodes. - totalCount - Identifies the total count of items in the connection. + pageInfo - Information to aid in pagination. - """ - edges: list_CheckSuiteEdge[CheckSuiteEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for CheckSuite - pageInfo: PageInfo - totalCount: int + totalCount - Identifies the total count of items in the connection. -class TreeEntry(GQLObject): - """ - TreeEntry - Represents a Git tree entry. + """ - extension - The extension of the file + edges: Optional[list[PullRequestReviewCommentEdge]] = None + nodes: Optional[list[PullRequestReviewComment]] = None + page_info: PageInfo + total_count: int - isGenerated - Whether or not this tree entry is generated - language - The programming language this file is written in. +@dataclass(kw_only=True) +class PullRequestReviewEdge: + """ + PullRequestReviewEdge - An edge in a connection. - lineCount - Number of lines in the file. + cursor - A cursor for use in pagination. - mode - Entry file mode. + node - The item at the end of the edge. - name - Entry file name. + """ - nameRaw - Entry file name. (Base64-encoded) + cursor: str + node: Optional[PullRequestReview] = None - object - Entry file object. - oid - Entry file Git object ID. +@dataclass(kw_only=True) +class PullRequestReviewConnection: + """ + PullRequestReviewConnection - The connection type for PullRequestReview. - path - The full path of the file. + edges - A list of edges. - pathRaw - The full path of the file. (Base64-encoded) + nodes - A list of nodes. - repository - The Repository the tree entry belongs to + pageInfo - Information to aid in pagination. - size - Entry byte size + totalCount - Identifies the total count of items in the connection. - submodule - If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule + """ - type - Entry file type. + edges: Optional[list[PullRequestReviewEdge]] = None + nodes: Optional[list[PullRequestReview]] = None + page_info: PageInfo + total_count: int - """ - extension: str - isGenerated: bool - language: Language - lineCount: int - mode: int - name: str - nameRaw: Base64String - object: GitObject - oid: GitObjectID - path: str - pathRaw: Base64String - repository: Repository - size: int - submodule: Submodule - type: str -class CommitHistoryConnection(GQLObject): - """ - CommitHistoryConnection - The connection type for Commit. +@dataclass(kw_only=True) +class ReviewRequest: + """ + ReviewRequest - A request for a user to review a pull request. - edges - A list of edges. + asCodeOwner - Whether this request was created for a code owner - nodes - A list of nodes. + databaseId - Identifies the primary key from the database. - pageInfo - Information to aid in pagination. + id - The Node ID of the ReviewRequest object - totalCount - Identifies the total count of items in the connection. + pullRequest - Identifies the pull request associated with this review request. - """ - edges: list_CommitEdge[CommitEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Commit - pageInfo: PageInfo - totalCount: int + requestedReviewer - The reviewer that is requested. -class CommitConnection(GQLObject): - """ - CommitConnection - The connection type for Commit. + """ - edges - A list of edges. + as_code_owner: bool + database_id: Optional[int] = None + id: ID + pull_request: PullRequest + requested_reviewer: Optional[RequestedReviewer] = None - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class ReviewRequestEdge: + """ + ReviewRequestEdge - An edge in a connection. - totalCount - Identifies the total count of items in the connection. + cursor - A cursor for use in pagination. - """ - edges: list_CommitEdge[CommitEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Commit - pageInfo: PageInfo - totalCount: int + node - The item at the end of the edge. -class GitSignature(GQLObject): - """ - GitSignature - Information about a signature (GPG or S/MIME) on a Commit or Tag. + """ - email - Email used to sign this object. + cursor: str + node: Optional[ReviewRequest] = None - isValid - True if the signature is valid and verified by GitHub. - payload - Payload for GPG signing object. Raw ODB object without the signature header. +@dataclass(kw_only=True) +class ReviewRequestConnection: + """ + ReviewRequestConnection - The connection type for ReviewRequest. - signature - ASCII-armored signature header from object. + edges - A list of edges. - signer - GitHub user corresponding to the email signing this commit. + nodes - A list of nodes. - state - The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. + pageInfo - Information to aid in pagination. - wasSignedByGitHub - True if the signature was made with GitHub's signing key. + totalCount - Identifies the total count of items in the connection. - """ - email: str - isValid: bool - payload: str - signature: str - signer: NewType('User', GQLObject) ## Circular Reference for User - state: GitSignatureState - wasSignedByGitHub: bool + """ -class CheckAnnotationSpan(GQLObject): - """ - CheckAnnotationSpan - An inclusive pair of positions for a check annotation. + edges: Optional[list[ReviewRequestEdge]] = None + nodes: Optional[list[ReviewRequest]] = None + page_info: PageInfo + total_count: int - end - End position (inclusive). - start - Start position (inclusive). +@dataclass(kw_only=True) +class PullRequestReviewThread: + """ + PullRequestReviewThread - A threaded list of comments for a given pull request. - """ - end: CheckAnnotationPosition - start: CheckAnnotationPosition + comments - A list of pull request comments associated with the thread. -class CheckAnnotation(GQLObject): - """ - CheckAnnotation - A single check annotation. + diffSide - The side of the diff on which this thread was placed. - annotationLevel - The annotation's severity level. + id - The Node ID of the PullRequestReviewThread object - blobUrl - The path to the file that this annotation was made on. + isCollapsed - Whether or not the thread has been collapsed (resolved) - databaseId - Identifies the primary key from the database. + isOutdated - Indicates whether this thread was outdated by newer changes. - location - The position of this annotation. + isResolved - Whether this thread has been resolved - message - The annotation's message. + line - The line in the file to which this thread refers - path - The path that this annotation was made on. + originalLine - The original line in the file to which this thread refers. - rawDetails - Additional information about the annotation. + originalStartLine - The original start line in the file to which this thread refers (multi-line only). - title - The annotation's title + path - Identifies the file path of this thread. - """ - annotationLevel: CheckAnnotationLevel - blobUrl: URI - databaseId: int - location: CheckAnnotationSpan - message: str - path: str - rawDetails: str - title: str + pullRequest - Identifies the pull request associated with this thread. -class CheckAnnotationEdge(GQLObject): - """ - CheckAnnotationEdge - An edge in a connection. + repository - Identifies the repository associated with this thread. - cursor - A cursor for use in pagination. + resolvedBy - The user who resolved this thread - node - The item at the end of the edge. + startDiffSide - The side of the diff that the first line of the thread starts on (multi-line only) - """ - cursor: str - node: CheckAnnotation + startLine - The start line in the file to which this thread refers (multi-line only) -class list_CheckAnnotationEdge(list, CheckAnnotationEdge): pass + subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file -class list_CheckAnnotation(list, CheckAnnotation): pass + viewerCanReply - Indicates whether the current viewer can reply to this thread. -class CheckAnnotationConnection(GQLObject): - """ - CheckAnnotationConnection - The connection type for CheckAnnotation. + viewerCanResolve - Whether or not the viewer can resolve this thread - edges - A list of edges. + viewerCanUnresolve - Whether or not the viewer can unresolve this thread - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + comments: PullRequestReviewCommentConnection + diff_side: DiffSide + id: ID + is_collapsed: bool + is_outdated: bool + is_resolved: bool + line: Optional[int] = None + original_line: Optional[int] = None + original_start_line: Optional[int] = None + path: str + pull_request: PullRequest + repository: Repository + resolved_by: Optional[User] = None + start_diff_side: Optional[DiffSide] = None + start_line: Optional[int] = None + subject_type: PullRequestReviewThreadSubjectType + viewer_can_reply: bool + viewer_can_resolve: bool + viewer_can_unresolve: bool - totalCount - Identifies the total count of items in the connection. - """ - edges: list_CheckAnnotationEdge[CheckAnnotationEdge] - nodes: list_CheckAnnotation[CheckAnnotation] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class PullRequestReviewThreadEdge: + """ + PullRequestReviewThreadEdge - An edge in a connection. -class CGOKE_DeploymentReviewerConnection_Field(DeploymentReviewerConnection): - """ - CGOKE_DeploymentReviewerConnection_Field - The teams or users that can review the deployment + cursor - A cursor for use in pagination. - """ - class DeploymentReviewerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + node - The item at the end of the edge. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + cursor: str + node: Optional[PullRequestReviewThread] = None - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PullRequestReviewThreadConnection: + """ + PullRequestReviewThreadConnection - Review comment threads for a pull request review. - _args: DeploymentReviewerConnectionArgs + edges - A list of edges. + nodes - A list of nodes. + pageInfo - Information to aid in pagination. -class DeploymentRequest(GQLObject): - """ - DeploymentRequest - A request to deploy a workflow run to an environment. + totalCount - Identifies the total count of items in the connection. - currentUserCanApprove - Whether or not the current user can approve the deployment + """ - environment - The target environment of the deployment + edges: Optional[list[PullRequestReviewThreadEdge]] = None + nodes: Optional[list[PullRequestReviewThread]] = None + page_info: PageInfo + total_count: int - reviewers - The teams or users that can review the deployment - waitTimer - The wait timer in minutes configured in the environment +@dataclass(kw_only=True) +class SuggestedReviewer: + """ + SuggestedReviewer - A suggestion to review a pull request based on a user's commit history and review comments. - waitTimerStartedAt - The wait timer in minutes configured in the environment + isAuthor - Is this suggestion based on past commits? - """ - currentUserCanApprove: bool - environment: Environment - reviewers: CGOKE_DeploymentReviewerConnection_Field - waitTimer: int - waitTimerStartedAt: DateTime + isCommenter - Is this suggestion based on past review comments? -class CheckStepEdge(GQLObject): - """ - CheckStepEdge - An edge in a connection. + reviewer - Identifies the user suggested to review the pull request. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + is_author: bool + is_commenter: bool + reviewer: User - """ - cursor: str - node: CheckStep -class list_CheckStepEdge(list, CheckStepEdge): pass +@dataclass(kw_only=True) +class Assignable: + """ + Assignable - An object that can have users assigned to it. -class list_CheckStep(list, CheckStep): pass + assignees - A list of Users assigned to this object. -class CheckStepConnection(GQLObject): - """ - CheckStepConnection - The connection type for CheckStep. + """ - edges - A list of edges. + assignees: UserConnection - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class AssignedEvent: + """ + AssignedEvent - Represents an 'assigned' event on any assignable object. - totalCount - Identifies the total count of items in the connection. + actor - Identifies the actor who performed the event. - """ - edges: list_CheckStepEdge[CheckStepEdge] - nodes: list_CheckStep[CheckStep] - pageInfo: PageInfo - totalCount: int + assignable - Identifies the assignable associated with the event. -class CGJBJ_CheckAnnotationConnection_Field(CheckAnnotationConnection): - """ - CGJBJ_CheckAnnotationConnection_Field - The check run's annotations + assignee - Identifies the user or mannequin that was assigned. - """ - class CheckAnnotationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + createdAt - Identifies the date and time when the object was created. - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the AssignedEvent object - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + actor: Optional[Actor] = None + assignable: Assignable + assignee: Optional[Assignee] = None + created_at: DateTime + id: ID - """ - after: str - before: str - first: int - last: int - _args: CheckAnnotationConnectionArgs +@dataclass(kw_only=True) +class BaseRefDeletedEvent: + """ + BaseRefDeletedEvent - Represents a 'base_ref_deleted' event on a given pull request. + actor - Identifies the actor who performed the event. + baseRefName - Identifies the name of the Ref associated with the `base_ref_deleted` event. -class EIUHR_CheckStepConnection_Field(CheckStepConnection): - """ - EIUHR_CheckStepConnection_Field - The check run's steps + createdAt - Identifies the date and time when the object was created. - """ - class CheckStepConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the BaseRefDeletedEvent object - before - Returns the elements in the list that come before the specified cursor. + pullRequest - PullRequest referenced by event. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + actor: Optional[Actor] = None + base_ref_name: Optional[str] = None + created_at: DateTime + id: ID + pull_request: Optional[PullRequest] = None - number - Step number - """ - after: str - before: str - first: int - last: int - number: int +@dataclass(kw_only=True) +class BaseRefForcePushedEvent: + """ + BaseRefForcePushedEvent - Represents a 'base_ref_force_pushed' event on a given pull request. - _args: CheckStepConnectionArgs + actor - Identifies the actor who performed the event. + afterCommit - Identifies the after commit SHA for the 'base_ref_force_pushed' event. + beforeCommit - Identifies the before commit SHA for the 'base_ref_force_pushed' event. -class CheckRun(GQLObject): - """ - CheckRun - A check run. + createdAt - Identifies the date and time when the object was created. - annotations - The check run's annotations + id - The Node ID of the BaseRefForcePushedEvent object - checkSuite - The check suite that this run is a part of. + pullRequest - PullRequest referenced by event. - completedAt - Identifies the date and time when the check run was completed. + ref - Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. - conclusion - The conclusion of the check run. + """ - databaseId - Identifies the primary key from the database. + actor: Optional[Actor] = None + after_commit: Optional[Commit] = None + before_commit: Optional[Commit] = None + created_at: DateTime + id: ID + pull_request: PullRequest + ref: Optional[Ref] = None - deployment - The corresponding deployment for this job, if any - detailsUrl - The URL from which to find full details of the check run on the integrator's site. +@dataclass(kw_only=True) +class ClosedEvent: + """ + ClosedEvent - Represents a 'closed' event on any `Closable`. - externalId - A reference for the check run on the integrator's system. + actor - Identifies the actor who performed the event. - isRequired - Whether this is required to pass before merging for a specific pull request. + closable - Object that was closed. - name - The name of the check for this check run. + closer - Object which triggered the creation of this event. - pendingDeploymentRequest - Information about a pending deployment, if any, in this check run + createdAt - Identifies the date and time when the object was created. - permalink - The permalink to the check run summary. + id - The Node ID of the ClosedEvent object - repository - The repository associated with this check run. + resourcePath - The HTTP path for this closed event. - resourcePath - The HTTP path for this check run. + stateReason - The reason the issue state was changed to closed. - startedAt - Identifies the date and time when the check run was started. + url - The HTTP URL for this closed event. - status - The current status of the check run. + """ - steps - The check run's steps + actor: Optional[Actor] = None + closable: Closable + closer: Optional[Closer] = None + created_at: DateTime + id: ID + resource_path: URI + state_reason: Optional[IssueStateReason] = None + url: URI - summary - A string representing the check run's summary - text - A string representing the check run's text +@dataclass(kw_only=True) +class CommitCommentThread: + """ + CommitCommentThread - A thread of comments on a commit. - title - A string representing the check run + comments - The comments that exist in this thread. - url - The HTTP URL for this check run. + commit - The commit the comments were made on. - """ - annotations: CGJBJ_CheckAnnotationConnection_Field - checkSuite: NewType('CheckSuite', GQLObject) ## Circular Reference for CheckSuite - completedAt: DateTime - conclusion: CheckConclusionState - databaseId: int - deployment: Deployment - detailsUrl: URI - externalId: str - id: ID - isRequired: HGFDO_isRequired_Field - name: str - pendingDeploymentRequest: DeploymentRequest - permalink: URI - repository: Repository - resourcePath: URI - startedAt: DateTime - status: CheckStatusState - steps: EIUHR_CheckStepConnection_Field - summary: str - text: str - title: str - url: URI + id - The Node ID of the CommitCommentThread object -class StatusContext(GQLObject): - """ - StatusContext - Represents an individual commit status context + path - The file the comments were made on. - avatarUrl - The avatar of the OAuth application or the user that created the status + position - The position in the diff for the commit that the comment was made on. - commit - This commit this status context is attached to. + repository - The repository associated with this node. - context - The name of this status context. + """ - createdAt - Identifies the date and time when the object was created. + comments: CommitCommentConnection + commit: Optional[Commit] = None + id: ID + path: Optional[str] = None + position: Optional[int] = None + repository: Repository - creator - The actor who created this status context. - description - The description for this status context. +@dataclass(kw_only=True) +class CrossReferencedEvent: + """ + CrossReferencedEvent - Represents a mention made by one issue or pull request to another. - isRequired - Whether this is required to pass before merging for a specific pull request. + actor - Identifies the actor who performed the event. - state - The state of this status context. + createdAt - Identifies the date and time when the object was created. - targetUrl - The URL for this status context. + id - The Node ID of the CrossReferencedEvent object - """ - avatarUrl: KCEXX_URI_Field - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - context: str - createdAt: DateTime - creator: Actor - description: str - id: ID - isRequired: EPWEP_isRequired_Field - state: StatusState - targetUrl: URI + isCrossRepository - Reference originated in a different repository. -class StatusCheckRollupContext(GQLObject): - pass + referencedAt - Identifies when the reference was made. -class StatusCheckRollupContextEdge(GQLObject): - """ - StatusCheckRollupContextEdge - An edge in a connection. + resourcePath - The HTTP path for this pull request. - cursor - A cursor for use in pagination. + source - Issue or pull request that made the reference. - node - The item at the end of the edge. + target - Issue or pull request to which the reference was made. - """ - cursor: str - node: StatusCheckRollupContext + url - The HTTP URL for this pull request. -class list_CheckRunStateCount(list, CheckRunStateCount): pass + willCloseTarget - Checks if the target will be closed when the source is merged. -class list_StatusCheckRollupContextEdge(list, StatusCheckRollupContextEdge): pass + """ -class list_StatusCheckRollupContext(list, StatusCheckRollupContext): pass + actor: Optional[Actor] = None + created_at: DateTime + id: ID + is_cross_repository: bool + referenced_at: DateTime + resource_path: URI + source: ReferencedSubject + target: ReferencedSubject + url: URI + will_close_target: bool -class list_StatusContextStateCount(list, StatusContextStateCount): pass -class StatusCheckRollupContextConnection(GQLObject): - """ - StatusCheckRollupContextConnection - The connection type for StatusCheckRollupContext. +@dataclass(kw_only=True) +class DemilestonedEvent: + """ + DemilestonedEvent - Represents a 'demilestoned' event on a given issue or pull request. - checkRunCount - The number of check runs in this rollup. + actor - Identifies the actor who performed the event. - checkRunCountsByState - Counts of check runs by state. + createdAt - Identifies the date and time when the object was created. - edges - A list of edges. + id - The Node ID of the DemilestonedEvent object - nodes - A list of nodes. + milestoneTitle - Identifies the milestone title associated with the 'demilestoned' event. - pageInfo - Information to aid in pagination. + subject - Object referenced by event. - statusContextCount - The number of status contexts in this rollup. + """ - statusContextCountsByState - Counts of status contexts by state. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + milestone_title: str + subject: MilestoneItem - totalCount - Identifies the total count of items in the connection. - """ - checkRunCount: int - checkRunCountsByState: list_CheckRunStateCount[CheckRunStateCount] - edges: list_StatusCheckRollupContextEdge[StatusCheckRollupContextEdge] - nodes: list_StatusCheckRollupContext[StatusCheckRollupContext] - pageInfo: PageInfo - statusContextCount: int - statusContextCountsByState: list_StatusContextStateCount[StatusContextStateCount] - totalCount: int +@dataclass(kw_only=True) +class DeployedEvent: + """ + DeployedEvent - Represents a 'deployed' event on a given pull request. -class FDPTO_StatusCheckRollupContextConnection_Field(StatusCheckRollupContextConnection): - """ - FDPTO_StatusCheckRollupContextConnection_Field - A list of status contexts and check runs for this commit. + actor - Identifies the actor who performed the event. - """ - class StatusCheckRollupContextConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + createdAt - Identifies the date and time when the object was created. - before - Returns the elements in the list that come before the specified cursor. + databaseId - Identifies the primary key from the database. - first - Returns the first _n_ elements from the list. + deployment - The deployment associated with the 'deployed' event. - last - Returns the last _n_ elements from the list. + id - The Node ID of the DeployedEvent object - """ - after: str - before: str - first: int - last: int + pullRequest - PullRequest referenced by event. - _args: StatusCheckRollupContextConnectionArgs + ref - The ref associated with the 'deployed' event. + """ + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + deployment: Deployment + id: ID + pull_request: PullRequest + ref: Optional[Ref] = None -class TRYLB_StatusContext_Field(StatusContext): - """ - TRYLB_StatusContext_Field - Looks up an individual status context by context name. - """ - class StatusContextArgs(GQLArgsSet, GQLObject): - """ - name - The context name. +@dataclass(kw_only=True) +class DeploymentEnvironmentChangedEvent: + """ + DeploymentEnvironmentChangedEvent - Represents a 'deployment_environment_changed' event on a given pull request. - """ - name: NonNull_str + actor - Identifies the actor who performed the event. - _args: StatusContextArgs + createdAt - Identifies the date and time when the object was created. + deploymentStatus - The deployment status that updated the deployment environment. + id - The Node ID of the DeploymentEnvironmentChangedEvent object -class list_StatusContext(list, StatusContext): pass + pullRequest - PullRequest referenced by event. -class Status(GQLObject): - """ - Status - Represents a commit status. + """ - combinedContexts - A list of status contexts and check runs for this commit. + actor: Optional[Actor] = None + created_at: DateTime + deployment_status: DeploymentStatus + id: ID + pull_request: PullRequest - commit - The commit this status is attached to. - context - Looks up an individual status context by context name. +@dataclass(kw_only=True) +class HeadRefDeletedEvent: + """ + HeadRefDeletedEvent - Represents a 'head_ref_deleted' event on a given pull request. - contexts - The individual status contexts for this commit. + actor - Identifies the actor who performed the event. - state - The combined commit status. + createdAt - Identifies the date and time when the object was created. - """ - combinedContexts: FDPTO_StatusCheckRollupContextConnection_Field - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - context: TRYLB_StatusContext_Field - contexts: list_StatusContext[StatusContext] - id: ID - state: StatusState + headRef - Identifies the Ref associated with the `head_ref_deleted` event. -class DUDGU_StatusCheckRollupContextConnection_Field(StatusCheckRollupContextConnection): - """ - DUDGU_StatusCheckRollupContextConnection_Field - A list of status contexts and check runs for this commit. + headRefName - Identifies the name of the Ref associated with the `head_ref_deleted` event. - """ - class StatusCheckRollupContextConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the HeadRefDeletedEvent object - before - Returns the elements in the list that come before the specified cursor. + pullRequest - PullRequest referenced by event. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + actor: Optional[Actor] = None + created_at: DateTime + head_ref: Optional[Ref] = None + head_ref_name: str + id: ID + pull_request: PullRequest - """ - after: str - before: str - first: int - last: int - _args: StatusCheckRollupContextConnectionArgs +@dataclass(kw_only=True) +class HeadRefForcePushedEvent: + """ + HeadRefForcePushedEvent - Represents a 'head_ref_force_pushed' event on a given pull request. + actor - Identifies the actor who performed the event. + afterCommit - Identifies the after commit SHA for the 'head_ref_force_pushed' event. -class StatusCheckRollup(GQLObject): - """ - StatusCheckRollup - Represents the rollup for both the check runs and status for a commit. + beforeCommit - Identifies the before commit SHA for the 'head_ref_force_pushed' event. - commit - The commit the status and check runs are attached to. + createdAt - Identifies the date and time when the object was created. - contexts - A list of status contexts and check runs for this commit. + id - The Node ID of the HeadRefForcePushedEvent object - state - The combined status for the commit. + pullRequest - PullRequest referenced by event. - """ - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - contexts: DUDGU_StatusCheckRollupContextConnection_Field - id: ID - state: StatusState + ref - Identifies the fully qualified ref name for the 'head_ref_force_pushed' event. -class list_TreeEntry(list, TreeEntry): pass + """ -class Tree(GQLObject): - """ - Tree - Represents a Git tree. + actor: Optional[Actor] = None + after_commit: Optional[Commit] = None + before_commit: Optional[Commit] = None + created_at: DateTime + id: ID + pull_request: PullRequest + ref: Optional[Ref] = None - abbreviatedOid - An abbreviated version of the Git object ID - commitResourcePath - The HTTP path for this Git object +@dataclass(kw_only=True) +class HeadRefRestoredEvent: + """ + HeadRefRestoredEvent - Represents a 'head_ref_restored' event on a given pull request. - commitUrl - The HTTP URL for this Git object + actor - Identifies the actor who performed the event. - entries - A list of tree entries. + createdAt - Identifies the date and time when the object was created. - oid - The Git object ID + id - The Node ID of the HeadRefRestoredEvent object - repository - The Repository the Git object belongs to + pullRequest - PullRequest referenced by event. - """ - abbreviatedOid: str - commitResourcePath: URI - commitUrl: URI - entries: list_TreeEntry[TreeEntry] - id: ID - oid: GitObjectID - repository: Repository + """ -class EMSPE_PullRequestConnection_Field(PullRequestConnection): - """ - EMSPE_PullRequestConnection_Field - The merged Pull Request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open Pull Requests associated with the commit + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class Labelable: + """ + Labelable - An object that can have labels assigned to it. - first - Returns the first _n_ elements from the list. + labels - A list of labels associated with the object. - last - Returns the last _n_ elements from the list. + """ - orderBy - Ordering options for pull requests. + labels: Optional[LabelConnection] = None - """ - after: str - before: str - first: int - last: int - orderBy: PullRequestOrder - _args: PullRequestConnectionArgs +@dataclass(kw_only=True) +class LabeledEvent: + """ + LabeledEvent - Represents a 'labeled' event on a given issue or pull request. + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. -class ILYNZ_GitActorConnection_Field(GitActorConnection): - """ - ILYNZ_GitActorConnection_Field - The list of authors for this commit based on the git author and the Co-authored-by -message trailer. The git author will always be first. + id - The Node ID of the LabeledEvent object + label - Identifies the label associated with the 'labeled' event. - """ - class GitActorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + labelable - Identifies the `Labelable` associated with the event. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + label: Label + labelable: Labelable - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class LockedEvent: + """ + LockedEvent - Represents a 'locked' event on a given issue or pull request. - _args: GitActorConnectionArgs + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. + id - The Node ID of the LockedEvent object -class WKYJT_Blame_Field(Blame): - """ - WKYJT_Blame_Field - Fetches `git blame` information. + lockReason - Reason that the conversation was locked (optional). - """ - class BlameArgs(GQLArgsSet, GQLObject): - """ - path - The file whose Git blame information you want. + lockable - Object that was locked. - """ - path: NonNull_str + """ - _args: BlameArgs + actor: Optional[Actor] = None + created_at: DateTime + id: ID + lock_reason: Optional[LockReason] = None + lockable: Lockable +@dataclass(kw_only=True) +class MergedEvent: + """ + MergedEvent - Represents a 'merged' event on a given pull request. -class TFLPH_CheckSuiteConnection_Field(CheckSuiteConnection): - """ - TFLPH_CheckSuiteConnection_Field - The check suites associated with a commit. + actor - Identifies the actor who performed the event. - """ - class CheckSuiteConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + commit - Identifies the commit associated with the `merge` event. - before - Returns the elements in the list that come before the specified cursor. + createdAt - Identifies the date and time when the object was created. - first - Returns the first _n_ elements from the list. + id - The Node ID of the MergedEvent object - last - Returns the last _n_ elements from the list. + mergeRef - Identifies the Ref associated with the `merge` event. - filterBy - Filters the check suites by this type. + mergeRefName - Identifies the name of the Ref associated with the `merge` event. - """ - after: str - before: str - first: int - last: int - filterBy: CheckSuiteFilter + pullRequest - PullRequest referenced by event. - _args: CheckSuiteConnectionArgs + resourcePath - The HTTP path for this merged event. + url - The HTTP URL for this merged event. + """ -class VMCDO_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - """ - VMCDO_CommitCommentConnection_Field - Comments made on the commit. + actor: Optional[Actor] = None + commit: Optional[Commit] = None + created_at: DateTime + id: ID + merge_ref: Optional[Ref] = None + merge_ref_name: str + pull_request: PullRequest + resource_path: URI + url: URI - """ - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class MilestonedEvent: + """ + MilestonedEvent - Represents a 'milestoned' event on a given issue or pull request. - first - Returns the first _n_ elements from the list. + actor - Identifies the actor who performed the event. - last - Returns the last _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - """ - after: str - before: str - first: int - last: int + id - The Node ID of the MilestonedEvent object - _args: CommitCommentConnectionArgs + milestoneTitle - Identifies the milestone title associated with the 'milestoned' event. + subject - Object referenced by event. + """ -class QJOCF_DeploymentConnection_Field(DeploymentConnection): - """ - QJOCF_DeploymentConnection_Field - The deployments associated with a commit. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + milestone_title: str + subject: MilestoneItem - """ - class DeploymentConnectionArgs(GQLArgsSet, GQLObject): - """ - environments - Environments to list deployments for - orderBy - Ordering options for deployments returned from the connection. +@dataclass(kw_only=True) +class ReferencedEvent: + """ + ReferencedEvent - Represents a 'referenced' event on a given `ReferencedSubject`. - after - Returns the elements in the list that come after the specified cursor. + actor - Identifies the actor who performed the event. - before - Returns the elements in the list that come before the specified cursor. + commit - Identifies the commit associated with the 'referenced' event. - first - Returns the first _n_ elements from the list. + commitRepository - Identifies the repository associated with the 'referenced' event. - last - Returns the last _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - """ - environments: list[NonNull_str] - orderBy: DeploymentOrder - after: str - before: str - first: int - last: int + id - The Node ID of the ReferencedEvent object - _args: DeploymentConnectionArgs + isCrossRepository - Reference originated in a different repository. + isDirectReference - Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference. + subject - Object referenced by event. -class GBWEZ_TreeEntry_Field(TreeEntry): - """ - GBWEZ_TreeEntry_Field - The tree entry representing the file located at the given path. + """ - """ - class TreeEntryArgs(GQLArgsSet, GQLObject): - """ - path - The path for the file + actor: Optional[Actor] = None + commit: Optional[Commit] = None + commit_repository: Repository + created_at: DateTime + id: ID + is_cross_repository: bool + is_direct_reference: bool + subject: ReferencedSubject - """ - path: NonNull_str - _args: TreeEntryArgs +@dataclass(kw_only=True) +class RenamedTitleEvent: + """ + RenamedTitleEvent - Represents a 'renamed' event on a given issue or pull request + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. -class QYKIM_CommitHistoryConnection_Field(CommitHistoryConnection): - """ - QYKIM_CommitHistoryConnection_Field - The linear commit history starting from (and including) this commit, in the same order as `git log`. + currentTitle - Identifies the current title of the issue or pull request. - """ - class CommitHistoryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the RenamedTitleEvent object - before - Returns the elements in the list that come before the specified cursor. + previousTitle - Identifies the previous title of the issue or pull request. - first - Returns the first _n_ elements from the list. + subject - Subject that was renamed. - last - Returns the last _n_ elements from the list. + """ - path - If non-null, filters history to only show commits touching files under this path. + actor: Optional[Actor] = None + created_at: DateTime + current_title: str + id: ID + previous_title: str + subject: RenamedTitleSubject - author - If non-null, filters history to only show commits with matching authorship. - since - Allows specifying a beginning time or date for fetching commits. +@dataclass(kw_only=True) +class ReopenedEvent: + """ + ReopenedEvent - Represents a 'reopened' event on any `Closable`. - until - Allows specifying an ending time or date for fetching commits. + actor - Identifies the actor who performed the event. - """ - after: str - before: str - first: int - last: int - path: str - author: CommitAuthor - since: GitTimestamp - until: GitTimestamp + closable - Object that was reopened. - _args: CommitHistoryConnectionArgs + createdAt - Identifies the date and time when the object was created. + id - The Node ID of the ReopenedEvent object + stateReason - The reason the issue state was changed to open. -class WBPKS_CommitConnection_Field(CommitConnection): - """ - WBPKS_CommitConnection_Field - The parents of a commit. + """ - """ - class CommitConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actor: Optional[Actor] = None + closable: Closable + created_at: DateTime + id: ID + state_reason: Optional[IssueStateReason] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class ReviewDismissedEvent: + """ + ReviewDismissedEvent - Represents a 'review_dismissed' event on a given issue or pull request. - last - Returns the last _n_ elements from the list. + actor - Identifies the actor who performed the event. - """ - after: str - before: str - first: int - last: int + createdAt - Identifies the date and time when the object was created. - _args: CommitConnectionArgs + databaseId - Identifies the primary key from the database. + dismissalMessage - Identifies the optional message associated with the 'review_dismissed' event. + dismissalMessageHTML - Identifies the optional message associated with the event, rendered to HTML. -class UQXKK_SubmoduleConnection_Field(SubmoduleConnection): - """ - UQXKK_SubmoduleConnection_Field - Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. + id - The Node ID of the ReviewDismissedEvent object - """ - class SubmoduleConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + previousReviewState - Identifies the previous state of the review with the 'review_dismissed' event. - before - Returns the elements in the list that come before the specified cursor. + pullRequest - PullRequest referenced by event. - first - Returns the first _n_ elements from the list. + pullRequestCommit - Identifies the commit which caused the review to become stale. - last - Returns the last _n_ elements from the list. + resourcePath - The HTTP path for this review dismissed event. - """ - after: str - before: str - first: int - last: int + review - Identifies the review associated with the 'review_dismissed' event. - _args: SubmoduleConnectionArgs + url - The HTTP URL for this review dismissed event. + """ + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + dismissal_message: Optional[str] = None + dismissal_message_h_t_m_l: Optional[str] = None + id: ID + previous_review_state: PullRequestReviewState + pull_request: PullRequest + pull_request_commit: Optional[PullRequestCommit] = None + resource_path: URI + review: Optional[PullRequestReview] = None + url: URI -class Commit(GQLObject): - """ - Commit - Represents a Git commit. - abbreviatedOid - An abbreviated version of the Git object ID +@dataclass(kw_only=True) +class ReviewRequestRemovedEvent: + """ + ReviewRequestRemovedEvent - Represents an 'review_request_removed' event on a given pull request. - additions - The number of additions in this commit. + actor - Identifies the actor who performed the event. - associatedPullRequests - The merged Pull Request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open Pull Requests associated with the commit + createdAt - Identifies the date and time when the object was created. - author - Authorship details of the commit. + id - The Node ID of the ReviewRequestRemovedEvent object - authoredByCommitter - Check if the committer and the author match. + pullRequest - PullRequest referenced by event. - authoredDate - The datetime when this commit was authored. + requestedReviewer - Identifies the reviewer whose review request was removed. - authors - The list of authors for this commit based on the git author and the Co-authored-by -message trailer. The git author will always be first. + """ + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + requested_reviewer: Optional[RequestedReviewer] = None - blame - Fetches `git blame` information. - changedFilesIfAvailable - The number of changed files in this commit. If GitHub is unable to calculate the number of changed files (for example due to a timeout), this will return `null`. We recommend using this field instead of `changedFiles`. +@dataclass(kw_only=True) +class ReviewRequestedEvent: + """ + ReviewRequestedEvent - Represents an 'review_requested' event on a given pull request. - checkSuites - The check suites associated with a commit. + actor - Identifies the actor who performed the event. - comments - Comments made on the commit. + createdAt - Identifies the date and time when the object was created. - commitResourcePath - The HTTP path for this Git object + id - The Node ID of the ReviewRequestedEvent object - commitUrl - The HTTP URL for this Git object + pullRequest - PullRequest referenced by event. - committedDate - The datetime when this commit was committed. + requestedReviewer - Identifies the reviewer whose review was requested. - committedViaWeb - Check if committed via GitHub web UI. + """ - committer - Committer details of the commit. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + requested_reviewer: Optional[RequestedReviewer] = None - deletions - The number of deletions in this commit. - deployments - The deployments associated with a commit. +@dataclass(kw_only=True) +class SubscribedEvent: + """ + SubscribedEvent - Represents a 'subscribed' event on a given `Subscribable`. - file - The tree entry representing the file located at the given path. + actor - Identifies the actor who performed the event. - history - The linear commit history starting from (and including) this commit, in the same order as `git log`. + createdAt - Identifies the date and time when the object was created. - message - The Git commit message + id - The Node ID of the SubscribedEvent object - messageBody - The Git commit message body + subscribable - Object referenced by event. - messageBodyHTML - The commit message body rendered to HTML. + """ - messageHeadline - The Git commit message headline + actor: Optional[Actor] = None + created_at: DateTime + id: ID + subscribable: Subscribable - messageHeadlineHTML - The commit message headline rendered to HTML. - oid - The Git object ID +@dataclass(kw_only=True) +class UnassignedEvent: + """ + UnassignedEvent - Represents an 'unassigned' event on any assignable object. - onBehalfOf - The organization this commit was made on behalf of. + actor - Identifies the actor who performed the event. - parents - The parents of a commit. + assignable - Identifies the assignable associated with the event. - repository - The Repository this commit belongs to + assignee - Identifies the user or mannequin that was unassigned. - resourcePath - The HTTP path for this commit + createdAt - Identifies the date and time when the object was created. - signature - Commit signing information, if present. + id - The Node ID of the UnassignedEvent object - status - Status information for this commit + """ - statusCheckRollup - Check and Status rollup information for this commit. + actor: Optional[Actor] = None + assignable: Assignable + assignee: Optional[Assignee] = None + created_at: DateTime + id: ID - submodules - Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. - tarballUrl - Returns a URL to download a tarball archive for a repository. -Note: For private repositories, these links are temporary and expire after five minutes. +@dataclass(kw_only=True) +class UnlabeledEvent: + """ + UnlabeledEvent - Represents an 'unlabeled' event on a given issue or pull request. - tree - Commit's root Tree + actor - Identifies the actor who performed the event. - treeResourcePath - The HTTP path for the tree of this commit + createdAt - Identifies the date and time when the object was created. - treeUrl - The HTTP URL for the tree of this commit + id - The Node ID of the UnlabeledEvent object - url - The HTTP URL for this commit + label - Identifies the label associated with the 'unlabeled' event. - viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + labelable - Identifies the `Labelable` associated with the event. - viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + """ - zipballUrl - Returns a URL to download a zipball archive for a repository. -Note: For private repositories, these links are temporary and expire after five minutes. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + label: Label + labelable: Labelable - """ - abbreviatedOid: str - additions: int - associatedPullRequests: EMSPE_PullRequestConnection_Field - author: GitActor - authoredByCommitter: bool - authoredDate: DateTime - authors: ILYNZ_GitActorConnection_Field - blame: WKYJT_Blame_Field - changedFilesIfAvailable: int - checkSuites: TFLPH_CheckSuiteConnection_Field - comments: VMCDO_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - commitResourcePath: URI - commitUrl: URI - committedDate: DateTime - committedViaWeb: bool - committer: GitActor - deletions: int - deployments: QJOCF_DeploymentConnection_Field - file: GBWEZ_TreeEntry_Field - history: QYKIM_CommitHistoryConnection_Field - id: ID - message: str - messageBody: str - messageBodyHTML: HTML - messageHeadline: str - messageHeadlineHTML: HTML - oid: GitObjectID - onBehalfOf: NewType('Organization', GQLObject) ## Circular Reference for Organization - parents: WBPKS_CommitConnection_Field - repository: Repository - resourcePath: URI - signature: GitSignature - status: Status - statusCheckRollup: StatusCheckRollup - submodules: UQXKK_SubmoduleConnection_Field - tarballUrl: URI - tree: Tree - treeResourcePath: URI - treeUrl: URI - url: URI - viewerCanSubscribe: bool - viewerSubscription: SubscriptionState - zipballUrl: URI -class UMNYX_ReactionConnection_Field(ReactionConnection): - """ - UMNYX_ReactionConnection_Field - A list of Reactions left on the Issue. +@dataclass(kw_only=True) +class UnlockedEvent: + """ + UnlockedEvent - Represents an 'unlocked' event on a given issue or pull request. - """ - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actor - Identifies the actor who performed the event. - before - Returns the elements in the list that come before the specified cursor. + createdAt - Identifies the date and time when the object was created. - first - Returns the first _n_ elements from the list. + id - The Node ID of the UnlockedEvent object - last - Returns the last _n_ elements from the list. + lockable - Object that was unlocked. - content - Allows filtering Reactions by emoji. + """ - orderBy - Allows specifying the order in which reactions are returned. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + lockable: Lockable - """ - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - _args: ReactionConnectionArgs +@dataclass(kw_only=True) +class UnsubscribedEvent: + """ + UnsubscribedEvent - Represents an 'unsubscribed' event on a given `Subscribable`. + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. -class JNBBW_UserContentEditConnection_Field(UserContentEditConnection): - """ - JNBBW_UserContentEditConnection_Field - A list of edits to this content. + id - The Node ID of the UnsubscribedEvent object - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + subscribable - Object referenced by event. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + subscribable: Subscribable - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class UserBlockedEvent: + """ + UserBlockedEvent - Represents a 'user_blocked' event on a given user. - _args: UserContentEditConnectionArgs + actor - Identifies the actor who performed the event. + blockDuration - Number of days that the user was blocked for. + createdAt - Identifies the date and time when the object was created. -class CommitComment(GQLObject): - """ - CommitComment - Represents a comment on a given Commit. + id - The Node ID of the UserBlockedEvent object - author - The actor who authored the comment. + subject - The user who was blocked. - authorAssociation - Author's association with the subject of the comment. + """ - body - Identifies the comment body. + actor: Optional[Actor] = None + block_duration: UserBlockDuration + created_at: DateTime + id: ID + subject: Optional[User] = None - bodyHTML - The body rendered to HTML. - bodyText - The body rendered to text. +@dataclass(kw_only=True) +class PullRequestTimelineItemEdge: + """ + PullRequestTimelineItemEdge - An edge in a connection. - commit - Identifies the commit associated with the comment, if the commit exists. + cursor - A cursor for use in pagination. - createdAt - Identifies the date and time when the object was created. + node - The item at the end of the edge. - createdViaEmail - Check if this comment was created via an email reply. + """ - databaseId - Identifies the primary key from the database. + cursor: str + node: Optional[PullRequestTimelineItem] = None - editor - The actor who edited the comment. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data +@dataclass(kw_only=True) +class PullRequestTimelineConnection: + """ + PullRequestTimelineConnection - The connection type for PullRequestTimelineItem. - isMinimized - Returns whether or not a comment has been minimized. + edges - A list of edges. - lastEditedAt - The moment the editor made the last edit + nodes - A list of nodes. - minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. + pageInfo - Information to aid in pagination. - path - Identifies the file path associated with the comment. + totalCount - Identifies the total count of items in the connection. - position - Identifies the line position associated with the comment. + """ - publishedAt - Identifies when the comment was published at. + edges: Optional[list[PullRequestTimelineItemEdge]] = None + nodes: Optional[list[PullRequestTimelineItem]] = None + page_info: PageInfo + total_count: int - reactionGroups - A list of reactions grouped by content left on the subject. - reactions - A list of Reactions left on the Issue. +@dataclass(kw_only=True) +class AddedToMergeQueueEvent: + """ + AddedToMergeQueueEvent - Represents an 'added_to_merge_queue' event on a given pull request. - repository - The repository associated with this node. + actor - Identifies the actor who performed the event. - resourcePath - The HTTP path permalink for this commit comment. + createdAt - Identifies the date and time when the object was created. - updatedAt - Identifies the date and time when the object was last updated. + enqueuer - The user who added this Pull Request to the merge queue - url - The HTTP URL permalink for this commit comment. + id - The Node ID of the AddedToMergeQueueEvent object - userContentEdits - A list of edits to this content. + mergeQueue - The merge queue where this pull request was added to. - viewerCanDelete - Check if the current viewer can delete this object. + pullRequest - PullRequest referenced by event. - viewerCanMinimize - Check if the current viewer can minimize this object. + """ - viewerCanReact - Can user react to this subject + actor: Optional[Actor] = None + created_at: DateTime + enqueuer: Optional[User] = None + id: ID + merge_queue: Optional[MergeQueue] = None + pull_request: Optional[PullRequest] = None - viewerCanUpdate - Check if the current viewer can update this object. - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. +@dataclass(kw_only=True) +class AddedToProjectEvent: + """ + AddedToProjectEvent - Represents a 'added_to_project' event on a given issue or pull request. - viewerDidAuthor - Did the viewer author this comment. + actor - Identifies the actor who performed the event. - """ - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - commit: Commit - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - isMinimized: bool - lastEditedAt: DateTime - minimizedReason: str - path: str - position: int - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: UMNYX_ReactionConnection_Field - repository: Repository - resourcePath: URI - updatedAt: DateTime - url: URI - userContentEdits: JNBBW_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool + createdAt - Identifies the date and time when the object was created. -class CommitCommentEdge(GQLObject): - """ - CommitCommentEdge - An edge in a connection. + databaseId - Identifies the primary key from the database. - cursor - A cursor for use in pagination. + id - The Node ID of the AddedToProjectEvent object - node - The item at the end of the edge. + project - Project referenced by event. - """ - cursor: str - node: CommitComment + projectCard - Project card referenced by this project event. -class list_CommitCommentEdge(list, CommitCommentEdge): pass + projectColumnName - Column name referenced by this project event. -class list_CommitComment(list, CommitComment): pass + """ -class CommitCommentConnection(GQLObject): - """ - CommitCommentConnection - The connection type for CommitComment. + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + project: Optional[Project] = None + project_card: Optional[ProjectCard] = None + project_column_name: str - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class AutoMergeDisabledEvent: + """ + AutoMergeDisabledEvent - Represents a 'auto_merge_disabled' event on a given pull request. - pageInfo - Information to aid in pagination. + actor - Identifies the actor who performed the event. - totalCount - Identifies the total count of items in the connection. + createdAt - Identifies the date and time when the object was created. - """ - edges: list_CommitCommentEdge[CommitCommentEdge] - nodes: list_CommitComment[CommitComment] - pageInfo: PageInfo - totalCount: int + disabler - The user who disabled auto-merge for this Pull Request -class CreatedCommitContribution(GQLObject): - """ - CreatedCommitContribution - Represents the contribution a user made by committing to a repository. + id - The Node ID of the AutoMergeDisabledEvent object - commitCount - How many commits were made on this day to this repository by the user. + pullRequest - PullRequest referenced by event - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. + reason - The reason auto-merge was disabled + reasonCode - The reason_code relating to why auto-merge was disabled - occurredAt - When this contribution was made. + """ - repository - The repository the user made a commit in. + actor: Optional[Actor] = None + created_at: DateTime + disabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None + reason: Optional[str] = None + reason_code: Optional[str] = None - resourcePath - The HTTP path for this contribution. - url - The HTTP URL for this contribution. +@dataclass(kw_only=True) +class AutoMergeEnabledEvent: + """ + AutoMergeEnabledEvent - Represents a 'auto_merge_enabled' event on a given pull request. - user - The user who made this contribution. + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. - """ - commitCount: int - isRestricted: bool - occurredAt: DateTime - repository: Repository - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User + enabler - The user who enabled auto-merge for this Pull Request -class CreatedCommitContributionEdge(GQLObject): - """ - CreatedCommitContributionEdge - An edge in a connection. + id - The Node ID of the AutoMergeEnabledEvent object - cursor - A cursor for use in pagination. + pullRequest - PullRequest referenced by event. - node - The item at the end of the edge. + """ - """ - cursor: str - node: CreatedCommitContribution + actor: Optional[Actor] = None + created_at: DateTime + enabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None -class list_CreatedCommitContributionEdge(list, CreatedCommitContributionEdge): pass -class list_CreatedCommitContribution(list, CreatedCommitContribution): pass +@dataclass(kw_only=True) +class AutoRebaseEnabledEvent: + """ + AutoRebaseEnabledEvent - Represents a 'auto_rebase_enabled' event on a given pull request. -class CreatedCommitContributionConnection(GQLObject): - """ - CreatedCommitContributionConnection - The connection type for CreatedCommitContribution. + actor - Identifies the actor who performed the event. - edges - A list of edges. + createdAt - Identifies the date and time when the object was created. - nodes - A list of nodes. + enabler - The user who enabled auto-merge (rebase) for this Pull Request - pageInfo - Information to aid in pagination. + id - The Node ID of the AutoRebaseEnabledEvent object - totalCount - Identifies the total count of commits across days and repositories in the connection. + pullRequest - PullRequest referenced by event. + """ - """ - edges: list_CreatedCommitContributionEdge[CreatedCommitContributionEdge] - nodes: list_CreatedCommitContribution[CreatedCommitContribution] - pageInfo: PageInfo - totalCount: int + actor: Optional[Actor] = None + created_at: DateTime + enabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None -class XSNWF_CreatedCommitContributionConnection_Field(CreatedCommitContributionConnection): - """ - XSNWF_CreatedCommitContributionConnection_Field - The commit contributions, each representing a day. - """ - class CreatedCommitContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class AutoSquashEnabledEvent: + """ + AutoSquashEnabledEvent - Represents a 'auto_squash_enabled' event on a given pull request. - before - Returns the elements in the list that come before the specified cursor. + actor - Identifies the actor who performed the event. - first - Returns the first _n_ elements from the list. + createdAt - Identifies the date and time when the object was created. - last - Returns the last _n_ elements from the list. + enabler - The user who enabled auto-merge (squash) for this Pull Request - orderBy - Ordering options for commit contributions returned from the connection. + id - The Node ID of the AutoSquashEnabledEvent object - """ - after: str - before: str - first: int - last: int - orderBy: CommitContributionOrder + pullRequest - PullRequest referenced by event. - _args: CreatedCommitContributionConnectionArgs + """ + actor: Optional[Actor] = None + created_at: DateTime + enabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None -class CommitContributionsByRepository(GQLObject): - """ - CommitContributionsByRepository - This aggregates commits made by a user within one repository. +@dataclass(kw_only=True) +class AutomaticBaseChangeFailedEvent: + """ + AutomaticBaseChangeFailedEvent - Represents a 'automatic_base_change_failed' event on a given pull request. - contributions - The commit contributions, each representing a day. + actor - Identifies the actor who performed the event. - repository - The repository in which the commits were made. + createdAt - Identifies the date and time when the object was created. - resourcePath - The HTTP path for the user's commits to the repository in this time range. + id - The Node ID of the AutomaticBaseChangeFailedEvent object - url - The HTTP URL for the user's commits to the repository in this time range. + newBase - The new base for this PR - """ - contributions: XSNWF_CreatedCommitContributionConnection_Field - repository: Repository - resourcePath: URI - url: URI + oldBase - The old base for this PR -class list_ContributionCalendarDay(list, ContributionCalendarDay): pass + pullRequest - PullRequest referenced by event. -class ContributionCalendarWeek(GQLObject): - """ - ContributionCalendarWeek - A week of contributions in a user's contribution graph. + """ - contributionDays - The days of contributions in this week. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + new_base: str + old_base: str + pull_request: PullRequest - firstDay - The date of the earliest square in this week. - """ - contributionDays: list_ContributionCalendarDay[ContributionCalendarDay] - firstDay: Date +@dataclass(kw_only=True) +class AutomaticBaseChangeSucceededEvent: + """ + AutomaticBaseChangeSucceededEvent - Represents a 'automatic_base_change_succeeded' event on a given pull request. -class list_ContributionCalendarMonth(list, ContributionCalendarMonth): pass + actor - Identifies the actor who performed the event. -class list_ContributionCalendarWeek(list, ContributionCalendarWeek): pass + createdAt - Identifies the date and time when the object was created. -class ContributionCalendar(GQLObject): - """ - ContributionCalendar - A calendar of contributions made on GitHub by a user. + id - The Node ID of the AutomaticBaseChangeSucceededEvent object - colors - A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. + newBase - The new base for this PR - isHalloween - Determine if the color set was chosen because it's currently Halloween. + oldBase - The old base for this PR - months - A list of the months of contributions in this calendar. + pullRequest - PullRequest referenced by event. - totalContributions - The count of total contributions in the calendar. + """ - weeks - A list of the weeks of contributions in this calendar. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + new_base: str + old_base: str + pull_request: PullRequest - """ - colors: list[str] - isHalloween: bool - months: list_ContributionCalendarMonth[ContributionCalendarMonth] - totalContributions: int - weeks: list_ContributionCalendarWeek[ContributionCalendarWeek] -class CreatedIssueContribution(GQLObject): - """ - CreatedIssueContribution - Represents the contribution a user made on GitHub by opening an issue. +@dataclass(kw_only=True) +class BaseRefChangedEvent: + """ + BaseRefChangedEvent - Represents a 'base_ref_changed' event on a given issue or pull request. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. - issue - The issue that was opened. + currentRefName - Identifies the name of the base ref for the pull request after it was changed. - occurredAt - When this contribution was made. + databaseId - Identifies the primary key from the database. - resourcePath - The HTTP path for this contribution. + id - The Node ID of the BaseRefChangedEvent object - url - The HTTP URL for this contribution. + previousRefName - Identifies the name of the base ref for the pull request before it was changed. - user - The user who made this contribution. + pullRequest - PullRequest referenced by event. + """ - """ - isRestricted: bool - issue: Issue - occurredAt: DateTime - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User + actor: Optional[Actor] = None + created_at: DateTime + current_ref_name: str + database_id: Optional[int] = None + id: ID + previous_ref_name: str + pull_request: PullRequest -class RestrictedContribution(GQLObject): - """ - RestrictedContribution - Represents a private contribution a user made on GitHub. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. +@dataclass(kw_only=True) +class CommentDeletedEvent: + """ + CommentDeletedEvent - Represents a 'comment_deleted' event on a given issue or pull request. + actor - Identifies the actor who performed the event. - occurredAt - When this contribution was made. + createdAt - Identifies the date and time when the object was created. - resourcePath - The HTTP path for this contribution. + databaseId - Identifies the primary key from the database. - url - The HTTP URL for this contribution. + deletedCommentAuthor - The user who authored the deleted comment. - user - The user who made this contribution. + id - The Node ID of the CommentDeletedEvent object + """ - """ - isRestricted: bool - occurredAt: DateTime - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + deleted_comment_author: Optional[Actor] = None + id: ID -class CreatedIssueOrRestrictedContribution(GQLObject): - pass -class CreatedPullRequestContribution(GQLObject): - """ - CreatedPullRequestContribution - Represents the contribution a user made on GitHub by opening a pull request. +@dataclass(kw_only=True) +class ConnectedEvent: + """ + ConnectedEvent - Represents a 'connected' event on a given issue or pull request. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. - occurredAt - When this contribution was made. + id - The Node ID of the ConnectedEvent object - pullRequest - The pull request that was opened. + isCrossRepository - Reference originated in a different repository. - resourcePath - The HTTP path for this contribution. + source - Issue or pull request that made the reference. - url - The HTTP URL for this contribution. + subject - Issue or pull request which was connected. - user - The user who made this contribution. + """ + actor: Optional[Actor] = None + created_at: DateTime + id: ID + is_cross_repository: bool + source: ReferencedSubject + subject: ReferencedSubject - """ - isRestricted: bool - occurredAt: DateTime - pullRequest: PullRequest - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User -class CreatedPullRequestOrRestrictedContribution(GQLObject): - pass +@dataclass(kw_only=True) +class ConvertToDraftEvent: + """ + ConvertToDraftEvent - Represents a 'convert_to_draft' event on a given pull request. -class CreatedRepositoryContribution(GQLObject): - """ - CreatedRepositoryContribution - Represents the contribution a user made on GitHub by creating a repository. + actor - Identifies the actor who performed the event. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. + createdAt - Identifies the date and time when the object was created. + id - The Node ID of the ConvertToDraftEvent object - occurredAt - When this contribution was made. + pullRequest - PullRequest referenced by event. - repository - The repository that was created. + resourcePath - The HTTP path for this convert to draft event. - resourcePath - The HTTP path for this contribution. + url - The HTTP URL for this convert to draft event. - url - The HTTP URL for this contribution. + """ - user - The user who made this contribution. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + resource_path: URI + url: URI - """ - isRestricted: bool - occurredAt: DateTime - repository: Repository - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User +@dataclass(kw_only=True) +class ConvertedNoteToIssueEvent: + """ + ConvertedNoteToIssueEvent - Represents a 'converted_note_to_issue' event on a given issue or pull request. -class CreatedRepositoryOrRestrictedContribution(GQLObject): - pass + actor - Identifies the actor who performed the event. -class CreatedIssueContributionEdge(GQLObject): - """ - CreatedIssueContributionEdge - An edge in a connection. + createdAt - Identifies the date and time when the object was created. - cursor - A cursor for use in pagination. + databaseId - Identifies the primary key from the database. - node - The item at the end of the edge. + id - The Node ID of the ConvertedNoteToIssueEvent object - """ - cursor: str - node: CreatedIssueContribution + project - Project referenced by event. -class list_CreatedIssueContributionEdge(list, CreatedIssueContributionEdge): pass + projectCard - Project card referenced by this project event. -class list_CreatedIssueContribution(list, CreatedIssueContribution): pass + projectColumnName - Column name referenced by this project event. -class CreatedIssueContributionConnection(GQLObject): - """ - CreatedIssueContributionConnection - The connection type for CreatedIssueContribution. + """ - edges - A list of edges. + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + project: Optional[Project] = None + project_card: Optional[ProjectCard] = None + project_column_name: str - nodes - A list of nodes. - pageInfo - Information to aid in pagination. +@dataclass(kw_only=True) +class ConvertedToDiscussionEvent: + """ + ConvertedToDiscussionEvent - Represents a 'converted_to_discussion' event on a given issue. - totalCount - Identifies the total count of items in the connection. + actor - Identifies the actor who performed the event. - """ - edges: list_CreatedIssueContributionEdge[CreatedIssueContributionEdge] - nodes: list_CreatedIssueContribution[CreatedIssueContribution] - pageInfo: PageInfo - totalCount: int + createdAt - Identifies the date and time when the object was created. -class CNLAL_CreatedIssueContributionConnection_Field(CreatedIssueContributionConnection): - """ - CNLAL_CreatedIssueContributionConnection_Field - The issue contributions. + discussion - The discussion that the issue was converted into. - """ - class CreatedIssueContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the ConvertedToDiscussionEvent object - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + actor: Optional[Actor] = None + created_at: DateTime + discussion: Optional[Discussion] = None + id: ID - last - Returns the last _n_ elements from the list. - orderBy - Ordering options for contributions returned from the connection. +@dataclass(kw_only=True) +class DisconnectedEvent: + """ + DisconnectedEvent - Represents a 'disconnected' event on a given issue or pull request. - """ - after: str - before: str - first: int - last: int - orderBy: ContributionOrder + actor - Identifies the actor who performed the event. - _args: CreatedIssueContributionConnectionArgs + createdAt - Identifies the date and time when the object was created. + id - The Node ID of the DisconnectedEvent object + isCrossRepository - Reference originated in a different repository. -class IssueContributionsByRepository(GQLObject): - """ - IssueContributionsByRepository - This aggregates issues opened by a user within one repository. + source - Issue or pull request from which the issue was disconnected. - contributions - The issue contributions. + subject - Issue or pull request which was disconnected. - repository - The repository in which the issues were opened. + """ - """ - contributions: CNLAL_CreatedIssueContributionConnection_Field - repository: Repository + actor: Optional[Actor] = None + created_at: DateTime + id: ID + is_cross_repository: bool + source: ReferencedSubject + subject: ReferencedSubject -class JoinedGitHubContribution(GQLObject): - """ - JoinedGitHubContribution - Represents a user signing up for a GitHub account. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. +@dataclass(kw_only=True) +class MarkedAsDuplicateEvent: + """ + MarkedAsDuplicateEvent - Represents a 'marked_as_duplicate' event on a given issue or pull request. + actor - Identifies the actor who performed the event. - occurredAt - When this contribution was made. + canonical - The authoritative issue or pull request which has been duplicated by another. - resourcePath - The HTTP path for this contribution. + createdAt - Identifies the date and time when the object was created. - url - The HTTP URL for this contribution. + duplicate - The issue or pull request which has been marked as a duplicate of another. - user - The user who made this contribution. + id - The Node ID of the MarkedAsDuplicateEvent object + isCrossRepository - Canonical and duplicate belong to different repositories. - """ - isRestricted: bool - occurredAt: DateTime - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User + """ -class CreatedPullRequestContributionEdge(GQLObject): - """ - CreatedPullRequestContributionEdge - An edge in a connection. + actor: Optional[Actor] = None + canonical: Optional[IssueOrPullRequest] = None + created_at: DateTime + duplicate: Optional[IssueOrPullRequest] = None + id: ID + is_cross_repository: bool - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class MentionedEvent: + """ + MentionedEvent - Represents a 'mentioned' event on a given issue or pull request. - """ - cursor: str - node: CreatedPullRequestContribution + actor - Identifies the actor who performed the event. -class list_CreatedPullRequestContributionEdge(list, CreatedPullRequestContributionEdge): pass + createdAt - Identifies the date and time when the object was created. -class list_CreatedPullRequestContribution(list, CreatedPullRequestContribution): pass + databaseId - Identifies the primary key from the database. -class CreatedPullRequestContributionConnection(GQLObject): - """ - CreatedPullRequestContributionConnection - The connection type for CreatedPullRequestContribution. + id - The Node ID of the MentionedEvent object - edges - A list of edges. + """ - nodes - A list of nodes. + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class MovedColumnsInProjectEvent: + """ + MovedColumnsInProjectEvent - Represents a 'moved_columns_in_project' event on a given issue or pull request. - """ - edges: list_CreatedPullRequestContributionEdge[CreatedPullRequestContributionEdge] - nodes: list_CreatedPullRequestContribution[CreatedPullRequestContribution] - pageInfo: PageInfo - totalCount: int + actor - Identifies the actor who performed the event. -class OPZYW_CreatedPullRequestContributionConnection_Field(CreatedPullRequestContributionConnection): - """ - OPZYW_CreatedPullRequestContributionConnection_Field - The pull request contributions. + createdAt - Identifies the date and time when the object was created. - """ - class CreatedPullRequestContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + databaseId - Identifies the primary key from the database. - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the MovedColumnsInProjectEvent object - first - Returns the first _n_ elements from the list. + previousProjectColumnName - Column name the issue or pull request was moved from. - last - Returns the last _n_ elements from the list. + project - Project referenced by event. - orderBy - Ordering options for contributions returned from the connection. + projectCard - Project card referenced by this project event. - """ - after: str - before: str - first: int - last: int - orderBy: ContributionOrder + projectColumnName - Column name the issue or pull request was moved to. - _args: CreatedPullRequestContributionConnectionArgs + """ + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + previous_project_column_name: str + project: Optional[Project] = None + project_card: Optional[ProjectCard] = None + project_column_name: str -class PullRequestContributionsByRepository(GQLObject): - """ - PullRequestContributionsByRepository - This aggregates pull requests opened by a user within one repository. +@dataclass(kw_only=True) +class PinnedEvent: + """ + PinnedEvent - Represents a 'pinned' event on a given issue or pull request. - contributions - The pull request contributions. + actor - Identifies the actor who performed the event. - repository - The repository in which the pull requests were opened. + createdAt - Identifies the date and time when the object was created. - """ - contributions: OPZYW_CreatedPullRequestContributionConnection_Field - repository: Repository + id - The Node ID of the PinnedEvent object -class CreatedPullRequestReviewContribution(GQLObject): - """ - CreatedPullRequestReviewContribution - Represents the contribution a user made by leaving a review on a pull request. + issue - Identifies the issue associated with the event. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. + """ + actor: Optional[Actor] = None + created_at: DateTime + id: ID + issue: Issue - occurredAt - When this contribution was made. - pullRequest - The pull request the user reviewed. +@dataclass(kw_only=True) +class PullRequestCommitCommentThread: + """ + PullRequestCommitCommentThread - Represents a commit comment thread part of a pull request. - pullRequestReview - The review the user left on the pull request. + comments - The comments that exist in this thread. - repository - The repository containing the pull request that the user reviewed. + commit - The commit the comments were made on. - resourcePath - The HTTP path for this contribution. + id - The Node ID of the PullRequestCommitCommentThread object - url - The HTTP URL for this contribution. + path - The file the comments were made on. - user - The user who made this contribution. + position - The position in the diff for the commit that the comment was made on. + pullRequest - The pull request this commit comment thread belongs to - """ - isRestricted: bool - occurredAt: DateTime - pullRequest: PullRequest - pullRequestReview: PullRequestReview - repository: Repository - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User + repository - The repository associated with this node. -class CreatedPullRequestReviewContributionEdge(GQLObject): - """ - CreatedPullRequestReviewContributionEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + comments: CommitCommentConnection + commit: Commit + id: ID + path: Optional[str] = None + position: Optional[int] = None + pull_request: PullRequest + repository: Repository - node - The item at the end of the edge. - """ - cursor: str - node: CreatedPullRequestReviewContribution +@dataclass(kw_only=True) +class PullRequestRevisionMarker: + """ + PullRequestRevisionMarker - Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. -class list_CreatedPullRequestReviewContributionEdge(list, CreatedPullRequestReviewContributionEdge): pass + createdAt - Identifies the date and time when the object was created. -class list_CreatedPullRequestReviewContribution(list, CreatedPullRequestReviewContribution): pass + lastSeenCommit - The last commit the viewer has seen. -class CreatedPullRequestReviewContributionConnection(GQLObject): - """ - CreatedPullRequestReviewContributionConnection - The connection type for CreatedPullRequestReviewContribution. + pullRequest - The pull request to which the marker belongs. - edges - A list of edges. + """ - nodes - A list of nodes. + created_at: DateTime + last_seen_commit: Commit + pull_request: PullRequest - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class ReadyForReviewEvent: + """ + ReadyForReviewEvent - Represents a 'ready_for_review' event on a given pull request. - """ - edges: list_CreatedPullRequestReviewContributionEdge[CreatedPullRequestReviewContributionEdge] - nodes: list_CreatedPullRequestReviewContribution[CreatedPullRequestReviewContribution] - pageInfo: PageInfo - totalCount: int + actor - Identifies the actor who performed the event. -class MJHZB_CreatedPullRequestReviewContributionConnection_Field(CreatedPullRequestReviewContributionConnection): - """ - MJHZB_CreatedPullRequestReviewContributionConnection_Field - The pull request review contributions. + createdAt - Identifies the date and time when the object was created. - """ - class CreatedPullRequestReviewContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the ReadyForReviewEvent object - before - Returns the elements in the list that come before the specified cursor. + pullRequest - PullRequest referenced by event. - first - Returns the first _n_ elements from the list. + resourcePath - The HTTP path for this ready for review event. - last - Returns the last _n_ elements from the list. + url - The HTTP URL for this ready for review event. - orderBy - Ordering options for contributions returned from the connection. + """ - """ - after: str - before: str - first: int - last: int - orderBy: ContributionOrder + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + resource_path: URI + url: URI - _args: CreatedPullRequestReviewContributionConnectionArgs +@dataclass(kw_only=True) +class RemovedFromMergeQueueEvent: + """ + RemovedFromMergeQueueEvent - Represents a 'removed_from_merge_queue' event on a given pull request. + actor - Identifies the actor who performed the event. -class PullRequestReviewContributionsByRepository(GQLObject): - """ - PullRequestReviewContributionsByRepository - This aggregates pull request reviews made by a user within one repository. + beforeCommit - Identifies the before commit SHA for the 'removed_from_merge_queue' event. - contributions - The pull request review contributions. + createdAt - Identifies the date and time when the object was created. - repository - The repository in which the pull request reviews were made. + enqueuer - The user who removed this Pull Request from the merge queue - """ - contributions: MJHZB_CreatedPullRequestReviewContributionConnection_Field - repository: Repository + id - The Node ID of the RemovedFromMergeQueueEvent object -class CreatedRepositoryContributionEdge(GQLObject): - """ - CreatedRepositoryContributionEdge - An edge in a connection. + mergeQueue - The merge queue where this pull request was removed from. - cursor - A cursor for use in pagination. + pullRequest - PullRequest referenced by event. - node - The item at the end of the edge. + reason - The reason this pull request was removed from the queue. - """ - cursor: str - node: CreatedRepositoryContribution + """ -class list_CreatedRepositoryContributionEdge(list, CreatedRepositoryContributionEdge): pass + actor: Optional[Actor] = None + before_commit: Optional[Commit] = None + created_at: DateTime + enqueuer: Optional[User] = None + id: ID + merge_queue: Optional[MergeQueue] = None + pull_request: Optional[PullRequest] = None + reason: Optional[str] = None -class list_CreatedRepositoryContribution(list, CreatedRepositoryContribution): pass -class CreatedRepositoryContributionConnection(GQLObject): - """ - CreatedRepositoryContributionConnection - The connection type for CreatedRepositoryContribution. +@dataclass(kw_only=True) +class RemovedFromProjectEvent: + """ + RemovedFromProjectEvent - Represents a 'removed_from_project' event on a given issue or pull request. - edges - A list of edges. + actor - Identifies the actor who performed the event. - nodes - A list of nodes. + createdAt - Identifies the date and time when the object was created. - pageInfo - Information to aid in pagination. + databaseId - Identifies the primary key from the database. - totalCount - Identifies the total count of items in the connection. + id - The Node ID of the RemovedFromProjectEvent object - """ - edges: list_CreatedRepositoryContributionEdge[CreatedRepositoryContributionEdge] - nodes: list_CreatedRepositoryContribution[CreatedRepositoryContribution] - pageInfo: PageInfo - totalCount: int + project - Project referenced by event. -class AVLEC_CommitContributionsByRepository_Field(CommitContributionsByRepository): - """ - AVLEC_CommitContributionsByRepository_Field - Commit contributions made by the user, grouped by repository. + projectColumnName - Column name referenced by this project event. - """ - class CommitContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - """ - maxRepositories - How many repositories should be included. + """ - """ - maxRepositories: int + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + project: Optional[Project] = None + project_column_name: str - _args: CommitContributionsByRepositoryArgs +@dataclass(kw_only=True) +class TransferredEvent: + """ + TransferredEvent - Represents a 'transferred' event on a given issue or pull request. + actor - Identifies the actor who performed the event. -class list_CommitContributionsByRepository(list, CommitContributionsByRepository): pass + createdAt - Identifies the date and time when the object was created. -class UGMXX_CreatedIssueContributionConnection_Field(CreatedIssueContributionConnection): - """ - UGMXX_CreatedIssueContributionConnection_Field - A list of issues the user opened. + fromRepository - The repository this came from - """ - class CreatedIssueContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the TransferredEvent object - before - Returns the elements in the list that come before the specified cursor. + issue - Identifies the issue associated with the event. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + actor: Optional[Actor] = None + created_at: DateTime + from_repository: Optional[Repository] = None + id: ID + issue: Issue - excludeFirst - Should the user's first issue ever be excluded from the result. - excludePopular - Should the user's most commented issue be excluded from the result. +@dataclass(kw_only=True) +class UnmarkedAsDuplicateEvent: + """ + UnmarkedAsDuplicateEvent - Represents an 'unmarked_as_duplicate' event on a given issue or pull request. - orderBy - Ordering options for contributions returned from the connection. + actor - Identifies the actor who performed the event. - """ - after: str - before: str - first: int - last: int - excludeFirst: bool - excludePopular: bool - orderBy: ContributionOrder + canonical - The authoritative issue or pull request which has been duplicated by another. - _args: CreatedIssueContributionConnectionArgs + createdAt - Identifies the date and time when the object was created. + duplicate - The issue or pull request which has been marked as a duplicate of another. + id - The Node ID of the UnmarkedAsDuplicateEvent object -class QUARH_IssueContributionsByRepository_Field(IssueContributionsByRepository): - """ - QUARH_IssueContributionsByRepository_Field - Issue contributions made by the user, grouped by repository. + isCrossRepository - Canonical and duplicate belong to different repositories. - """ - class IssueContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - """ - maxRepositories - How many repositories should be included. + """ - excludeFirst - Should the user's first issue ever be excluded from the result. + actor: Optional[Actor] = None + canonical: Optional[IssueOrPullRequest] = None + created_at: DateTime + duplicate: Optional[IssueOrPullRequest] = None + id: ID + is_cross_repository: bool - excludePopular - Should the user's most commented issue be excluded from the result. - """ - maxRepositories: int - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class UnpinnedEvent: + """ + UnpinnedEvent - Represents an 'unpinned' event on a given issue or pull request. - _args: IssueContributionsByRepositoryArgs + actor - Identifies the actor who performed the event. + createdAt - Identifies the date and time when the object was created. + id - The Node ID of the UnpinnedEvent object -class list_IssueContributionsByRepository(list, IssueContributionsByRepository): pass + issue - Identifies the issue associated with the event. -class HRZGS_CreatedPullRequestContributionConnection_Field(CreatedPullRequestContributionConnection): - """ - HRZGS_CreatedPullRequestContributionConnection_Field - Pull request contributions made by the user. + """ - """ - class CreatedPullRequestContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + actor: Optional[Actor] = None + created_at: DateTime + id: ID + issue: Issue - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class PullRequestTimelineItemsEdge: + """ + PullRequestTimelineItemsEdge - An edge in a connection. - last - Returns the last _n_ elements from the list. + cursor - A cursor for use in pagination. - excludeFirst - Should the user's first pull request ever be excluded from the result. + node - The item at the end of the edge. - excludePopular - Should the user's most commented pull request be excluded from the result. + """ - orderBy - Ordering options for contributions returned from the connection. + cursor: str + node: Optional[PullRequestTimelineItems] = None - """ - after: str - before: str - first: int - last: int - excludeFirst: bool - excludePopular: bool - orderBy: ContributionOrder - _args: CreatedPullRequestContributionConnectionArgs +@dataclass(kw_only=True) +class PullRequestTimelineItemsConnection: + """ + PullRequestTimelineItemsConnection - The connection type for PullRequestTimelineItems. + edges - A list of edges. + filteredCount - Identifies the count of items after applying `before` and `after` filters. -class SDFHP_PullRequestContributionsByRepository_Field(PullRequestContributionsByRepository): - """ - SDFHP_PullRequestContributionsByRepository_Field - Pull request contributions made by the user, grouped by repository. + nodes - A list of nodes. - """ - class PullRequestContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - """ - maxRepositories - How many repositories should be included. + pageCount - Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. - excludeFirst - Should the user's first pull request ever be excluded from the result. + pageInfo - Information to aid in pagination. - excludePopular - Should the user's most commented pull request be excluded from the result. + totalCount - Identifies the total count of items in the connection. - """ - maxRepositories: int - excludeFirst: bool - excludePopular: bool + updatedAt - Identifies the date and time when the timeline was last updated. - _args: PullRequestContributionsByRepositoryArgs + """ + edges: Optional[list[PullRequestTimelineItemsEdge]] = None + filtered_count: int + nodes: Optional[list[PullRequestTimelineItems]] = None + page_count: int + page_info: PageInfo + total_count: int + updated_at: DateTime -class list_PullRequestContributionsByRepository(list, PullRequestContributionsByRepository): pass +@dataclass(kw_only=True) +class PullRequestEdge: + """ + PullRequestEdge - An edge in a connection. -class OXCUH_CreatedPullRequestReviewContributionConnection_Field(CreatedPullRequestReviewContributionConnection): - """ - OXCUH_CreatedPullRequestReviewContributionConnection_Field - Pull request review contributions made by the user. Returns the most recently -submitted review for each PR reviewed by the user. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. - """ - class CreatedPullRequestReviewContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + cursor: str + node: Optional[PullRequest] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class GitActor: + """ + GitActor - Represents an actor in a Git commit (ie. an author or committer). - orderBy - Ordering options for contributions returned from the connection. + avatarUrl - A URL pointing to the author's public avatar. - """ - after: str - before: str - first: int - last: int - orderBy: ContributionOrder + date - The timestamp of the Git action (authoring or committing). - _args: CreatedPullRequestReviewContributionConnectionArgs + email - The email in the Git commit. + name - The name in the Git commit. + user - The GitHub user corresponding to the email field. Null if no such user exists. -class KFFXF_PullRequestReviewContributionsByRepository_Field(PullRequestReviewContributionsByRepository): - """ - KFFXF_PullRequestReviewContributionsByRepository_Field - Pull request review contributions made by the user, grouped by repository. + """ - """ - class PullRequestReviewContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - """ - maxRepositories - How many repositories should be included. + avatar_url: URI + date: Optional[GitTimestamp] = None + email: Optional[str] = None + name: Optional[str] = None + user: Optional[User] = None - """ - maxRepositories: int - _args: PullRequestReviewContributionsByRepositoryArgs +@dataclass(kw_only=True) +class GitActorEdge: + """ + GitActorEdge - An edge in a connection. + cursor - A cursor for use in pagination. + node - The item at the end of the edge. -class list_PullRequestReviewContributionsByRepository(list, PullRequestReviewContributionsByRepository): pass + """ -class HUPWJ_CreatedRepositoryContributionConnection_Field(CreatedRepositoryContributionConnection): - """ - HUPWJ_CreatedRepositoryContributionConnection_Field - A list of repositories owned by the user that the user created in this time range. + cursor: str + node: Optional[GitActor] = None - """ - class CreatedRepositoryContributionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class GitActorConnection: + """ + GitActorConnection - The connection type for GitActor. - first - Returns the first _n_ elements from the list. + edges - A list of edges. - last - Returns the last _n_ elements from the list. + nodes - A list of nodes. - excludeFirst - Should the user's first repository ever be excluded from the result. + pageInfo - Information to aid in pagination. - orderBy - Ordering options for contributions returned from the connection. + totalCount - Identifies the total count of items in the connection. - """ - after: str - before: str - first: int - last: int - excludeFirst: bool - orderBy: ContributionOrder + """ - _args: CreatedRepositoryContributionConnectionArgs + edges: Optional[list[GitActorEdge]] = None + nodes: Optional[list[GitActor]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class BlameRange: + """ + BlameRange - Represents a range of information from a Git blame. -class ContributionsCollection(GQLObject): - """ - ContributionsCollection - A contributions collection aggregates contributions such as opened issues and commits created by a user. + age - Identifies the recency of the change, from 1 (new) to 10 (old). This is + calculated as a 2-quantile and determines the length of distance between the + median age of all the changes in the file and the recency of the current + range's change. - commitContributionsByRepository - Commit contributions made by the user, grouped by repository. + commit - Identifies the line author - contributionCalendar - A calendar of this user's contributions on GitHub. + endingLine - The ending line for the range - contributionYears - The years the user has been making contributions with the most recent year first. + startingLine - The starting line for the range - doesEndInCurrentMonth - Determine if this collection's time span ends in the current month. + """ + age: int + commit: Commit + ending_line: int + starting_line: int - earliestRestrictedContributionDate - The date of the first restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts. - endedAt - The ending date and time of this collection. +@dataclass(kw_only=True) +class Blame: + """ + Blame - Represents a Git blame. - firstIssueContribution - The first issue the user opened on GitHub. This will be null if that issue was opened outside the collection's time range and ignoreTimeRange is false. If the issue is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. + ranges - The list of ranges from a Git blame. - firstPullRequestContribution - The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. + """ - firstRepositoryContribution - The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned. + ranges: list[BlameRange] - hasActivityInThePast - Does the user have any more activity in the timeline that occurred prior to the collection's time range? - hasAnyContributions - Determine if there are any contributions in this collection. +@dataclass(kw_only=True) +class CheckAnnotationSpan: + """ + CheckAnnotationSpan - An inclusive pair of positions for a check annotation. - hasAnyRestrictedContributions - Determine if the user made any contributions in this time frame whose details are not visible because they were made in a private repository. Can only be true if the user enabled private contribution counts. + end - End position (inclusive). - isSingleDay - Whether or not the collector's time span is all within the same day. + start - Start position (inclusive). - issueContributions - A list of issues the user opened. + """ - issueContributionsByRepository - Issue contributions made by the user, grouped by repository. + end: CheckAnnotationPosition + start: CheckAnnotationPosition - joinedGitHubContribution - When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false. - latestRestrictedContributionDate - The date of the most recent restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts. +@dataclass(kw_only=True) +class CheckAnnotation: + """ + CheckAnnotation - A single check annotation. - mostRecentCollectionWithActivity - When this collection's time range does not include any activity from the user, use this -to get a different collection from an earlier time range that does have activity. + annotationLevel - The annotation's severity level. + blobUrl - The path to the file that this annotation was made on. - mostRecentCollectionWithoutActivity - Returns a different contributions collection from an earlier time range than this one -that does not have any contributions. + databaseId - Identifies the primary key from the database. + location - The position of this annotation. - popularIssueContribution - The issue the user opened on GitHub that received the most comments in the specified -time frame. + message - The annotation's message. + path - The path that this annotation was made on. - popularPullRequestContribution - The pull request the user opened on GitHub that received the most comments in the -specified time frame. + rawDetails - Additional information about the annotation. + title - The annotation's title - pullRequestContributions - Pull request contributions made by the user. + """ - pullRequestContributionsByRepository - Pull request contributions made by the user, grouped by repository. + annotation_level: Optional[CheckAnnotationLevel] = None + blob_url: URI + database_id: Optional[int] = None + location: CheckAnnotationSpan + message: str + path: str + raw_details: Optional[str] = None + title: Optional[str] = None - pullRequestReviewContributions - Pull request review contributions made by the user. Returns the most recently -submitted review for each PR reviewed by the user. +@dataclass(kw_only=True) +class CheckAnnotationEdge: + """ + CheckAnnotationEdge - An edge in a connection. - pullRequestReviewContributionsByRepository - Pull request review contributions made by the user, grouped by repository. + cursor - A cursor for use in pagination. - repositoryContributions - A list of repositories owned by the user that the user created in this time range. + node - The item at the end of the edge. - restrictedContributionsCount - A count of contributions made by the user that the viewer cannot access. Only non-zero when the user has chosen to share their private contribution counts. + """ - startedAt - The beginning date and time of this collection. + cursor: str + node: Optional[CheckAnnotation] = None - totalCommitContributions - How many commits were made by the user in this time span. - totalIssueContributions - How many issues the user opened. +@dataclass(kw_only=True) +class CheckAnnotationConnection: + """ + CheckAnnotationConnection - The connection type for CheckAnnotation. - totalPullRequestContributions - How many pull requests the user opened. + edges - A list of edges. - totalPullRequestReviewContributions - How many pull request reviews the user left. + nodes - A list of nodes. - totalRepositoriesWithContributedCommits - How many different repositories the user committed to. + pageInfo - Information to aid in pagination. - totalRepositoriesWithContributedIssues - How many different repositories the user opened issues in. + totalCount - Identifies the total count of items in the connection. - totalRepositoriesWithContributedPullRequestReviews - How many different repositories the user left pull request reviews in. + """ - totalRepositoriesWithContributedPullRequests - How many different repositories the user opened pull requests in. + edges: Optional[list[CheckAnnotationEdge]] = None + nodes: Optional[list[CheckAnnotation]] = None + page_info: PageInfo + total_count: int - totalRepositoryContributions - How many repositories the user created. - user - The user who made the contributions in this collection. +@dataclass(kw_only=True) +class DeploymentRequest: + """ + DeploymentRequest - A request to deploy a workflow run to an environment. - """ - commitContributionsByRepository: AVLEC_CommitContributionsByRepository_Field - contributionCalendar: ContributionCalendar - contributionYears: list[int] - doesEndInCurrentMonth: bool - earliestRestrictedContributionDate: Date - endedAt: DateTime - firstIssueContribution: CreatedIssueOrRestrictedContribution - firstPullRequestContribution: CreatedPullRequestOrRestrictedContribution - firstRepositoryContribution: CreatedRepositoryOrRestrictedContribution - hasActivityInThePast: bool - hasAnyContributions: bool - hasAnyRestrictedContributions: bool - isSingleDay: bool - issueContributions: UGMXX_CreatedIssueContributionConnection_Field - issueContributionsByRepository: QUARH_IssueContributionsByRepository_Field - joinedGitHubContribution: JoinedGitHubContribution - latestRestrictedContributionDate: Date - mostRecentCollectionWithActivity: NewType('ContributionsCollection', GQLObject) ## Circular Reference for ContributionsCollection - mostRecentCollectionWithoutActivity: NewType('ContributionsCollection', GQLObject) ## Circular Reference for ContributionsCollection - popularIssueContribution: CreatedIssueContribution - popularPullRequestContribution: CreatedPullRequestContribution - pullRequestContributions: HRZGS_CreatedPullRequestContributionConnection_Field - pullRequestContributionsByRepository: SDFHP_PullRequestContributionsByRepository_Field - pullRequestReviewContributions: OXCUH_CreatedPullRequestReviewContributionConnection_Field - pullRequestReviewContributionsByRepository: KFFXF_PullRequestReviewContributionsByRepository_Field - repositoryContributions: HUPWJ_CreatedRepositoryContributionConnection_Field - restrictedContributionsCount: int - startedAt: DateTime - totalCommitContributions: int - totalIssueContributions: TGGSE_totalIssueContributions_Field - totalPullRequestContributions: SSDQK_totalPullRequestContributions_Field - totalPullRequestReviewContributions: int - totalRepositoriesWithContributedCommits: int - totalRepositoriesWithContributedIssues: FETUI_totalRepositoriesWithContributedIssues_Field - totalRepositoriesWithContributedPullRequestReviews: int - totalRepositoriesWithContributedPullRequests: HBFUS_totalRepositoriesWithContributedPullRequests_Field - totalRepositoryContributions: FANME_totalRepositoryContributions_Field - user: NewType('User', GQLObject) ## Circular Reference for User + currentUserCanApprove - Whether or not the current user can approve the deployment -class FollowerConnection(GQLObject): - """ - FollowerConnection - The connection type for User. + environment - The target environment of the deployment - edges - A list of edges. + reviewers - The teams or users that can review the deployment - nodes - A list of nodes. + waitTimer - The wait timer in minutes configured in the environment - pageInfo - Information to aid in pagination. + waitTimerStartedAt - The wait timer in minutes configured in the environment - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_UserEdge[UserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + current_user_can_approve: bool + environment: Environment + reviewers: DeploymentReviewerConnection + wait_timer: int + wait_timer_started_at: Optional[DateTime] = None -class FollowingConnection(GQLObject): - """ - FollowingConnection - The connection type for User. - edges - A list of edges. +@dataclass(kw_only=True) +class CheckStepEdge: + """ + CheckStepEdge - An edge in a connection. - nodes - A list of nodes. + cursor - A cursor for use in pagination. - pageInfo - Information to aid in pagination. + node - The item at the end of the edge. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_UserEdge[UserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int + cursor: str + node: Optional[CheckStep] = None -class ISNYM_UserContentEditConnection_Field(UserContentEditConnection): - """ - ISNYM_UserContentEditConnection_Field - A list of edits to this content. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class CheckStepConnection: + """ + CheckStepConnection - The connection type for CheckStep. - before - Returns the elements in the list that come before the specified cursor. + edges - A list of edges. - first - Returns the first _n_ elements from the list. + nodes - A list of nodes. - last - Returns the last _n_ elements from the list. + pageInfo - Information to aid in pagination. - """ - after: str - before: str - first: int - last: int + totalCount - Identifies the total count of items in the connection. - _args: UserContentEditConnectionArgs + """ + edges: Optional[list[CheckStepEdge]] = None + nodes: Optional[list[CheckStep]] = None + page_info: PageInfo + total_count: int -class GistComment(GQLObject): - """ - GistComment - Represents a comment on an Gist. +@dataclass(kw_only=True) +class CheckRun: + """ + CheckRun - A check run. - author - The actor who authored the comment. + annotations - The check run's annotations - authorAssociation - Author's association with the gist. + checkSuite - The check suite that this run is a part of. - body - Identifies the comment body. + completedAt - Identifies the date and time when the check run was completed. - bodyHTML - The body rendered to HTML. + conclusion - The conclusion of the check run. - bodyText - The body rendered to text. + databaseId - Identifies the primary key from the database. - createdAt - Identifies the date and time when the object was created. + deployment - The corresponding deployment for this job, if any - createdViaEmail - Check if this comment was created via an email reply. + detailsUrl - The URL from which to find full details of the check run on the integrator's site. - databaseId - Identifies the primary key from the database. + externalId - A reference for the check run on the integrator's system. - editor - The actor who edited the comment. + id - The Node ID of the CheckRun object - gist - The associated gist. + isRequired - Whether this is required to pass before merging for a specific pull request. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + name - The name of the check for this check run. - isMinimized - Returns whether or not a comment has been minimized. + pendingDeploymentRequest - Information about a pending deployment, if any, in this check run - lastEditedAt - The moment the editor made the last edit + permalink - The permalink to the check run summary. - minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. + repository - The repository associated with this check run. - publishedAt - Identifies when the comment was published at. + resourcePath - The HTTP path for this check run. - updatedAt - Identifies the date and time when the object was last updated. + startedAt - Identifies the date and time when the check run was started. - userContentEdits - A list of edits to this content. + status - The current status of the check run. - viewerCanDelete - Check if the current viewer can delete this object. + steps - The check run's steps - viewerCanMinimize - Check if the current viewer can minimize this object. + summary - A string representing the check run's summary - viewerCanUpdate - Check if the current viewer can update this object. + text - A string representing the check run's text - viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + title - A string representing the check run - viewerDidAuthor - Did the viewer author this comment. + url - The HTTP URL for this check run. - """ - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - gist: NewType('Gist', GQLObject) ## Circular Reference for Gist - id: ID - includesCreatedEdit: bool - isMinimized: bool - lastEditedAt: DateTime - minimizedReason: str - publishedAt: DateTime - updatedAt: DateTime - userContentEdits: ISNYM_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool + """ -class GistCommentEdge(GQLObject): - """ - GistCommentEdge - An edge in a connection. + annotations: Optional[CheckAnnotationConnection] = None + check_suite: CheckSuite + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + database_id: Optional[int] = None + deployment: Optional[Deployment] = None + details_url: Optional[URI] = None + external_id: Optional[str] = None + id: ID + is_required: bool + name: str + pending_deployment_request: Optional[DeploymentRequest] = None + permalink: URI + repository: Repository + resource_path: URI + started_at: Optional[DateTime] = None + status: CheckStatusState + steps: Optional[CheckStepConnection] = None + summary: Optional[str] = None + text: Optional[str] = None + title: Optional[str] = None + url: URI - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class CheckRunEdge: + """ + CheckRunEdge - An edge in a connection. - """ - cursor: str - node: GistComment + cursor - A cursor for use in pagination. -class list_GistCommentEdge(list, GistCommentEdge): pass + node - The item at the end of the edge. -class list_GistComment(list, GistComment): pass + """ -class GistCommentConnection(GQLObject): - """ - GistCommentConnection - The connection type for GistComment. + cursor: str + node: Optional[CheckRun] = None - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class CheckRunConnection: + """ + CheckRunConnection - The connection type for CheckRun. - pageInfo - Information to aid in pagination. + edges - A list of edges. - totalCount - Identifies the total count of items in the connection. + nodes - A list of nodes. - """ - edges: list_GistCommentEdge[GistCommentEdge] - nodes: list_GistComment[GistComment] - pageInfo: PageInfo - totalCount: int + pageInfo - Information to aid in pagination. -class GistFile(GQLObject): - """ - GistFile - A file in a gist. + totalCount - Identifies the total count of items in the connection. - encodedName - The file name encoded to remove characters that are invalid in URL paths. + """ - encoding - The gist file encoding. + edges: Optional[list[CheckRunEdge]] = None + nodes: Optional[list[CheckRun]] = None + page_info: PageInfo + total_count: int - extension - The file extension from the file name. - isImage - Indicates if this file is an image. +@dataclass(kw_only=True) +class Push: + """ + Push - A Git push. - isTruncated - Whether the file's contents were truncated. + id - The Node ID of the Push object - language - The programming language this file is written in. + nextSha - The SHA after the push - name - The gist file name. + permalink - The permalink for this push. - size - The gist file size in bytes. + previousSha - The SHA before the push - text - UTF8 text data or null if the file is binary + pusher - The actor who pushed - """ - encodedName: str - encoding: str - extension: str - isImage: bool - isTruncated: bool - language: Language - name: str - size: int - text: BXUPV_text_Field + repository - The repository that was pushed to -class GistEdge(GQLObject): - """ - GistEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + id: ID + next_sha: Optional[GitObjectID] = None + permalink: URI + previous_sha: Optional[GitObjectID] = None + pusher: Actor + repository: Repository - node - The item at the end of the edge. - """ - cursor: str - node: NewType('Gist', GQLObject) ## Circular Reference for Gist +@dataclass(kw_only=True) +class DeploymentReview: + """ + DeploymentReview - A deployment review. -class list_GistEdge(list, GistEdge): pass + comment - The comment the user left. -class GistConnection(GQLObject): - """ - GistConnection - The connection type for Gist. + databaseId - Identifies the primary key from the database. - edges - A list of edges. + environments - The environments approved or rejected - nodes - A list of nodes. + id - The Node ID of the DeploymentReview object - pageInfo - Information to aid in pagination. + state - The decision of the user. - totalCount - Identifies the total count of items in the connection. + user - The user that reviewed the deployment. - """ - edges: list_GistEdge[GistEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Gist - pageInfo: PageInfo - totalCount: int + """ -class GGGDK_GistCommentConnection_Field(GistCommentConnection): - """ - GGGDK_GistCommentConnection_Field - A list of comments associated with the gist + comment: str + database_id: Optional[int] = None + environments: EnvironmentConnection + id: ID + state: DeploymentReviewState + user: User - """ - class GistCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class DeploymentReviewEdge: + """ + DeploymentReviewEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - """ - after: str - before: str - first: int - last: int + """ - _args: GistCommentConnectionArgs + cursor: str + node: Optional[DeploymentReview] = None +@dataclass(kw_only=True) +class DeploymentReviewConnection: + """ + DeploymentReviewConnection - The connection type for DeploymentReview. -class CFCNE_GistFile_Field(GistFile): - """ - CFCNE_GistFile_Field - The files in this gist. + edges - A list of edges. - """ - class GistFileArgs(GQLArgsSet, GQLObject): - """ - limit - The maximum number of files to return. + nodes - A list of nodes. - oid - The oid of the files to return + pageInfo - Information to aid in pagination. - """ - limit: int - oid: GitObjectID + totalCount - Identifies the total count of items in the connection. - _args: GistFileArgs + """ + edges: Optional[list[DeploymentReviewEdge]] = None + nodes: Optional[list[DeploymentReview]] = None + page_info: PageInfo + total_count: int -class list_GistFile(list, GistFile): pass +@dataclass(kw_only=True) +class WorkflowRunFile: + """ + WorkflowRunFile - An executed workflow file for a workflow run. -class EBYZG_GistConnection_Field(GistConnection): - """ - EBYZG_GistConnection_Field - A list of forks associated with the gist + id - The Node ID of the WorkflowRunFile object - """ - class GistConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + path - The path of the workflow file relative to its repository. - before - Returns the elements in the list that come before the specified cursor. + repositoryFileUrl - The direct link to the file in the repository which stores the workflow file. - first - Returns the first _n_ elements from the list. + repositoryName - The repository name and owner which stores the workflow file. - last - Returns the last _n_ elements from the list. + resourcePath - The HTTP path for this workflow run file - orderBy - Ordering options for gists returned from the connection + run - The parent workflow run execution for this file. - """ - after: str - before: str - first: int - last: int - orderBy: GistOrder + url - The HTTP URL for this workflow run file - _args: GistConnectionArgs + viewerCanPushRepository - If the viewer has permissions to push to the repository which stores the workflow. + viewerCanReadRepository - If the viewer has permissions to read the repository which stores the workflow. + """ -class OSOCC_StargazerConnection_Field(StargazerConnection): - """ - OSOCC_StargazerConnection_Field - A list of users who have starred this starrable. + id: ID + path: str + repository_file_url: URI + repository_name: URI + resource_path: URI + run: WorkflowRun + url: URI + viewer_can_push_repository: bool + viewer_can_read_repository: bool - """ - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class DeploymentRequestEdge: + """ + DeploymentRequestEdge - An edge in a connection. - first - Returns the first _n_ elements from the list. + cursor - A cursor for use in pagination. - last - Returns the last _n_ elements from the list. + node - The item at the end of the edge. - orderBy - Order for connection + """ - """ - after: str - before: str - first: int - last: int - orderBy: StarOrder + cursor: str + node: Optional[DeploymentRequest] = None - _args: StargazerConnectionArgs +@dataclass(kw_only=True) +class DeploymentRequestConnection: + """ + DeploymentRequestConnection - The connection type for DeploymentRequest. + edges - A list of edges. -class Gist(GQLObject): - """ - Gist - A Gist. + nodes - A list of nodes. - comments - A list of comments associated with the gist + pageInfo - Information to aid in pagination. - createdAt - Identifies the date and time when the object was created. + totalCount - Identifies the total count of items in the connection. - description - The gist description. + """ - files - The files in this gist. + edges: Optional[list[DeploymentRequestEdge]] = None + nodes: Optional[list[DeploymentRequest]] = None + page_info: PageInfo + total_count: int - forks - A list of forks associated with the gist - isFork - Identifies if the gist is a fork. +@dataclass(kw_only=True) +class WorkflowRunEdge: + """ + WorkflowRunEdge - An edge in a connection. - isPublic - Whether the gist is public or not. + cursor - A cursor for use in pagination. - name - The gist name. + node - The item at the end of the edge. - owner - The gist owner. + """ - pushedAt - Identifies when the gist was last pushed to. + cursor: str + node: Optional[WorkflowRun] = None - resourcePath - The HTML path to this resource. - stargazerCount - Returns a count of how many stargazers there are on this object +@dataclass(kw_only=True) +class WorkflowRunConnection: + """ + WorkflowRunConnection - The connection type for WorkflowRun. + edges - A list of edges. - stargazers - A list of users who have starred this starrable. + nodes - A list of nodes. - updatedAt - Identifies the date and time when the object was last updated. + pageInfo - Information to aid in pagination. - url - The HTTP URL for this Gist. + totalCount - Identifies the total count of items in the connection. - viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + """ - """ - comments: GGGDK_GistCommentConnection_Field - createdAt: DateTime - description: str - files: CFCNE_GistFile_Field - forks: EBYZG_GistConnection_Field - id: ID - isFork: bool - isPublic: bool - name: str - owner: RepositoryOwner - pushedAt: DateTime - resourcePath: URI - stargazerCount: int - stargazers: OSOCC_StargazerConnection_Field - updatedAt: DateTime - url: URI - viewerHasStarred: bool + edges: Optional[list[WorkflowRunEdge]] = None + nodes: Optional[list[WorkflowRun]] = None + page_info: PageInfo + total_count: int -class PinnableItem(GQLObject): - pass -class PinnableItemEdge(GQLObject): - """ - PinnableItemEdge - An edge in a connection. +@dataclass(kw_only=True) +class Workflow: + """ + Workflow - A workflow contains meta information about an Actions workflow file. - cursor - A cursor for use in pagination. + createdAt - Identifies the date and time when the object was created. - node - The item at the end of the edge. + databaseId - Identifies the primary key from the database. - """ - cursor: str - node: PinnableItem + id - The Node ID of the Workflow object -class list_PinnableItemEdge(list, PinnableItemEdge): pass + name - The name of the workflow. -class list_PinnableItem(list, PinnableItem): pass + resourcePath - The HTTP path for this workflow -class PinnableItemConnection(GQLObject): - """ - PinnableItemConnection - The connection type for PinnableItem. + runs - The runs of the workflow. - edges - A list of edges. + state - The state of the workflow. - nodes - A list of nodes. + updatedAt - Identifies the date and time when the object was last updated. - pageInfo - Information to aid in pagination. + url - The HTTP URL for this workflow - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_PinnableItemEdge[PinnableItemEdge] - nodes: list_PinnableItem[PinnableItem] - pageInfo: PageInfo - totalCount: int + created_at: DateTime + database_id: Optional[int] = None + id: ID + name: str + resource_path: URI + runs: WorkflowRunConnection + state: WorkflowState + updated_at: DateTime + url: URI -class AHRLS_PinnableItemConnection_Field(PinnableItemConnection): - """ - AHRLS_PinnableItemConnection_Field - The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned. - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class CheckSuiteEdge: + """ + CheckSuiteEdge - An edge in a connection. - before - Returns the elements in the list that come before the specified cursor. + cursor - A cursor for use in pagination. - first - Returns the first _n_ elements from the list. + node - The item at the end of the edge. - last - Returns the last _n_ elements from the list. + """ - """ - after: str - before: str - first: int - last: int + cursor: str + node: Optional[CheckSuite] = None - _args: PinnableItemConnectionArgs +@dataclass(kw_only=True) +class CheckSuiteConnection: + """ + CheckSuiteConnection - The connection type for CheckSuite. + edges - A list of edges. -class ProfileItemShowcase(GQLObject): - """ - ProfileItemShowcase - A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own. + nodes - A list of nodes. - hasPinnedItems - Whether or not the owner has pinned any repositories or gists. + pageInfo - Information to aid in pagination. - items - The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned. + totalCount - Identifies the total count of items in the connection. - """ - hasPinnedItems: bool - items: AHRLS_PinnableItemConnection_Field + """ -class OrganizationEdge(GQLObject): - """ - OrganizationEdge - An edge in a connection. + edges: Optional[list[CheckSuiteEdge]] = None + nodes: Optional[list[CheckSuite]] = None + page_info: PageInfo + total_count: int - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class TreeEntry: + """ + TreeEntry - Represents a Git tree entry. - """ - cursor: str - node: NewType('Organization', GQLObject) ## Circular Reference for Organization + extension - The extension of the file -class list_OrganizationEdge(list, OrganizationEdge): pass + isGenerated - Whether or not this tree entry is generated -class OrganizationConnection(GQLObject): - """ - OrganizationConnection - A list of organizations managed by an enterprise. + language - The programming language this file is written in. - edges - A list of edges. + lineCount - Number of lines in the file. - nodes - A list of nodes. + mode - Entry file mode. - pageInfo - Information to aid in pagination. + name - Entry file name. - totalCount - Identifies the total count of items in the connection. + nameRaw - Entry file name. (Base64-encoded) - """ - edges: list_OrganizationEdge[OrganizationEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Organization - pageInfo: PageInfo - totalCount: int + object - Entry file object. -class PublicKeyEdge(GQLObject): - """ - PublicKeyEdge - An edge in a connection. + oid - Entry file Git object ID. - cursor - A cursor for use in pagination. + path - The full path of the file. - node - The item at the end of the edge. + pathRaw - The full path of the file. (Base64-encoded) - """ - cursor: str - node: PublicKey + repository - The Repository the tree entry belongs to -class list_PublicKeyEdge(list, PublicKeyEdge): pass + size - Entry byte size -class list_PublicKey(list, PublicKey): pass + submodule - If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule -class PublicKeyConnection(GQLObject): - """ - PublicKeyConnection - The connection type for PublicKey. + type - Entry file type. - edges - A list of edges. + """ - nodes - A list of nodes. + extension: Optional[str] = None + is_generated: bool + language: Optional[Language] = None + line_count: Optional[int] = None + mode: int + name: str + name_raw: Base64String + object: Optional[GitObject] = None + oid: GitObjectID + path: Optional[str] = None + path_raw: Optional[Base64String] = None + repository: Repository + size: int + submodule: Optional[Submodule] = None + type: str - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class CommitHistoryConnection: + """ + CommitHistoryConnection - The connection type for Commit. - """ - edges: list_PublicKeyEdge[PublicKeyEdge] - nodes: list_PublicKey[PublicKey] - pageInfo: PageInfo - totalCount: int + edges - A list of edges. -class SavedReply(GQLObject): - """ - SavedReply - A Saved Reply is text a user can use to reply quickly. + nodes - A list of nodes. - body - The body of the saved reply. + pageInfo - Information to aid in pagination. - bodyHTML - The saved reply body rendered to HTML. + totalCount - Identifies the total count of items in the connection. - databaseId - Identifies the primary key from the database. + """ - title - The title of the saved reply. + edges: Optional[list[CommitEdge]] = None + nodes: Optional[list[Commit]] = None + page_info: PageInfo + total_count: int - user - The user that saved this reply. - """ - body: str - bodyHTML: HTML - databaseId: int - id: ID - title: str - user: Actor +@dataclass(kw_only=True) +class CommitConnection: + """ + CommitConnection - The connection type for Commit. -class SavedReplyEdge(GQLObject): - """ - SavedReplyEdge - An edge in a connection. + edges - A list of edges. - cursor - A cursor for use in pagination. + nodes - A list of nodes. - node - The item at the end of the edge. + pageInfo - Information to aid in pagination. - """ - cursor: str - node: SavedReply + totalCount - Identifies the total count of items in the connection. -class list_SavedReplyEdge(list, SavedReplyEdge): pass + """ -class list_SavedReply(list, SavedReply): pass + edges: Optional[list[CommitEdge]] = None + nodes: Optional[list[Commit]] = None + page_info: PageInfo + total_count: int -class SavedReplyConnection(GQLObject): - """ - SavedReplyConnection - The connection type for SavedReply. - edges - A list of edges. +@dataclass(kw_only=True) +class GitSignature: + """ + GitSignature - Information about a signature (GPG or S/MIME) on a Commit or Tag. - nodes - A list of nodes. + email - Email used to sign this object. - pageInfo - Information to aid in pagination. + isValid - True if the signature is valid and verified by GitHub. - totalCount - Identifies the total count of items in the connection. + payload - Payload for GPG signing object. Raw ODB object without the signature header. - """ - edges: list_SavedReplyEdge[SavedReplyEdge] - nodes: list_SavedReply[SavedReply] - pageInfo: PageInfo - totalCount: int + signature - ASCII-armored signature header from object. -class SocialAccountEdge(GQLObject): - """ - SocialAccountEdge - An edge in a connection. + signer - GitHub user corresponding to the email signing this commit. - cursor - A cursor for use in pagination. + state - The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. - node - The item at the end of the edge. + wasSignedByGitHub - True if the signature was made with GitHub's signing key. - """ - cursor: str - node: SocialAccount + """ -class list_SocialAccountEdge(list, SocialAccountEdge): pass + email: str + is_valid: bool + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool -class list_SocialAccount(list, SocialAccount): pass -class SocialAccountConnection(GQLObject): - """ - SocialAccountConnection - The connection type for SocialAccount. +@dataclass(kw_only=True) +class StatusContext: + """ + StatusContext - Represents an individual commit status context - edges - A list of edges. + avatarUrl - The avatar of the OAuth application or the user that created the status - nodes - A list of nodes. + commit - This commit this status context is attached to. - pageInfo - Information to aid in pagination. + context - The name of this status context. - totalCount - Identifies the total count of items in the connection. + createdAt - Identifies the date and time when the object was created. - """ - edges: list_SocialAccountEdge[SocialAccountEdge] - nodes: list_SocialAccount[SocialAccount] - pageInfo: PageInfo - totalCount: int + creator - The actor who created this status context. -class Sponsor(GQLObject): - pass + description - The description for this status context. -class SponsorEdge(GQLObject): - """ - SponsorEdge - Represents a user or organization who is sponsoring someone in GitHub Sponsors. + id - The Node ID of the StatusContext object - cursor - A cursor for use in pagination. + isRequired - Whether this is required to pass before merging for a specific pull request. - node - The item at the end of the edge. + state - The state of this status context. - """ - cursor: str - node: Sponsor + targetUrl - The URL for this status context. -class list_SponsorEdge(list, SponsorEdge): pass + """ -class list_Sponsor(list, Sponsor): pass + avatar_url: Optional[URI] = None + commit: Optional[Commit] = None + context: str + created_at: DateTime + creator: Optional[Actor] = None + description: Optional[str] = None + id: ID + is_required: bool + state: StatusState + target_url: Optional[URI] = None -class SponsorConnection(GQLObject): - """ - SponsorConnection - The connection type for Sponsor. - edges - A list of edges. +@dataclass(kw_only=True) +class StatusCheckRollupContextEdge: + """ + StatusCheckRollupContextEdge - An edge in a connection. - nodes - A list of nodes. + cursor - A cursor for use in pagination. - pageInfo - Information to aid in pagination. + node - The item at the end of the edge. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_SponsorEdge[SponsorEdge] - nodes: list_Sponsor[Sponsor] - pageInfo: PageInfo - totalCount: int + cursor: str + node: Optional[StatusCheckRollupContext] = None -class StripeConnectAccount(GQLObject): - """ - StripeConnectAccount - A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors. - accountId - The account number used to identify this Stripe Connect account. +@dataclass(kw_only=True) +class StatusCheckRollupContextConnection: + """ + StatusCheckRollupContextConnection - The connection type for StatusCheckRollupContext. - billingCountryOrRegion - The name of the country or region of an external account, such as a bank account, tied to the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. + checkRunCount - The number of check runs in this rollup. - countryOrRegion - The name of the country or region of the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. + checkRunCountsByState - Counts of check runs by state. - isActive - Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. + edges - A list of edges. - sponsorsListing - The GitHub Sponsors profile associated with this Stripe Connect account. + nodes - A list of nodes. - stripeDashboardUrl - The URL to access this Stripe Connect account on Stripe's website. + pageInfo - Information to aid in pagination. - """ - accountId: str - billingCountryOrRegion: str - countryOrRegion: str - isActive: bool - sponsorsListing: NewType('SponsorsListing', GQLObject) ## Circular Reference for SponsorsListing - stripeDashboardUrl: URI + statusContextCount - The number of status contexts in this rollup. -class SponsorsListingFeatureableItem(GQLObject): - pass + statusContextCountsByState - Counts of status contexts by state. -class SponsorsListingFeaturedItem(GQLObject): - """ - SponsorsListingFeaturedItem - A record that is promoted on a GitHub Sponsors profile. + totalCount - Identifies the total count of items in the connection. - createdAt - Identifies the date and time when the object was created. + """ - description - Will either be a description from the sponsorable maintainer about why they featured this item, or the item's description itself, such as a user's bio from their GitHub profile page. + check_run_count: int + check_run_counts_by_state: Optional[list[CheckRunStateCount]] = None + edges: Optional[list[StatusCheckRollupContextEdge]] = None + nodes: Optional[list[StatusCheckRollupContext]] = None + page_info: PageInfo + status_context_count: int + status_context_counts_by_state: Optional[list[StatusContextStateCount]] = None + total_count: int - featureable - The record that is featured on the GitHub Sponsors profile. - position - The position of this featured item on the GitHub Sponsors profile with a lower position indicating higher precedence. Starts at 1. +@dataclass(kw_only=True) +class Status: + """ + Status - Represents a commit status. - sponsorsListing - The GitHub Sponsors profile that features this record. + combinedContexts - A list of status contexts and check runs for this commit. - updatedAt - Identifies the date and time when the object was last updated. + commit - The commit this status is attached to. - """ - createdAt: DateTime - description: str - featureable: SponsorsListingFeatureableItem - id: ID - position: int - sponsorsListing: NewType('SponsorsListing', GQLObject) ## Circular Reference for SponsorsListing - updatedAt: DateTime + context - Looks up an individual status context by context name. -class SponsorsTierEdge(GQLObject): - """ - SponsorsTierEdge - An edge in a connection. + contexts - The individual status contexts for this commit. - cursor - A cursor for use in pagination. + id - The Node ID of the Status object - node - The item at the end of the edge. + state - The combined commit status. - """ - cursor: str - node: NewType('SponsorsTier', GQLObject) ## Circular Reference for SponsorsTier + """ -class list_SponsorsTierEdge(list, SponsorsTierEdge): pass + combined_contexts: StatusCheckRollupContextConnection + commit: Optional[Commit] = None + context: Optional[StatusContext] = None + contexts: list[StatusContext] + id: ID + state: StatusState -class SponsorsTierConnection(GQLObject): - """ - SponsorsTierConnection - The connection type for SponsorsTier. - edges - A list of edges. +@dataclass(kw_only=True) +class StatusCheckRollup: + """ + StatusCheckRollup - Represents the rollup for both the check runs and status for a commit. - nodes - A list of nodes. + commit - The commit the status and check runs are attached to. - pageInfo - Information to aid in pagination. + contexts - A list of status contexts and check runs for this commit. - totalCount - Identifies the total count of items in the connection. + id - The Node ID of the StatusCheckRollup object - """ - edges: list_SponsorsTierEdge[SponsorsTierEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for SponsorsTier - pageInfo: PageInfo - totalCount: int + state - The combined status for the commit. -class NonNull_SponsorsListingFeaturedItemFeatureableType(GQLObject): pass + """ -class VIYZC_SponsorsListingFeaturedItem_Field(SponsorsListingFeaturedItem): - """ - VIYZC_SponsorsListingFeaturedItem_Field - The records featured on the GitHub Sponsors profile. + commit: Optional[Commit] = None + contexts: StatusCheckRollupContextConnection + id: ID + state: StatusState - """ - class SponsorsListingFeaturedItemArgs(GQLArgsSet, GQLObject): - """ - featureableTypes - The types of featured items to return. - """ - featureableTypes: list[NonNull_SponsorsListingFeaturedItemFeatureableType] +@dataclass(kw_only=True) +class Tree: + """ + Tree - Represents a Git tree. - _args: SponsorsListingFeaturedItemArgs + abbreviatedOid - An abbreviated version of the Git object ID + commitResourcePath - The HTTP path for this Git object + commitUrl - The HTTP URL for this Git object -class list_SponsorsListingFeaturedItem(list, SponsorsListingFeaturedItem): pass + entries - A list of tree entries. -class BGNQB_SponsorsTierConnection_Field(SponsorsTierConnection): - """ - BGNQB_SponsorsTierConnection_Field - The tiers for this GitHub Sponsors profile. + id - The Node ID of the Tree object - """ - class SponsorsTierConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + oid - The Git object ID - before - Returns the elements in the list that come before the specified cursor. + repository - The Repository the Git object belongs to - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + abbreviated_oid: str + commit_resource_path: URI + commit_url: URI + entries: Optional[list[TreeEntry]] = None + id: ID + oid: GitObjectID + repository: Repository - orderBy - Ordering options for Sponsors tiers returned from the connection. - includeUnpublished - Whether to include tiers that aren't published. Only admins of the Sponsors listing can see draft tiers. Only admins of the Sponsors listing and viewers who are currently sponsoring on a retired tier can see those retired tiers. Defaults to including only published tiers, which are visible to anyone who can see the GitHub Sponsors profile. +@dataclass(kw_only=True) +class CommitComment: + """ + CommitComment - Represents a comment on a given Commit. - """ - after: str - before: str - first: int - last: int - orderBy: SponsorsTierOrder - includeUnpublished: bool + author - The actor who authored the comment. - _args: SponsorsTierConnectionArgs + authorAssociation - Author's association with the subject of the comment. + body - Identifies the comment body. + bodyHTML - The body rendered to HTML. -class SponsorsListing(GQLObject): - """ - SponsorsListing - A GitHub Sponsors listing. + bodyText - The body rendered to text. - activeGoal - The current goal the maintainer is trying to reach with GitHub Sponsors, if any. + commit - Identifies the commit associated with the comment, if the commit exists. - activeStripeConnectAccount - The Stripe Connect account currently in use for payouts for this Sponsors listing, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. + createdAt - Identifies the date and time when the object was created. - billingCountryOrRegion - The name of the country or region with the maintainer's bank account or fiscal host. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. + createdViaEmail - Check if this comment was created via an email reply. - contactEmailAddress - The email address used by GitHub to contact the sponsorable about their GitHub Sponsors profile. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. + databaseId - Identifies the primary key from the database. - createdAt - Identifies the date and time when the object was created. + editor - The actor who edited the comment. - dashboardResourcePath - The HTTP path for the Sponsors dashboard for this Sponsors listing. + id - The Node ID of the CommitComment object - dashboardUrl - The HTTP URL for the Sponsors dashboard for this Sponsors listing. + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data - featuredItems - The records featured on the GitHub Sponsors profile. + isMinimized - Returns whether or not a comment has been minimized. - fiscalHost - The fiscal host used for payments, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. + lastEditedAt - The moment the editor made the last edit - fullDescription - The full description of the listing. + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. - fullDescriptionHTML - The full description of the listing rendered to HTML. + path - Identifies the file path associated with the comment. - isPublic - Whether this listing is publicly visible. + position - Identifies the line position associated with the comment. - name - The listing's full name. + publishedAt - Identifies when the comment was published at. - nextPayoutDate - A future date on which this listing is eligible to receive a payout. + reactionGroups - A list of reactions grouped by content left on the subject. - residenceCountryOrRegion - The name of the country or region where the maintainer resides. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. + reactions - A list of Reactions left on the Issue. - resourcePath - The HTTP path for this Sponsors listing. + repository - The repository associated with this node. - shortDescription - The short description of the listing. + resourcePath - The HTTP path permalink for this commit comment. - slug - The short name of the listing. + updatedAt - Identifies the date and time when the object was last updated. - sponsorable - The entity this listing represents who can be sponsored on GitHub Sponsors. + url - The HTTP URL permalink for this commit comment. - tiers - The tiers for this GitHub Sponsors profile. + userContentEdits - A list of edits to this content. - url - The HTTP URL for this Sponsors listing. + viewerCanDelete - Check if the current viewer can delete this object. - """ - activeGoal: SponsorsGoal - activeStripeConnectAccount: StripeConnectAccount - billingCountryOrRegion: str - contactEmailAddress: str - createdAt: DateTime - dashboardResourcePath: URI - dashboardUrl: URI - featuredItems: VIYZC_SponsorsListingFeaturedItem_Field - fiscalHost: NewType('Organization', GQLObject) ## Circular Reference for Organization - fullDescription: str - fullDescriptionHTML: HTML - id: ID - isPublic: bool - name: str - nextPayoutDate: Date - residenceCountryOrRegion: str - resourcePath: URI - shortDescription: str - slug: str - sponsorable: NewType('Sponsorable', GQLObject) ## Circular Reference for Sponsorable - tiers: BGNQB_SponsorsTierConnection_Field - url: URI + viewerCanMinimize - Check if the current viewer can minimize this object. -class SponsorshipNewsletter(GQLObject): - """ - SponsorshipNewsletter - An update sent to sponsors of a user or organization on GitHub Sponsors. + viewerCanReact - Can user react to this subject - author - The author of the newsletter. + viewerCanUpdate - Check if the current viewer can update this object. - body - The contents of the newsletter, the message the sponsorable wanted to give. + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. - createdAt - Identifies the date and time when the object was created. + viewerDidAuthor - Did the viewer author this comment. - isPublished - Indicates if the newsletter has been made available to sponsors. + """ - sponsorable - The user or organization this newsletter is from. + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + commit: Optional[Commit] = None + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + path: Optional[str] = None + position: Optional[int] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool - subject - The subject of the newsletter, what it's about. - updatedAt - Identifies the date and time when the object was last updated. +@dataclass(kw_only=True) +class CommitCommentEdge: + """ + CommitCommentEdge - An edge in a connection. - """ - author: NewType('User', GQLObject) ## Circular Reference for User - body: str - createdAt: DateTime - id: ID - isPublished: bool - sponsorable: NewType('Sponsorable', GQLObject) ## Circular Reference for Sponsorable - subject: str - updatedAt: DateTime + cursor - A cursor for use in pagination. -class SponsorshipNewsletterEdge(GQLObject): - """ - SponsorshipNewsletterEdge - An edge in a connection. + node - The item at the end of the edge. - cursor - A cursor for use in pagination. + """ - node - The item at the end of the edge. + cursor: str + node: Optional[CommitComment] = None - """ - cursor: str - node: SponsorshipNewsletter -class list_SponsorshipNewsletterEdge(list, SponsorshipNewsletterEdge): pass +@dataclass(kw_only=True) +class CreatedCommitContribution: + """ + CreatedCommitContribution - Represents the contribution a user made by committing to a repository. -class list_SponsorshipNewsletter(list, SponsorshipNewsletter): pass + commitCount - How many commits were made on this day to this repository by the user. -class SponsorshipNewsletterConnection(GQLObject): - """ - SponsorshipNewsletterConnection - The connection type for SponsorshipNewsletter. + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. - edges - A list of edges. + occurredAt - When this contribution was made. - nodes - A list of nodes. + repository - The repository the user made a commit in. - pageInfo - Information to aid in pagination. + resourcePath - The HTTP path for this contribution. - totalCount - Identifies the total count of items in the connection. + url - The HTTP URL for this contribution. - """ - edges: list_SponsorshipNewsletterEdge[SponsorshipNewsletterEdge] - nodes: list_SponsorshipNewsletter[SponsorshipNewsletter] - pageInfo: PageInfo - totalCount: int + user - The user who made this contribution. -class JOCPC_SponsorConnection_Field(SponsorConnection): - """ - JOCPC_SponsorConnection_Field - List of users and organizations this entity is sponsoring. + """ - """ - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + commit_count: int + is_restricted: bool + occurred_at: DateTime + repository: Repository + resource_path: URI + url: URI + user: User - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class CreatedCommitContributionEdge: + """ + CreatedCommitContributionEdge - An edge in a connection. - last - Returns the last _n_ elements from the list. + cursor - A cursor for use in pagination. - orderBy - Ordering options for the users and organizations returned from the connection. + node - The item at the end of the edge. - """ - after: str - before: str - first: int - last: int - orderBy: SponsorOrder + """ - _args: SponsorConnectionArgs + cursor: str + node: Optional[CreatedCommitContribution] = None +@dataclass(kw_only=True) +class CreatedCommitContributionConnection: + """ + CreatedCommitContributionConnection - The connection type for CreatedCommitContribution. -class OUCQI_SponsorConnection_Field(SponsorConnection): - """ - OUCQI_SponsorConnection_Field - List of sponsors for this user or organization. + edges - A list of edges. - """ - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + nodes - A list of nodes. - before - Returns the elements in the list that come before the specified cursor. + pageInfo - Information to aid in pagination. - first - Returns the first _n_ elements from the list. + totalCount - Identifies the total count of commits across days and repositories in the connection. - last - Returns the last _n_ elements from the list. + """ - tierId - If given, will filter for sponsors at the given tier. Will only return sponsors whose tier the viewer is permitted to see. + edges: Optional[list[CreatedCommitContributionEdge]] = None + nodes: Optional[list[CreatedCommitContribution]] = None + page_info: PageInfo + total_count: int - orderBy - Ordering options for sponsors returned from the connection. - """ - after: str - before: str - first: int - last: int - tierId: ID - orderBy: SponsorOrder +@dataclass(kw_only=True) +class CommitContributionsByRepository: + """ + CommitContributionsByRepository - This aggregates commits made by a user within one repository. - _args: SponsorConnectionArgs + contributions - The commit contributions, each representing a day. + repository - The repository in which the commits were made. + resourcePath - The HTTP path for the user's commits to the repository in this time range. -class NonNull_SponsorsActivityAction(GQLObject): pass + url - The HTTP URL for the user's commits to the repository in this time range. -class PYQZL_SponsorsActivityConnection_Field(Generic[SponsorsActivityConnection]): - """ - PYQZL_SponsorsActivityConnection_Field - Events involving this sponsorable, such as new sponsorships. + """ - """ - class SponsorsActivityConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + contributions: CreatedCommitContributionConnection + repository: Repository + resource_path: URI + url: URI - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class ContributionCalendarWeek: + """ + ContributionCalendarWeek - A week of contributions in a user's contribution graph. - last - Returns the last _n_ elements from the list. + contributionDays - The days of contributions in this week. - period - Filter activities returned to only those that occurred in the most recent specified time period. Set to ALL to avoid filtering by when the activity occurred. Will be ignored if `since` or `until` is given. + firstDay - The date of the earliest square in this week. - since - Filter activities to those that occurred on or after this time. + """ - until - Filter activities to those that occurred before this time. + contribution_days: list[ContributionCalendarDay] + first_day: Date - orderBy - Ordering options for activity returned from the connection. - actions - Filter activities to only the specified actions. +@dataclass(kw_only=True) +class ContributionCalendar: + """ + ContributionCalendar - A calendar of contributions made on GitHub by a user. - includeAsSponsor - Whether to include those events where this sponsorable acted as the sponsor. Defaults to only including events where this sponsorable was the recipient of a sponsorship. + colors - A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. - includePrivate - Whether or not to include private activities in the result set. Defaults to including public and private activities. + isHalloween - Determine if the color set was chosen because it's currently Halloween. - """ - after: str - before: str - first: int - last: int - period: SponsorsActivityPeriod - since: DateTime - until: DateTime - orderBy: SponsorsActivityOrder - actions: list[NonNull_SponsorsActivityAction] - includeAsSponsor: bool - includePrivate: bool + months - A list of the months of contributions in this calendar. - _args: SponsorsActivityConnectionArgs + totalContributions - The count of total contributions in the calendar. + weeks - A list of the weeks of contributions in this calendar. + """ -class RPMLT_Sponsorship_Field(Generic[Sponsorship]): - """ - RPMLT_Sponsorship_Field - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + colors: list[str] + is_halloween: bool + months: list[ContributionCalendarMonth] + total_contributions: int + weeks: list[ContributionCalendarWeek] - """ - class SponsorshipArgs(GQLArgsSet, GQLObject): - """ - activeOnly - Whether to return the sponsorship only if it's still active. Pass false to get the viewer's sponsorship back even if it has been cancelled. - """ - activeOnly: bool +@dataclass(kw_only=True) +class CreatedIssueContribution: + """ + CreatedIssueContribution - Represents the contribution a user made on GitHub by opening an issue. - _args: SponsorshipArgs + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. + issue - The issue that was opened. + occurredAt - When this contribution was made. -class EDFJM_Sponsorship_Field(Generic[Sponsorship]): - """ - EDFJM_Sponsorship_Field - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + resourcePath - The HTTP path for this contribution. - """ - class SponsorshipArgs(GQLArgsSet, GQLObject): - """ - activeOnly - Whether to return the sponsorship only if it's still active. Pass false to get the sponsorship back even if it has been cancelled. + url - The HTTP URL for this contribution. - """ - activeOnly: bool + user - The user who made this contribution. - _args: SponsorshipArgs + """ + is_restricted: bool + issue: Issue + occurred_at: DateTime + resource_path: URI + url: URI + user: User -class FURSS_SponsorshipNewsletterConnection_Field(SponsorshipNewsletterConnection): - """ - FURSS_SponsorshipNewsletterConnection_Field - List of sponsorship updates sent from this sponsorable to sponsors. +@dataclass(kw_only=True) +class RestrictedContribution: + """ + RestrictedContribution - Represents a private contribution a user made on GitHub. - """ - class SponsorshipNewsletterConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. - before - Returns the elements in the list that come before the specified cursor. + occurredAt - When this contribution was made. - first - Returns the first _n_ elements from the list. + resourcePath - The HTTP path for this contribution. - last - Returns the last _n_ elements from the list. + url - The HTTP URL for this contribution. - orderBy - Ordering options for sponsorship updates returned from the connection. + user - The user who made this contribution. - """ - after: str - before: str - first: int - last: int - orderBy: SponsorshipNewsletterOrder + """ - _args: SponsorshipNewsletterConnectionArgs + is_restricted: bool + occurred_at: DateTime + resource_path: URI + url: URI + user: User +@dataclass(kw_only=True) +class CreatedPullRequestContribution: + """ + CreatedPullRequestContribution - Represents the contribution a user made on GitHub by opening a pull request. -class GWEWC_SponsorshipConnection_Field(Generic[SponsorshipConnection]): - """ - GWEWC_SponsorshipConnection_Field - The sponsorships where this user or organization is the maintainer receiving the funds. + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + occurredAt - When this contribution was made. - before - Returns the elements in the list that come before the specified cursor. + pullRequest - The pull request that was opened. - first - Returns the first _n_ elements from the list. + resourcePath - The HTTP path for this contribution. - last - Returns the last _n_ elements from the list. + url - The HTTP URL for this contribution. - includePrivate - Whether or not to include private sponsorships in the result set + user - The user who made this contribution. - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. + """ - activeOnly - Whether to include only sponsorships that are active right now, versus all sponsorships this maintainer has ever received. + is_restricted: bool + occurred_at: DateTime + pull_request: PullRequest + resource_path: URI + url: URI + user: User - """ - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - activeOnly: bool - _args: SponsorshipConnectionArgs +@dataclass(kw_only=True) +class CreatedRepositoryContribution: + """ + CreatedRepositoryContribution - Represents the contribution a user made on GitHub by creating a repository. + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. + occurredAt - When this contribution was made. -class VGDEU_SponsorshipConnection_Field(Generic[SponsorshipConnection]): - """ - VGDEU_SponsorshipConnection_Field - The sponsorships where this user or organization is the funder. + repository - The repository that was created. - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + resourcePath - The HTTP path for this contribution. - before - Returns the elements in the list that come before the specified cursor. + url - The HTTP URL for this contribution. - first - Returns the first _n_ elements from the list. + user - The user who made this contribution. - last - Returns the last _n_ elements from the list. + """ - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. + is_restricted: bool + occurred_at: DateTime + repository: Repository + resource_path: URI + url: URI + user: User - maintainerLogins - Filter sponsorships returned to those for the specified maintainers. That is, the recipient of the sponsorship is a user or organization with one of the given logins. - activeOnly - Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. +@dataclass(kw_only=True) +class CreatedIssueContributionEdge: + """ + CreatedIssueContributionEdge - An edge in a connection. - """ - after: str - before: str - first: int - last: int - orderBy: SponsorshipOrder - maintainerLogins: list[NonNull_str] - activeOnly: bool + cursor - A cursor for use in pagination. - _args: SponsorshipConnectionArgs + node - The item at the end of the edge. + """ + cursor: str + node: Optional[CreatedIssueContribution] = None -class Sponsorable(GQLObject): - """ - Sponsorable - Entities that can sponsor or be sponsored through GitHub Sponsors. - estimatedNextSponsorsPayoutInCents - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). +@dataclass(kw_only=True) +class CreatedIssueContributionConnection: + """ + CreatedIssueContributionConnection - The connection type for CreatedIssueContribution. - hasSponsorsListing - True if this user/organization has a GitHub Sponsors listing. + edges - A list of edges. - isSponsoredBy - Whether the given account is sponsoring this user/organization. + nodes - A list of nodes. - isSponsoringViewer - True if the viewer is sponsored by this user/organization. + pageInfo - Information to aid in pagination. - monthlyEstimatedSponsorsIncomeInCents - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + totalCount - Identifies the total count of items in the connection. - sponsoring - List of users and organizations this entity is sponsoring. + """ - sponsors - List of sponsors for this user or organization. + edges: Optional[list[CreatedIssueContributionEdge]] = None + nodes: Optional[list[CreatedIssueContribution]] = None + page_info: PageInfo + total_count: int - sponsorsActivities - Events involving this sponsorable, such as new sponsorships. - sponsorsListing - The GitHub Sponsors listing for this user or organization. +@dataclass(kw_only=True) +class IssueContributionsByRepository: + """ + IssueContributionsByRepository - This aggregates issues opened by a user within one repository. - sponsorshipForViewerAsSponsor - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + contributions - The issue contributions. - sponsorshipForViewerAsSponsorable - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + repository - The repository in which the issues were opened. - sponsorshipNewsletters - List of sponsorship updates sent from this sponsorable to sponsors. + """ - sponsorshipsAsMaintainer - The sponsorships where this user or organization is the maintainer receiving the funds. + contributions: CreatedIssueContributionConnection + repository: Repository - sponsorshipsAsSponsor - The sponsorships where this user or organization is the funder. - totalSponsorshipAmountAsSponsorInCents - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. +@dataclass(kw_only=True) +class JoinedGitHubContribution: + """ + JoinedGitHubContribution - Represents a user signing up for a GitHub account. - viewerCanSponsor - Whether or not the viewer is able to sponsor this user/organization. + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. - viewerIsSponsoring - True if the viewer is sponsoring this user/organization. + occurredAt - When this contribution was made. - """ - estimatedNextSponsorsPayoutInCents: int - hasSponsorsListing: bool - isSponsoredBy: UGLRZ_isSponsoredBy_Field - isSponsoringViewer: bool - monthlyEstimatedSponsorsIncomeInCents: int - sponsoring: JOCPC_SponsorConnection_Field - sponsors: OUCQI_SponsorConnection_Field - sponsorsActivities: PYQZL_SponsorsActivityConnection_Field ## Circular Reference for SponsorsActivityConnection - sponsorsListing: SponsorsListing - sponsorshipForViewerAsSponsor: RPMLT_Sponsorship_Field ## Circular Reference for Sponsorship - sponsorshipForViewerAsSponsorable: EDFJM_Sponsorship_Field ## Circular Reference for Sponsorship - sponsorshipNewsletters: FURSS_SponsorshipNewsletterConnection_Field - sponsorshipsAsMaintainer: GWEWC_SponsorshipConnection_Field ## Circular Reference for SponsorshipConnection - sponsorshipsAsSponsor: VGDEU_SponsorshipConnection_Field ## Circular Reference for SponsorshipConnection - totalSponsorshipAmountAsSponsorInCents: GUWSH_totalSponsorshipAmountAsSponsorInCents_Field - viewerCanSponsor: bool - viewerIsSponsoring: bool + resourcePath - The HTTP path for this contribution. -class Sponsorship(GQLObject): - """ - Sponsorship - A sponsorship relationship between a sponsor and a maintainer + url - The HTTP URL for this contribution. - createdAt - Identifies the date and time when the object was created. + user - The user who made this contribution. - isActive - Whether the sponsorship is active. False implies the sponsor is a past sponsor of the maintainer, while true implies they are a current sponsor. + """ - isOneTimePayment - Whether this sponsorship represents a one-time payment versus a recurring sponsorship. + is_restricted: bool + occurred_at: DateTime + resource_path: URI + url: URI + user: User - isSponsorOptedIntoEmail - Whether the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this. - privacyLevel - The privacy level for this sponsorship. +@dataclass(kw_only=True) +class CreatedPullRequestContributionEdge: + """ + CreatedPullRequestContributionEdge - An edge in a connection. - sponsorEntity - The user or organization that is sponsoring, if you have permission to view them. + cursor - A cursor for use in pagination. - sponsorable - The entity that is being sponsored + node - The item at the end of the edge. - tier - The associated sponsorship tier + """ - tierSelectedAt - Identifies the date and time when the current tier was chosen for this sponsorship. + cursor: str + node: Optional[CreatedPullRequestContribution] = None - """ - createdAt: DateTime - id: ID - isActive: bool - isOneTimePayment: bool - isSponsorOptedIntoEmail: bool - privacyLevel: SponsorshipPrivacy - sponsorEntity: Sponsor - sponsorable: Sponsorable - tier: NewType('SponsorsTier', GQLObject) ## Circular Reference for SponsorsTier - tierSelectedAt: DateTime -class SponsorshipEdge(GQLObject): - """ - SponsorshipEdge - An edge in a connection. +@dataclass(kw_only=True) +class CreatedPullRequestContributionConnection: + """ + CreatedPullRequestContributionConnection - The connection type for CreatedPullRequestContribution. - cursor - A cursor for use in pagination. + edges - A list of edges. - node - The item at the end of the edge. + nodes - A list of nodes. - """ - cursor: str - node: Sponsorship + pageInfo - Information to aid in pagination. -class list_SponsorshipEdge(list, SponsorshipEdge): pass + totalCount - Identifies the total count of items in the connection. -class list_Sponsorship(list, Sponsorship): pass + """ -class SponsorshipConnection(GQLObject): - """ - SponsorshipConnection - The connection type for Sponsorship. + edges: Optional[list[CreatedPullRequestContributionEdge]] = None + nodes: Optional[list[CreatedPullRequestContribution]] = None + page_info: PageInfo + total_count: int - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class PullRequestContributionsByRepository: + """ + PullRequestContributionsByRepository - This aggregates pull requests opened by a user within one repository. - pageInfo - Information to aid in pagination. + contributions - The pull request contributions. - totalCount - Identifies the total count of items in the connection. + repository - The repository in which the pull requests were opened. - totalRecurringMonthlyPriceInCents - The total amount in cents of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships. + """ - totalRecurringMonthlyPriceInDollars - The total amount in USD of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships. + contributions: CreatedPullRequestContributionConnection + repository: Repository - """ - edges: list_SponsorshipEdge[SponsorshipEdge] - nodes: list_Sponsorship[Sponsorship] - pageInfo: PageInfo - totalCount: int - totalRecurringMonthlyPriceInCents: int - totalRecurringMonthlyPriceInDollars: int -class WCSDV_SponsorshipConnection_Field(SponsorshipConnection): - """ - WCSDV_SponsorshipConnection_Field - The sponsorships using this tier. +@dataclass(kw_only=True) +class CreatedPullRequestReviewContribution: + """ + CreatedPullRequestReviewContribution - Represents the contribution a user made by leaving a review on a pull request. - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. - before - Returns the elements in the list that come before the specified cursor. + occurredAt - When this contribution was made. - first - Returns the first _n_ elements from the list. + pullRequest - The pull request the user reviewed. - last - Returns the last _n_ elements from the list. + pullRequestReview - The review the user left on the pull request. - includePrivate - Whether or not to return private sponsorships using this tier. Defaults to only returning public sponsorships on this tier. + repository - The repository containing the pull request that the user reviewed. - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. + resourcePath - The HTTP path for this contribution. - """ - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder + url - The HTTP URL for this contribution. - _args: SponsorshipConnectionArgs + user - The user who made this contribution. + """ + is_restricted: bool + occurred_at: DateTime + pull_request: PullRequest + pull_request_review: PullRequestReview + repository: Repository + resource_path: URI + url: URI + user: User -class SponsorsTierAdminInfo(GQLObject): - """ - SponsorsTierAdminInfo - SponsorsTier information only visible to users that can administer the associated Sponsors listing. - isDraft - Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers cannot be used for new sponsorships and will not be in use on existing sponsorships. Draft tiers cannot be seen by anyone but the admins of the GitHub Sponsors profile. +@dataclass(kw_only=True) +class CreatedPullRequestReviewContributionEdge: + """ + CreatedPullRequestReviewContributionEdge - An edge in a connection. - isPublished - Indicates whether this tier is published to the associated GitHub Sponsors profile. Published tiers are visible to anyone who can see the GitHub Sponsors profile, and are available for use in sponsorships if the GitHub Sponsors profile is publicly visible. + cursor - A cursor for use in pagination. - isRetired - Indicates whether this tier has been retired from the associated GitHub Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors profile and cannot be chosen for new sponsorships. Existing sponsorships may still use retired tiers if the sponsor selected the tier before it was retired. + node - The item at the end of the edge. - sponsorships - The sponsorships using this tier. + """ - """ - isDraft: bool - isPublished: bool - isRetired: bool - sponsorships: WCSDV_SponsorshipConnection_Field + cursor: str + node: Optional[CreatedPullRequestReviewContribution] = None -class SponsorsTier(GQLObject): - """ - SponsorsTier - A GitHub Sponsors tier associated with a GitHub Sponsors listing. - adminInfo - SponsorsTier information only visible to users that can administer the associated Sponsors listing. +@dataclass(kw_only=True) +class CreatedPullRequestReviewContributionConnection: + """ + CreatedPullRequestReviewContributionConnection - The connection type for CreatedPullRequestReviewContribution. - closestLesserValueTier - Get a different tier for this tier's maintainer that is at the same frequency as this tier but with an equal or lesser cost. Returns the published tier with the monthly price closest to this tier's without going over. + edges - A list of edges. - createdAt - Identifies the date and time when the object was created. + nodes - A list of nodes. - description - The description of the tier. + pageInfo - Information to aid in pagination. - descriptionHTML - The tier description rendered to HTML + totalCount - Identifies the total count of items in the connection. - isCustomAmount - Whether this tier was chosen at checkout time by the sponsor rather than defined ahead of time by the maintainer who manages the Sponsors listing. + """ - isOneTime - Whether this tier is only for use with one-time sponsorships. + edges: Optional[list[CreatedPullRequestReviewContributionEdge]] = None + nodes: Optional[list[CreatedPullRequestReviewContribution]] = None + page_info: PageInfo + total_count: int - monthlyPriceInCents - How much this tier costs per month in cents. - monthlyPriceInDollars - How much this tier costs per month in USD. +@dataclass(kw_only=True) +class PullRequestReviewContributionsByRepository: + """ + PullRequestReviewContributionsByRepository - This aggregates pull request reviews made by a user within one repository. - name - The name of the tier. + contributions - The pull request review contributions. - sponsorsListing - The sponsors listing that this tier belongs to. + repository - The repository in which the pull request reviews were made. - updatedAt - Identifies the date and time when the object was last updated. + """ - """ - adminInfo: SponsorsTierAdminInfo - closestLesserValueTier: NewType('SponsorsTier', GQLObject) ## Circular Reference for SponsorsTier - createdAt: DateTime - description: str - descriptionHTML: HTML - id: ID - isCustomAmount: bool - isOneTime: bool - monthlyPriceInCents: int - monthlyPriceInDollars: int - name: str - sponsorsListing: SponsorsListing - updatedAt: DateTime + contributions: CreatedPullRequestReviewContributionConnection + repository: Repository -class SponsorsActivity(GQLObject): - """ - SponsorsActivity - An event related to sponsorship activity. - action - What action this activity indicates took place. +@dataclass(kw_only=True) +class CreatedRepositoryContributionEdge: + """ + CreatedRepositoryContributionEdge - An edge in a connection. - currentPrivacyLevel - The sponsor's current privacy level. + cursor - A cursor for use in pagination. - previousSponsorsTier - The tier that the sponsorship used to use, for tier change events. + node - The item at the end of the edge. - sponsor - The user or organization who triggered this activity and was/is sponsoring the sponsorable. + """ - sponsorable - The user or organization that is being sponsored, the maintainer. + cursor: str + node: Optional[CreatedRepositoryContribution] = None - sponsorsTier - The associated sponsorship tier. - timestamp - The timestamp of this event. +@dataclass(kw_only=True) +class CreatedRepositoryContributionConnection: + """ + CreatedRepositoryContributionConnection - The connection type for CreatedRepositoryContribution. - viaBulkSponsorship - Was this sponsorship made alongside other sponsorships at the same time from the same sponsor? + edges - A list of edges. - """ - action: SponsorsActivityAction - currentPrivacyLevel: SponsorshipPrivacy - id: ID - previousSponsorsTier: SponsorsTier - sponsor: Sponsor - sponsorable: Sponsorable - sponsorsTier: SponsorsTier - timestamp: DateTime - viaBulkSponsorship: bool + nodes - A list of nodes. -class SponsorsActivityEdge(GQLObject): - """ - SponsorsActivityEdge - An edge in a connection. + pageInfo - Information to aid in pagination. - cursor - A cursor for use in pagination. + totalCount - Identifies the total count of items in the connection. - node - The item at the end of the edge. + """ - """ - cursor: str - node: SponsorsActivity + edges: Optional[list[CreatedRepositoryContributionEdge]] = None + nodes: Optional[list[CreatedRepositoryContribution]] = None + page_info: PageInfo + total_count: int -class list_SponsorsActivityEdge(list, SponsorsActivityEdge): pass -class list_SponsorsActivity(list, SponsorsActivity): pass +@dataclass(kw_only=True) +class EnterpriseEdge: + """ + EnterpriseEdge - An edge in a connection. -class SponsorsActivityConnection(GQLObject): - """ - SponsorsActivityConnection - The connection type for SponsorsActivity. + cursor - A cursor for use in pagination. - edges - A list of edges. + node - The item at the end of the edge. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + cursor: str + node: Optional[Enterprise] = None - totalCount - Identifies the total count of items in the connection. - """ - edges: list_SponsorsActivityEdge[SponsorsActivityEdge] - nodes: list_SponsorsActivity[SponsorsActivity] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class EnterpriseConnection: + """ + EnterpriseConnection - The connection type for Enterprise. -class StarredRepositoryEdge(GQLObject): - """ - StarredRepositoryEdge - Represents a starred repository. + edges - A list of edges. - cursor - A cursor for use in pagination. + nodes - A list of nodes. - starredAt - Identifies when the item was starred. + pageInfo - Information to aid in pagination. - """ - cursor: str - node: Repository - starredAt: DateTime + totalCount - Identifies the total count of items in the connection. -class list_StarredRepositoryEdge(list, StarredRepositoryEdge): pass + """ -class StarredRepositoryConnection(GQLObject): - """ - StarredRepositoryConnection - The connection type for Repository. + edges: Optional[list[EnterpriseEdge]] = None + nodes: Optional[list[Enterprise]] = None + page_info: PageInfo + total_count: int - edges - A list of edges. - isOverLimit - Is the list of stars for this user truncated? This is true for users that have many stars. +@dataclass(kw_only=True) +class FollowerConnection: + """ + FollowerConnection - The connection type for User. - nodes - A list of nodes. + edges - A list of edges. - pageInfo - Information to aid in pagination. + nodes - A list of nodes. - totalCount - Identifies the total count of items in the connection. + pageInfo - Information to aid in pagination. - """ - edges: list_StarredRepositoryEdge[StarredRepositoryEdge] - isOverLimit: bool - nodes: list_Repository[Repository] - pageInfo: PageInfo - totalCount: int + totalCount - Identifies the total count of items in the connection. -class JWDUN_CommitCommentConnection_Field(CommitCommentConnection): - """ - JWDUN_CommitCommentConnection_Field - A list of commit comments made by this user. + """ - """ - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + edges: Optional[list[UserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class FollowingConnection: + """ + FollowingConnection - The connection type for User. - last - Returns the last _n_ elements from the list. + edges - A list of edges. - """ - after: str - before: str - first: int - last: int + nodes - A list of nodes. - _args: CommitCommentConnectionArgs + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class QJDSH_ContributionsCollection_Field(ContributionsCollection): - """ - QJDSH_ContributionsCollection_Field - The collection of contributions this user has made to different repositories. + edges: Optional[list[UserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - """ - class ContributionsCollectionArgs(GQLArgsSet, GQLObject): - """ - organizationID - The ID of the organization used to filter contributions. - from - Only contributions made at this time or later will be counted. If omitted, defaults to a year ago. +@dataclass(kw_only=True) +class UserListItemsEdge: + """ + UserListItemsEdge - An edge in a connection. - to - Only contributions made before and up to (including) this time will be counted. If omitted, defaults to the current time or one year from the provided from argument. + cursor - A cursor for use in pagination. - """ - organizationID: ID - from_: DateTime - to: DateTime + node - The item at the end of the edge. - _args: ContributionsCollectionArgs + """ + cursor: str + node: Optional[UserListItems] = None -class GPSCL_FollowerConnection_Field(FollowerConnection): - """ - GPSCL_FollowerConnection_Field - A list of users the given user is followed by. +@dataclass(kw_only=True) +class UserListItemsConnection: + """ + UserListItemsConnection - The connection type for UserListItems. - """ - class FollowerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + edges - A list of edges. - before - Returns the elements in the list that come before the specified cursor. + nodes - A list of nodes. - first - Returns the first _n_ elements from the list. + pageInfo - Information to aid in pagination. - last - Returns the last _n_ elements from the list. + totalCount - Identifies the total count of items in the connection. - """ - after: str - before: str - first: int - last: int + """ - _args: FollowerConnectionArgs + edges: Optional[list[UserListItemsEdge]] = None + nodes: Optional[list[UserListItems]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class UserList: + """ + UserList - A user-curated list of repositories -class THUZN_FollowingConnection_Field(FollowingConnection): - """ - THUZN_FollowingConnection_Field - A list of users the given user is following. + createdAt - Identifies the date and time when the object was created. - """ - class FollowingConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + description - The description of this list - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the UserList object - first - Returns the first _n_ elements from the list. + isPrivate - Whether or not this list is private - last - Returns the last _n_ elements from the list. + items - The items associated with this list - """ - after: str - before: str - first: int - last: int + lastAddedAt - The date and time at which this list was created or last had items added to it - _args: FollowingConnectionArgs + name - The name of this list + slug - The slug of this list + updatedAt - Identifies the date and time when the object was last updated. -class HQJHU_Gist_Field(Gist): - """ - HQJHU_Gist_Field - Find gist by repo name. + user - The user to which this list belongs - """ - class GistArgs(GQLArgsSet, GQLObject): - """ - name - The gist name to find. + """ - """ - name: NonNull_str + created_at: DateTime + description: Optional[str] = None + id: ID + is_private: bool + items: UserListItemsConnection + last_added_at: DateTime + name: str + slug: str + updated_at: DateTime + user: User - _args: GistArgs +@dataclass(kw_only=True) +class UserListEdge: + """ + UserListEdge - An edge in a connection. + cursor - A cursor for use in pagination. -class COCSS_GistCommentConnection_Field(GistCommentConnection): - """ - COCSS_GistCommentConnection_Field - A list of gist comments made by this user. + node - The item at the end of the edge. - """ - class GistCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + cursor: str + node: Optional[UserList] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class UserListConnection: + """ + UserListConnection - The connection type for UserList. - """ - after: str - before: str - first: int - last: int + edges - A list of edges. - _args: GistCommentConnectionArgs + nodes - A list of nodes. + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. -class ZHNCK_GistConnection_Field(GistConnection): - """ - ZHNCK_GistConnection_Field - A list of the Gists the user has created. + """ - """ - class GistConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - Filters Gists according to privacy. + edges: Optional[list[UserListEdge]] = None + nodes: Optional[list[UserList]] = None + page_info: PageInfo + total_count: int - orderBy - Ordering options for gists returned from the connection - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class PublicKeyEdge: + """ + PublicKeyEdge - An edge in a connection. - before - Returns the elements in the list that come before the specified cursor. + cursor - A cursor for use in pagination. - first - Returns the first _n_ elements from the list. + node - The item at the end of the edge. - last - Returns the last _n_ elements from the list. + """ - """ - privacy: GistPrivacy - orderBy: GistOrder - after: str - before: str - first: int - last: int + cursor: str + node: Optional[PublicKey] = None - _args: GistConnectionArgs +@dataclass(kw_only=True) +class PublicKeyConnection: + """ + PublicKeyConnection - The connection type for PublicKey. + edges - A list of edges. -class GIRHJ_Hovercard_Field(Hovercard): - """ - GIRHJ_Hovercard_Field - The hovercard information for this user in a given context + nodes - A list of nodes. - """ - class HovercardArgs(GQLArgsSet, GQLObject): - """ - primarySubjectId - The ID of the subject to get the hovercard in the context of + pageInfo - Information to aid in pagination. - """ - primarySubjectId: ID + totalCount - Identifies the total count of items in the connection. - _args: HovercardArgs + """ + edges: Optional[list[PublicKeyEdge]] = None + nodes: Optional[list[PublicKey]] = None + page_info: PageInfo + total_count: int -class ESEOB_IssueCommentConnection_Field(IssueCommentConnection): - """ - ESEOB_IssueCommentConnection_Field - A list of issue comments made by this user. +@dataclass(kw_only=True) +class SavedReply: + """ + SavedReply - A Saved Reply is text a user can use to reply quickly. - """ - class IssueCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issue comments returned from the connection. + body - The body of the saved reply. - after - Returns the elements in the list that come after the specified cursor. + bodyHTML - The saved reply body rendered to HTML. - before - Returns the elements in the list that come before the specified cursor. + databaseId - Identifies the primary key from the database. - first - Returns the first _n_ elements from the list. + id - The Node ID of the SavedReply object - last - Returns the last _n_ elements from the list. + title - The title of the saved reply. - """ - orderBy: IssueCommentOrder - after: str - before: str - first: int - last: int + user - The user that saved this reply. - _args: IssueCommentConnectionArgs + """ + body: str + body_h_t_m_l: HTML + database_id: Optional[int] = None + id: ID + title: str + user: Optional[Actor] = None -class GNUDX_IssueConnection_Field(IssueConnection): - """ - GNUDX_IssueConnection_Field - A list of issues associated with this user. +@dataclass(kw_only=True) +class SavedReplyEdge: + """ + SavedReplyEdge - An edge in a connection. - """ - class IssueConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for issues returned from the connection. + cursor - A cursor for use in pagination. - labels - A list of label names to filter the pull requests by. + node - The item at the end of the edge. - states - A list of states to filter the issues by. + """ - filterBy - Filtering options for issues returned from the connection. + cursor: str + node: Optional[SavedReply] = None - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class SavedReplyConnection: + """ + SavedReplyConnection - The connection type for SavedReply. - first - Returns the first _n_ elements from the list. + edges - A list of edges. - last - Returns the last _n_ elements from the list. + nodes - A list of nodes. - """ - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int + pageInfo - Information to aid in pagination. - _args: IssueConnectionArgs + totalCount - Identifies the total count of items in the connection. + """ + edges: Optional[list[SavedReplyEdge]] = None + nodes: Optional[list[SavedReply]] = None + page_info: PageInfo + total_count: int -class PSRLW_Organization_Field(Generic[Organization]): - """ - PSRLW_Organization_Field - Find an organization by its login that the user belongs to. - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - """ - login - The login of the organization to find. +@dataclass(kw_only=True) +class SocialAccountEdge: + """ + SocialAccountEdge - An edge in a connection. - """ - login: NonNull_str + cursor - A cursor for use in pagination. - _args: OrganizationArgs + node - The item at the end of the edge. + """ + cursor: str + node: Optional[SocialAccount] = None -class MVYDI_OrganizationConnection_Field(OrganizationConnection): - """ - MVYDI_OrganizationConnection_Field - A list of organizations the user belongs to. - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for the User's organizations. +@dataclass(kw_only=True) +class SocialAccountConnection: + """ + SocialAccountConnection - The connection type for SocialAccount. - after - Returns the elements in the list that come after the specified cursor. + edges - A list of edges. - before - Returns the elements in the list that come before the specified cursor. + nodes - A list of nodes. - first - Returns the first _n_ elements from the list. + pageInfo - Information to aid in pagination. - last - Returns the last _n_ elements from the list. + totalCount - Identifies the total count of items in the connection. - """ - orderBy: OrganizationOrder - after: str - before: str - first: int - last: int + """ - _args: OrganizationConnectionArgs + edges: Optional[list[SocialAccountEdge]] = None + nodes: Optional[list[SocialAccount]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class StarredRepositoryEdge: + """ + StarredRepositoryEdge - Represents a starred repository. -class VAOLO_PackageConnection_Field(PackageConnection): - """ - VAOLO_PackageConnection_Field - A list of packages under the owner. + cursor - A cursor for use in pagination. - """ - class PackageConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + starredAt - Identifies when the item was starred. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + cursor: str + node: Repository + starred_at: DateTime - last - Returns the last _n_ elements from the list. - names - Find packages by their names. +@dataclass(kw_only=True) +class StarredRepositoryConnection: + """ + StarredRepositoryConnection - The connection type for Repository. - repositoryId - Find packages in a repository by ID. + edges - A list of edges. - packageType - Filter registry package by type. + isOverLimit - Is the list of stars for this user truncated? This is true for users that have many stars. - orderBy - Ordering of the returned packages. + nodes - A list of nodes. - """ - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder + pageInfo - Information to aid in pagination. - _args: PackageConnectionArgs + totalCount - Identifies the total count of items in the connection. + """ + edges: Optional[list[StarredRepositoryEdge]] = None + is_over_limit: bool + nodes: Optional[list[Repository]] = None + page_info: PageInfo + total_count: int -class NonNull_PinnableItemType(GQLObject): pass -class FPXWC_PinnableItemConnection_Field(PinnableItemConnection): - """ - FPXWC_PinnableItemConnection_Field - A list of repositories and gists this profile owner can pin to their profile. +@dataclass(kw_only=True) +class LinkedBranch: + """ + LinkedBranch - A branch linked to an issue. - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - types - Filter the types of pinnable items that are returned. + id - The Node ID of the LinkedBranch object - after - Returns the elements in the list that come after the specified cursor. + ref - The branch's ref. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + id: ID + ref: Optional[Ref] = None - last - Returns the last _n_ elements from the list. - """ - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class LinkedBranchEdge: + """ + LinkedBranchEdge - An edge in a connection. - _args: PinnableItemConnectionArgs + cursor - A cursor for use in pagination. + node - The item at the end of the edge. + """ -class DYOTS_PinnableItemConnection_Field(PinnableItemConnection): - """ - DYOTS_PinnableItemConnection_Field - A list of repositories and gists this profile owner has pinned to their profile + cursor: str + node: Optional[LinkedBranch] = None - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - types - Filter the types of pinned items that are returned. - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class LinkedBranchConnection: + """ + LinkedBranchConnection - A list of branches linked to an issue. - before - Returns the elements in the list that come before the specified cursor. + edges - A list of edges. - first - Returns the first _n_ elements from the list. + nodes - A list of nodes. - last - Returns the last _n_ elements from the list. + pageInfo - Information to aid in pagination. - """ - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int + totalCount - Identifies the total count of items in the connection. - _args: PinnableItemConnectionArgs + """ + edges: Optional[list[LinkedBranchEdge]] = None + nodes: Optional[list[LinkedBranch]] = None + page_info: PageInfo + total_count: int -class VIPGH_Project_Field(Project): - """ - VIPGH_Project_Field - Find project by number. +@dataclass(kw_only=True) +class IssueTimelineItemEdge: + """ + IssueTimelineItemEdge - An edge in a connection. - """ - class ProjectArgs(GQLArgsSet, GQLObject): - """ - number - The project number to find. + cursor - A cursor for use in pagination. - """ - number: NonNull_int + node - The item at the end of the edge. - _args: ProjectArgs + """ + cursor: str + node: Optional[IssueTimelineItem] = None -class CSSUT_ProjectV2_Field(ProjectV2): - """ - CSSUT_ProjectV2_Field - Find a project by number. +@dataclass(kw_only=True) +class IssueTimelineConnection: + """ + IssueTimelineConnection - The connection type for IssueTimelineItem. - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The project number. + edges - A list of edges. - """ - number: NonNull_int + nodes - A list of nodes. - _args: ProjectV2Args + pageInfo - Information to aid in pagination. + totalCount - Identifies the total count of items in the connection. + """ -class XRFNN_ProjectConnection_Field(ProjectConnection): - """ - XRFNN_ProjectConnection_Field - A list of projects under the owner. + edges: Optional[list[IssueTimelineItemEdge]] = None + nodes: Optional[list[IssueTimelineItem]] = None + page_info: PageInfo + total_count: int - """ - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for projects returned from the connection - search - Query to search projects by, currently only searching by name. +@dataclass(kw_only=True) +class IssueTimelineItemsEdge: + """ + IssueTimelineItemsEdge - An edge in a connection. - states - A list of states to filter the projects by. + cursor - A cursor for use in pagination. - after - Returns the elements in the list that come after the specified cursor. + node - The item at the end of the edge. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + cursor: str + node: Optional[IssueTimelineItems] = None - last - Returns the last _n_ elements from the list. - """ - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class IssueTimelineItemsConnection: + """ + IssueTimelineItemsConnection - The connection type for IssueTimelineItems. - _args: ProjectConnectionArgs + edges - A list of edges. + filteredCount - Identifies the count of items after applying `before` and `after` filters. + nodes - A list of nodes. -class KRKGW_ProjectV2Connection_Field(ProjectV2Connection): - """ - KRKGW_ProjectV2Connection_Field - A list of projects under the owner. + pageCount - Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - query - A project to search for under the the owner. + pageInfo - Information to aid in pagination. - orderBy - How to order the returned projects. + totalCount - Identifies the total count of items in the connection. - after - Returns the elements in the list that come after the specified cursor. + updatedAt - Identifies the date and time when the timeline was last updated. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + edges: Optional[list[IssueTimelineItemsEdge]] = None + filtered_count: int + nodes: Optional[list[IssueTimelineItems]] = None + page_count: int + page_info: PageInfo + total_count: int + updated_at: DateTime - last - Returns the last _n_ elements from the list. - """ - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class AddCommentPayload: + """ + AddCommentPayload - Autogenerated return type of AddComment - _args: ProjectV2ConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + commentEdge - The edge from the subject's comment connection. + subject - The subject -class SKHPA_PublicKeyConnection_Field(PublicKeyConnection): - """ - SKHPA_PublicKeyConnection_Field - A list of public keys associated with this user. + timelineEdge - The edge from the subject's timeline connection. - """ - class PublicKeyConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + client_mutation_id: Optional[str] = None + comment_edge: Optional[IssueCommentEdge] = None + subject: Optional[Node] = None + timeline_edge: Optional[IssueTimelineItemEdge] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class AddProjectCardPayload: + """ + AddProjectCardPayload - Autogenerated return type of AddProjectCard - """ - after: str - before: str - first: int - last: int + cardEdge - The edge from the ProjectColumn's card connection. - _args: PublicKeyConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + projectColumn - The ProjectColumn + """ -class FJKOM_PullRequestConnection_Field(PullRequestConnection): - """ - FJKOM_PullRequestConnection_Field - A list of pull requests associated with this user. + card_edge: Optional[ProjectCardEdge] = None + client_mutation_id: Optional[str] = None + project_column: Optional[ProjectColumn] = None - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - states - A list of states to filter the pull requests by. - labels - A list of label names to filter the pull requests by. +@dataclass(kw_only=True) +class AddProjectColumnPayload: + """ + AddProjectColumnPayload - Autogenerated return type of AddProjectColumn - headRefName - The head ref name to filter the pull requests by. + clientMutationId - A unique identifier for the client performing the mutation. - baseRefName - The base ref name to filter the pull requests by. + columnEdge - The edge from the project's column connection. - orderBy - Ordering options for pull requests returned from the connection. + project - The project - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + client_mutation_id: Optional[str] = None + column_edge: Optional[ProjectColumnEdge] = None + project: Optional[Project] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class AddPullRequestReviewCommentPayload: + """ + AddPullRequestReviewCommentPayload - Autogenerated return type of AddPullRequestReviewComment - """ - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int + clientMutationId - A unique identifier for the client performing the mutation. - _args: PullRequestConnectionArgs + comment - The newly created comment. + commentEdge - The edge from the review's comment connection. + """ -class BUNJU_ProjectV2Connection_Field(ProjectV2Connection): - """ - BUNJU_ProjectV2Connection_Field - Recent projects that this user has modified in the context of the owner. + client_mutation_id: Optional[str] = None + comment: Optional[PullRequestReviewComment] = None + comment_edge: Optional[PullRequestReviewCommentEdge] = None - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class AddPullRequestReviewInput: + """ + AddPullRequestReviewInput - Autogenerated input type of AddPullRequestReview - first - Returns the first _n_ elements from the list. + body - The contents of the review body comment. - last - Returns the last _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - """ - after: str - before: str - first: int - last: int + comments - The review line comments. - _args: ProjectV2ConnectionArgs + **Upcoming Change on 2023-10-01 UTC** + **Description:** `comments` will be removed. use the `threads` argument instead + **Reason:** We are deprecating comment fields that use diff-relative positioning + commitOID - The commit OID the review pertains to. + event - The event to perform on the pull request review. -class AXNKT_RepositoryConnection_Field(RepositoryConnection): - """ - AXNKT_RepositoryConnection_Field - A list of repositories that the user owns. + pullRequestId - The Node ID of the pull request to modify. - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy + threads - The review line comment threads. - orderBy - Ordering options for repositories returned from the connection + """ - affiliations - Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + comments: Optional[list[DraftPullRequestReviewComment]] = None + commit_o_i_d: Optional[GitObjectID] = None + event: Optional[PullRequestReviewEvent] = None + pull_request_id: ID + threads: Optional[list[DraftPullRequestReviewThread]] = None - ownerAffiliations - Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns. - isLocked - If non-null, filters repositories according to whether they have been locked +@dataclass(kw_only=True) +class AddPullRequestReviewPayload: + """ + AddPullRequestReviewPayload - Autogenerated return type of AddPullRequestReview - hasIssuesEnabled - If non-null, filters repositories according to whether they have issues enabled + clientMutationId - A unique identifier for the client performing the mutation. - after - Returns the elements in the list that come after the specified cursor. + pullRequestReview - The newly created pull request review. - before - Returns the elements in the list that come before the specified cursor. + reviewEdge - The edge from the pull request's review connection. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None + review_edge: Optional[PullRequestReviewEdge] = None - isArchived - If non-null, filters repositories according to whether they are archived and not maintained - isFork - If non-null, filters repositories according to whether they are forks of another repository +@dataclass(kw_only=True) +class AddReactionPayload: + """ + AddReactionPayload - Autogenerated return type of AddReaction - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - isArchived: bool - isFork: bool + clientMutationId - A unique identifier for the client performing the mutation. - _args: RepositoryConnectionArgs + reaction - The reaction object. + reactionGroups - The reaction groups for the subject. + subject - The reactable subject. -class ICCFA_RepositoryConnection_Field(RepositoryConnection): - """ - ICCFA_RepositoryConnection_Field - A list of repositories that the user recently contributed to. + """ - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy + client_mutation_id: Optional[str] = None + reaction: Optional[Reaction] = None + reaction_groups: Optional[list[ReactionGroup]] = None + subject: Optional[Reactable] = None - orderBy - Ordering options for repositories returned from the connection - isLocked - If non-null, filters repositories according to whether they have been locked +@dataclass(kw_only=True) +class AuditEntry: + """ + AuditEntry - An entry in the audit log. - hasIssues - If non-null, filters repositories according to whether they have issues enabled + action - The action name - includeUserRepositories - If true, include user repositories + actor - The user who initiated the action - contributionTypes - If non-null, include only the specified types of contributions. The GitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY] + actorIp - The IP address of the actor - after - Returns the elements in the list that come after the specified cursor. + actorLocation - A readable representation of the actor's location - before - Returns the elements in the list that come before the specified cursor. + actorLogin - The username of the user who initiated the action - first - Returns the first _n_ elements from the list. + actorResourcePath - The HTTP path for the actor. - last - Returns the last _n_ elements from the list. + actorUrl - The HTTP URL for the actor. - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - isLocked: bool - hasIssues: bool - includeUserRepositories: bool - contributionTypes: list[RepositoryContributionType] - after: str - before: str - first: int - last: int + createdAt - The time the action was initiated - _args: RepositoryConnectionArgs + operationType - The corresponding operation type for the action + user - The user affected by the action + userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. -class OFATX_Repository_Field(Repository): - """ - OFATX_Repository_Field - Find Repository. + userResourcePath - The HTTP path for the user. - """ - class RepositoryArgs(GQLArgsSet, GQLObject): - """ - name - Name of Repository to find. + userUrl - The HTTP URL for the user. - followRenames - Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ - """ - name: NonNull_str - followRenames: bool + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + operation_type: Optional[OperationType] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None - _args: RepositoryArgs +@dataclass(kw_only=True) +class CheckAnnotationData: + """ + CheckAnnotationData - Information from a check run analysis to specific lines of code. + annotationLevel - Represents an annotation's information level -class AJLVU_DiscussionCommentConnection_Field(DiscussionCommentConnection): - """ - AJLVU_DiscussionCommentConnection_Field - Discussion comments this user has authored. + location - The location of the annotation - """ - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + message - A short description of the feedback for these lines of code. - before - Returns the elements in the list that come before the specified cursor. + path - The path of the file to add an annotation to. - first - Returns the first _n_ elements from the list. + rawDetails - Details about this annotation. - last - Returns the last _n_ elements from the list. + title - The title that represents the annotation. - repositoryId - Filter discussion comments to only those in a specific repository. + """ - onlyAnswers - Filter discussion comments to only those that were marked as the answer + annotation_level: CheckAnnotationLevel + location: CheckAnnotationRange + message: str + path: str + raw_details: Optional[str] = None + title: Optional[str] = None - """ - after: str - before: str - first: int - last: int - repositoryId: ID - onlyAnswers: bool - _args: DiscussionCommentConnectionArgs +@dataclass(kw_only=True) +class CheckRunOutput: + """ + CheckRunOutput - Descriptive details about the check run. + annotations - The annotations that are made as part of the check run. + images - Images attached to the check run output displayed in the GitHub pull request UI. -class ZYWFA_DiscussionConnection_Field(DiscussionConnection): - """ - ZYWFA_DiscussionConnection_Field - Discussions this user has started. + summary - The summary of the check run (supports Commonmark). - """ - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + text - The details of the check run (supports Commonmark). - before - Returns the elements in the list that come before the specified cursor. + title - A title to provide for this check run. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + annotations: Optional[list[CheckAnnotationData]] = None + images: Optional[list[CheckRunOutputImage]] = None + summary: str + text: Optional[str] = None + title: str - orderBy - Ordering options for discussions returned from the connection. - repositoryId - Filter discussions to only those in a specific repository. +@dataclass(kw_only=True) +class Comment: + """ + Comment - Represents a comment. - answered - Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions. + author - The actor who authored the comment. - states - A list of states to filter the discussions by. + authorAssociation - Author's association with the subject of the comment. - """ - after: str - before: str - first: int - last: int - orderBy: DiscussionOrder - repositoryId: ID - answered: bool - states: list[NonNull_DiscussionState] + body - The body as Markdown. - _args: DiscussionConnectionArgs + bodyHTML - The body rendered to HTML. + bodyText - The body rendered to text. + createdAt - Identifies the date and time when the object was created. -class NYRWM_SavedReplyConnection_Field(SavedReplyConnection): - """ - NYRWM_SavedReplyConnection_Field - Replies this user has saved + createdViaEmail - Check if this comment was created via an email reply. - """ - class SavedReplyConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + editor - The actor who edited the comment. - before - Returns the elements in the list that come before the specified cursor. + id - The Node ID of the Comment object - first - Returns the first _n_ elements from the list. + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data - last - Returns the last _n_ elements from the list. + lastEditedAt - The moment the editor made the last edit - orderBy - The field to order saved replies by. + publishedAt - Identifies when the comment was published at. - """ - after: str - before: str - first: int - last: int - orderBy: SavedReplyOrder + updatedAt - Identifies the date and time when the object was last updated. - _args: SavedReplyConnectionArgs + userContentEdits - A list of edits to this content. + viewerDidAuthor - Did the viewer author this comment. + """ -class VTBRX_SocialAccountConnection_Field(SocialAccountConnection): - """ - VTBRX_SocialAccountConnection_Field - The user's social media accounts, ordered as they appear on the user's profile. + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + last_edited_at: Optional[DateTime] = None + published_at: Optional[DateTime] = None + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_did_author: bool - """ - class SocialAccountConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class CreateAttributionInvitationPayload: + """ + CreateAttributionInvitationPayload - Autogenerated return type of CreateAttributionInvitation - first - Returns the first _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - last - Returns the last _n_ elements from the list. + owner - The owner scoping the reattributable data. - """ - after: str - before: str - first: int - last: int + source - The account owning the data to reattribute. - _args: SocialAccountConnectionArgs + target - The account which may claim the data. + """ + client_mutation_id: Optional[str] = None + owner: Optional[Organization] = None + source: Optional[Claimable] = None + target: Optional[Claimable] = None -class PVUTG_SponsorConnection_Field(SponsorConnection): - """ - PVUTG_SponsorConnection_Field - List of users and organizations this entity is sponsoring. - """ - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class CreateCheckRunInput: + """ + CreateCheckRunInput - Autogenerated input type of CreateCheckRun - before - Returns the elements in the list that come before the specified cursor. + actions - Possible further actions the integrator can perform, which a user may trigger. - first - Returns the first _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - last - Returns the last _n_ elements from the list. + completedAt - The time that the check run finished. - orderBy - Ordering options for the users and organizations returned from the connection. + conclusion - The final conclusion of the check. - """ - after: str - before: str - first: int - last: int - orderBy: SponsorOrder + detailsUrl - The URL of the integrator's site that has the full details of the check. - _args: SponsorConnectionArgs + externalId - A reference for the run on the integrator's system. + headSha - The SHA of the head commit. + name - The name of the check. -class PMZOS_SponsorConnection_Field(SponsorConnection): - """ - PMZOS_SponsorConnection_Field - List of sponsors for this user or organization. + output - Descriptive details about the run. - """ - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + repositoryId - The node ID of the repository. - before - Returns the elements in the list that come before the specified cursor. + startedAt - The time that the check run began. - first - Returns the first _n_ elements from the list. + status - The current status. - last - Returns the last _n_ elements from the list. + """ - tierId - If given, will filter for sponsors at the given tier. Will only return sponsors whose tier the viewer is permitted to see. + actions: Optional[list[CheckRunAction]] = None + client_mutation_id: Optional[str] = None + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + details_url: Optional[URI] = None + external_id: Optional[str] = None + head_sha: GitObjectID + name: str + output: Optional[CheckRunOutput] = None + repository_id: ID + started_at: Optional[DateTime] = None + status: Optional[RequestableCheckStatusState] = None - orderBy - Ordering options for sponsors returned from the connection. - """ - after: str - before: str - first: int - last: int - tierId: ID - orderBy: SponsorOrder +@dataclass(kw_only=True) +class FileChanges: + """ + FileChanges - A description of a set of changes to a file tree to be made as part of + a git commit, modeled as zero or more file `additions` and zero or more + file `deletions`. - _args: SponsorConnectionArgs + Both fields are optional; omitting both will produce a commit with no + file changes. + `deletions` and `additions` describe changes to files identified + by their path in the git tree using unix-style path separators, i.e. + `/`. The root of a git tree is an empty string, so paths are not + slash-prefixed. + `path` values must be unique across all `additions` and `deletions` + provided. Any duplication will result in a validation error. -class BBSAN_SponsorsActivityConnection_Field(SponsorsActivityConnection): - """ - BBSAN_SponsorsActivityConnection_Field - Events involving this sponsorable, such as new sponsorships. + ### Encoding - """ - class SponsorsActivityConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + File contents must be provided in full for each `FileAddition`. - before - Returns the elements in the list that come before the specified cursor. + The `contents` of a `FileAddition` must be encoded using RFC 4648 + compliant base64, i.e. correct padding is required and no characters + outside the standard alphabet may be used. Invalid base64 + encoding will be rejected with a validation error. - first - Returns the first _n_ elements from the list. + The encoded contents may be binary. - last - Returns the last _n_ elements from the list. + For text files, no assumptions are made about the character encoding of + the file contents (after base64 decoding). No charset transcoding or + line-ending normalization will be performed; it is the client's + responsibility to manage the character encoding of files they provide. + However, for maximum compatibility we recommend using UTF-8 encoding + and ensuring that all files in a repository use a consistent + line-ending convention (`\n` or `\r\n`), and that all files end + with a newline. - period - Filter activities returned to only those that occurred in the most recent specified time period. Set to ALL to avoid filtering by when the activity occurred. Will be ignored if `since` or `until` is given. + ### Modeling file changes - since - Filter activities to those that occurred on or after this time. + Each of the the five types of conceptual changes that can be made in a + git commit can be described using the `FileChanges` type as follows: - until - Filter activities to those that occurred before this time. + 1. New file addition: create file `hello world\n` at path `docs/README.txt`: - orderBy - Ordering options for activity returned from the connection. - - actions - Filter activities to only the specified actions. - - includeAsSponsor - Whether to include those events where this sponsorable acted as the sponsor. Defaults to only including events where this sponsorable was the recipient of a sponsorship. - - includePrivate - Whether or not to include private activities in the result set. Defaults to including public and private activities. - - """ - after: str - before: str - first: int - last: int - period: SponsorsActivityPeriod - since: DateTime - until: DateTime - orderBy: SponsorsActivityOrder - actions: list[NonNull_SponsorsActivityAction] - includeAsSponsor: bool - includePrivate: bool - - _args: SponsorsActivityConnectionArgs - - - -class LXLTC_Sponsorship_Field(Sponsorship): - """ - LXLTC_Sponsorship_Field - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. - - """ - class SponsorshipArgs(GQLArgsSet, GQLObject): - """ - activeOnly - Whether to return the sponsorship only if it's still active. Pass false to get the viewer's sponsorship back even if it has been cancelled. - - """ - activeOnly: bool - - _args: SponsorshipArgs - - - -class ZQKYF_Sponsorship_Field(Sponsorship): - """ - ZQKYF_Sponsorship_Field - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. - - """ - class SponsorshipArgs(GQLArgsSet, GQLObject): - """ - activeOnly - Whether to return the sponsorship only if it's still active. Pass false to get the sponsorship back even if it has been cancelled. - - """ - activeOnly: bool - - _args: SponsorshipArgs - - - -class BTHEK_SponsorshipNewsletterConnection_Field(SponsorshipNewsletterConnection): - """ - BTHEK_SponsorshipNewsletterConnection_Field - List of sponsorship updates sent from this sponsorable to sponsors. - - """ - class SponsorshipNewsletterConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for sponsorship updates returned from the connection. - - """ - after: str - before: str - first: int - last: int - orderBy: SponsorshipNewsletterOrder - - _args: SponsorshipNewsletterConnectionArgs - - - -class MVUVB_SponsorshipConnection_Field(SponsorshipConnection): - """ - MVUVB_SponsorshipConnection_Field - The sponsorships where this user or organization is the maintainer receiving the funds. - - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - includePrivate - Whether or not to include private sponsorships in the result set - - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. - - activeOnly - Whether to include only sponsorships that are active right now, versus all sponsorships this maintainer has ever received. - - """ - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class LCKAA_SponsorshipConnection_Field(SponsorshipConnection): - """ - LCKAA_SponsorshipConnection_Field - The sponsorships where this user or organization is the funder. - - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. - - maintainerLogins - Filter sponsorships returned to those for the specified maintainers. That is, the recipient of the sponsorship is a user or organization with one of the given logins. - - activeOnly - Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. - - """ - after: str - before: str - first: int - last: int - orderBy: SponsorshipOrder - maintainerLogins: list[NonNull_str] - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class QQNBS_StarredRepositoryConnection_Field(StarredRepositoryConnection): - """ - QQNBS_StarredRepositoryConnection_Field - Repositories the user has starred. - - """ - class StarredRepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - ownedByViewer - Filters starred repositories to only return repositories owned by the viewer. - - orderBy - Order for connection - - """ - after: str - before: str - first: int - last: int - ownedByViewer: bool - orderBy: StarOrder - - _args: StarredRepositoryConnectionArgs - - - -class NonNull_RepositoryOrder(RepositoryOrder): pass - -class SILPW_RepositoryConnection_Field(RepositoryConnection): - """ - SILPW_RepositoryConnection_Field - Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created - - - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for repositories returned from the connection - - since - How far back in time to fetch contributed repositories - - """ - after: str - before: str - first: int - last: int - orderBy: NonNull_RepositoryOrder - since: DateTime - - _args: RepositoryConnectionArgs - - - -class QRVOX_RepositoryConnection_Field(RepositoryConnection): - """ - QRVOX_RepositoryConnection_Field - A list of repositories the given user is watching. - - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy - - orderBy - Ordering options for repositories returned from the connection - - affiliations - Affiliation options for repositories returned from the connection. If none specified, the results will include repositories for which the current viewer is an owner or collaborator, or member. - - ownerAffiliations - Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns. - - isLocked - If non-null, filters repositories according to whether they have been locked - - hasIssuesEnabled - If non-null, filters repositories according to whether they have issues enabled - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - - _args: RepositoryConnectionArgs - - - -class User(GQLObject): - """ - User - A user is an individual's account on GitHub that owns repositories and can make new content. - - anyPinnableItems - Determine if this repository owner has any items that can be pinned to their profile. - - avatarUrl - A URL pointing to the user's public avatar. - - bio - The user's public profile bio. - - bioHTML - The user's public profile bio as HTML. - - canReceiveOrganizationEmailsWhenNotificationsRestricted - Could this user receive email notifications, if the organization had notification restrictions enabled? - - commitComments - A list of commit comments made by this user. - - company - The user's public profile company. - - companyHTML - The user's public profile company as HTML. - - contributionsCollection - The collection of contributions this user has made to different repositories. - - createdAt - Identifies the date and time when the object was created. - - databaseId - Identifies the primary key from the database. - - email - The user's publicly visible profile email. - - estimatedNextSponsorsPayoutInCents - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). - - followers - A list of users the given user is followed by. - - following - A list of users the given user is following. - - gist - Find gist by repo name. - - gistComments - A list of gist comments made by this user. - - gists - A list of the Gists the user has created. - - hasSponsorsListing - True if this user/organization has a GitHub Sponsors listing. - - hovercard - The hovercard information for this user in a given context - - interactionAbility - The interaction ability settings for this user. - - isBountyHunter - Whether or not this user is a participant in the GitHub Security Bug Bounty. - - isCampusExpert - Whether or not this user is a participant in the GitHub Campus Experts Program. - - isDeveloperProgramMember - Whether or not this user is a GitHub Developer Program member. - - isEmployee - Whether or not this user is a GitHub employee. - - isFollowingViewer - Whether or not this user is following the viewer. Inverse of viewerIsFollowing - - isGitHubStar - Whether or not this user is a member of the GitHub Stars Program. - - isHireable - Whether or not the user has marked themselves as for hire. - - isSiteAdmin - Whether or not this user is a site administrator. - - isSponsoredBy - Whether the given account is sponsoring this user/organization. - - isSponsoringViewer - True if the viewer is sponsored by this user/organization. - - isViewer - Whether or not this user is the viewing user. - - issueComments - A list of issue comments made by this user. - - issues - A list of issues associated with this user. - - itemShowcase - Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. - - location - The user's public profile location. - - login - The username used to login. - - monthlyEstimatedSponsorsIncomeInCents - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). - - name - The user's public profile name. - - organization - Find an organization by its login that the user belongs to. - - organizationVerifiedDomainEmails - Verified email addresses that match verified domains for a specified organization the user is a member of. - - organizations - A list of organizations the user belongs to. - - packages - A list of packages under the owner. - - pinnableItems - A list of repositories and gists this profile owner can pin to their profile. - - pinnedItems - A list of repositories and gists this profile owner has pinned to their profile - - pinnedItemsRemaining - Returns how many more items this profile owner can pin to their profile. - - project - Find project by number. - - projectV2 - Find a project by number. - - projects - A list of projects under the owner. - - projectsResourcePath - The HTTP path listing user's projects - - projectsUrl - The HTTP URL listing user's projects - - projectsV2 - A list of projects under the owner. - - pronouns - The user's profile pronouns - - publicKeys - A list of public keys associated with this user. - - pullRequests - A list of pull requests associated with this user. - - recentProjects - Recent projects that this user has modified in the context of the owner. - - repositories - A list of repositories that the user owns. - - repositoriesContributedTo - A list of repositories that the user recently contributed to. - - repository - Find Repository. - - repositoryDiscussionComments - Discussion comments this user has authored. - - repositoryDiscussions - Discussions this user has started. - - resourcePath - The HTTP path for this user - - savedReplies - Replies this user has saved - - socialAccounts - The user's social media accounts, ordered as they appear on the user's profile. - - sponsoring - List of users and organizations this entity is sponsoring. - - sponsors - List of sponsors for this user or organization. - - sponsorsActivities - Events involving this sponsorable, such as new sponsorships. - - sponsorsListing - The GitHub Sponsors listing for this user or organization. - - sponsorshipForViewerAsSponsor - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. - - sponsorshipForViewerAsSponsorable - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. - - sponsorshipNewsletters - List of sponsorship updates sent from this sponsorable to sponsors. - - sponsorshipsAsMaintainer - The sponsorships where this user or organization is the maintainer receiving the funds. - - sponsorshipsAsSponsor - The sponsorships where this user or organization is the funder. - - starredRepositories - Repositories the user has starred. - - status - The user's description of what they're currently doing. - - topRepositories - Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created - - - totalSponsorshipAmountAsSponsorInCents - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. - - twitterUsername - The user's Twitter username. - - updatedAt - Identifies the date and time when the object was last updated. - - url - The HTTP URL for this user - - viewerCanChangePinnedItems - Can the viewer pin repositories and gists to the profile? - - viewerCanCreateProjects - Can the current viewer create new projects on this owner. - - viewerCanFollow - Whether or not the viewer is able to follow the user. - - viewerCanSponsor - Whether or not the viewer is able to sponsor this user/organization. - - viewerIsFollowing - Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. - - viewerIsSponsoring - True if the viewer is sponsoring this user/organization. - - watching - A list of repositories the given user is watching. - - websiteUrl - A URL pointing to the user's public website/blog. - - """ - anyPinnableItems: ALXTR_anyPinnableItems_Field - avatarUrl: FJZJD_URI_Field - bio: str - bioHTML: HTML - canReceiveOrganizationEmailsWhenNotificationsRestricted: CJXXJ_canReceiveOrganizationEmailsWhenNotificationsRestricted_Field - commitComments: JWDUN_CommitCommentConnection_Field - company: str - companyHTML: HTML - contributionsCollection: QJDSH_ContributionsCollection_Field - createdAt: DateTime - databaseId: int - email: str - estimatedNextSponsorsPayoutInCents: int - followers: GPSCL_FollowerConnection_Field - following: THUZN_FollowingConnection_Field - gist: HQJHU_Gist_Field - gistComments: COCSS_GistCommentConnection_Field - gists: ZHNCK_GistConnection_Field - hasSponsorsListing: bool - hovercard: GIRHJ_Hovercard_Field - id: ID - interactionAbility: RepositoryInteractionAbility - isBountyHunter: bool - isCampusExpert: bool - isDeveloperProgramMember: bool - isEmployee: bool - isFollowingViewer: bool - isGitHubStar: bool - isHireable: bool - isSiteAdmin: bool - isSponsoredBy: PAZDL_isSponsoredBy_Field - isSponsoringViewer: bool - isViewer: bool - issueComments: ESEOB_IssueCommentConnection_Field - issues: GNUDX_IssueConnection_Field - itemShowcase: ProfileItemShowcase - location: str - login: str - monthlyEstimatedSponsorsIncomeInCents: int - name: str - organization: PSRLW_Organization_Field ## Circular Reference for Organization - organizationVerifiedDomainEmails: FXIBK_organizationVerifiedDomainEmails_Field - organizations: MVYDI_OrganizationConnection_Field - packages: VAOLO_PackageConnection_Field - pinnableItems: FPXWC_PinnableItemConnection_Field - pinnedItems: DYOTS_PinnableItemConnection_Field - pinnedItemsRemaining: int - project: VIPGH_Project_Field - projectV2: CSSUT_ProjectV2_Field - projects: XRFNN_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - projectsV2: KRKGW_ProjectV2Connection_Field - pronouns: str - publicKeys: SKHPA_PublicKeyConnection_Field - pullRequests: FJKOM_PullRequestConnection_Field - recentProjects: BUNJU_ProjectV2Connection_Field - repositories: AXNKT_RepositoryConnection_Field - repositoriesContributedTo: ICCFA_RepositoryConnection_Field - repository: OFATX_Repository_Field - repositoryDiscussionComments: AJLVU_DiscussionCommentConnection_Field - repositoryDiscussions: ZYWFA_DiscussionConnection_Field - resourcePath: URI - savedReplies: NYRWM_SavedReplyConnection_Field - socialAccounts: VTBRX_SocialAccountConnection_Field - sponsoring: PVUTG_SponsorConnection_Field - sponsors: PMZOS_SponsorConnection_Field - sponsorsActivities: BBSAN_SponsorsActivityConnection_Field - sponsorsListing: SponsorsListing - sponsorshipForViewerAsSponsor: LXLTC_Sponsorship_Field - sponsorshipForViewerAsSponsorable: ZQKYF_Sponsorship_Field - sponsorshipNewsletters: BTHEK_SponsorshipNewsletterConnection_Field - sponsorshipsAsMaintainer: MVUVB_SponsorshipConnection_Field - sponsorshipsAsSponsor: LCKAA_SponsorshipConnection_Field - starredRepositories: QQNBS_StarredRepositoryConnection_Field - status: UserStatus - topRepositories: SILPW_RepositoryConnection_Field - totalSponsorshipAmountAsSponsorInCents: USPFE_totalSponsorshipAmountAsSponsorInCents_Field - twitterUsername: str - updatedAt: DateTime - url: URI - viewerCanChangePinnedItems: bool - viewerCanCreateProjects: bool - viewerCanFollow: bool - viewerCanSponsor: bool - viewerIsFollowing: bool - viewerIsSponsoring: bool - watching: QRVOX_RepositoryConnection_Field - websiteUrl: URI - -class AuditEntryActor(GQLObject): - pass - -class MembersCanDeleteReposClearAuditEntry(GQLObject): - """ - MembersCanDeleteReposClearAuditEntry - Audit log entry for a members_can_delete_repos.clear event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class MembersCanDeleteReposDisableAuditEntry(GQLObject): - """ - MembersCanDeleteReposDisableAuditEntry - Audit log entry for a members_can_delete_repos.disable event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class MembersCanDeleteReposEnableAuditEntry(GQLObject): - """ - MembersCanDeleteReposEnableAuditEntry - Audit log entry for a members_can_delete_repos.enable event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OauthApplicationCreateAuditEntry(GQLObject): - """ - OauthApplicationCreateAuditEntry - Audit log entry for a oauth_application.create event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - applicationUrl - The application URL of the OAuth application. - - callbackUrl - The callback URL of the OAuth application. - - createdAt - The time the action was initiated - - oauthApplicationName - The name of the OAuth application. - - oauthApplicationResourcePath - The HTTP path for the OAuth application - - oauthApplicationUrl - The HTTP URL for the OAuth application - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - rateLimit - The rate limit of the OAuth application. - - state - The state of the OAuth application. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - applicationUrl: URI - callbackUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - rateLimit: int - state: OauthApplicationCreateAuditEntryState - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgAddBillingManagerAuditEntry(GQLObject): - """ - OrgAddBillingManagerAuditEntry - Audit log entry for a org.add_billing_manager - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - invitationEmail - The email address used to invite a billing manager for the organization. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - invitationEmail: str - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgAddMemberAuditEntry(GQLObject): - """ - OrgAddMemberAuditEntry - Audit log entry for a org.add_member - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - permission - The permission level of the member added to the organization. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - permission: OrgAddMemberAuditEntryPermission - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgBlockUserAuditEntry(GQLObject): - """ - OrgBlockUserAuditEntry - Audit log entry for a org.block_user - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - blockedUser - The blocked user. - - blockedUserName - The username of the blocked user. - - blockedUserResourcePath - The HTTP path for the blocked user. - - blockedUserUrl - The HTTP URL for the blocked user. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - blockedUser: User - blockedUserName: str - blockedUserResourcePath: URI - blockedUserUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgConfigDisableCollaboratorsOnlyAuditEntry(GQLObject): - """ - OrgConfigDisableCollaboratorsOnlyAuditEntry - Audit log entry for a org.config.disable_collaborators_only event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgConfigEnableCollaboratorsOnlyAuditEntry(GQLObject): - """ - OrgConfigEnableCollaboratorsOnlyAuditEntry - Audit log entry for a org.config.enable_collaborators_only event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgCreateAuditEntry(GQLObject): - """ - OrgCreateAuditEntry - Audit log entry for a org.create event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - billingPlan - The billing plan for the Organization. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - billingPlan: OrgCreateAuditEntryBillingPlan - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgDisableOauthAppRestrictionsAuditEntry(GQLObject): - """ - OrgDisableOauthAppRestrictionsAuditEntry - Audit log entry for a org.disable_oauth_app_restrictions event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgDisableSamlAuditEntry(GQLObject): - """ - OrgDisableSamlAuditEntry - Audit log entry for a org.disable_saml event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - digestMethodUrl - The SAML provider's digest algorithm URL. - - issuerUrl - The SAML provider's issuer URL. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - signatureMethodUrl - The SAML provider's signature algorithm URL. - - singleSignOnUrl - The SAML provider's single sign-on URL. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - digestMethodUrl: URI - id: ID - issuerUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - signatureMethodUrl: URI - singleSignOnUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgDisableTwoFactorRequirementAuditEntry(GQLObject): - """ - OrgDisableTwoFactorRequirementAuditEntry - Audit log entry for a org.disable_two_factor_requirement event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgEnableOauthAppRestrictionsAuditEntry(GQLObject): - """ - OrgEnableOauthAppRestrictionsAuditEntry - Audit log entry for a org.enable_oauth_app_restrictions event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgEnableSamlAuditEntry(GQLObject): - """ - OrgEnableSamlAuditEntry - Audit log entry for a org.enable_saml event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - digestMethodUrl - The SAML provider's digest algorithm URL. - - issuerUrl - The SAML provider's issuer URL. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - signatureMethodUrl - The SAML provider's signature algorithm URL. - - singleSignOnUrl - The SAML provider's single sign-on URL. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - digestMethodUrl: URI - id: ID - issuerUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - signatureMethodUrl: URI - singleSignOnUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgEnableTwoFactorRequirementAuditEntry(GQLObject): - """ - OrgEnableTwoFactorRequirementAuditEntry - Audit log entry for a org.enable_two_factor_requirement event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgInviteMemberAuditEntry(GQLObject): - """ - OrgInviteMemberAuditEntry - Audit log entry for a org.invite_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - email - The email address of the organization invitation. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationInvitation - The organization invitation. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - email: str - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationInvitation: OrganizationInvitation - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgInviteToBusinessAuditEntry(GQLObject): - """ - OrgInviteToBusinessAuditEntry - Audit log entry for a org.invite_to_business event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessApprovedAuditEntry(GQLObject): - """ - OrgOauthAppAccessApprovedAuditEntry - Audit log entry for a org.oauth_app_access_approved event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - oauthApplicationName - The name of the OAuth application. - - oauthApplicationResourcePath - The HTTP path for the OAuth application - - oauthApplicationUrl - The HTTP URL for the OAuth application - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessBlockedAuditEntry(GQLObject): - """ - OrgOauthAppAccessBlockedAuditEntry - Audit log entry for a org.oauth_app_access_blocked event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - oauthApplicationName - The name of the OAuth application. - - oauthApplicationResourcePath - The HTTP path for the OAuth application - - oauthApplicationUrl - The HTTP URL for the OAuth application - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessDeniedAuditEntry(GQLObject): - """ - OrgOauthAppAccessDeniedAuditEntry - Audit log entry for a org.oauth_app_access_denied event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - oauthApplicationName - The name of the OAuth application. - - oauthApplicationResourcePath - The HTTP path for the OAuth application - - oauthApplicationUrl - The HTTP URL for the OAuth application - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessRequestedAuditEntry(GQLObject): - """ - OrgOauthAppAccessRequestedAuditEntry - Audit log entry for a org.oauth_app_access_requested event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - oauthApplicationName - The name of the OAuth application. - - oauthApplicationResourcePath - The HTTP path for the OAuth application - - oauthApplicationUrl - The HTTP URL for the OAuth application - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessUnblockedAuditEntry(GQLObject): - """ - OrgOauthAppAccessUnblockedAuditEntry - Audit log entry for a org.oauth_app_access_unblocked event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - oauthApplicationName - The name of the OAuth application. - - oauthApplicationResourcePath - The HTTP path for the OAuth application - - oauthApplicationUrl - The HTTP URL for the OAuth application - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRemoveBillingManagerAuditEntry(GQLObject): - """ - OrgRemoveBillingManagerAuditEntry - Audit log entry for a org.remove_billing_manager event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - reason - The reason for the billing manager being removed. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - reason: OrgRemoveBillingManagerAuditEntryReason - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRemoveMemberAuditEntry(GQLObject): - """ - OrgRemoveMemberAuditEntry - Audit log entry for a org.remove_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - membershipTypes - The types of membership the member has with the organization. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - reason - The reason for the member being removed. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - membershipTypes: list[OrgRemoveMemberAuditEntryMembershipType] - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - reason: OrgRemoveMemberAuditEntryReason - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRemoveOutsideCollaboratorAuditEntry(GQLObject): - """ - OrgRemoveOutsideCollaboratorAuditEntry - Audit log entry for a org.remove_outside_collaborator event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - membershipTypes - The types of membership the outside collaborator has with the organization. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - reason - The reason for the outside collaborator being removed from the Organization. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - membershipTypes: list[OrgRemoveOutsideCollaboratorAuditEntryMembershipType] - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - reason: OrgRemoveOutsideCollaboratorAuditEntryReason - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRestoreMemberMembershipOrganizationAuditEntryData(GQLObject): - """ - OrgRestoreMemberMembershipOrganizationAuditEntryData - Metadata for an organization membership for org.restore_member actions - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - """ - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - -class OrgRestoreMemberMembershipRepositoryAuditEntryData(GQLObject): - """ - OrgRestoreMemberMembershipRepositoryAuditEntryData - Metadata for a repository membership for org.restore_member actions - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - """ - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - -class OrgRestoreMemberMembershipTeamAuditEntryData(GQLObject): - """ - OrgRestoreMemberMembershipTeamAuditEntryData - Metadata for a team membership for org.restore_member actions - - team - The team associated with the action - - teamName - The name of the team - - teamResourcePath - The HTTP path for this team - - teamUrl - The HTTP URL for this team - - """ - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - -class OrgRestoreMemberAuditEntryMembership(GQLObject): - pass - -class list_OrgRestoreMemberAuditEntryMembership(list, OrgRestoreMemberAuditEntryMembership): pass - -class OrgRestoreMemberAuditEntry(GQLObject): - """ - OrgRestoreMemberAuditEntry - Audit log entry for a org.restore_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - restoredCustomEmailRoutingsCount - The number of custom email routings for the restored member. - - restoredIssueAssignmentsCount - The number of issue assignments for the restored member. - - restoredMemberships - Restored organization membership objects. - - restoredMembershipsCount - The number of restored memberships. - - restoredRepositoriesCount - The number of repositories of the restored member. - - restoredRepositoryStarsCount - The number of starred repositories for the restored member. - - restoredRepositoryWatchesCount - The number of watched repositories for the restored member. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - restoredCustomEmailRoutingsCount: int - restoredIssueAssignmentsCount: int - restoredMemberships: list_OrgRestoreMemberAuditEntryMembership[OrgRestoreMemberAuditEntryMembership] - restoredMembershipsCount: int - restoredRepositoriesCount: int - restoredRepositoryStarsCount: int - restoredRepositoryWatchesCount: int - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUnblockUserAuditEntry(GQLObject): - """ - OrgUnblockUserAuditEntry - Audit log entry for a org.unblock_user - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - blockedUser - The user being unblocked by the organization. - - blockedUserName - The username of the blocked user. - - blockedUserResourcePath - The HTTP path for the blocked user. - - blockedUserUrl - The HTTP URL for the blocked user. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - blockedUser: User - blockedUserName: str - blockedUserResourcePath: URI - blockedUserUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUpdateDefaultRepositoryPermissionAuditEntry(GQLObject): - """ - OrgUpdateDefaultRepositoryPermissionAuditEntry - Audit log entry for a org.update_default_repository_permission - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - permission - The new base repository permission level for the organization. - - permissionWas - The former base repository permission level for the organization. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - permission: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission - permissionWas: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUpdateMemberAuditEntry(GQLObject): - """ - OrgUpdateMemberAuditEntry - Audit log entry for a org.update_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - permission - The new member permission level for the organization. - - permissionWas - The former member permission level for the organization. - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - permission: OrgUpdateMemberAuditEntryPermission - permissionWas: OrgUpdateMemberAuditEntryPermission - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUpdateMemberRepositoryCreationPermissionAuditEntry(GQLObject): - """ - OrgUpdateMemberRepositoryCreationPermissionAuditEntry - Audit log entry for a org.update_member_repository_creation_permission event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - canCreateRepositories - Can members create repositories in the organization. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The permission for visibility level of repositories for this organization. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - canCreateRepositories: bool - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility - -class OrgUpdateMemberRepositoryInvitationPermissionAuditEntry(GQLObject): - """ - OrgUpdateMemberRepositoryInvitationPermissionAuditEntry - Audit log entry for a org.update_member_repository_invitation_permission event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - canInviteOutsideCollaboratorsToRepositories - Can outside collaborators be invited to repositories in the organization. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - canInviteOutsideCollaboratorsToRepositories: bool - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class PrivateRepositoryForkingDisableAuditEntry(GQLObject): - """ - PrivateRepositoryForkingDisableAuditEntry - Audit log entry for a private_repository_forking.disable event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class PrivateRepositoryForkingEnableAuditEntry(GQLObject): - """ - PrivateRepositoryForkingEnableAuditEntry - Audit log entry for a private_repository_forking.enable event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoAccessAuditEntry(GQLObject): - """ - RepoAccessAuditEntry - Audit log entry for a repo.access event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The visibility of the repository - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoAccessAuditEntryVisibility - -class RepoAddMemberAuditEntry(GQLObject): - """ - RepoAddMemberAuditEntry - Audit log entry for a repo.add_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The visibility of the repository - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoAddMemberAuditEntryVisibility - -class RepoAddTopicAuditEntry(GQLObject): - """ - RepoAddTopicAuditEntry - Audit log entry for a repo.add_topic event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - topic - The name of the topic added to the repository - - topicName - The name of the topic added to the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - topic: Topic - topicName: str - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoArchivedAuditEntry(GQLObject): - """ - RepoArchivedAuditEntry - Audit log entry for a repo.archived event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The visibility of the repository - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoArchivedAuditEntryVisibility - -class RepoChangeMergeSettingAuditEntry(GQLObject): - """ - RepoChangeMergeSettingAuditEntry - Audit log entry for a repo.change_merge_setting event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - isEnabled - Whether the change was to enable (true) or disable (false) the merge type - - mergeType - The merge method affected by the change - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isEnabled: bool - mergeType: RepoChangeMergeSettingAuditEntryMergeType - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableAnonymousGitAccessAuditEntry(GQLObject): - """ - RepoConfigDisableAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.disable_anonymous_git_access event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableCollaboratorsOnlyAuditEntry(GQLObject): - """ - RepoConfigDisableCollaboratorsOnlyAuditEntry - Audit log entry for a repo.config.disable_collaborators_only event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableContributorsOnlyAuditEntry(GQLObject): - """ - RepoConfigDisableContributorsOnlyAuditEntry - Audit log entry for a repo.config.disable_contributors_only event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableSockpuppetDisallowedAuditEntry(GQLObject): - """ - RepoConfigDisableSockpuppetDisallowedAuditEntry - Audit log entry for a repo.config.disable_sockpuppet_disallowed event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableAnonymousGitAccessAuditEntry(GQLObject): - """ - RepoConfigEnableAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.enable_anonymous_git_access event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableCollaboratorsOnlyAuditEntry(GQLObject): - """ - RepoConfigEnableCollaboratorsOnlyAuditEntry - Audit log entry for a repo.config.enable_collaborators_only event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableContributorsOnlyAuditEntry(GQLObject): - """ - RepoConfigEnableContributorsOnlyAuditEntry - Audit log entry for a repo.config.enable_contributors_only event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableSockpuppetDisallowedAuditEntry(GQLObject): - """ - RepoConfigEnableSockpuppetDisallowedAuditEntry - Audit log entry for a repo.config.enable_sockpuppet_disallowed event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigLockAnonymousGitAccessAuditEntry(GQLObject): - """ - RepoConfigLockAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.lock_anonymous_git_access event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigUnlockAnonymousGitAccessAuditEntry(GQLObject): - """ - RepoConfigUnlockAnonymousGitAccessAuditEntry - Audit log entry for a repo.config.unlock_anonymous_git_access event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoCreateAuditEntry(GQLObject): - """ - RepoCreateAuditEntry - Audit log entry for a repo.create event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - forkParentName - The name of the parent repository for this forked repository. - - forkSourceName - The name of the root repository for this network. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The visibility of the repository - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - forkParentName: str - forkSourceName: str - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoCreateAuditEntryVisibility - -class RepoDestroyAuditEntry(GQLObject): - """ - RepoDestroyAuditEntry - Audit log entry for a repo.destroy event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The visibility of the repository - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoDestroyAuditEntryVisibility - -class RepoRemoveMemberAuditEntry(GQLObject): - """ - RepoRemoveMemberAuditEntry - Audit log entry for a repo.remove_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - visibility - The visibility of the repository - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoRemoveMemberAuditEntryVisibility - -class RepoRemoveTopicAuditEntry(GQLObject): - """ - RepoRemoveTopicAuditEntry - Audit log entry for a repo.remove_topic event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - topic - The name of the topic added to the repository - - topicName - The name of the topic added to the repository - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - topic: Topic - topicName: str - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepositoryVisibilityChangeDisableAuditEntry(GQLObject): - """ - RepositoryVisibilityChangeDisableAuditEntry - Audit log entry for a repository_visibility_change.disable event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepositoryVisibilityChangeEnableAuditEntry(GQLObject): - """ - RepositoryVisibilityChangeEnableAuditEntry - Audit log entry for a repository_visibility_change.enable event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - enterpriseResourcePath - The HTTP path for this enterprise. - - enterpriseSlug - The slug of the enterprise. - - enterpriseUrl - The HTTP URL for this enterprise. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamAddMemberAuditEntry(GQLObject): - """ - TeamAddMemberAuditEntry - Audit log entry for a team.add_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - isLdapMapped - Whether the team was mapped to an LDAP Group. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - team - The team associated with the action - - teamName - The name of the team - - teamResourcePath - The HTTP path for this team - - teamUrl - The HTTP URL for this team - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamAddRepositoryAuditEntry(GQLObject): - """ - TeamAddRepositoryAuditEntry - Audit log entry for a team.add_repository event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - isLdapMapped - Whether the team was mapped to an LDAP Group. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - team - The team associated with the action - - teamName - The name of the team - - teamResourcePath - The HTTP path for this team - - teamUrl - The HTTP URL for this team - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamChangeParentTeamAuditEntry(GQLObject): - """ - TeamChangeParentTeamAuditEntry - Audit log entry for a team.change_parent_team event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - isLdapMapped - Whether the team was mapped to an LDAP Group. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - parentTeam - The new parent team. - - parentTeamName - The name of the new parent team - - parentTeamNameWas - The name of the former parent team - - parentTeamResourcePath - The HTTP path for the parent team - - parentTeamUrl - The HTTP URL for the parent team - - parentTeamWas - The former parent team. - - parentTeamWasResourcePath - The HTTP path for the previous parent team - - parentTeamWasUrl - The HTTP URL for the previous parent team - - team - The team associated with the action - - teamName - The name of the team - - teamResourcePath - The HTTP path for this team - - teamUrl - The HTTP URL for this team - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - parentTeam: Team - parentTeamName: str - parentTeamNameWas: str - parentTeamResourcePath: URI - parentTeamUrl: URI - parentTeamWas: Team - parentTeamWasResourcePath: URI - parentTeamWasUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamRemoveMemberAuditEntry(GQLObject): - """ - TeamRemoveMemberAuditEntry - Audit log entry for a team.remove_member event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - isLdapMapped - Whether the team was mapped to an LDAP Group. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - team - The team associated with the action - - teamName - The name of the team - - teamResourcePath - The HTTP path for this team - - teamUrl - The HTTP URL for this team - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamRemoveRepositoryAuditEntry(GQLObject): - """ - TeamRemoveRepositoryAuditEntry - Audit log entry for a team.remove_repository event. - - action - The action name - - actor - The user who initiated the action - - actorIp - The IP address of the actor - - actorLocation - A readable representation of the actor's location - - actorLogin - The username of the user who initiated the action - - actorResourcePath - The HTTP path for the actor. - - actorUrl - The HTTP URL for the actor. - - createdAt - The time the action was initiated - - isLdapMapped - Whether the team was mapped to an LDAP Group. - - operationType - The corresponding operation type for the action - - organization - The Organization associated with the Audit Entry. - - organizationName - The name of the Organization. - - organizationResourcePath - The HTTP path for the organization - - organizationUrl - The HTTP URL for the organization - - repository - The repository associated with the action - - repositoryName - The name of the repository - - repositoryResourcePath - The HTTP path for the repository - - repositoryUrl - The HTTP URL for the repository - - team - The team associated with the action - - teamName - The name of the team - - teamResourcePath - The HTTP path for this team - - teamUrl - The HTTP URL for this team - - user - The user affected by the action - - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. - - userResourcePath - The HTTP path for the user. - - userUrl - The HTTP URL for the user. - - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrganizationAuditEntry(GQLObject): - pass - -class OrganizationAuditEntryEdge(GQLObject): - """ - OrganizationAuditEntryEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: OrganizationAuditEntry - -class list_OrganizationAuditEntryEdge(list, OrganizationAuditEntryEdge): pass - -class list_OrganizationAuditEntry(list, OrganizationAuditEntry): pass - -class OrganizationAuditEntryConnection(GQLObject): - """ - OrganizationAuditEntryConnection - The connection type for OrganizationAuditEntry. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_OrganizationAuditEntryEdge[OrganizationAuditEntryEdge] - nodes: list_OrganizationAuditEntry[OrganizationAuditEntry] - pageInfo: PageInfo - totalCount: int - -class VerifiableDomainOwner(GQLObject): - pass - -class VerifiableDomain(GQLObject): - """ - VerifiableDomain - A domain that can be verified or approved for an organization or an enterprise. - - createdAt - Identifies the date and time when the object was created. - - databaseId - Identifies the primary key from the database. - - dnsHostName - The DNS host name that should be used for verification. - - domain - The unicode encoded domain. - - hasFoundHostName - Whether a TXT record for verification with the expected host name was found. - - hasFoundVerificationToken - Whether a TXT record for verification with the expected verification token was found. - - isApproved - Whether or not the domain is approved. - - isRequiredForPolicyEnforcement - Whether this domain is required to exist for an organization or enterprise policy to be enforced. - - isVerified - Whether or not the domain is verified. - - owner - The owner of the domain. - - punycodeEncodedDomain - The punycode encoded domain. - - tokenExpirationTime - The time that the current verification token will expire. - - updatedAt - Identifies the date and time when the object was last updated. - - verificationToken - The current verification token for the domain. - - """ - createdAt: DateTime - databaseId: int - dnsHostName: URI - domain: URI - hasFoundHostName: bool - hasFoundVerificationToken: bool - id: ID - isApproved: bool - isRequiredForPolicyEnforcement: bool - isVerified: bool - owner: VerifiableDomainOwner - punycodeEncodedDomain: URI - tokenExpirationTime: DateTime - updatedAt: DateTime - verificationToken: str - -class VerifiableDomainEdge(GQLObject): - """ - VerifiableDomainEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: VerifiableDomain - -class list_VerifiableDomainEdge(list, VerifiableDomainEdge): pass - -class list_VerifiableDomain(list, VerifiableDomain): pass - -class VerifiableDomainConnection(GQLObject): - """ - VerifiableDomainConnection - The connection type for VerifiableDomain. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_VerifiableDomainEdge[VerifiableDomainEdge] - nodes: list_VerifiableDomain[VerifiableDomain] - pageInfo: PageInfo - totalCount: int - -class OrganizationEnterpriseOwnerEdge(GQLObject): - """ - OrganizationEnterpriseOwnerEdge - An enterprise owner in the context of an organization that is part of the enterprise. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - organizationRole - The role of the owner with respect to the organization. - - """ - cursor: str - node: User - organizationRole: RoleInOrganization - -class list_OrganizationEnterpriseOwnerEdge(list, OrganizationEnterpriseOwnerEdge): pass - -class list_User(list, User): pass - -class OrganizationEnterpriseOwnerConnection(GQLObject): - """ - OrganizationEnterpriseOwnerConnection - The connection type for User. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_OrganizationEnterpriseOwnerEdge[OrganizationEnterpriseOwnerEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class MannequinEdge(GQLObject): - """ - MannequinEdge - Represents a mannequin. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: Mannequin - -class list_MannequinEdge(list, MannequinEdge): pass - -class list_Mannequin(list, Mannequin): pass - -class MannequinConnection(GQLObject): - """ - MannequinConnection - The connection type for Mannequin. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_MannequinEdge[MannequinEdge] - nodes: list_Mannequin[Mannequin] - pageInfo: PageInfo - totalCount: int - -class OrganizationMemberEdge(GQLObject): - """ - OrganizationMemberEdge - Represents a user within an organization. - - cursor - A cursor for use in pagination. - - hasTwoFactorEnabled - Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer. - - node - The item at the end of the edge. - - role - The role this user has in the organization. - - """ - cursor: str - hasTwoFactorEnabled: bool - node: User - role: OrganizationMemberRole - -class list_OrganizationMemberEdge(list, OrganizationMemberEdge): pass - -class OrganizationMemberConnection(GQLObject): - """ - OrganizationMemberConnection - The connection type for User. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_OrganizationMemberEdge[OrganizationMemberEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class RepositoryMigration(GQLObject): - """ - RepositoryMigration - A GitHub Enterprise Importer (GEI) repository migration. - - continueOnError - The migration flag to continue on error. - - createdAt - Identifies the date and time when the object was created. - - databaseId - Identifies the primary key from the database. - - failureReason - The reason the migration failed. - - migrationLogUrl - The URL for the migration log (expires 1 day after migration completes). - - migrationSource - The migration source. - - repositoryName - The target repository name. - - sourceUrl - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. - - state - The migration state. - - warningsCount - The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). - - """ - continueOnError: bool - createdAt: DateTime - databaseId: str - failureReason: str - id: ID - migrationLogUrl: URI - migrationSource: MigrationSource - repositoryName: str - sourceUrl: URI - state: MigrationState - warningsCount: int - -class RepositoryMigrationEdge(GQLObject): - """ - RepositoryMigrationEdge - Represents a repository migration. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: RepositoryMigration - -class list_RepositoryMigrationEdge(list, RepositoryMigrationEdge): pass - -class list_RepositoryMigration(list, RepositoryMigration): pass - -class RepositoryMigrationConnection(GQLObject): - """ - RepositoryMigrationConnection - The connection type for RepositoryMigration. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_RepositoryMigrationEdge[RepositoryMigrationEdge] - nodes: list_RepositoryMigration[RepositoryMigration] - pageInfo: PageInfo - totalCount: int - -class list_ExternalIdentityAttribute(list, ExternalIdentityAttribute): pass - -class list_UserEmailMetadata(list, UserEmailMetadata): pass - -class ExternalIdentitySamlAttributes(GQLObject): - """ - ExternalIdentitySamlAttributes - SAML attributes for the External Identity - - attributes - SAML Identity attributes - - emails - The emails associated with the SAML identity - - familyName - Family name of the SAML identity - - givenName - Given name of the SAML identity - - groups - The groups linked to this identity in IDP - - nameId - The NameID of the SAML identity - - username - The userName of the SAML identity - - """ - attributes: list_ExternalIdentityAttribute[ExternalIdentityAttribute] - emails: list_UserEmailMetadata[UserEmailMetadata] - familyName: str - givenName: str - groups: list[str] - nameId: str - username: str - -class ExternalIdentityScimAttributes(GQLObject): - """ - ExternalIdentityScimAttributes - SCIM attributes for the External Identity - - emails - The emails associated with the SCIM identity - - familyName - Family name of the SCIM identity - - givenName - Given name of the SCIM identity - - groups - The groups linked to this identity in IDP - - username - The userName of the SCIM identity - - """ - emails: list_UserEmailMetadata[UserEmailMetadata] - familyName: str - givenName: str - groups: list[str] - username: str - -class ExternalIdentity(GQLObject): - """ - ExternalIdentity - An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. - - guid - The GUID for this identity - - organizationInvitation - Organization invitation for this SCIM-provisioned external identity - - samlIdentity - SAML Identity attributes - - scimIdentity - SCIM Identity attributes - - user - User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member. - - """ - guid: str - id: ID - organizationInvitation: OrganizationInvitation - samlIdentity: ExternalIdentitySamlAttributes - scimIdentity: ExternalIdentityScimAttributes - user: User - -class ExternalIdentityEdge(GQLObject): - """ - ExternalIdentityEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: ExternalIdentity - -class list_ExternalIdentityEdge(list, ExternalIdentityEdge): pass - -class list_ExternalIdentity(list, ExternalIdentity): pass - -class ExternalIdentityConnection(GQLObject): - """ - ExternalIdentityConnection - The connection type for ExternalIdentity. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_ExternalIdentityEdge[ExternalIdentityEdge] - nodes: list_ExternalIdentity[ExternalIdentity] - pageInfo: PageInfo - totalCount: int - -class GVWGF_ExternalIdentityConnection_Field(ExternalIdentityConnection): - """ - GVWGF_ExternalIdentityConnection_Field - External Identities provisioned by this Identity Provider - - """ - class ExternalIdentityConnectionArgs(GQLArgsSet, GQLObject): - """ - membersOnly - Filter to external identities with valid org membership only - - login - Filter to external identities with the users login - - userName - Filter to external identities with the users userName/NameID attribute - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - membersOnly: bool - login: str - userName: str - after: str - before: str - first: int - last: int - - _args: ExternalIdentityConnectionArgs - - - -class OrganizationIdentityProvider(GQLObject): - """ - OrganizationIdentityProvider - An Identity Provider configured to provision SAML and SCIM identities for Organizations. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. - - digestMethod - The digest algorithm used to sign SAML requests for the Identity Provider. - - externalIdentities - External Identities provisioned by this Identity Provider - - idpCertificate - The x509 certificate used by the Identity Provider to sign assertions and responses. - - issuer - The Issuer Entity ID for the SAML Identity Provider - - organization - Organization this Identity Provider belongs to - - signatureMethod - The signature algorithm used to sign SAML requests for the Identity Provider. - - ssoUrl - The URL endpoint for the Identity Provider's SAML SSO. - - """ - digestMethod: URI - externalIdentities: GVWGF_ExternalIdentityConnection_Field - id: ID - idpCertificate: X509Certificate - issuer: str - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - signatureMethod: URI - ssoUrl: URI - -class YNYTV_OrganizationAuditEntryConnection_Field(OrganizationAuditEntryConnection): - """ - YNYTV_OrganizationAuditEntryConnection_Field - Audit log entries of the organization - - """ - class OrganizationAuditEntryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - query - The query string to filter audit entries - - orderBy - Ordering options for the returned audit log entries. - - """ - after: str - before: str - first: int - last: int - query: str - orderBy: AuditLogOrder - - _args: OrganizationAuditEntryConnectionArgs - - - -class FJLIH_VerifiableDomainConnection_Field(VerifiableDomainConnection): - """ - FJLIH_VerifiableDomainConnection_Field - A list of domains owned by the organization. - - """ - class VerifiableDomainConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - isVerified - Filter by if the domain is verified. - - isApproved - Filter by if the domain is approved. - - orderBy - Ordering options for verifiable domains returned. - - """ - after: str - before: str - first: int - last: int - isVerified: bool - isApproved: bool - orderBy: VerifiableDomainOrder - - _args: VerifiableDomainConnectionArgs - - - -class RDCZK_OrganizationEnterpriseOwnerConnection_Field(OrganizationEnterpriseOwnerConnection): - """ - RDCZK_OrganizationEnterpriseOwnerConnection_Field - A list of owners of the organization's enterprise account. - - """ - class OrganizationEnterpriseOwnerConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - organizationRole - The organization role to filter by. - - orderBy - Ordering options for enterprise owners returned from the connection. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - organizationRole: RoleInOrganization - orderBy: OrgEnterpriseOwnerOrder - after: str - before: str - first: int - last: int - - _args: OrganizationEnterpriseOwnerConnectionArgs - - - -class LFCDU_IpAllowListEntryConnection_Field(Generic[IpAllowListEntryConnection]): - """ - LFCDU_IpAllowListEntryConnection_Field - The IP addresses that are allowed to access resources owned by the organization. - - """ - class IpAllowListEntryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for IP allow list entries returned. - - """ - after: str - before: str - first: int - last: int - orderBy: IpAllowListEntryOrder - - _args: IpAllowListEntryConnectionArgs - - - -class KIMET_MannequinConnection_Field(MannequinConnection): - """ - KIMET_MannequinConnection_Field - A list of all mannequins for this organization. - - """ - class MannequinConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - login - Filter mannequins by login. - - orderBy - Ordering options for mannequins returned from the connection. - - """ - after: str - before: str - first: int - last: int - login: str - orderBy: MannequinOrder - - _args: MannequinConnectionArgs - - - -class MWUJH_UserStatusConnection_Field(UserStatusConnection): - """ - MWUJH_UserStatusConnection_Field - Get the status messages members of this entity have set that are either public or visible only to the organization. - - """ - class UserStatusConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for user statuses returned from the connection. - - """ - after: str - before: str - first: int - last: int - orderBy: UserStatusOrder - - _args: UserStatusConnectionArgs - - - -class CZGTD_OrganizationMemberConnection_Field(OrganizationMemberConnection): - """ - CZGTD_OrganizationMemberConnection_Field - A list of users who are members of this organization. - - """ - class OrganizationMemberConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - after: str - before: str - first: int - last: int - - _args: OrganizationMemberConnectionArgs - - - -class CFVQZ_PackageConnection_Field(PackageConnection): - """ - CFVQZ_PackageConnection_Field - A list of packages under the owner. - - """ - class PackageConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - names - Find packages by their names. - - repositoryId - Find packages in a repository by ID. - - packageType - Filter registry package by type. - - orderBy - Ordering of the returned packages. - - """ - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder - - _args: PackageConnectionArgs - - - -class JDKEE_UserConnection_Field(UserConnection): - """ - JDKEE_UserConnection_Field - A list of users who have been invited to join this organization. - - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - after: str - before: str - first: int - last: int - - _args: UserConnectionArgs - - - -class IZCDJ_PinnableItemConnection_Field(PinnableItemConnection): - """ - IZCDJ_PinnableItemConnection_Field - A list of repositories and gists this profile owner can pin to their profile. - - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - types - Filter the types of pinnable items that are returned. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int - - _args: PinnableItemConnectionArgs - - - -class XUEJB_PinnableItemConnection_Field(PinnableItemConnection): - """ - XUEJB_PinnableItemConnection_Field - A list of repositories and gists this profile owner has pinned to their profile - - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - types - Filter the types of pinned items that are returned. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int - - _args: PinnableItemConnectionArgs - - - -class JEKSJ_Project_Field(Project): - """ - JEKSJ_Project_Field - Find project by number. - - """ - class ProjectArgs(GQLArgsSet, GQLObject): - """ - number - The project number to find. - - """ - number: NonNull_int - - _args: ProjectArgs - - - -class ZZYEB_ProjectV2_Field(ProjectV2): - """ - ZZYEB_ProjectV2_Field - Find a project by number. - - """ - class ProjectV2Args(GQLArgsSet, GQLObject): - """ - number - The project number. - - """ - number: NonNull_int - - _args: ProjectV2Args - - - -class SHTDH_ProjectConnection_Field(ProjectConnection): - """ - SHTDH_ProjectConnection_Field - A list of projects under the owner. - - """ - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for projects returned from the connection - - search - Query to search projects by, currently only searching by name. - - states - A list of states to filter the projects by. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int - - _args: ProjectConnectionArgs - - - -class KXDTX_ProjectV2Connection_Field(ProjectV2Connection): - """ - KXDTX_ProjectV2Connection_Field - A list of projects under the owner. - - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - query - A project to search for under the the owner. - - orderBy - How to order the returned projects. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int - - _args: ProjectV2ConnectionArgs - - - -class RPHIR_ProjectV2Connection_Field(ProjectV2Connection): - """ - RPHIR_ProjectV2Connection_Field - Recent projects that this user has modified in the context of the owner. - - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - after: str - before: str - first: int - last: int - - _args: ProjectV2ConnectionArgs - - - -class BPFFH_RepositoryConnection_Field(RepositoryConnection): - """ - BPFFH_RepositoryConnection_Field - A list of repositories that the user owns. - - """ - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters repositories according to privacy - - orderBy - Ordering options for repositories returned from the connection - - affiliations - Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns. - - ownerAffiliations - Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns. - - isLocked - If non-null, filters repositories according to whether they have been locked - - hasIssuesEnabled - If non-null, filters repositories according to whether they have issues enabled - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - isArchived - If non-null, filters repositories according to whether they are archived and not maintained - - isFork - If non-null, filters repositories according to whether they are forks of another repository - - """ - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - isArchived: bool - isFork: bool - - _args: RepositoryConnectionArgs - - - -class CPOVI_Repository_Field(Repository): - """ - CPOVI_Repository_Field - Find Repository. - - """ - class RepositoryArgs(GQLArgsSet, GQLObject): - """ - name - Name of Repository to find. - - followRenames - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - - """ - name: NonNull_str - followRenames: bool - - _args: RepositoryArgs - - - -class YFRNE_DiscussionCommentConnection_Field(DiscussionCommentConnection): - """ - YFRNE_DiscussionCommentConnection_Field - Discussion comments this user has authored. - - """ - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - repositoryId - Filter discussion comments to only those in a specific repository. - - onlyAnswers - Filter discussion comments to only those that were marked as the answer - - """ - after: str - before: str - first: int - last: int - repositoryId: ID - onlyAnswers: bool - - _args: DiscussionCommentConnectionArgs - - - -class VUEGD_DiscussionConnection_Field(DiscussionConnection): - """ - VUEGD_DiscussionConnection_Field - Discussions this user has started. - - """ - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for discussions returned from the connection. - - repositoryId - Filter discussions to only those in a specific repository. - - answered - Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions. - - states - A list of states to filter the discussions by. - - """ - after: str - before: str - first: int - last: int - orderBy: DiscussionOrder - repositoryId: ID - answered: bool - states: list[NonNull_DiscussionState] - - _args: DiscussionConnectionArgs - - - -class HGDMI_RepositoryMigrationConnection_Field(RepositoryMigrationConnection): - """ - HGDMI_RepositoryMigrationConnection_Field - A list of all repository migrations for this organization. - - """ - class RepositoryMigrationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - state - Filter repository migrations by state. - - repositoryName - Filter repository migrations by repository name. - - orderBy - Ordering options for repository migrations returned. - - """ - after: str - before: str - first: int - last: int - state: MigrationState - repositoryName: str - orderBy: RepositoryMigrationOrder - - _args: RepositoryMigrationConnectionArgs - - - -class HDPWG_RepositoryRuleset_Field(RepositoryRuleset): - """ - HDPWG_RepositoryRuleset_Field - Returns a single ruleset from the current organization by ID. - - """ - class RepositoryRulesetArgs(GQLArgsSet, GQLObject): - """ - databaseId - The ID of the ruleset to be returned. - - """ - databaseId: NonNull_int - - _args: RepositoryRulesetArgs - - - -class BMXBI_RepositoryRulesetConnection_Field(RepositoryRulesetConnection): - """ - BMXBI_RepositoryRulesetConnection_Field - A list of rulesets for this organization. - - """ - class RepositoryRulesetConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - includeParents - Return rulesets configured at higher levels that apply to this organization - - """ - after: str - before: str - first: int - last: int - includeParents: bool - - _args: RepositoryRulesetConnectionArgs - - - -class LEPXE_SponsorConnection_Field(SponsorConnection): - """ - LEPXE_SponsorConnection_Field - List of users and organizations this entity is sponsoring. - - """ - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for the users and organizations returned from the connection. - - """ - after: str - before: str - first: int - last: int - orderBy: SponsorOrder - - _args: SponsorConnectionArgs - - - -class ZGQPS_SponsorConnection_Field(SponsorConnection): - """ - ZGQPS_SponsorConnection_Field - List of sponsors for this user or organization. - - """ - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - tierId - If given, will filter for sponsors at the given tier. Will only return sponsors whose tier the viewer is permitted to see. - - orderBy - Ordering options for sponsors returned from the connection. - - """ - after: str - before: str - first: int - last: int - tierId: ID - orderBy: SponsorOrder - - _args: SponsorConnectionArgs - - - -class FTQJZ_SponsorsActivityConnection_Field(SponsorsActivityConnection): - """ - FTQJZ_SponsorsActivityConnection_Field - Events involving this sponsorable, such as new sponsorships. - - """ - class SponsorsActivityConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - period - Filter activities returned to only those that occurred in the most recent specified time period. Set to ALL to avoid filtering by when the activity occurred. Will be ignored if `since` or `until` is given. - - since - Filter activities to those that occurred on or after this time. - - until - Filter activities to those that occurred before this time. - - orderBy - Ordering options for activity returned from the connection. - - actions - Filter activities to only the specified actions. - - includeAsSponsor - Whether to include those events where this sponsorable acted as the sponsor. Defaults to only including events where this sponsorable was the recipient of a sponsorship. - - includePrivate - Whether or not to include private activities in the result set. Defaults to including public and private activities. - - """ - after: str - before: str - first: int - last: int - period: SponsorsActivityPeriod - since: DateTime - until: DateTime - orderBy: SponsorsActivityOrder - actions: list[NonNull_SponsorsActivityAction] - includeAsSponsor: bool - includePrivate: bool - - _args: SponsorsActivityConnectionArgs - - - -class HJHVR_Sponsorship_Field(Sponsorship): - """ - HJHVR_Sponsorship_Field - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. - - """ - class SponsorshipArgs(GQLArgsSet, GQLObject): - """ - activeOnly - Whether to return the sponsorship only if it's still active. Pass false to get the viewer's sponsorship back even if it has been cancelled. - - """ - activeOnly: bool - - _args: SponsorshipArgs - - - -class TRCOO_Sponsorship_Field(Sponsorship): - """ - TRCOO_Sponsorship_Field - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. - - """ - class SponsorshipArgs(GQLArgsSet, GQLObject): - """ - activeOnly - Whether to return the sponsorship only if it's still active. Pass false to get the sponsorship back even if it has been cancelled. - - """ - activeOnly: bool - - _args: SponsorshipArgs - - - -class CRASZ_SponsorshipNewsletterConnection_Field(SponsorshipNewsletterConnection): - """ - CRASZ_SponsorshipNewsletterConnection_Field - List of sponsorship updates sent from this sponsorable to sponsors. - - """ - class SponsorshipNewsletterConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for sponsorship updates returned from the connection. - - """ - after: str - before: str - first: int - last: int - orderBy: SponsorshipNewsletterOrder - - _args: SponsorshipNewsletterConnectionArgs - - - -class XQGTL_SponsorshipConnection_Field(SponsorshipConnection): - """ - XQGTL_SponsorshipConnection_Field - The sponsorships where this user or organization is the maintainer receiving the funds. - - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - includePrivate - Whether or not to include private sponsorships in the result set - - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. - - activeOnly - Whether to include only sponsorships that are active right now, versus all sponsorships this maintainer has ever received. - - """ - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class QAOMO_SponsorshipConnection_Field(SponsorshipConnection): - """ - QAOMO_SponsorshipConnection_Field - The sponsorships where this user or organization is the funder. - - """ - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. - - maintainerLogins - Filter sponsorships returned to those for the specified maintainers. That is, the recipient of the sponsorship is a user or organization with one of the given logins. - - activeOnly - Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. - - """ - after: str - before: str - first: int - last: int - orderBy: SponsorshipOrder - maintainerLogins: list[NonNull_str] - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class OMELD_Team_Field(Team): - """ - OMELD_Team_Field - Find an organization's team by its slug. - - """ - class TeamArgs(GQLArgsSet, GQLObject): - """ - slug - The name or slug of the team to find. - - """ - slug: NonNull_str - - _args: TeamArgs - - - -class LOWKR_TeamConnection_Field(TeamConnection): - """ - LOWKR_TeamConnection_Field - A list of teams in this organization. - - """ - class TeamConnectionArgs(GQLArgsSet, GQLObject): - """ - privacy - If non-null, filters teams according to privacy - - notificationSetting - If non-null, filters teams according to notification setting - - role - If non-null, filters teams according to whether the viewer is an admin or member on team - - query - If non-null, filters teams with query on team name and team slug - - userLogins - User logins to filter by - - orderBy - Ordering options for teams returned from the connection - - ldapMapped - If true, filters teams that are mapped to an LDAP Group (Enterprise only) - - rootTeamsOnly - If true, restrict to only root teams - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - privacy: TeamPrivacy - notificationSetting: TeamNotificationSetting - role: TeamRole - query: str - userLogins: list[NonNull_str] - orderBy: TeamOrder - ldapMapped: bool - rootTeamsOnly: bool - after: str - before: str - first: int - last: int - - _args: TeamConnectionArgs - - - -class Organization(GQLObject): - """ - Organization - An account on GitHub, with one or more owners, that has repositories, members and teams. - - announcement - The text of the announcement - - announcementExpiresAt - The expiration date of the announcement, if any - - announcementUserDismissible - Whether the announcement can be dismissed by the user - - anyPinnableItems - Determine if this repository owner has any items that can be pinned to their profile. - - auditLog - Audit log entries of the organization - - avatarUrl - A URL pointing to the organization's public avatar. - - createdAt - Identifies the date and time when the object was created. - - databaseId - Identifies the primary key from the database. - - description - The organization's public profile description. - - descriptionHTML - The organization's public profile description rendered to HTML. - - domains - A list of domains owned by the organization. - - email - The organization's public email. - - enterpriseOwners - A list of owners of the organization's enterprise account. - - estimatedNextSponsorsPayoutInCents - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). - - hasSponsorsListing - True if this user/organization has a GitHub Sponsors listing. - - interactionAbility - The interaction ability settings for this organization. - - ipAllowListEnabledSetting - The setting value for whether the organization has an IP allow list enabled. - - ipAllowListEntries - The IP addresses that are allowed to access resources owned by the organization. - - ipAllowListForInstalledAppsEnabledSetting - The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. - - isSponsoredBy - Whether the given account is sponsoring this user/organization. - - isSponsoringViewer - True if the viewer is sponsored by this user/organization. - - isVerified - Whether the organization has verified its profile email and website. - - itemShowcase - Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. - - location - The organization's public profile location. - - login - The organization's login name. - - mannequins - A list of all mannequins for this organization. - - memberStatuses - Get the status messages members of this entity have set that are either public or visible only to the organization. - - membersCanForkPrivateRepositories - Members can fork private repositories in this organization - - membersWithRole - A list of users who are members of this organization. - - monthlyEstimatedSponsorsIncomeInCents - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). - - name - The organization's public profile name. - - newTeamResourcePath - The HTTP path creating a new team - - newTeamUrl - The HTTP URL creating a new team - - notificationDeliveryRestrictionEnabledSetting - Indicates if email notification delivery for this organization is restricted to verified or approved domains. - - organizationBillingEmail - The billing email for the organization. - - packages - A list of packages under the owner. - - pendingMembers - A list of users who have been invited to join this organization. - - pinnableItems - A list of repositories and gists this profile owner can pin to their profile. - - pinnedItems - A list of repositories and gists this profile owner has pinned to their profile - - pinnedItemsRemaining - Returns how many more items this profile owner can pin to their profile. - - project - Find project by number. - - projectV2 - Find a project by number. - - projects - A list of projects under the owner. - - projectsResourcePath - The HTTP path listing organization's projects - - projectsUrl - The HTTP URL listing organization's projects - - projectsV2 - A list of projects under the owner. - - recentProjects - Recent projects that this user has modified in the context of the owner. - - repositories - A list of repositories that the user owns. - - repository - Find Repository. - - repositoryDiscussionComments - Discussion comments this user has authored. - - repositoryDiscussions - Discussions this user has started. - - repositoryMigrations - A list of all repository migrations for this organization. - - requiresTwoFactorAuthentication - When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication. - - resourcePath - The HTTP path for this organization. - - ruleset - Returns a single ruleset from the current organization by ID. - - rulesets - A list of rulesets for this organization. - - samlIdentityProvider - The Organization's SAML identity provider. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. - - sponsoring - List of users and organizations this entity is sponsoring. - - sponsors - List of sponsors for this user or organization. - - sponsorsActivities - Events involving this sponsorable, such as new sponsorships. - - sponsorsListing - The GitHub Sponsors listing for this user or organization. - - sponsorshipForViewerAsSponsor - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. - - sponsorshipForViewerAsSponsorable - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. - - sponsorshipNewsletters - List of sponsorship updates sent from this sponsorable to sponsors. - - sponsorshipsAsMaintainer - The sponsorships where this user or organization is the maintainer receiving the funds. - - sponsorshipsAsSponsor - The sponsorships where this user or organization is the funder. - - team - Find an organization's team by its slug. - - teams - A list of teams in this organization. - - teamsResourcePath - The HTTP path listing organization's teams - - teamsUrl - The HTTP URL listing organization's teams - - totalSponsorshipAmountAsSponsorInCents - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. - - twitterUsername - The organization's Twitter username. - - updatedAt - Identifies the date and time when the object was last updated. - - url - The HTTP URL for this organization. - - viewerCanAdminister - Organization is adminable by the viewer. - - viewerCanChangePinnedItems - Can the viewer pin repositories and gists to the profile? - - viewerCanCreateProjects - Can the current viewer create new projects on this owner. - - viewerCanCreateRepositories - Viewer can create repositories on this organization - - viewerCanCreateTeams - Viewer can create teams on this organization. - - viewerCanSponsor - Whether or not the viewer is able to sponsor this user/organization. - - viewerIsAMember - Viewer is an active member of this organization. - - viewerIsFollowing - Whether or not this Organization is followed by the viewer. - - viewerIsSponsoring - True if the viewer is sponsoring this user/organization. - - webCommitSignoffRequired - Whether contributors are required to sign off on web-based commits for repositories in this organization. - - websiteUrl - The organization's public profile URL. - - """ - announcement: str - announcementExpiresAt: DateTime - announcementUserDismissible: bool - anyPinnableItems: NAOCE_anyPinnableItems_Field - auditLog: YNYTV_OrganizationAuditEntryConnection_Field - avatarUrl: SBBTQ_URI_Field - createdAt: DateTime - databaseId: int - description: str - descriptionHTML: str - domains: FJLIH_VerifiableDomainConnection_Field - email: str - enterpriseOwners: RDCZK_OrganizationEnterpriseOwnerConnection_Field - estimatedNextSponsorsPayoutInCents: int - hasSponsorsListing: bool - id: ID - interactionAbility: RepositoryInteractionAbility - ipAllowListEnabledSetting: IpAllowListEnabledSettingValue - ipAllowListEntries: LFCDU_IpAllowListEntryConnection_Field ## Circular Reference for IpAllowListEntryConnection - ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue - isSponsoredBy: IVPGA_isSponsoredBy_Field - isSponsoringViewer: bool - isVerified: bool - itemShowcase: ProfileItemShowcase - location: str - login: str - mannequins: KIMET_MannequinConnection_Field - memberStatuses: MWUJH_UserStatusConnection_Field - membersCanForkPrivateRepositories: bool - membersWithRole: CZGTD_OrganizationMemberConnection_Field - monthlyEstimatedSponsorsIncomeInCents: int - name: str - newTeamResourcePath: URI - newTeamUrl: URI - notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue - organizationBillingEmail: str - packages: CFVQZ_PackageConnection_Field - pendingMembers: JDKEE_UserConnection_Field - pinnableItems: IZCDJ_PinnableItemConnection_Field - pinnedItems: XUEJB_PinnableItemConnection_Field - pinnedItemsRemaining: int - project: JEKSJ_Project_Field - projectV2: ZZYEB_ProjectV2_Field - projects: SHTDH_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - projectsV2: KXDTX_ProjectV2Connection_Field - recentProjects: RPHIR_ProjectV2Connection_Field - repositories: BPFFH_RepositoryConnection_Field - repository: CPOVI_Repository_Field - repositoryDiscussionComments: YFRNE_DiscussionCommentConnection_Field - repositoryDiscussions: VUEGD_DiscussionConnection_Field - repositoryMigrations: HGDMI_RepositoryMigrationConnection_Field - requiresTwoFactorAuthentication: bool - resourcePath: URI - ruleset: HDPWG_RepositoryRuleset_Field - rulesets: BMXBI_RepositoryRulesetConnection_Field - samlIdentityProvider: OrganizationIdentityProvider - sponsoring: LEPXE_SponsorConnection_Field - sponsors: ZGQPS_SponsorConnection_Field - sponsorsActivities: FTQJZ_SponsorsActivityConnection_Field - sponsorsListing: SponsorsListing - sponsorshipForViewerAsSponsor: HJHVR_Sponsorship_Field - sponsorshipForViewerAsSponsorable: TRCOO_Sponsorship_Field - sponsorshipNewsletters: CRASZ_SponsorshipNewsletterConnection_Field - sponsorshipsAsMaintainer: XQGTL_SponsorshipConnection_Field - sponsorshipsAsSponsor: QAOMO_SponsorshipConnection_Field - team: OMELD_Team_Field - teams: LOWKR_TeamConnection_Field - teamsResourcePath: URI - teamsUrl: URI - totalSponsorshipAmountAsSponsorInCents: EUBSH_totalSponsorshipAmountAsSponsorInCents_Field - twitterUsername: str - updatedAt: DateTime - url: URI - viewerCanAdminister: bool - viewerCanChangePinnedItems: bool - viewerCanCreateProjects: bool - viewerCanCreateRepositories: bool - viewerCanCreateTeams: bool - viewerCanSponsor: bool - viewerIsAMember: bool - viewerIsFollowing: bool - viewerIsSponsoring: bool - webCommitSignoffRequired: bool - websiteUrl: URI - -class EnterpriseOrganizationMembershipEdge(GQLObject): - """ - EnterpriseOrganizationMembershipEdge - An enterprise organization that a user is a member of. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - role - The role of the user in the enterprise membership. - - """ - cursor: str - node: Organization - role: EnterpriseUserAccountMembershipRole - -class list_EnterpriseOrganizationMembershipEdge(list, EnterpriseOrganizationMembershipEdge): pass - -class list_Organization(list, Organization): pass - -class EnterpriseOrganizationMembershipConnection(GQLObject): - """ - EnterpriseOrganizationMembershipConnection - The connection type for Organization. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseOrganizationMembershipEdge[EnterpriseOrganizationMembershipEdge] - nodes: list_Organization[Organization] - pageInfo: PageInfo - totalCount: int - -class BBFSM_EnterpriseServerInstallationMembershipConnection_Field(EnterpriseServerInstallationMembershipConnection): - """ - BBFSM_EnterpriseServerInstallationMembershipConnection_Field - A list of Enterprise Server installations this user is a member of. - - """ - class EnterpriseServerInstallationMembershipConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - orderBy - Ordering options for installations returned from the connection. - - role - The role of the user in the installation. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - orderBy: EnterpriseServerInstallationOrder - role: EnterpriseUserAccountMembershipRole - after: str - before: str - first: int - last: int - - _args: EnterpriseServerInstallationMembershipConnectionArgs - - - -class HOCIL_EnterpriseOrganizationMembershipConnection_Field(EnterpriseOrganizationMembershipConnection): - """ - HOCIL_EnterpriseOrganizationMembershipConnection_Field - A list of enterprise organizations this user is a member of. - - """ - class EnterpriseOrganizationMembershipConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - orderBy - Ordering options for organizations returned from the connection. - - role - The role of the user in the enterprise organization. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - orderBy: OrganizationOrder - role: EnterpriseUserAccountMembershipRole - after: str - before: str - first: int - last: int - - _args: EnterpriseOrganizationMembershipConnectionArgs - - - -class EnterpriseUserAccount(GQLObject): - """ - EnterpriseUserAccount - An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. - - avatarUrl - A URL pointing to the enterprise user account's public avatar. - - createdAt - Identifies the date and time when the object was created. - - enterprise - The enterprise in which this user account exists. - - enterpriseInstallations - A list of Enterprise Server installations this user is a member of. - - login - An identifier for the enterprise user account, a login or email address - - name - The name of the enterprise user account - - organizations - A list of enterprise organizations this user is a member of. - - resourcePath - The HTTP path for this user. - - updatedAt - Identifies the date and time when the object was last updated. - - url - The HTTP URL for this user. - - user - The user within the enterprise. - - """ - avatarUrl: CMOBU_URI_Field - createdAt: DateTime - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - enterpriseInstallations: BBFSM_EnterpriseServerInstallationMembershipConnection_Field - id: ID - login: str - name: str - organizations: HOCIL_EnterpriseOrganizationMembershipConnection_Field - resourcePath: URI - updatedAt: DateTime - url: URI - user: User - -class EnterpriseMember(GQLObject): - pass - -class EnterpriseMemberEdge(GQLObject): - """ - EnterpriseMemberEdge - A User who is a member of an enterprise through one or more organizations. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: EnterpriseMember - -class list_EnterpriseMemberEdge(list, EnterpriseMemberEdge): pass - -class list_EnterpriseMember(list, EnterpriseMember): pass - -class EnterpriseMemberConnection(GQLObject): - """ - EnterpriseMemberConnection - The connection type for EnterpriseMember. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseMemberEdge[EnterpriseMemberEdge] - nodes: list_EnterpriseMember[EnterpriseMember] - pageInfo: PageInfo - totalCount: int - -class EnterpriseAdministratorEdge(GQLObject): - """ - EnterpriseAdministratorEdge - A User who is an administrator of an enterprise. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - role - The role of the administrator. - - """ - cursor: str - node: User - role: EnterpriseAdministratorRole - -class list_EnterpriseAdministratorEdge(list, EnterpriseAdministratorEdge): pass - -class EnterpriseAdministratorConnection(GQLObject): - """ - EnterpriseAdministratorConnection - The connection type for User. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseAdministratorEdge[EnterpriseAdministratorEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class EnterpriseServerInstallationEdge(GQLObject): - """ - EnterpriseServerInstallationEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: EnterpriseServerInstallation - -class list_EnterpriseServerInstallationEdge(list, EnterpriseServerInstallationEdge): pass - -class EnterpriseServerInstallationConnection(GQLObject): - """ - EnterpriseServerInstallationConnection - The connection type for EnterpriseServerInstallation. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseServerInstallationEdge[EnterpriseServerInstallationEdge] - nodes: list_EnterpriseServerInstallation[EnterpriseServerInstallation] - pageInfo: PageInfo - totalCount: int - -class EnterpriseFailedInvitationEdge(GQLObject): - """ - EnterpriseFailedInvitationEdge - A failed invitation to be a member in an enterprise organization. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: OrganizationInvitation - -class list_EnterpriseFailedInvitationEdge(list, EnterpriseFailedInvitationEdge): pass - -class EnterpriseFailedInvitationConnection(GQLObject): - """ - EnterpriseFailedInvitationConnection - The connection type for OrganizationInvitation. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - totalUniqueUserCount - Identifies the total count of unique users in the connection. - - """ - edges: list_EnterpriseFailedInvitationEdge[EnterpriseFailedInvitationEdge] - nodes: list_OrganizationInvitation[OrganizationInvitation] - pageInfo: PageInfo - totalCount: int - totalUniqueUserCount: int - -class UJPPI_ExternalIdentityConnection_Field(ExternalIdentityConnection): - """ - UJPPI_ExternalIdentityConnection_Field - ExternalIdentities provisioned by this identity provider. - - """ - class ExternalIdentityConnectionArgs(GQLArgsSet, GQLObject): - """ - membersOnly - Filter to external identities with valid org membership only - - login - Filter to external identities with the users login - - userName - Filter to external identities with the users userName/NameID attribute - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - membersOnly: bool - login: str - userName: str - after: str - before: str - first: int - last: int - - _args: ExternalIdentityConnectionArgs - - - -class OIDCProvider(GQLObject): - """ - OIDCProvider - An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. - - enterprise - The enterprise this identity provider belongs to. - - externalIdentities - ExternalIdentities provisioned by this identity provider. - - providerType - The OIDC identity provider type - - tenantId - The id of the tenant this provider is attached to - - """ - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - externalIdentities: UJPPI_ExternalIdentityConnection_Field - id: ID - providerType: OIDCProviderType - tenantId: str - -class EnterpriseRepositoryInfoEdge(GQLObject): - """ - EnterpriseRepositoryInfoEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: EnterpriseRepositoryInfo - -class list_EnterpriseRepositoryInfoEdge(list, EnterpriseRepositoryInfoEdge): pass - -class list_EnterpriseRepositoryInfo(list, EnterpriseRepositoryInfo): pass - -class EnterpriseRepositoryInfoConnection(GQLObject): - """ - EnterpriseRepositoryInfoConnection - The connection type for EnterpriseRepositoryInfo. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseRepositoryInfoEdge[EnterpriseRepositoryInfoEdge] - nodes: list_EnterpriseRepositoryInfo[EnterpriseRepositoryInfo] - pageInfo: PageInfo - totalCount: int - -class SBFXW_EnterpriseRepositoryInfoConnection_Field(EnterpriseRepositoryInfoConnection): - """ - SBFXW_EnterpriseRepositoryInfoConnection_Field - The enterprise organization repositories this user is a member of. - - """ - class EnterpriseRepositoryInfoConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for repositories. - - """ - after: str - before: str - first: int - last: int - orderBy: RepositoryOrder - - _args: EnterpriseRepositoryInfoConnectionArgs - - - -class EnterpriseOutsideCollaboratorEdge(GQLObject): - """ - EnterpriseOutsideCollaboratorEdge - A User who is an outside collaborator of an enterprise through one or more organizations. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - repositories - The enterprise organization repositories this user is a member of. - - """ - cursor: str - node: User - repositories: SBFXW_EnterpriseRepositoryInfoConnection_Field - -class list_EnterpriseOutsideCollaboratorEdge(list, EnterpriseOutsideCollaboratorEdge): pass - -class EnterpriseOutsideCollaboratorConnection(GQLObject): - """ - EnterpriseOutsideCollaboratorConnection - The connection type for User. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseOutsideCollaboratorEdge[EnterpriseOutsideCollaboratorEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class EnterpriseAdministratorInvitation(GQLObject): - """ - EnterpriseAdministratorInvitation - An invitation for a user to become an owner or billing manager of an enterprise. - - createdAt - Identifies the date and time when the object was created. - - email - The email of the person who was invited to the enterprise. - - enterprise - The enterprise the invitation is for. - - invitee - The user who was invited to the enterprise. - - inviter - The user who created the invitation. - - role - The invitee's pending role in the enterprise (owner or billing_manager). - - """ - createdAt: DateTime - email: str - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - id: ID - invitee: User - inviter: User - role: EnterpriseAdministratorRole - -class EnterpriseAdministratorInvitationEdge(GQLObject): - """ - EnterpriseAdministratorInvitationEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: EnterpriseAdministratorInvitation - -class list_EnterpriseAdministratorInvitationEdge(list, EnterpriseAdministratorInvitationEdge): pass - -class list_EnterpriseAdministratorInvitation(list, EnterpriseAdministratorInvitation): pass - -class EnterpriseAdministratorInvitationConnection(GQLObject): - """ - EnterpriseAdministratorInvitationConnection - The connection type for EnterpriseAdministratorInvitation. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_EnterpriseAdministratorInvitationEdge[EnterpriseAdministratorInvitationEdge] - nodes: list_EnterpriseAdministratorInvitation[EnterpriseAdministratorInvitation] - pageInfo: PageInfo - totalCount: int - -class RepositoryInfo(GQLObject): - """ - RepositoryInfo - A subset of repository info. - - archivedAt - Identifies the date and time when the repository was archived. - - createdAt - Identifies the date and time when the object was created. - - description - The description of the repository. - - descriptionHTML - The description of the repository rendered to HTML. - - forkCount - Returns how many forks there are of this repository in the whole network. - - hasDiscussionsEnabled - Indicates if the repository has the Discussions feature enabled. - - hasIssuesEnabled - Indicates if the repository has issues feature enabled. - - hasProjectsEnabled - Indicates if the repository has the Projects feature enabled. - - hasWikiEnabled - Indicates if the repository has wiki feature enabled. - - homepageUrl - The repository's URL. - - isArchived - Indicates if the repository is unmaintained. - - isFork - Identifies if the repository is a fork. - - isInOrganization - Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. - - isLocked - Indicates if the repository has been locked or not. - - isMirror - Identifies if the repository is a mirror. - - isPrivate - Identifies if the repository is private or internal. - - isTemplate - Identifies if the repository is a template that can be used to generate new repositories. - - licenseInfo - The license associated with the repository - - lockReason - The reason the repository has been locked. - - mirrorUrl - The repository's original mirror URL. - - name - The name of the repository. - - nameWithOwner - The repository's name with owner. - - openGraphImageUrl - The image used to represent this repository in Open Graph data. - - owner - The User owner of the repository. - - pushedAt - Identifies the date and time when the repository was last pushed to. - - resourcePath - The HTTP path for this repository - - shortDescriptionHTML - A description of the repository, rendered to HTML without any links in it. - - updatedAt - Identifies the date and time when the object was last updated. - - url - The HTTP URL for this repository - - usesCustomOpenGraphImage - Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. - - visibility - Indicates the repository's visibility level. - - """ - archivedAt: DateTime - createdAt: DateTime - description: str - descriptionHTML: HTML - forkCount: int - hasDiscussionsEnabled: bool - hasIssuesEnabled: bool - hasProjectsEnabled: bool - hasWikiEnabled: bool - homepageUrl: URI - isArchived: bool - isFork: bool - isInOrganization: bool - isLocked: bool - isMirror: bool - isPrivate: bool - isTemplate: bool - licenseInfo: License - lockReason: RepositoryLockReason - mirrorUrl: URI - name: str - nameWithOwner: str - openGraphImageUrl: URI - owner: RepositoryOwner - pushedAt: DateTime - resourcePath: URI - shortDescriptionHTML: YSLVF_HTML_Field - updatedAt: DateTime - url: URI - usesCustomOpenGraphImage: bool - visibility: RepositoryVisibility - -class RepositoryInvitation(GQLObject): - """ - RepositoryInvitation - An invitation for a user to be added to a repository. - - email - The email address that received the invitation. - - invitee - The user who received the invitation. - - inviter - The user who created the invitation. - - permalink - The permalink for this repository invitation. - - permission - The permission granted on this repository by this invitation. - - repository - The Repository the user is invited to. - - """ - email: str - id: ID - invitee: User - inviter: User - permalink: URI - permission: RepositoryPermission - repository: RepositoryInfo - -class RepositoryInvitationEdge(GQLObject): - """ - RepositoryInvitationEdge - An edge in a connection. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: RepositoryInvitation - -class list_RepositoryInvitationEdge(list, RepositoryInvitationEdge): pass - -class list_RepositoryInvitation(list, RepositoryInvitation): pass - -class RepositoryInvitationConnection(GQLObject): - """ - RepositoryInvitationConnection - A list of repository invitations. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - """ - edges: list_RepositoryInvitationEdge[RepositoryInvitationEdge] - nodes: list_RepositoryInvitation[RepositoryInvitation] - pageInfo: PageInfo - totalCount: int - -class EnterprisePendingMemberInvitationEdge(GQLObject): - """ - EnterprisePendingMemberInvitationEdge - An invitation to be a member in an enterprise organization. - - cursor - A cursor for use in pagination. - - node - The item at the end of the edge. - - """ - cursor: str - node: OrganizationInvitation - -class list_EnterprisePendingMemberInvitationEdge(list, EnterprisePendingMemberInvitationEdge): pass - -class EnterprisePendingMemberInvitationConnection(GQLObject): - """ - EnterprisePendingMemberInvitationConnection - The connection type for OrganizationInvitation. - - edges - A list of edges. - - nodes - A list of nodes. - - pageInfo - Information to aid in pagination. - - totalCount - Identifies the total count of items in the connection. - - totalUniqueUserCount - Identifies the total count of unique users in the connection. - - """ - edges: list_EnterprisePendingMemberInvitationEdge[EnterprisePendingMemberInvitationEdge] - nodes: list_OrganizationInvitation[OrganizationInvitation] - pageInfo: PageInfo - totalCount: int - totalUniqueUserCount: int - -class QUBSX_ExternalIdentityConnection_Field(ExternalIdentityConnection): - """ - QUBSX_ExternalIdentityConnection_Field - ExternalIdentities provisioned by this identity provider. - - """ - class ExternalIdentityConnectionArgs(GQLArgsSet, GQLObject): - """ - membersOnly - Filter to external identities with valid org membership only - - login - Filter to external identities with the users login - - userName - Filter to external identities with the users userName/NameID attribute - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - membersOnly: bool - login: str - userName: str - after: str - before: str - first: int - last: int - - _args: ExternalIdentityConnectionArgs - - - -class EnterpriseIdentityProvider(GQLObject): - """ - EnterpriseIdentityProvider - An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. - - digestMethod - The digest algorithm used to sign SAML requests for the identity provider. - - enterprise - The enterprise this identity provider belongs to. - - externalIdentities - ExternalIdentities provisioned by this identity provider. - - idpCertificate - The x509 certificate used by the identity provider to sign assertions and responses. - - issuer - The Issuer Entity ID for the SAML identity provider. - - recoveryCodes - Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable. - - signatureMethod - The signature algorithm used to sign SAML requests for the identity provider. - - ssoUrl - The URL endpoint for the identity provider's SAML SSO. - - """ - digestMethod: SamlDigestAlgorithm - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - externalIdentities: QUBSX_ExternalIdentityConnection_Field - id: ID - idpCertificate: X509Certificate - issuer: str - recoveryCodes: list[str] - signatureMethod: SamlSignatureAlgorithm - ssoUrl: URI - -class ZVUOM_EnterpriseAdministratorConnection_Field(EnterpriseAdministratorConnection): - """ - ZVUOM_EnterpriseAdministratorConnection_Field - A list of all of the administrators for this enterprise. - - """ - class EnterpriseAdministratorConnectionArgs(GQLArgsSet, GQLObject): - """ - organizationLogins - Only return members within the organizations with these logins - - query - The search string to look for. - - role - The role to filter by. - - orderBy - Ordering options for administrators returned from the connection. - - hasTwoFactorEnabled - Only return administrators with this two-factor authentication status. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - organizationLogins: list[NonNull_str] - query: str - role: EnterpriseAdministratorRole - orderBy: EnterpriseMemberOrder - hasTwoFactorEnabled: bool - after: str - before: str - first: int - last: int - - _args: EnterpriseAdministratorConnectionArgs - - - -class UYDPP_UserConnection_Field(UserConnection): - """ - UYDPP_UserConnection_Field - A list of users in the enterprise who currently have two-factor authentication disabled. - - """ - class UserConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - after: str - before: str - first: int - last: int - - _args: UserConnectionArgs - - - -class VSKGR_OrganizationConnection_Field(OrganizationConnection): - """ - VSKGR_OrganizationConnection_Field - A list of enterprise organizations configured with the provided private repository forking setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NonNull_DefaultRepositoryPermissionField(GQLObject): pass - -class RFVGH_OrganizationConnection_Field(OrganizationConnection): - """ - RFVGH_OrganizationConnection_Field - A list of enterprise organizations configured with the provided base repository permission. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The permission to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_DefaultRepositoryPermissionField - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class BPQRD_VerifiableDomainConnection_Field(VerifiableDomainConnection): - """ - BPQRD_VerifiableDomainConnection_Field - A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. - - """ - class VerifiableDomainConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - isVerified - Filter whether or not the domain is verified. - - isApproved - Filter whether or not the domain is approved. - - orderBy - Ordering options for verifiable domains returned. - - """ - after: str - before: str - first: int - last: int - isVerified: bool - isApproved: bool - orderBy: VerifiableDomainOrder - - _args: VerifiableDomainConnectionArgs - - - -class PQVFN_EnterpriseServerInstallationConnection_Field(EnterpriseServerInstallationConnection): - """ - PQVFN_EnterpriseServerInstallationConnection_Field - Enterprise Server installations owned by the enterprise. - - """ - class EnterpriseServerInstallationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - connectedOnly - Whether or not to only return installations discovered via GitHub Connect. - - orderBy - Ordering options for Enterprise Server installations returned. - - """ - after: str - before: str - first: int - last: int - connectedOnly: bool - orderBy: EnterpriseServerInstallationOrder - - _args: EnterpriseServerInstallationConnectionArgs - - - -class JXHLW_EnterpriseFailedInvitationConnection_Field(EnterpriseFailedInvitationConnection): - """ - JXHLW_EnterpriseFailedInvitationConnection_Field - A list of failed invitations in the enterprise. - - """ - class EnterpriseFailedInvitationConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - after: str - before: str - first: int - last: int - - _args: EnterpriseFailedInvitationConnectionArgs - - - -class EXKBO_IpAllowListEntryConnection_Field(Generic[IpAllowListEntryConnection]): - """ - EXKBO_IpAllowListEntryConnection_Field - The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. - - """ - class IpAllowListEntryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for IP allow list entries returned. - - """ - after: str - before: str - first: int - last: int - orderBy: IpAllowListEntryOrder - - _args: IpAllowListEntryConnectionArgs - - - -class OPYMG_OrganizationConnection_Field(OrganizationConnection): - """ - OPYMG_OrganizationConnection_Field - A list of enterprise organizations configured with the provided can change repository visibility setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NonNull_OrganizationMembersCanCreateRepositoriesSettingValue(GQLObject): pass - -class DQMJZ_OrganizationConnection_Field(OrganizationConnection): - """ - DQMJZ_OrganizationConnection_Field - A list of enterprise organizations configured with the provided repository creation setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_OrganizationMembersCanCreateRepositoriesSettingValue - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class CCHMS_OrganizationConnection_Field(OrganizationConnection): - """ - CCHMS_OrganizationConnection_Field - A list of enterprise organizations configured with the provided members can delete issues setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class YVOVR_OrganizationConnection_Field(OrganizationConnection): - """ - YVOVR_OrganizationConnection_Field - A list of enterprise organizations configured with the provided members can delete repositories setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class PGPKO_OrganizationConnection_Field(OrganizationConnection): - """ - PGPKO_OrganizationConnection_Field - A list of enterprise organizations configured with the provided members can invite collaborators setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class MVLDE_OrganizationConnection_Field(OrganizationConnection): - """ - MVLDE_OrganizationConnection_Field - A list of enterprise organizations configured with the provided members can update protected branches setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class BOXCC_OrganizationConnection_Field(OrganizationConnection): - """ - BOXCC_OrganizationConnection_Field - A list of enterprise organizations configured with the provided members can view dependency insights setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class JUIYQ_OrganizationConnection_Field(OrganizationConnection): - """ - JUIYQ_OrganizationConnection_Field - A list of enterprise organizations configured with the provided organization projects setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class LKUDD_EnterpriseOutsideCollaboratorConnection_Field(EnterpriseOutsideCollaboratorConnection): - """ - LKUDD_EnterpriseOutsideCollaboratorConnection_Field - A list of outside collaborators across the repositories in the enterprise. - - """ - class EnterpriseOutsideCollaboratorConnectionArgs(GQLArgsSet, GQLObject): - """ - login - The login of one specific outside collaborator. - - query - The search string to look for. - - orderBy - Ordering options for outside collaborators returned from the connection. - - visibility - Only return outside collaborators on repositories with this visibility. - - hasTwoFactorEnabled - Only return outside collaborators with this two-factor authentication status. - - organizationLogins - Only return outside collaborators within the organizations with these logins - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - login: str - query: str - orderBy: EnterpriseMemberOrder - visibility: RepositoryVisibility - hasTwoFactorEnabled: bool - organizationLogins: list[NonNull_str] - after: str - before: str - first: int - last: int - - _args: EnterpriseOutsideCollaboratorConnectionArgs - - - -class KBWXF_EnterpriseAdministratorInvitationConnection_Field(EnterpriseAdministratorInvitationConnection): - """ - KBWXF_EnterpriseAdministratorInvitationConnection_Field - A list of pending administrator invitations for the enterprise. - - """ - class EnterpriseAdministratorInvitationConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - orderBy - Ordering options for pending enterprise administrator invitations returned from the connection. - - role - The role to filter by. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - orderBy: EnterpriseAdministratorInvitationOrder - role: EnterpriseAdministratorRole - after: str - before: str - first: int - last: int - - _args: EnterpriseAdministratorInvitationConnectionArgs - - - -class PRPKH_RepositoryInvitationConnection_Field(RepositoryInvitationConnection): - """ - PRPKH_RepositoryInvitationConnection_Field - A list of pending collaborator invitations across the repositories in the enterprise. - - """ - class RepositoryInvitationConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - orderBy - Ordering options for pending repository collaborator invitations returned from the connection. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - orderBy: RepositoryInvitationOrder - after: str - before: str - first: int - last: int - - _args: RepositoryInvitationConnectionArgs - - - -class XWMOQ_EnterprisePendingMemberInvitationConnection_Field(EnterprisePendingMemberInvitationConnection): - """ - XWMOQ_EnterprisePendingMemberInvitationConnection_Field - A list of pending member invitations for organizations in the enterprise. - - """ - class EnterprisePendingMemberInvitationConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. - - organizationLogins - Only return invitations within the organizations with these logins - - invitationSource - Only return invitations matching this invitation source - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - query: str - organizationLogins: list[NonNull_str] - invitationSource: OrganizationInvitationSource - after: str - before: str - first: int - last: int - - _args: EnterprisePendingMemberInvitationConnectionArgs - - - -class YUBXW_OrganizationConnection_Field(OrganizationConnection): - """ - YUBXW_OrganizationConnection_Field - A list of enterprise organizations configured with the provided repository projects setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NonNull_IdentityProviderConfigurationState(GQLObject): pass - -class UEHHH_OrganizationConnection_Field(OrganizationConnection): - """ - UEHHH_OrganizationConnection_Field - A list of enterprise organizations configured with the SAML single sign-on setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_IdentityProviderConfigurationState - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class WRNUA_EnterpriseMemberConnection_Field(EnterpriseMemberConnection): - """ - WRNUA_EnterpriseMemberConnection_Field - A list of members with a support entitlement. - - """ - class EnterpriseMemberConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for support entitlement users returned from the connection. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - orderBy: EnterpriseMemberOrder - after: str - before: str - first: int - last: int - - _args: EnterpriseMemberConnectionArgs - - - -class BSKKH_OrganizationConnection_Field(OrganizationConnection): - """ - BSKKH_OrganizationConnection_Field - A list of enterprise organizations configured with the provided team discussions setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class AKKKU_OrganizationConnection_Field(OrganizationConnection): - """ - AKKKU_OrganizationConnection_Field - A list of enterprise organizations configured with the two-factor authentication setting value. - - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - value - The setting value to find organizations for. - - orderBy - Ordering options for organizations with this setting. - - """ - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class EnterpriseOwnerInfo(GQLObject): - """ - EnterpriseOwnerInfo - Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. - - admins - A list of all of the administrators for this enterprise. - - affiliatedUsersWithTwoFactorDisabled - A list of users in the enterprise who currently have two-factor authentication disabled. - - affiliatedUsersWithTwoFactorDisabledExist - Whether or not affiliated users with two-factor authentication disabled exist in the enterprise. - - allowPrivateRepositoryForkingSetting - The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise. - - allowPrivateRepositoryForkingSettingOrganizations - A list of enterprise organizations configured with the provided private repository forking setting value. - - allowPrivateRepositoryForkingSettingPolicyValue - The value for the allow private repository forking policy on the enterprise. - - defaultRepositoryPermissionSetting - The setting value for base repository permissions for organizations in this enterprise. - - defaultRepositoryPermissionSettingOrganizations - A list of enterprise organizations configured with the provided base repository permission. - - domains - A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. - - enterpriseServerInstallations - Enterprise Server installations owned by the enterprise. - - failedInvitations - A list of failed invitations in the enterprise. - - ipAllowListEnabledSetting - The setting value for whether the enterprise has an IP allow list enabled. - - ipAllowListEntries - The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. - - ipAllowListForInstalledAppsEnabledSetting - The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. - - isUpdatingDefaultRepositoryPermission - Whether or not the base repository permission is currently being updated. - - isUpdatingTwoFactorRequirement - Whether the two-factor authentication requirement is currently being enforced. - - membersCanChangeRepositoryVisibilitySetting - The setting value for whether organization members with admin permissions on a repository can change repository visibility. - - membersCanChangeRepositoryVisibilitySettingOrganizations - A list of enterprise organizations configured with the provided can change repository visibility setting value. - - membersCanCreateInternalRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create internal repositories. - - membersCanCreatePrivateRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create private repositories. - - membersCanCreatePublicRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create public repositories. - - membersCanCreateRepositoriesSetting - The setting value for whether members of organizations in the enterprise can create repositories. - - membersCanCreateRepositoriesSettingOrganizations - A list of enterprise organizations configured with the provided repository creation setting value. - - membersCanDeleteIssuesSetting - The setting value for whether members with admin permissions for repositories can delete issues. - - membersCanDeleteIssuesSettingOrganizations - A list of enterprise organizations configured with the provided members can delete issues setting value. - - membersCanDeleteRepositoriesSetting - The setting value for whether members with admin permissions for repositories can delete or transfer repositories. + { + "additions" [ + { + "path": "docs/README.txt", + "contents": base64encode("hello world\n") + } + ] + } - membersCanDeleteRepositoriesSettingOrganizations - A list of enterprise organizations configured with the provided members can delete repositories setting value. + 2. Existing file modification: change existing `docs/README.txt` to have new + content `new content here\n`: - membersCanInviteCollaboratorsSetting - The setting value for whether members of organizations in the enterprise can invite outside collaborators. + { + "additions" [ + { + "path": "docs/README.txt", + "contents": base64encode("new content here\n") + } + ] + } - membersCanInviteCollaboratorsSettingOrganizations - A list of enterprise organizations configured with the provided members can invite collaborators setting value. + 3. Existing file deletion: remove existing file `docs/README.txt`. + Note that the path is required to exist -- specifying a + path that does not exist on the given branch will abort the + commit and return an error. - membersCanMakePurchasesSetting - Indicates whether members of this enterprise's organizations can purchase additional services for those organizations. + { + "deletions" [ + { + "path": "docs/README.txt" + } + ] + } - membersCanUpdateProtectedBranchesSetting - The setting value for whether members with admin permissions for repositories can update protected branches. - membersCanUpdateProtectedBranchesSettingOrganizations - A list of enterprise organizations configured with the provided members can update protected branches setting value. + 4. File rename with no changes: rename `docs/README.txt` with + previous content `hello world\n` to the same content at + `newdocs/README.txt`: - membersCanViewDependencyInsightsSetting - The setting value for whether members can view dependency insights. + { + "deletions" [ + { + "path": "docs/README.txt", + } + ], + "additions" [ + { + "path": "newdocs/README.txt", + "contents": base64encode("hello world\n") + } + ] + } - membersCanViewDependencyInsightsSettingOrganizations - A list of enterprise organizations configured with the provided members can view dependency insights setting value. - notificationDeliveryRestrictionEnabledSetting - Indicates if email notification delivery for this enterprise is restricted to verified or approved domains. + 5. File rename with changes: rename `docs/README.txt` with + previous content `hello world\n` to a file at path + `newdocs/README.txt` with content `new contents\n`: - oidcProvider - The OIDC Identity Provider for the enterprise. + { + "deletions" [ + { + "path": "docs/README.txt", + } + ], + "additions" [ + { + "path": "newdocs/README.txt", + "contents": base64encode("new contents\n") + } + ] + } - organizationProjectsSetting - The setting value for whether organization projects are enabled for organizations in this enterprise. + additions - File to add or change. - organizationProjectsSettingOrganizations - A list of enterprise organizations configured with the provided organization projects setting value. + deletions - Files to delete. - outsideCollaborators - A list of outside collaborators across the repositories in the enterprise. + """ - pendingAdminInvitations - A list of pending administrator invitations for the enterprise. + additions: Optional[list[FileAddition]] = None + deletions: Optional[list[FileDeletion]] = None - pendingCollaboratorInvitations - A list of pending collaborator invitations across the repositories in the enterprise. - pendingMemberInvitations - A list of pending member invitations for organizations in the enterprise. +@dataclass(kw_only=True) +class CreateCommitOnBranchInput: + """ + CreateCommitOnBranchInput - Autogenerated input type of CreateCommitOnBranch - repositoryProjectsSetting - The setting value for whether repository projects are enabled in this enterprise. + branch - The Ref to be updated. Must be a branch. - repositoryProjectsSettingOrganizations - A list of enterprise organizations configured with the provided repository projects setting value. + clientMutationId - A unique identifier for the client performing the mutation. - samlIdentityProvider - The SAML Identity Provider for the enterprise. + expectedHeadOid - The git commit oid expected at the head of the branch prior to the commit - samlIdentityProviderSettingOrganizations - A list of enterprise organizations configured with the SAML single sign-on setting value. + fileChanges - A description of changes to files in this commit. - supportEntitlements - A list of members with a support entitlement. + message - The commit message the be included with the commit. - teamDiscussionsSetting - The setting value for whether team discussions are enabled for organizations in this enterprise. + """ - teamDiscussionsSettingOrganizations - A list of enterprise organizations configured with the provided team discussions setting value. + branch: CommittableBranch + client_mutation_id: Optional[str] = None + expected_head_oid: GitObjectID + file_changes: Optional[FileChanges] = None + message: CommitMessage - twoFactorRequiredSetting - The setting value for whether the enterprise requires two-factor authentication for its organizations and users. - twoFactorRequiredSettingOrganizations - A list of enterprise organizations configured with the two-factor authentication setting value. +@dataclass(kw_only=True) +class CreateCommitOnBranchPayload: + """ + CreateCommitOnBranchPayload - Autogenerated return type of CreateCommitOnBranch - """ - admins: ZVUOM_EnterpriseAdministratorConnection_Field - affiliatedUsersWithTwoFactorDisabled: UYDPP_UserConnection_Field - affiliatedUsersWithTwoFactorDisabledExist: bool - allowPrivateRepositoryForkingSetting: EnterpriseEnabledDisabledSettingValue - allowPrivateRepositoryForkingSettingOrganizations: VSKGR_OrganizationConnection_Field - allowPrivateRepositoryForkingSettingPolicyValue: EnterpriseAllowPrivateRepositoryForkingPolicyValue - defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue - defaultRepositoryPermissionSettingOrganizations: RFVGH_OrganizationConnection_Field - domains: BPQRD_VerifiableDomainConnection_Field - enterpriseServerInstallations: PQVFN_EnterpriseServerInstallationConnection_Field - failedInvitations: JXHLW_EnterpriseFailedInvitationConnection_Field - ipAllowListEnabledSetting: IpAllowListEnabledSettingValue - ipAllowListEntries: EXKBO_IpAllowListEntryConnection_Field ## Circular Reference for IpAllowListEntryConnection - ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue - isUpdatingDefaultRepositoryPermission: bool - isUpdatingTwoFactorRequirement: bool - membersCanChangeRepositoryVisibilitySetting: EnterpriseEnabledDisabledSettingValue - membersCanChangeRepositoryVisibilitySettingOrganizations: OPYMG_OrganizationConnection_Field - membersCanCreateInternalRepositoriesSetting: bool - membersCanCreatePrivateRepositoriesSetting: bool - membersCanCreatePublicRepositoriesSetting: bool - membersCanCreateRepositoriesSetting: EnterpriseMembersCanCreateRepositoriesSettingValue - membersCanCreateRepositoriesSettingOrganizations: DQMJZ_OrganizationConnection_Field - membersCanDeleteIssuesSetting: EnterpriseEnabledDisabledSettingValue - membersCanDeleteIssuesSettingOrganizations: CCHMS_OrganizationConnection_Field - membersCanDeleteRepositoriesSetting: EnterpriseEnabledDisabledSettingValue - membersCanDeleteRepositoriesSettingOrganizations: YVOVR_OrganizationConnection_Field - membersCanInviteCollaboratorsSetting: EnterpriseEnabledDisabledSettingValue - membersCanInviteCollaboratorsSettingOrganizations: PGPKO_OrganizationConnection_Field - membersCanMakePurchasesSetting: EnterpriseMembersCanMakePurchasesSettingValue - membersCanUpdateProtectedBranchesSetting: EnterpriseEnabledDisabledSettingValue - membersCanUpdateProtectedBranchesSettingOrganizations: MVLDE_OrganizationConnection_Field - membersCanViewDependencyInsightsSetting: EnterpriseEnabledDisabledSettingValue - membersCanViewDependencyInsightsSettingOrganizations: BOXCC_OrganizationConnection_Field - notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue - oidcProvider: OIDCProvider - organizationProjectsSetting: EnterpriseEnabledDisabledSettingValue - organizationProjectsSettingOrganizations: JUIYQ_OrganizationConnection_Field - outsideCollaborators: LKUDD_EnterpriseOutsideCollaboratorConnection_Field - pendingAdminInvitations: KBWXF_EnterpriseAdministratorInvitationConnection_Field - pendingCollaboratorInvitations: PRPKH_RepositoryInvitationConnection_Field - pendingMemberInvitations: XWMOQ_EnterprisePendingMemberInvitationConnection_Field - repositoryProjectsSetting: EnterpriseEnabledDisabledSettingValue - repositoryProjectsSettingOrganizations: YUBXW_OrganizationConnection_Field - samlIdentityProvider: EnterpriseIdentityProvider - samlIdentityProviderSettingOrganizations: UEHHH_OrganizationConnection_Field - supportEntitlements: WRNUA_EnterpriseMemberConnection_Field - teamDiscussionsSetting: EnterpriseEnabledDisabledSettingValue - teamDiscussionsSettingOrganizations: BSKKH_OrganizationConnection_Field - twoFactorRequiredSetting: EnterpriseEnabledSettingValue - twoFactorRequiredSettingOrganizations: AKKKU_OrganizationConnection_Field + clientMutationId - A unique identifier for the client performing the mutation. -class UYWTP_EnterpriseMemberConnection_Field(EnterpriseMemberConnection): - """ - UYWTP_EnterpriseMemberConnection_Field - A list of users who are members of this enterprise. + commit - The new commit. - """ - class EnterpriseMemberConnectionArgs(GQLArgsSet, GQLObject): - """ - organizationLogins - Only return members within the organizations with these logins + ref - The ref which has been updated to point to the new commit. - query - The search string to look for. + """ - orderBy - Ordering options for members returned from the connection. + client_mutation_id: Optional[str] = None + commit: Optional[Commit] = None + ref: Optional[Ref] = None - role - The role of the user in the enterprise organization or server. - deployment - Only return members within the selected GitHub Enterprise deployment +@dataclass(kw_only=True) +class CreateEnterpriseOrganizationPayload: + """ + CreateEnterpriseOrganizationPayload - Autogenerated return type of CreateEnterpriseOrganization - hasTwoFactorEnabled - Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance. + clientMutationId - A unique identifier for the client performing the mutation. - after - Returns the elements in the list that come after the specified cursor. + enterprise - The enterprise that owns the created organization. - before - Returns the elements in the list that come before the specified cursor. + organization - The organization that was created. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + organization: Optional[Organization] = None - """ - organizationLogins: list[NonNull_str] - query: str - orderBy: EnterpriseMemberOrder - role: EnterpriseUserAccountMembershipRole - deployment: EnterpriseUserDeployment - hasTwoFactorEnabled: bool - after: str - before: str - first: int - last: int - _args: EnterpriseMemberConnectionArgs +@dataclass(kw_only=True) +class CreateLinkedBranchPayload: + """ + CreateLinkedBranchPayload - Autogenerated return type of CreateLinkedBranch + clientMutationId - A unique identifier for the client performing the mutation. + issue - The issue that was linked to. -class OBFXR_OrganizationConnection_Field(OrganizationConnection): - """ - OBFXR_OrganizationConnection_Field - A list of organizations that belong to this enterprise. + linkedBranch - The new branch issue reference. - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - query - The search string to look for. + """ - viewerOrganizationRole - The viewer's role in an organization. + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None + linked_branch: Optional[LinkedBranch] = None - orderBy - Ordering options for organizations returned from the connection. - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class RepositoryPropertyConditionTargetInput: + """ + RepositoryPropertyConditionTargetInput - Parameters to be used for the repository_property condition - before - Returns the elements in the list that come before the specified cursor. + exclude - Array of repository properties that must not match. - first - Returns the first _n_ elements from the list. + include - Array of repository properties that must match - last - Returns the last _n_ elements from the list. + """ - """ - query: str - viewerOrganizationRole: RoleInOrganization - orderBy: OrganizationOrder - after: str - before: str - first: int - last: int + exclude: list[PropertyTargetDefinitionInput] + include: list[PropertyTargetDefinitionInput] - _args: OrganizationConnectionArgs +@dataclass(kw_only=True) +class RepositoryRuleConditionsInput: + """ + RepositoryRuleConditionsInput - Specifies the conditions required for a ruleset to evaluate + refName - Configuration for the ref_name condition -class Enterprise(GQLObject): - """ - Enterprise - An account to manage multiple organizations with consolidated policy and billing. + repositoryId - Configuration for the repository_id condition - announcement - The text of the announcement + repositoryName - Configuration for the repository_name condition - announcementExpiresAt - The expiration date of the announcement, if any + repositoryProperty - Configuration for the repository_property condition - announcementUserDismissible - Whether the announcement can be dismissed by the user + """ - avatarUrl - A URL pointing to the enterprise's public avatar. + ref_name: Optional[RefNameConditionTargetInput] = None + repository_id: Optional[RepositoryIdConditionTargetInput] = None + repository_name: Optional[RepositoryNameConditionTargetInput] = None + repository_property: Optional[RepositoryPropertyConditionTargetInput] = None - billingInfo - Enterprise billing information visible to enterprise billing managers. - createdAt - Identifies the date and time when the object was created. +@dataclass(kw_only=True) +class RequiredStatusChecksParametersInput: + """ + RequiredStatusChecksParametersInput - 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. - databaseId - Identifies the primary key from the database. + requiredStatusChecks - Status checks that are required. - description - The description of the enterprise. + strictRequiredStatusChecksPolicy - Whether pull requests targeting a matching branch must be tested with the + latest code. This setting will not take effect unless at least one status + check is enabled. - descriptionHTML - The description of the enterprise as HTML. + """ - location - The location of the enterprise. + required_status_checks: list[StatusCheckConfigurationInput] + strict_required_status_checks_policy: bool - members - A list of users who are members of this enterprise. - name - The name of the enterprise. +@dataclass(kw_only=True) +class WorkflowsParametersInput: + """ + WorkflowsParametersInput - Require all changes made to a targeted branch to pass the specified workflows before they can be merged. - organizations - A list of organizations that belong to this enterprise. + workflows - Workflows that must pass for this rule to pass. - ownerInfo - Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. + """ - resourcePath - The HTTP path for this enterprise. + workflows: list[WorkflowFileReferenceInput] - slug - The URL-friendly identifier for the enterprise. - url - The HTTP URL for this enterprise. +@dataclass(kw_only=True) +class RuleParametersInput: + """ + RuleParametersInput - Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. - viewerIsAdmin - Is the current viewer an admin of this enterprise? + branchNamePattern - Parameters used for the `branch_name_pattern` rule type - websiteUrl - The URL of the enterprise website. + commitAuthorEmailPattern - Parameters used for the `commit_author_email_pattern` rule type - """ - announcement: str - announcementExpiresAt: DateTime - announcementUserDismissible: bool - avatarUrl: GZBMK_URI_Field - billingInfo: EnterpriseBillingInfo - createdAt: DateTime - databaseId: int - description: str - descriptionHTML: HTML - id: ID - location: str - members: UYWTP_EnterpriseMemberConnection_Field - name: str - organizations: OBFXR_OrganizationConnection_Field - ownerInfo: EnterpriseOwnerInfo - resourcePath: URI - slug: str - url: URI - viewerIsAdmin: bool - websiteUrl: URI + commitMessagePattern - Parameters used for the `commit_message_pattern` rule type -class IpAllowListOwner(GQLObject): - pass + committerEmailPattern - Parameters used for the `committer_email_pattern` rule type -class IpAllowListEntry(GQLObject): - """ - IpAllowListEntry - An IP address or range of addresses that is allowed to access an owner's resources. + pullRequest - Parameters used for the `pull_request` rule type - allowListValue - A single IP address or range of IP addresses in CIDR notation. + requiredDeployments - Parameters used for the `required_deployments` rule type - createdAt - Identifies the date and time when the object was created. + requiredStatusChecks - Parameters used for the `required_status_checks` rule type - isActive - Whether the entry is currently active. + tagNamePattern - Parameters used for the `tag_name_pattern` rule type - name - The name of the IP allow list entry. + update - Parameters used for the `update` rule type - owner - The owner of the IP allow list entry. + workflows - Parameters used for the `workflows` rule type - updatedAt - Identifies the date and time when the object was last updated. + """ - """ - allowListValue: str - createdAt: DateTime - id: ID - isActive: bool - name: str - owner: IpAllowListOwner - updatedAt: DateTime + branch_name_pattern: Optional[BranchNamePatternParametersInput] = None + commit_author_email_pattern: Optional[ + CommitAuthorEmailPatternParametersInput + ] = None + commit_message_pattern: Optional[CommitMessagePatternParametersInput] = None + committer_email_pattern: Optional[CommitterEmailPatternParametersInput] = None + pull_request: Optional[PullRequestParametersInput] = None + required_deployments: Optional[RequiredDeploymentsParametersInput] = None + required_status_checks: Optional[RequiredStatusChecksParametersInput] = None + tag_name_pattern: Optional[TagNamePatternParametersInput] = None + update: Optional[UpdateParametersInput] = None + workflows: Optional[WorkflowsParametersInput] = None -class IpAllowListEntryEdge(GQLObject): - """ - IpAllowListEntryEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class RepositoryRuleInput: + """ + RepositoryRuleInput - Specifies the attributes for a new or updated rule. - node - The item at the end of the edge. + id - Optional ID of this rule when updating - """ - cursor: str - node: IpAllowListEntry + parameters - The parameters for the rule. -class list_IpAllowListEntryEdge(list, IpAllowListEntryEdge): pass + type - The type of rule to create. -class list_IpAllowListEntry(list, IpAllowListEntry): pass + """ -class IpAllowListEntryConnection(GQLObject): - """ - IpAllowListEntryConnection - The connection type for IpAllowListEntry. + id: Optional[ID] = None + parameters: Optional[RuleParametersInput] = None + type: RepositoryRuleType - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class CreateRepositoryRulesetInput: + """ + CreateRepositoryRulesetInput - Autogenerated input type of CreateRepositoryRuleset - pageInfo - Information to aid in pagination. + bypassActors - A list of actors that are allowed to bypass rules in this ruleset. - totalCount - Identifies the total count of items in the connection. + clientMutationId - A unique identifier for the client performing the mutation. - """ - edges: list_IpAllowListEntryEdge[IpAllowListEntryEdge] - nodes: list_IpAllowListEntry[IpAllowListEntry] - pageInfo: PageInfo - totalCount: int + conditions - The set of conditions for this ruleset -class MKRSJ_IpAllowListEntryConnection_Field(IpAllowListEntryConnection): - """ - MKRSJ_IpAllowListEntryConnection_Field - The IP addresses of the app. + enforcement - The enforcement level for this ruleset - """ - class IpAllowListEntryConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + name - The name of the ruleset. - before - Returns the elements in the list that come before the specified cursor. + rules - The list of rules for this ruleset - first - Returns the first _n_ elements from the list. + sourceId - The global relay id of the source in which a new ruleset should be created in. - last - Returns the last _n_ elements from the list. + target - The target of the ruleset. - orderBy - Ordering options for IP allow list entries returned. + """ - """ - after: str - before: str - first: int - last: int - orderBy: IpAllowListEntryOrder + bypass_actors: Optional[list[RepositoryRulesetBypassActorInput]] = None + client_mutation_id: Optional[str] = None + conditions: RepositoryRuleConditionsInput + enforcement: RuleEnforcement + name: str + rules: Optional[list[RepositoryRuleInput]] = None + source_id: ID + target: Optional[RepositoryRulesetTarget] = None - _args: IpAllowListEntryConnectionArgs +@dataclass(kw_only=True) +class CreateUserListPayload: + """ + CreateUserListPayload - Autogenerated return type of CreateUserList + clientMutationId - A unique identifier for the client performing the mutation. -class App(GQLObject): - """ - App - A GitHub App. + list - The list that was just created - createdAt - Identifies the date and time when the object was created. + viewer - The user who created the list - databaseId - Identifies the primary key from the database. + """ - description - The description of the app. + client_mutation_id: Optional[str] = None + list: Optional[UserList] = None + viewer: Optional[User] = None - ipAllowListEntries - The IP addresses of the app. - logoBackgroundColor - The hex color code, without the leading '#', for the logo background. +@dataclass(kw_only=True) +class DeletePullRequestReviewCommentPayload: + """ + DeletePullRequestReviewCommentPayload - Autogenerated return type of DeletePullRequestReviewComment - logoUrl - A URL pointing to the app's logo. + clientMutationId - A unique identifier for the client performing the mutation. - name - The name of the app. + pullRequestReview - The pull request review the deleted comment belonged to. - slug - A slug based on the name of the app for use in URLs. + pullRequestReviewComment - The deleted pull request review comment. - updatedAt - Identifies the date and time when the object was last updated. + """ - url - The URL to the app's homepage. + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None + pull_request_review_comment: Optional[PullRequestReviewComment] = None - """ - createdAt: DateTime - databaseId: int - description: str - id: ID - ipAllowListEntries: MKRSJ_IpAllowListEntryConnection_Field - logoBackgroundColor: str - logoUrl: PCKOH_URI_Field - name: str - slug: str - updatedAt: DateTime - url: URI -class CheckRunEdge(GQLObject): - """ - CheckRunEdge - An edge in a connection. +@dataclass(kw_only=True) +class DisablePullRequestAutoMergePayload: + """ + DisablePullRequestAutoMergePayload - Autogenerated return type of DisablePullRequestAutoMerge - cursor - A cursor for use in pagination. + actor - Identifies the actor who performed the event. - node - The item at the end of the edge. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cursor: str - node: CheckRun + pullRequest - The pull request auto merge was disabled on. -class list_CheckRunEdge(list, CheckRunEdge): pass + """ -class list_CheckRun(list, CheckRun): pass + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class CheckRunConnection(GQLObject): - """ - CheckRunConnection - The connection type for CheckRun. - edges - A list of edges. +@dataclass(kw_only=True) +class EnablePullRequestAutoMergePayload: + """ + EnablePullRequestAutoMergePayload - Autogenerated return type of EnablePullRequestAutoMerge - nodes - A list of nodes. + actor - Identifies the actor who performed the event. - pageInfo - Information to aid in pagination. + clientMutationId - A unique identifier for the client performing the mutation. - totalCount - Identifies the total count of items in the connection. + pullRequest - The pull request auto-merge was enabled on. - """ - edges: list_CheckRunEdge[CheckRunEdge] - nodes: list_CheckRun[CheckRun] - pageInfo: PageInfo - totalCount: int + """ -class Push(GQLObject): - """ - Push - A Git push. + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - nextSha - The SHA after the push - permalink - The permalink for this push. +@dataclass(kw_only=True) +class LinkRepositoryToProjectPayload: + """ + LinkRepositoryToProjectPayload - Autogenerated return type of LinkRepositoryToProject - previousSha - The SHA before the push + clientMutationId - A unique identifier for the client performing the mutation. - pusher - The actor who pushed + project - The linked Project. - repository - The repository that was pushed to + repository - The linked Repository. - """ - id: ID - nextSha: GitObjectID - permalink: URI - previousSha: GitObjectID - pusher: Actor - repository: Repository + """ -class MNXKN_CheckRunConnection_Field(CheckRunConnection): - """ - MNXKN_CheckRunConnection_Field - The check runs associated with a check suite. + client_mutation_id: Optional[str] = None + project: Optional[Project] = None + repository: Optional[Repository] = None - """ - class CheckRunConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class LockLockablePayload: + """ + LockLockablePayload - Autogenerated return type of LockLockable - first - Returns the first _n_ elements from the list. + actor - Identifies the actor who performed the event. - last - Returns the last _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - filterBy - Filters the check runs by this type. + lockedRecord - The item that was locked. - """ - after: str - before: str - first: int - last: int - filterBy: CheckRunFilter + """ - _args: CheckRunConnectionArgs + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + locked_record: Optional[Lockable] = None +@dataclass(kw_only=True) +class MarketplaceListing: + """ + MarketplaceListing - A listing in the GitHub integration marketplace. -class PTOSD_PullRequestConnection_Field(PullRequestConnection): - """ - PTOSD_PullRequestConnection_Field - A list of open pull requests matching the check suite. + app - The GitHub App this listing represents. - """ - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - states - A list of states to filter the pull requests by. + companyUrl - URL to the listing owner's company site. - labels - A list of label names to filter the pull requests by. + configurationResourcePath - The HTTP path for configuring access to the listing's integration or OAuth app - headRefName - The head ref name to filter the pull requests by. + configurationUrl - The HTTP URL for configuring access to the listing's integration or OAuth app - baseRefName - The base ref name to filter the pull requests by. + documentationUrl - URL to the listing's documentation. - orderBy - Ordering options for pull requests returned from the connection. + extendedDescription - The listing's detailed description. - after - Returns the elements in the list that come after the specified cursor. + extendedDescriptionHTML - The listing's detailed description rendered to HTML. - before - Returns the elements in the list that come before the specified cursor. + fullDescription - The listing's introductory description. - first - Returns the first _n_ elements from the list. + fullDescriptionHTML - The listing's introductory description rendered to HTML. - last - Returns the last _n_ elements from the list. + hasPublishedFreeTrialPlans - Does this listing have any plans with a free trial? - """ - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int + hasTermsOfService - Does this listing have a terms of service link? - _args: PullRequestConnectionArgs + hasVerifiedOwner - Whether the creator of the app is a verified org + howItWorks - A technical description of how this app works with GitHub. + howItWorksHTML - The listing's technical description rendered to HTML. -class CheckSuite(GQLObject): - """ - CheckSuite - A check suite. + id - The Node ID of the MarketplaceListing object - app - The GitHub App which created this check suite. + installationUrl - URL to install the product to the viewer's account or organization. - branch - The name of the branch for this check suite. + installedForViewer - Whether this listing's app has been installed for the current viewer - checkRuns - The check runs associated with a check suite. + isArchived - Whether this listing has been removed from the Marketplace. - commit - The commit for this check suite + isDraft - Whether this listing is still an editable draft that has not been submitted + for review and is not publicly visible in the Marketplace. - conclusion - The conclusion of this check suite. + isPaid - Whether the product this listing represents is available as part of a paid plan. - createdAt - Identifies the date and time when the object was created. + isPublic - Whether this listing has been approved for display in the Marketplace. - creator - The user who triggered the check suite. + isRejected - Whether this listing has been rejected by GitHub for display in the Marketplace. - databaseId - Identifies the primary key from the database. + isUnverified - Whether this listing has been approved for unverified display in the Marketplace. - matchingPullRequests - A list of open pull requests matching the check suite. + isUnverifiedPending - Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace. - push - The push that triggered this check suite. + isVerificationPendingFromDraft - Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace. - repository - The repository associated with this check suite. + isVerificationPendingFromUnverified - Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace. - resourcePath - The HTTP path for this check suite + isVerified - Whether this listing has been approved for verified display in the Marketplace. - status - The status of this check suite. + logoBackgroundColor - The hex color code, without the leading '#', for the logo background. - updatedAt - Identifies the date and time when the object was last updated. + logoUrl - URL for the listing's logo image. - url - The HTTP URL for this check suite + name - The listing's full name. - workflowRun - The workflow run associated with this check suite. + normalizedShortDescription - The listing's very short description without a trailing period or ampersands. - """ - app: App - branch: Ref - checkRuns: MNXKN_CheckRunConnection_Field - commit: Commit - conclusion: CheckConclusionState - createdAt: DateTime - creator: User - databaseId: int - id: ID - matchingPullRequests: PTOSD_PullRequestConnection_Field - push: Push - repository: Repository - resourcePath: URI - status: CheckStatusState - updatedAt: DateTime - url: URI - workflowRun: NewType('WorkflowRun', GQLObject) ## Circular Reference for WorkflowRun + pricingUrl - URL to the listing's detailed pricing. -class KWMND_EnvironmentConnection_Field(EnvironmentConnection): - """ - KWMND_EnvironmentConnection_Field - The environments approved or rejected + primaryCategory - The category that best describes the listing. - """ - class EnvironmentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + privacyPolicyUrl - URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL. - before - Returns the elements in the list that come before the specified cursor. + resourcePath - The HTTP path for the Marketplace listing. - first - Returns the first _n_ elements from the list. + screenshotUrls - The URLs for the listing's screenshots. - last - Returns the last _n_ elements from the list. + secondaryCategory - An alternate category that describes the listing. - """ - after: str - before: str - first: int - last: int + shortDescription - The listing's very short description. - _args: EnvironmentConnectionArgs + slug - The short name of the listing used in its URL. + statusUrl - URL to the listing's status page. + supportEmail - An email address for support for this listing's app. -class DeploymentReview(GQLObject): - """ - DeploymentReview - A deployment review. + supportUrl - Either a URL or an email address for support for this listing's app, may + return an empty string for listings that do not require a support URL. - comment - The comment the user left. + termsOfServiceUrl - URL to the listing's terms of service. - databaseId - Identifies the primary key from the database. + url - The HTTP URL for the Marketplace listing. - environments - The environments approved or rejected + viewerCanAddPlans - Can the current viewer add plans for this Marketplace listing. - state - The decision of the user. + viewerCanApprove - Can the current viewer approve this Marketplace listing. - user - The user that reviewed the deployment. + viewerCanDelist - Can the current viewer delist this Marketplace listing. - """ - comment: str - databaseId: int - environments: KWMND_EnvironmentConnection_Field - id: ID - state: DeploymentReviewState - user: User + viewerCanEdit - Can the current viewer edit this Marketplace listing. -class DeploymentReviewEdge(GQLObject): - """ - DeploymentReviewEdge - An edge in a connection. + viewerCanEditCategories - Can the current viewer edit the primary and secondary category of this + Marketplace listing. - cursor - A cursor for use in pagination. + viewerCanEditPlans - Can the current viewer edit the plans for this Marketplace listing. - node - The item at the end of the edge. + viewerCanRedraft - Can the current viewer return this Marketplace listing to draft state + so it becomes editable again. - """ - cursor: str - node: DeploymentReview + viewerCanReject - Can the current viewer reject this Marketplace listing by returning it to + an editable draft state or rejecting it entirely. -class list_DeploymentReviewEdge(list, DeploymentReviewEdge): pass + viewerCanRequestApproval - Can the current viewer request this listing be reviewed for display in + the Marketplace as verified. -class list_DeploymentReview(list, DeploymentReview): pass + viewerHasPurchased - Indicates whether the current user has an active subscription to this Marketplace listing. -class DeploymentReviewConnection(GQLObject): - """ - DeploymentReviewConnection - The connection type for DeploymentReview. + viewerHasPurchasedForAllOrganizations - Indicates if the current user has purchased a subscription to this Marketplace listing + for all of the organizations the user owns. - edges - A list of edges. + viewerIsListingAdmin - Does the current viewer role allow them to administer this Marketplace listing. - nodes - A list of nodes. + """ - pageInfo - Information to aid in pagination. + app: Optional[App] = None + company_url: Optional[URI] = None + configuration_resource_path: URI + configuration_url: URI + documentation_url: Optional[URI] = None + extended_description: Optional[str] = None + extended_description_h_t_m_l: HTML + full_description: str + full_description_h_t_m_l: HTML + has_published_free_trial_plans: bool + has_terms_of_service: bool + has_verified_owner: bool + how_it_works: Optional[str] = None + how_it_works_h_t_m_l: HTML + id: ID + installation_url: Optional[URI] = None + installed_for_viewer: bool + is_archived: bool + is_draft: bool + is_paid: bool + is_public: bool + is_rejected: bool + is_unverified: bool + is_unverified_pending: bool + is_verification_pending_from_draft: bool + is_verification_pending_from_unverified: bool + is_verified: bool + logo_background_color: str + logo_url: Optional[URI] = None + name: str + normalized_short_description: str + pricing_url: Optional[URI] = None + primary_category: MarketplaceCategory + privacy_policy_url: URI + resource_path: URI + screenshot_urls: list[str] + secondary_category: Optional[MarketplaceCategory] = None + short_description: str + slug: str + status_url: Optional[URI] = None + support_email: Optional[str] = None + support_url: URI + terms_of_service_url: Optional[URI] = None + url: URI + viewer_can_add_plans: bool + viewer_can_approve: bool + viewer_can_delist: bool + viewer_can_edit: bool + viewer_can_edit_categories: bool + viewer_can_edit_plans: bool + viewer_can_redraft: bool + viewer_can_reject: bool + viewer_can_request_approval: bool + viewer_has_purchased: bool + viewer_has_purchased_for_all_organizations: bool + viewer_is_listing_admin: bool - totalCount - Identifies the total count of items in the connection. - """ - edges: list_DeploymentReviewEdge[DeploymentReviewEdge] - nodes: list_DeploymentReview[DeploymentReview] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class MarketplaceListingEdge: + """ + MarketplaceListingEdge - An edge in a connection. -class WorkflowRunFile(GQLObject): - """ - WorkflowRunFile - An executed workflow file for a workflow run. + cursor - A cursor for use in pagination. - path - The path of the workflow file relative to its repository. + node - The item at the end of the edge. - repositoryFileUrl - The direct link to the file in the repository which stores the workflow file. + """ - repositoryName - The repository name and owner which stores the workflow file. + cursor: str + node: Optional[MarketplaceListing] = None - resourcePath - The HTTP path for this workflow run file - run - The parent workflow run execution for this file. +@dataclass(kw_only=True) +class MarketplaceListingConnection: + """ + MarketplaceListingConnection - Look up Marketplace Listings - url - The HTTP URL for this workflow run file + edges - A list of edges. - viewerCanPushRepository - If the viewer has permissions to push to the repository which stores the workflow. + nodes - A list of nodes. - viewerCanReadRepository - If the viewer has permissions to read the repository which stores the workflow. + pageInfo - Information to aid in pagination. - """ - id: ID - path: str - repositoryFileUrl: URI - repositoryName: URI - resourcePath: URI - run: NewType('WorkflowRun', GQLObject) ## Circular Reference for WorkflowRun - url: URI - viewerCanPushRepository: bool - viewerCanReadRepository: bool + totalCount - Identifies the total count of items in the connection. -class DeploymentRequestEdge(GQLObject): - """ - DeploymentRequestEdge - An edge in a connection. + """ - cursor - A cursor for use in pagination. + edges: Optional[list[MarketplaceListingEdge]] = None + nodes: Optional[list[MarketplaceListing]] = None + page_info: PageInfo + total_count: int - node - The item at the end of the edge. - """ - cursor: str - node: DeploymentRequest +@dataclass(kw_only=True) +class MergePullRequestPayload: + """ + MergePullRequestPayload - Autogenerated return type of MergePullRequest -class list_DeploymentRequestEdge(list, DeploymentRequestEdge): pass + actor - Identifies the actor who performed the event. -class list_DeploymentRequest(list, DeploymentRequest): pass + clientMutationId - A unique identifier for the client performing the mutation. -class DeploymentRequestConnection(GQLObject): - """ - DeploymentRequestConnection - The connection type for DeploymentRequest. + pullRequest - The pull request that was merged. - edges - A list of edges. + """ - nodes - A list of nodes. + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - pageInfo - Information to aid in pagination. - totalCount - Identifies the total count of items in the connection. +@dataclass(kw_only=True) +class ProfileOwner: + """ + ProfileOwner - Represents any entity on GitHub that has a profile page. - """ - edges: list_DeploymentRequestEdge[DeploymentRequestEdge] - nodes: list_DeploymentRequest[DeploymentRequest] - pageInfo: PageInfo - totalCount: int + anyPinnableItems - Determine if this repository owner has any items that can be pinned to their profile. -class NRSZZ_WorkflowRunConnection_Field(Generic[WorkflowRunConnection]): - """ - NRSZZ_WorkflowRunConnection_Field - The runs of the workflow. + email - The public profile email. - """ - class WorkflowRunConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + id - The Node ID of the ProfileOwner object - before - Returns the elements in the list that come before the specified cursor. + itemShowcase - Showcases a selection of repositories and gists that the profile owner has + either curated or that have been selected automatically based on popularity. - first - Returns the first _n_ elements from the list. + location - The public profile location. - last - Returns the last _n_ elements from the list. + login - The username used to login. - orderBy - Ordering options for the connection + name - The public profile name. - """ - after: str - before: str - first: int - last: int - orderBy: WorkflowRunOrder + pinnableItems - A list of repositories and gists this profile owner can pin to their profile. - _args: WorkflowRunConnectionArgs + pinnedItems - A list of repositories and gists this profile owner has pinned to their profile + pinnedItemsRemaining - Returns how many more items this profile owner can pin to their profile. + viewerCanChangePinnedItems - Can the viewer pin repositories and gists to the profile? -class Workflow(GQLObject): - """ - Workflow - A workflow contains meta information about an Actions workflow file. + websiteUrl - The public profile website URL. - createdAt - Identifies the date and time when the object was created. + """ - databaseId - Identifies the primary key from the database. + any_pinnable_items: bool + email: Optional[str] = None + id: ID + item_showcase: ProfileItemShowcase + location: Optional[str] = None + login: str + name: Optional[str] = None + pinnable_items: PinnableItemConnection + pinned_items: PinnableItemConnection + pinned_items_remaining: int + viewer_can_change_pinned_items: bool + website_url: Optional[URI] = None - name - The name of the workflow. - resourcePath - The HTTP path for this workflow +@dataclass(kw_only=True) +class ProjectV2ActorEdge: + """ + ProjectV2ActorEdge - An edge in a connection. - runs - The runs of the workflow. + cursor - A cursor for use in pagination. - state - The state of the workflow. + node - The item at the end of the edge. - updatedAt - Identifies the date and time when the object was last updated. + """ - url - The HTTP URL for this workflow + cursor: str + node: Optional[ProjectV2Actor] = None - """ - createdAt: DateTime - databaseId: int - id: ID - name: str - resourcePath: URI - runs: NRSZZ_WorkflowRunConnection_Field ## Circular Reference for WorkflowRunConnection - state: WorkflowState - updatedAt: DateTime - url: URI -class JVKPR_DeploymentReviewConnection_Field(DeploymentReviewConnection): - """ - JVKPR_DeploymentReviewConnection_Field - The log of deployment reviews +@dataclass(kw_only=True) +class ProjectV2ActorConnection: + """ + ProjectV2ActorConnection - The connection type for ProjectV2Actor. - """ - class DeploymentReviewConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + edges - A list of edges. - before - Returns the elements in the list that come before the specified cursor. + nodes - A list of nodes. - first - Returns the first _n_ elements from the list. + pageInfo - Information to aid in pagination. - last - Returns the last _n_ elements from the list. + totalCount - Identifies the total count of items in the connection. - """ - after: str - before: str - first: int - last: int + """ - _args: DeploymentReviewConnectionArgs + edges: Optional[list[ProjectV2ActorEdge]] = None + nodes: Optional[list[ProjectV2Actor]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueCommon: + """ + ProjectV2ItemFieldValueCommon - Common fields across different project field value types -class ZWGSW_DeploymentRequestConnection_Field(DeploymentRequestConnection): - """ - ZWGSW_DeploymentRequestConnection_Field - The pending deployment requests of all check runs in this workflow run + createdAt - Identifies the date and time when the object was created. - """ - class DeploymentRequestConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + creator - The actor who created the item. - before - Returns the elements in the list that come before the specified cursor. + databaseId - Identifies the primary key from the database. - first - Returns the first _n_ elements from the list. + field - The project field that contains this value. - last - Returns the last _n_ elements from the list. + id - The Node ID of the ProjectV2ItemFieldValueCommon object - """ - after: str - before: str - first: int - last: int + item - The project item that contains this value. - _args: DeploymentRequestConnectionArgs + updatedAt - Identifies the date and time when the object was last updated. + """ + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + updated_at: DateTime -class WorkflowRun(GQLObject): - """ - WorkflowRun - A workflow run. - checkSuite - The check suite this workflow run belongs to. +@dataclass(kw_only=True) +class PullRequestThread: + """ + PullRequestThread - A threaded list of comments for a given pull request. - createdAt - Identifies the date and time when the object was created. + comments - A list of pull request comments associated with the thread. - databaseId - Identifies the primary key from the database. + diffSide - The side of the diff on which this thread was placed. - deploymentReviews - The log of deployment reviews + id - The Node ID of the PullRequestThread object - event - The event that triggered the workflow run + isCollapsed - Whether or not the thread has been collapsed (resolved) - file - The workflow file + isOutdated - Indicates whether this thread was outdated by newer changes. - pendingDeploymentRequests - The pending deployment requests of all check runs in this workflow run + isResolved - Whether this thread has been resolved - resourcePath - The HTTP path for this workflow run + line - The line in the file to which this thread refers - runNumber - A number that uniquely identifies this workflow run in its parent workflow. + path - Identifies the file path of this thread. - updatedAt - Identifies the date and time when the object was last updated. + pullRequest - Identifies the pull request associated with this thread. - url - The HTTP URL for this workflow run + repository - Identifies the repository associated with this thread. - workflow - The workflow executed in this workflow run. + resolvedBy - The user who resolved this thread - """ - checkSuite: CheckSuite - createdAt: DateTime - databaseId: int - deploymentReviews: JVKPR_DeploymentReviewConnection_Field - event: str - file: WorkflowRunFile - id: ID - pendingDeploymentRequests: ZWGSW_DeploymentRequestConnection_Field - resourcePath: URI - runNumber: int - updatedAt: DateTime - url: URI - workflow: Workflow + startDiffSide - The side of the diff that the first line of the thread starts on (multi-line only) -class WorkflowRunEdge(GQLObject): - """ - WorkflowRunEdge - An edge in a connection. + startLine - The line of the first file diff in the thread. - cursor - A cursor for use in pagination. + subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file - node - The item at the end of the edge. + viewerCanReply - Indicates whether the current viewer can reply to this thread. - """ - cursor: str - node: WorkflowRun + viewerCanResolve - Whether or not the viewer can resolve this thread -class list_WorkflowRunEdge(list, WorkflowRunEdge): pass + viewerCanUnresolve - Whether or not the viewer can unresolve this thread -class list_WorkflowRun(list, WorkflowRun): pass + """ -class WorkflowRunConnection(GQLObject): - """ - WorkflowRunConnection - The connection type for WorkflowRun. + comments: PullRequestReviewCommentConnection + diff_side: DiffSide + id: ID + is_collapsed: bool + is_outdated: bool + is_resolved: bool + line: Optional[int] = None + path: str + pull_request: PullRequest + repository: Repository + resolved_by: Optional[User] = None + start_diff_side: Optional[DiffSide] = None + start_line: Optional[int] = None + subject_type: PullRequestReviewThreadSubjectType + viewer_can_reply: bool + viewer_can_resolve: bool + viewer_can_unresolve: bool - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class RemoveEnterpriseAdminPayload: + """ + RemoveEnterpriseAdminPayload - Autogenerated return type of RemoveEnterpriseAdmin - pageInfo - Information to aid in pagination. + admin - The user who was removed as an administrator. - totalCount - Identifies the total count of items in the connection. + clientMutationId - A unique identifier for the client performing the mutation. - """ - edges: list_WorkflowRunEdge[WorkflowRunEdge] - nodes: list_WorkflowRun[WorkflowRun] - pageInfo: PageInfo - totalCount: int + enterprise - The updated enterprise. -class list_Team(list, Team): pass + message - A message confirming the result of removing an administrator. -class UpdateTeamsRepositoryPayload(GQLObject): - """ - UpdateTeamsRepositoryPayload - Autogenerated return type of UpdateTeamsRepository + viewer - The viewer performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + """ - repository - The repository that was updated. + admin: Optional[User] = None + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None + viewer: Optional[User] = None - teams - The teams granted permission on the repository. - """ - clientMutationId: str - repository: Repository - teams: list_Team[Team] +@dataclass(kw_only=True) +class RemoveEnterpriseMemberPayload: + """ + RemoveEnterpriseMemberPayload - Autogenerated return type of RemoveEnterpriseMember -class list_StatusCheckConfigurationInput(list, StatusCheckConfigurationInput): pass + clientMutationId - A unique identifier for the client performing the mutation. -class RequiredStatusChecksParametersInput(GQLObject): - """ - RequiredStatusChecksParametersInput - Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. + enterprise - The updated enterprise. - requiredStatusChecks - Status checks that are required. + user - The user that was removed from the enterprise. - strictRequiredStatusChecksPolicy - Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. + viewer - The viewer performing the mutation. - """ - requiredStatusChecks: list_StatusCheckConfigurationInput[StatusCheckConfigurationInput] - strictRequiredStatusChecksPolicy: bool + """ -class RuleParametersInput(GQLObject): - """ - RuleParametersInput - Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + user: Optional[User] = None + viewer: Optional[User] = None - update - Parameters used for the `update` rule type - requiredDeployments - Parameters used for the `required_deployments` rule type +@dataclass(kw_only=True) +class RemoveEnterpriseOrganizationPayload: + """ + RemoveEnterpriseOrganizationPayload - Autogenerated return type of RemoveEnterpriseOrganization - pullRequest - Parameters used for the `pull_request` rule type + clientMutationId - A unique identifier for the client performing the mutation. - requiredStatusChecks - Parameters used for the `required_status_checks` rule type + enterprise - The updated enterprise. - commitMessagePattern - Parameters used for the `commit_message_pattern` rule type + organization - The organization that was removed from the enterprise. - commitAuthorEmailPattern - Parameters used for the `commit_author_email_pattern` rule type + viewer - The viewer performing the mutation. - committerEmailPattern - Parameters used for the `committer_email_pattern` rule type + """ - branchNamePattern - Parameters used for the `branch_name_pattern` rule type + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + organization: Optional[Organization] = None + viewer: Optional[User] = None - tagNamePattern - Parameters used for the `tag_name_pattern` rule type - """ - update: UpdateParametersInput - requiredDeployments: RequiredDeploymentsParametersInput - pullRequest: PullRequestParametersInput - requiredStatusChecks: RequiredStatusChecksParametersInput - commitMessagePattern: CommitMessagePatternParametersInput - commitAuthorEmailPattern: CommitAuthorEmailPatternParametersInput - committerEmailPattern: CommitterEmailPatternParametersInput - branchNamePattern: BranchNamePatternParametersInput - tagNamePattern: TagNamePatternParametersInput +@dataclass(kw_only=True) +class RemoveReactionPayload: + """ + RemoveReactionPayload - Autogenerated return type of RemoveReaction -class RepositoryRuleInput(GQLObject): - """ - RepositoryRuleInput - Specifies the attributes for a new or updated rule. + clientMutationId - A unique identifier for the client performing the mutation. - id - Optional ID of this rule when updating + reaction - The reaction object. - type - The type of rule to create. + reactionGroups - The reaction groups for the subject. - parameters - The parameters for the rule. + subject - The reactable subject. - """ - id: ID - type: RepositoryRuleType - parameters: RuleParametersInput + """ -class RepositoryRuleConditionsInput(GQLObject): - """ - RepositoryRuleConditionsInput - Specifies the conditions required for a ruleset to evaluate + client_mutation_id: Optional[str] = None + reaction: Optional[Reaction] = None + reaction_groups: Optional[list[ReactionGroup]] = None + subject: Optional[Reactable] = None - refName - Configuration for the ref_name condition - repositoryName - Configuration for the repository_name condition +@dataclass(kw_only=True) +class RequestReviewsPayload: + """ + RequestReviewsPayload - Autogenerated return type of RequestReviews - repositoryId - Configuration for the repository_id condition + actor - Identifies the actor who performed the event. - """ - refName: RefNameConditionTargetInput - repositoryName: RepositoryNameConditionTargetInput - repositoryId: RepositoryIdConditionTargetInput + clientMutationId - A unique identifier for the client performing the mutation. -class list_RepositoryRuleInput(list, RepositoryRuleInput): pass + pullRequest - The pull request that is getting requests. -class list_RepositoryRulesetBypassActorInput(list, RepositoryRulesetBypassActorInput): pass + requestedReviewersEdge - The edge from the pull request to the requested reviewers. -class UpdateRepositoryRulesetInput(GQLObject): - """ - UpdateRepositoryRulesetInput - Autogenerated input type of UpdateRepositoryRuleset + """ - repositoryRulesetId - The global relay id of the repository ruleset to be updated. + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + requested_reviewers_edge: Optional[UserEdge] = None - name - The name of the ruleset. - target - The target of the ruleset. +@dataclass(kw_only=True) +class RevertPullRequestPayload: + """ + RevertPullRequestPayload - Autogenerated return type of RevertPullRequest - rules - The list of rules for this ruleset + clientMutationId - A unique identifier for the client performing the mutation. - conditions - The list of conditions for this ruleset + pullRequest - The pull request that was reverted. - enforcement - The enforcement level for this ruleset + revertPullRequest - The new pull request that reverts the input pull request. - bypassActors - A list of actors that are allowed to bypass rules in this ruleset. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + revert_pull_request: Optional[PullRequest] = None - """ - repositoryRulesetId: ID - name: str - target: RepositoryRulesetTarget - rules: list_RepositoryRuleInput[RepositoryRuleInput] - conditions: RepositoryRuleConditionsInput - enforcement: RuleEnforcement - bypassActors: list_RepositoryRulesetBypassActorInput[RepositoryRulesetBypassActorInput] - clientMutationId: str -class UpdatePullRequestPayload(GQLObject): - """ - UpdatePullRequestPayload - Autogenerated return type of UpdatePullRequest +@dataclass(kw_only=True) +class TextMatch: + """ + TextMatch - A text match within a search result. - actor - Identifies the actor who performed the event. + fragment - The specific text fragment within the property matched on. - clientMutationId - A unique identifier for the client performing the mutation. + highlights - Highlights within the matched fragment. - pullRequest - The updated pull request. + property - The property matched on. - """ - actor: Actor - clientMutationId: str - pullRequest: PullRequest + """ -class UpdateIssuePayload(GQLObject): - """ - UpdateIssuePayload - Autogenerated return type of UpdateIssue + fragment: str + highlights: list[TextMatchHighlight] + property: str - actor - Identifies the actor who performed the event. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class SearchResultItemEdge: + """ + SearchResultItemEdge - An edge in a connection. - issue - The issue. + cursor - A cursor for use in pagination. - """ - actor: Actor - clientMutationId: str - issue: Issue + node - The item at the end of the edge. -class CheckAnnotationData(GQLObject): - """ - CheckAnnotationData - Information from a check run analysis to specific lines of code. + textMatches - Text matches on the result found. - path - The path of the file to add an annotation to. + """ - location - The location of the annotation + cursor: str + node: Optional[SearchResultItem] = None + text_matches: Optional[list[TextMatch]] = None - annotationLevel - Represents an annotation's information level - message - A short description of the feedback for these lines of code. +@dataclass(kw_only=True) +class SearchResultItemConnection: + """ + SearchResultItemConnection - A list of results that matched against a search query. Regardless of the number + of matches, a maximum of 1,000 results will be available across all types, + potentially split across many pages. - title - The title that represents the annotation. + codeCount - The total number of pieces of code that matched the search query. Regardless + of the total number of matches, a maximum of 1,000 results will be available + across all types. - rawDetails - Details about this annotation. + discussionCount - The total number of discussions that matched the search query. Regardless of + the total number of matches, a maximum of 1,000 results will be available + across all types. - """ - path: str - location: CheckAnnotationRange - annotationLevel: CheckAnnotationLevel - message: str - title: str - rawDetails: str + edges - A list of edges. -class list_CheckAnnotationData(list, CheckAnnotationData): pass + issueCount - The total number of issues that matched the search query. Regardless of the + total number of matches, a maximum of 1,000 results will be available across all types. -class list_CheckRunOutputImage(list, CheckRunOutputImage): pass + nodes - A list of nodes. -class CheckRunOutput(GQLObject): - """ - CheckRunOutput - Descriptive details about the check run. + pageInfo - Information to aid in pagination. - title - A title to provide for this check run. + repositoryCount - The total number of repositories that matched the search query. Regardless of + the total number of matches, a maximum of 1,000 results will be available + across all types. - summary - The summary of the check run (supports Commonmark). + userCount - The total number of users that matched the search query. Regardless of the + total number of matches, a maximum of 1,000 results will be available across all types. - text - The details of the check run (supports Commonmark). + wikiCount - The total number of wiki pages that matched the search query. Regardless of + the total number of matches, a maximum of 1,000 results will be available + across all types. - annotations - The annotations that are made as part of the check run. + """ - images - Images attached to the check run output displayed in the GitHub pull request UI. + code_count: int + discussion_count: int + edges: Optional[list[SearchResultItemEdge]] = None + issue_count: int + nodes: Optional[list[SearchResultItem]] = None + page_info: PageInfo + repository_count: int + user_count: int + wiki_count: int - """ - title: str - summary: str - text: str - annotations: list_CheckAnnotationData[CheckAnnotationData] - images: list_CheckRunOutputImage[CheckRunOutputImage] -class list_CheckRunAction(list, CheckRunAction): pass +@dataclass(kw_only=True) +class SecurityAdvisoryEdge: + """ + SecurityAdvisoryEdge - An edge in a connection. -class UpdateCheckRunInput(GQLObject): - """ - UpdateCheckRunInput - Autogenerated input type of UpdateCheckRun + cursor - A cursor for use in pagination. - repositoryId - The node ID of the repository. + node - The item at the end of the edge. - checkRunId - The node of the check. + """ - name - The name of the check. + cursor: str + node: Optional[SecurityAdvisory] = None - detailsUrl - The URL of the integrator's site that has the full details of the check. - externalId - A reference for the run on the integrator's system. +@dataclass(kw_only=True) +class SecurityAdvisoryConnection: + """ + SecurityAdvisoryConnection - The connection type for SecurityAdvisory. - status - The current status. + edges - A list of edges. - startedAt - The time that the check run began. + nodes - A list of nodes. - conclusion - The final conclusion of the check. + pageInfo - Information to aid in pagination. - completedAt - The time that the check run finished. + totalCount - Identifies the total count of items in the connection. - output - Descriptive details about the run. + """ - actions - Possible further actions the integrator can perform, which a user may trigger. + edges: Optional[list[SecurityAdvisoryEdge]] = None + nodes: Optional[list[SecurityAdvisory]] = None + page_info: PageInfo + total_count: int - clientMutationId - A unique identifier for the client performing the mutation. - """ - repositoryId: ID - checkRunId: ID - name: str - detailsUrl: URI - externalId: str - status: RequestableCheckStatusState - startedAt: DateTime - conclusion: CheckConclusionState - completedAt: DateTime - output: CheckRunOutput - actions: list_CheckRunAction[CheckRunAction] - clientMutationId: str +@dataclass(kw_only=True) +class SponsorableItemEdge: + """ + SponsorableItemEdge - An edge in a connection. -class UnlockLockablePayload(GQLObject): - """ - UnlockLockablePayload - Autogenerated return type of UnlockLockable + cursor - A cursor for use in pagination. - actor - Identifies the actor who performed the event. + node - The item at the end of the edge. - clientMutationId - A unique identifier for the client performing the mutation. + """ - unlockedRecord - The item that was unlocked. + cursor: str + node: Optional[SponsorableItem] = None - """ - actor: Actor - clientMutationId: str - unlockedRecord: Lockable -class UnlinkRepositoryFromProjectPayload(GQLObject): - """ - UnlinkRepositoryFromProjectPayload - Autogenerated return type of UnlinkRepositoryFromProject +@dataclass(kw_only=True) +class SponsorableItemConnection: + """ + SponsorableItemConnection - The connection type for SponsorableItem. - clientMutationId - A unique identifier for the client performing the mutation. + edges - A list of edges. - project - The linked Project. + nodes - A list of nodes. - repository - The linked Repository. + pageInfo - Information to aid in pagination. - """ - clientMutationId: str - project: Project - repository: Repository + totalCount - Identifies the total count of items in the connection. -class Tag(GQLObject): - """ - Tag - Represents a Git tag. + """ - abbreviatedOid - An abbreviated version of the Git object ID + edges: Optional[list[SponsorableItemEdge]] = None + nodes: Optional[list[SponsorableItem]] = None + page_info: PageInfo + total_count: int - commitResourcePath - The HTTP path for this Git object - commitUrl - The HTTP URL for this Git object +@dataclass(kw_only=True) +class Tag: + """ + Tag - Represents a Git tag. - message - The Git tag message. + abbreviatedOid - An abbreviated version of the Git object ID - name - The Git tag name. + commitResourcePath - The HTTP path for this Git object - oid - The Git object ID + commitUrl - The HTTP URL for this Git object - repository - The Repository the Git object belongs to + id - The Node ID of the Tag object - tagger - Details about the tag author. + message - The Git tag message. - target - The Git object the tag points to. + name - The Git tag name. - """ - abbreviatedOid: str - commitResourcePath: URI - commitUrl: URI - id: ID - message: str - name: str - oid: GitObjectID - repository: Repository - tagger: GitActor - target: GitObject + oid - The Git object ID -class SponsorableItem(GQLObject): - pass + repository - The Repository the Git object belongs to -class SponsorableItemEdge(GQLObject): - """ - SponsorableItemEdge - An edge in a connection. + tagger - Details about the tag author. - cursor - A cursor for use in pagination. + target - The Git object the tag points to. - node - The item at the end of the edge. + """ - """ - cursor: str - node: SponsorableItem + abbreviated_oid: str + commit_resource_path: URI + commit_url: URI + id: ID + message: Optional[str] = None + name: str + oid: GitObjectID + repository: Repository + tagger: Optional[GitActor] = None + target: GitObject -class list_SponsorableItemEdge(list, SponsorableItemEdge): pass -class list_SponsorableItem(list, SponsorableItem): pass +@dataclass(kw_only=True) +class UnlinkRepositoryFromProjectPayload: + """ + UnlinkRepositoryFromProjectPayload - Autogenerated return type of UnlinkRepositoryFromProject -class SponsorableItemConnection(GQLObject): - """ - SponsorableItemConnection - The connection type for SponsorableItem. + clientMutationId - A unique identifier for the client performing the mutation. - edges - A list of edges. + project - The linked Project. - nodes - A list of nodes. + repository - The linked Repository. - pageInfo - Information to aid in pagination. + """ - totalCount - Identifies the total count of items in the connection. + client_mutation_id: Optional[str] = None + project: Optional[Project] = None + repository: Optional[Repository] = None - """ - edges: list_SponsorableItemEdge[SponsorableItemEdge] - nodes: list_SponsorableItem[SponsorableItem] - pageInfo: PageInfo - totalCount: int -class SecurityAdvisoryEdge(GQLObject): - """ - SecurityAdvisoryEdge - An edge in a connection. +@dataclass(kw_only=True) +class UnlockLockablePayload: + """ + UnlockLockablePayload - Autogenerated return type of UnlockLockable - cursor - A cursor for use in pagination. + actor - Identifies the actor who performed the event. - node - The item at the end of the edge. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cursor: str - node: SecurityAdvisory + unlockedRecord - The item that was unlocked. -class list_SecurityAdvisoryEdge(list, SecurityAdvisoryEdge): pass + """ -class list_SecurityAdvisory(list, SecurityAdvisory): pass + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + unlocked_record: Optional[Lockable] = None -class SecurityAdvisoryConnection(GQLObject): - """ - SecurityAdvisoryConnection - The connection type for SecurityAdvisory. - edges - A list of edges. +@dataclass(kw_only=True) +class UpdateCheckRunInput: + """ + UpdateCheckRunInput - Autogenerated input type of UpdateCheckRun - nodes - A list of nodes. + actions - Possible further actions the integrator can perform, which a user may trigger. - pageInfo - Information to aid in pagination. + checkRunId - The node of the check. - totalCount - Identifies the total count of items in the connection. + clientMutationId - A unique identifier for the client performing the mutation. - """ - edges: list_SecurityAdvisoryEdge[SecurityAdvisoryEdge] - nodes: list_SecurityAdvisory[SecurityAdvisory] - pageInfo: PageInfo - totalCount: int + completedAt - The time that the check run finished. -class MarketplaceListing(GQLObject): - """ - MarketplaceListing - A listing in the GitHub integration marketplace. + conclusion - The final conclusion of the check. - app - The GitHub App this listing represents. + detailsUrl - The URL of the integrator's site that has the full details of the check. - companyUrl - URL to the listing owner's company site. + externalId - A reference for the run on the integrator's system. - configurationResourcePath - The HTTP path for configuring access to the listing's integration or OAuth app + name - The name of the check. - configurationUrl - The HTTP URL for configuring access to the listing's integration or OAuth app + output - Descriptive details about the run. - documentationUrl - URL to the listing's documentation. + repositoryId - The node ID of the repository. - extendedDescription - The listing's detailed description. + startedAt - The time that the check run began. - extendedDescriptionHTML - The listing's detailed description rendered to HTML. + status - The current status. - fullDescription - The listing's introductory description. + """ - fullDescriptionHTML - The listing's introductory description rendered to HTML. + actions: Optional[list[CheckRunAction]] = None + check_run_id: ID + client_mutation_id: Optional[str] = None + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + details_url: Optional[URI] = None + external_id: Optional[str] = None + name: Optional[str] = None + output: Optional[CheckRunOutput] = None + repository_id: ID + started_at: Optional[DateTime] = None + status: Optional[RequestableCheckStatusState] = None - hasPublishedFreeTrialPlans - Does this listing have any plans with a free trial? - hasTermsOfService - Does this listing have a terms of service link? +@dataclass(kw_only=True) +class UpdateIssuePayload: + """ + UpdateIssuePayload - Autogenerated return type of UpdateIssue - hasVerifiedOwner - Whether the creator of the app is a verified org + actor - Identifies the actor who performed the event. - howItWorks - A technical description of how this app works with GitHub. + clientMutationId - A unique identifier for the client performing the mutation. - howItWorksHTML - The listing's technical description rendered to HTML. + issue - The issue. - installationUrl - URL to install the product to the viewer's account or organization. + """ - installedForViewer - Whether this listing's app has been installed for the current viewer + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None - isArchived - Whether this listing has been removed from the Marketplace. - isDraft - Whether this listing is still an editable draft that has not been submitted for review and is not publicly visible in the Marketplace. +@dataclass(kw_only=True) +class UpdatePullRequestPayload: + """ + UpdatePullRequestPayload - Autogenerated return type of UpdatePullRequest - isPaid - Whether the product this listing represents is available as part of a paid plan. + actor - Identifies the actor who performed the event. - isPublic - Whether this listing has been approved for display in the Marketplace. + clientMutationId - A unique identifier for the client performing the mutation. - isRejected - Whether this listing has been rejected by GitHub for display in the Marketplace. + pullRequest - The updated pull request. - isUnverified - Whether this listing has been approved for unverified display in the Marketplace. + """ - isUnverifiedPending - Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace. + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - isVerificationPendingFromDraft - Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace. - isVerificationPendingFromUnverified - Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace. +@dataclass(kw_only=True) +class UpdateRepositoryRulesetInput: + """ + UpdateRepositoryRulesetInput - Autogenerated input type of UpdateRepositoryRuleset - isVerified - Whether this listing has been approved for verified display in the Marketplace. + bypassActors - A list of actors that are allowed to bypass rules in this ruleset. - logoBackgroundColor - The hex color code, without the leading '#', for the logo background. + clientMutationId - A unique identifier for the client performing the mutation. - logoUrl - URL for the listing's logo image. + conditions - The list of conditions for this ruleset - name - The listing's full name. + enforcement - The enforcement level for this ruleset - normalizedShortDescription - The listing's very short description without a trailing period or ampersands. + name - The name of the ruleset. - pricingUrl - URL to the listing's detailed pricing. + repositoryRulesetId - The global relay id of the repository ruleset to be updated. - primaryCategory - The category that best describes the listing. + rules - The list of rules for this ruleset - privacyPolicyUrl - URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL. + target - The target of the ruleset. - resourcePath - The HTTP path for the Marketplace listing. + """ - screenshotUrls - The URLs for the listing's screenshots. + bypass_actors: Optional[list[RepositoryRulesetBypassActorInput]] = None + client_mutation_id: Optional[str] = None + conditions: Optional[RepositoryRuleConditionsInput] = None + enforcement: Optional[RuleEnforcement] = None + name: Optional[str] = None + repository_ruleset_id: ID + rules: Optional[list[RepositoryRuleInput]] = None + target: Optional[RepositoryRulesetTarget] = None - secondaryCategory - An alternate category that describes the listing. - shortDescription - The listing's very short description. +@dataclass(kw_only=True) +class UpdateTeamsRepositoryPayload: + """ + UpdateTeamsRepositoryPayload - Autogenerated return type of UpdateTeamsRepository - slug - The short name of the listing used in its URL. + clientMutationId - A unique identifier for the client performing the mutation. - statusUrl - URL to the listing's status page. + repository - The repository that was updated. - supportEmail - An email address for support for this listing's app. + teams - The teams granted permission on the repository. - supportUrl - Either a URL or an email address for support for this listing's app, may return an empty string for listings that do not require a support URL. + """ - termsOfServiceUrl - URL to the listing's terms of service. + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None + teams: Optional[list[Team]] = None - url - The HTTP URL for the Marketplace listing. - viewerCanAddPlans - Can the current viewer add plans for this Marketplace listing. +@dataclass(kw_only=True) +class UpdateUserListsForItemPayload: + """ + UpdateUserListsForItemPayload - Autogenerated return type of UpdateUserListsForItem - viewerCanApprove - Can the current viewer approve this Marketplace listing. + clientMutationId - A unique identifier for the client performing the mutation. - viewerCanDelist - Can the current viewer delist this Marketplace listing. + item - The item that was added - viewerCanEdit - Can the current viewer edit this Marketplace listing. + lists - The lists to which this item belongs - viewerCanEditCategories - Can the current viewer edit the primary and secondary category of this -Marketplace listing. + user - The user who owns the lists + """ - viewerCanEditPlans - Can the current viewer edit the plans for this Marketplace listing. + client_mutation_id: Optional[str] = None + item: Optional[UserListItems] = None + lists: Optional[list[UserList]] = None + user: Optional[User] = None - viewerCanRedraft - Can the current viewer return this Marketplace listing to draft state -so it becomes editable again. +@dataclass(kw_only=True) +class ViewerHovercardContext: + """ + ViewerHovercardContext - A hovercard context with a message describing how the viewer is related. - viewerCanReject - Can the current viewer reject this Marketplace listing by returning it to -an editable draft state or rejecting it entirely. + message - A string describing this context + octicon - An octicon to accompany this context - viewerCanRequestApproval - Can the current viewer request this listing be reviewed for display in -the Marketplace as verified. + viewer - Identifies the user who is related to this context. + """ - viewerHasPurchased - Indicates whether the current user has an active subscription to this Marketplace listing. + message: str + octicon: str + viewer: User - viewerHasPurchasedForAllOrganizations - Indicates if the current user has purchased a subscription to this Marketplace listing -for all of the organizations the user owns. +@dataclass(kw_only=True) +class VerifyVerifiableDomainPayload: + """ + VerifyVerifiableDomainPayload - Autogenerated return type of VerifyVerifiableDomain + clientMutationId - A unique identifier for the client performing the mutation. - viewerIsListingAdmin - Does the current viewer role allow them to administer this Marketplace listing. + domain - The verifiable domain that was verified. + """ - """ - app: App - companyUrl: URI - configurationResourcePath: URI - configurationUrl: URI - documentationUrl: URI - extendedDescription: str - extendedDescriptionHTML: HTML - fullDescription: str - fullDescriptionHTML: HTML - hasPublishedFreeTrialPlans: bool - hasTermsOfService: bool - hasVerifiedOwner: bool - howItWorks: str - howItWorksHTML: HTML - id: ID - installationUrl: URI - installedForViewer: bool - isArchived: bool - isDraft: bool - isPaid: bool - isPublic: bool - isRejected: bool - isUnverified: bool - isUnverifiedPending: bool - isVerificationPendingFromDraft: bool - isVerificationPendingFromUnverified: bool - isVerified: bool - logoBackgroundColor: str - logoUrl: AXANY_URI_Field - name: str - normalizedShortDescription: str - pricingUrl: URI - primaryCategory: MarketplaceCategory - privacyPolicyUrl: URI - resourcePath: URI - screenshotUrls: list[str] - secondaryCategory: MarketplaceCategory - shortDescription: str - slug: str - statusUrl: URI - supportEmail: str - supportUrl: URI - termsOfServiceUrl: URI - url: URI - viewerCanAddPlans: bool - viewerCanApprove: bool - viewerCanDelist: bool - viewerCanEdit: bool - viewerCanEditCategories: bool - viewerCanEditPlans: bool - viewerCanRedraft: bool - viewerCanReject: bool - viewerCanRequestApproval: bool - viewerHasPurchased: bool - viewerHasPurchasedForAllOrganizations: bool - viewerIsListingAdmin: bool + client_mutation_id: Optional[str] = None + domain: Optional[VerifiableDomain] = None -class SearchResultItem(GQLObject): - pass -class list_TextMatchHighlight(list, TextMatchHighlight): pass +@dataclass(kw_only=True) +class UpdateUserListPayload: + """ + UpdateUserListPayload - Autogenerated return type of UpdateUserList -class TextMatch(GQLObject): - """ - TextMatch - A text match within a search result. + clientMutationId - A unique identifier for the client performing the mutation. - fragment - The specific text fragment within the property matched on. + list - The list that was just updated - highlights - Highlights within the matched fragment. + """ - property - The property matched on. + client_mutation_id: Optional[str] = None + list: Optional[UserList] = None - """ - fragment: str - highlights: list_TextMatchHighlight[TextMatchHighlight] - property: str -class list_TextMatch(list, TextMatch): pass +@dataclass(kw_only=True) +class UpdateTopicsPayload: + """ + UpdateTopicsPayload - Autogenerated return type of UpdateTopics -class SearchResultItemEdge(GQLObject): - """ - SearchResultItemEdge - An edge in a connection. + clientMutationId - A unique identifier for the client performing the mutation. - cursor - A cursor for use in pagination. + invalidTopicNames - Names of the provided topics that are not valid. - node - The item at the end of the edge. + repository - The updated repository. - textMatches - Text matches on the result found. + """ - """ - cursor: str - node: SearchResultItem - textMatches: list_TextMatch[TextMatch] + client_mutation_id: Optional[str] = None + invalid_topic_names: Optional[list[str]] = None + repository: Optional[Repository] = None -class list_SearchResultItemEdge(list, SearchResultItemEdge): pass -class list_SearchResultItem(list, SearchResultItem): pass +@dataclass(kw_only=True) +class UpdateTeamReviewAssignmentPayload: + """ + UpdateTeamReviewAssignmentPayload - Autogenerated return type of UpdateTeamReviewAssignment -class SearchResultItemConnection(GQLObject): - """ - SearchResultItemConnection - A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages. + clientMutationId - A unique identifier for the client performing the mutation. - codeCount - The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. + team - The team that was modified - discussionCount - The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. + """ - edges - A list of edges. + client_mutation_id: Optional[str] = None + team: Optional[Team] = None - issueCount - The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. - nodes - A list of nodes. +@dataclass(kw_only=True) +class UpdateTeamDiscussionPayload: + """ + UpdateTeamDiscussionPayload - Autogenerated return type of UpdateTeamDiscussion - pageInfo - Information to aid in pagination. + clientMutationId - A unique identifier for the client performing the mutation. - repositoryCount - The total number of repositories that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. + teamDiscussion - The updated discussion. - userCount - The total number of users that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. + """ - wikiCount - The total number of wiki pages that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. + client_mutation_id: Optional[str] = None + team_discussion: Optional[TeamDiscussion] = None - """ - codeCount: int - discussionCount: int - edges: list_SearchResultItemEdge[SearchResultItemEdge] - issueCount: int - nodes: list_SearchResultItem[SearchResultItem] - pageInfo: PageInfo - repositoryCount: int - userCount: int - wikiCount: int -class RevertPullRequestPayload(GQLObject): - """ - RevertPullRequestPayload - Autogenerated return type of RevertPullRequest +@dataclass(kw_only=True) +class UpdateTeamDiscussionCommentPayload: + """ + UpdateTeamDiscussionCommentPayload - Autogenerated return type of UpdateTeamDiscussionComment - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The pull request that was reverted. + teamDiscussionComment - The updated comment. - revertPullRequest - The new pull request that reverts the input pull request. + """ - """ - clientMutationId: str - pullRequest: PullRequest - revertPullRequest: PullRequest + client_mutation_id: Optional[str] = None + team_discussion_comment: Optional[TeamDiscussionComment] = None -class RequestReviewsPayload(GQLObject): - """ - RequestReviewsPayload - Autogenerated return type of RequestReviews - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class UpdateSubscriptionPayload: + """ + UpdateSubscriptionPayload - Autogenerated return type of UpdateSubscription - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The pull request that is getting requests. + subscribable - The input subscribable entity. - requestedReviewersEdge - The edge from the pull request to the requested reviewers. + """ - """ - actor: Actor - clientMutationId: str - pullRequest: PullRequest - requestedReviewersEdge: UserEdge + client_mutation_id: Optional[str] = None + subscribable: Optional[Subscribable] = None -class RemoveReactionPayload(GQLObject): - """ - RemoveReactionPayload - Autogenerated return type of RemoveReaction - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateSponsorshipPreferencesPayload: + """ + UpdateSponsorshipPreferencesPayload - Autogenerated return type of UpdateSponsorshipPreferences - reaction - The reaction object. + clientMutationId - A unique identifier for the client performing the mutation. - reactionGroups - The reaction groups for the subject. + sponsorship - The sponsorship that was updated. - subject - The reactable subject. + """ - """ - clientMutationId: str - reaction: Reaction - reactionGroups: list_ReactionGroup[ReactionGroup] - subject: Reactable + client_mutation_id: Optional[str] = None + sponsorship: Optional[Sponsorship] = None -class RemoveEnterpriseOrganizationPayload(GQLObject): - """ - RemoveEnterpriseOrganizationPayload - Autogenerated return type of RemoveEnterpriseOrganization - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateRepositoryWebCommitSignoffSettingPayload: + """ + UpdateRepositoryWebCommitSignoffSettingPayload - Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting - enterprise - The updated enterprise. + clientMutationId - A unique identifier for the client performing the mutation. - organization - The organization that was removed from the enterprise. + message - A message confirming the result of updating the web commit signoff setting. - viewer - The viewer performing the mutation. + repository - The updated repository. - """ - clientMutationId: str - enterprise: Enterprise - organization: Organization - viewer: User + """ -class RemoveEnterpriseMemberPayload(GQLObject): - """ - RemoveEnterpriseMemberPayload - Autogenerated return type of RemoveEnterpriseMember + client_mutation_id: Optional[str] = None + message: Optional[str] = None + repository: Optional[Repository] = None - clientMutationId - A unique identifier for the client performing the mutation. - enterprise - The updated enterprise. +@dataclass(kw_only=True) +class UpdateRepositoryRulesetPayload: + """ + UpdateRepositoryRulesetPayload - Autogenerated return type of UpdateRepositoryRuleset - user - The user that was removed from the enterprise. + clientMutationId - A unique identifier for the client performing the mutation. - viewer - The viewer performing the mutation. + ruleset - The newly created Ruleset. - """ - clientMutationId: str - enterprise: Enterprise - user: User - viewer: User + """ -class RemoveEnterpriseAdminPayload(GQLObject): - """ - RemoveEnterpriseAdminPayload - Autogenerated return type of RemoveEnterpriseAdmin + client_mutation_id: Optional[str] = None + ruleset: Optional[RepositoryRuleset] = None - admin - The user who was removed as an administrator. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateRepositoryPayload: + """ + UpdateRepositoryPayload - Autogenerated return type of UpdateRepository - enterprise - The updated enterprise. + clientMutationId - A unique identifier for the client performing the mutation. - message - A message confirming the result of removing an administrator. + repository - The updated repository. - viewer - The viewer performing the mutation. + """ - """ - admin: User - clientMutationId: str - enterprise: Enterprise - message: str - viewer: User + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class SRBSM_PullRequestReviewCommentConnection_Field(PullRequestReviewCommentConnection): - """ - SRBSM_PullRequestReviewCommentConnection_Field - A list of pull request comments associated with the thread. - """ - class PullRequestReviewCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class UpdateRefsInput: + """ + UpdateRefsInput - Autogenerated input type of UpdateRefs - before - Returns the elements in the list that come before the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - first - Returns the first _n_ elements from the list. + refUpdates - A list of ref updates. - last - Returns the last _n_ elements from the list. + repositoryId - The Node ID of the repository. - skip - Skips the first _n_ elements in the list. + """ - """ - after: str - before: str - first: int - last: int - skip: int + client_mutation_id: Optional[str] = None + ref_updates: list[RefUpdate] + repository_id: ID - _args: PullRequestReviewCommentConnectionArgs +@dataclass(kw_only=True) +class UpdateRefPayload: + """ + UpdateRefPayload - Autogenerated return type of UpdateRef + clientMutationId - A unique identifier for the client performing the mutation. -class PullRequestThread(GQLObject): - """ - PullRequestThread - A threaded list of comments for a given pull request. + ref - The updated Ref. - comments - A list of pull request comments associated with the thread. + """ - diffSide - The side of the diff on which this thread was placed. + client_mutation_id: Optional[str] = None + ref: Optional[Ref] = None - isCollapsed - Whether or not the thread has been collapsed (resolved) - isOutdated - Indicates whether this thread was outdated by newer changes. +@dataclass(kw_only=True) +class UpdatePullRequestReviewPayload: + """ + UpdatePullRequestReviewPayload - Autogenerated return type of UpdatePullRequestReview - isResolved - Whether this thread has been resolved + clientMutationId - A unique identifier for the client performing the mutation. - line - The line in the file to which this thread refers + pullRequestReview - The updated pull request review. - path - Identifies the file path of this thread. + """ - pullRequest - Identifies the pull request associated with this thread. + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - repository - Identifies the repository associated with this thread. - resolvedBy - The user who resolved this thread +@dataclass(kw_only=True) +class UpdatePullRequestReviewCommentPayload: + """ + UpdatePullRequestReviewCommentPayload - Autogenerated return type of UpdatePullRequestReviewComment - startDiffSide - The side of the diff that the first line of the thread starts on (multi-line only) + clientMutationId - A unique identifier for the client performing the mutation. - startLine - The line of the first file diff in the thread. + pullRequestReviewComment - The updated comment. - subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + """ - viewerCanReply - Indicates whether the current viewer can reply to this thread. + client_mutation_id: Optional[str] = None + pull_request_review_comment: Optional[PullRequestReviewComment] = None - viewerCanResolve - Whether or not the viewer can resolve this thread - viewerCanUnresolve - Whether or not the viewer can unresolve this thread +@dataclass(kw_only=True) +class UpdatePullRequestBranchPayload: + """ + UpdatePullRequestBranchPayload - Autogenerated return type of UpdatePullRequestBranch - """ - comments: SRBSM_PullRequestReviewCommentConnection_Field - diffSide: DiffSide - id: ID - isCollapsed: bool - isOutdated: bool - isResolved: bool - line: int - path: str - pullRequest: PullRequest - repository: Repository - resolvedBy: User - startDiffSide: DiffSide - startLine: int - subjectType: PullRequestReviewThreadSubjectType - viewerCanReply: bool - viewerCanResolve: bool - viewerCanUnresolve: bool + clientMutationId - A unique identifier for the client performing the mutation. -class ProjectV2ItemFieldValueCommon(GQLObject): - """ - ProjectV2ItemFieldValueCommon - Common fields across different project field value types + pullRequest - The updated pull request. - createdAt - Identifies the date and time when the object was created. + """ - creator - The actor who created the item. + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - databaseId - Identifies the primary key from the database. - field - The project field that contains this value. +@dataclass(kw_only=True) +class UpdateProjectV2Payload: + """ + UpdateProjectV2Payload - Autogenerated return type of UpdateProjectV2 - item - The project item that contains this value. + clientMutationId - A unique identifier for the client performing the mutation. - updatedAt - Identifies the date and time when the object was last updated. + projectV2 - The updated Project. - """ - createdAt: DateTime - creator: Actor - databaseId: int - field: ProjectV2FieldConfiguration - id: ID - item: ProjectV2Item - updatedAt: DateTime + """ -class ProjectV2Actor(GQLObject): - pass + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None -class ProjectV2ActorEdge(GQLObject): - """ - ProjectV2ActorEdge - An edge in a connection. - cursor - A cursor for use in pagination. +@dataclass(kw_only=True) +class UpdateProjectV2ItemPositionPayload: + """ + UpdateProjectV2ItemPositionPayload - Autogenerated return type of UpdateProjectV2ItemPosition - node - The item at the end of the edge. + clientMutationId - A unique identifier for the client performing the mutation. - """ - cursor: str - node: ProjectV2Actor + items - The items in the new order -class list_ProjectV2ActorEdge(list, ProjectV2ActorEdge): pass + """ -class list_ProjectV2Actor(list, ProjectV2Actor): pass + client_mutation_id: Optional[str] = None + items: Optional[ProjectV2ItemConnection] = None -class ProjectV2ActorConnection(GQLObject): - """ - ProjectV2ActorConnection - The connection type for ProjectV2Actor. - edges - A list of edges. +@dataclass(kw_only=True) +class UpdateProjectV2ItemFieldValuePayload: + """ + UpdateProjectV2ItemFieldValuePayload - Autogenerated return type of UpdateProjectV2ItemFieldValue - nodes - A list of nodes. + clientMutationId - A unique identifier for the client performing the mutation. - pageInfo - Information to aid in pagination. + projectV2Item - The updated item. - totalCount - Identifies the total count of items in the connection. + """ - """ - edges: list_ProjectV2ActorEdge[ProjectV2ActorEdge] - nodes: list_ProjectV2Actor[ProjectV2Actor] - pageInfo: PageInfo - totalCount: int + client_mutation_id: Optional[str] = None + project_v2_item: Optional[ProjectV2Item] = None -class BXBSC_PinnableItemConnection_Field(PinnableItemConnection): - """ - BXBSC_PinnableItemConnection_Field - A list of repositories and gists this profile owner can pin to their profile. - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - types - Filter the types of pinnable items that are returned. +@dataclass(kw_only=True) +class UpdateProjectV2ItemFieldValueInput: + """ + UpdateProjectV2ItemFieldValueInput - Autogenerated input type of UpdateProjectV2ItemFieldValue - after - Returns the elements in the list that come after the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - before - Returns the elements in the list that come before the specified cursor. + fieldId - The ID of the field to be updated. - first - Returns the first _n_ elements from the list. + itemId - The ID of the item to be updated. - last - Returns the last _n_ elements from the list. + projectId - The ID of the Project. - """ - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int + value - The value which will be set on the field. - _args: PinnableItemConnectionArgs + """ + client_mutation_id: Optional[str] = None + field_id: ID + item_id: ID + project_id: ID + value: ProjectV2FieldValue -class JNTPC_PinnableItemConnection_Field(PinnableItemConnection): - """ - JNTPC_PinnableItemConnection_Field - A list of repositories and gists this profile owner has pinned to their profile +@dataclass(kw_only=True) +class UpdateProjectV2DraftIssuePayload: + """ + UpdateProjectV2DraftIssuePayload - Autogenerated return type of UpdateProjectV2DraftIssue - """ - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - types - Filter the types of pinned items that are returned. + clientMutationId - A unique identifier for the client performing the mutation. - after - Returns the elements in the list that come after the specified cursor. + draftIssue - The draft issue updated in the project. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + client_mutation_id: Optional[str] = None + draft_issue: Optional[DraftIssue] = None - last - Returns the last _n_ elements from the list. - """ - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class UpdateProjectV2CollaboratorsPayload: + """ + UpdateProjectV2CollaboratorsPayload - Autogenerated return type of UpdateProjectV2Collaborators - _args: PinnableItemConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + collaborators - The collaborators granted a role + """ -class ProfileOwner(GQLObject): - """ - ProfileOwner - Represents any entity on GitHub that has a profile page. + client_mutation_id: Optional[str] = None + collaborators: Optional[ProjectV2ActorConnection] = None - anyPinnableItems - Determine if this repository owner has any items that can be pinned to their profile. - email - The public profile email. +@dataclass(kw_only=True) +class UpdateProjectV2CollaboratorsInput: + """ + UpdateProjectV2CollaboratorsInput - Autogenerated input type of UpdateProjectV2Collaborators - itemShowcase - Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. + clientMutationId - A unique identifier for the client performing the mutation. - location - The public profile location. + collaborators - The collaborators to update. - login - The username used to login. + projectId - The ID of the project to update the collaborators for. - name - The public profile name. + """ - pinnableItems - A list of repositories and gists this profile owner can pin to their profile. + client_mutation_id: Optional[str] = None + collaborators: list[ProjectV2Collaborator] + project_id: ID - pinnedItems - A list of repositories and gists this profile owner has pinned to their profile - pinnedItemsRemaining - Returns how many more items this profile owner can pin to their profile. +@dataclass(kw_only=True) +class UpdateProjectPayload: + """ + UpdateProjectPayload - Autogenerated return type of UpdateProject - viewerCanChangePinnedItems - Can the viewer pin repositories and gists to the profile? + clientMutationId - A unique identifier for the client performing the mutation. - websiteUrl - The public profile website URL. + project - The updated project. - """ - anyPinnableItems: LUDLL_anyPinnableItems_Field - email: str - id: ID - itemShowcase: ProfileItemShowcase - location: str - login: str - name: str - pinnableItems: BXBSC_PinnableItemConnection_Field - pinnedItems: JNTPC_PinnableItemConnection_Field - pinnedItemsRemaining: int - viewerCanChangePinnedItems: bool - websiteUrl: URI + """ -class OrganizationOrUser(GQLObject): - pass + client_mutation_id: Optional[str] = None + project: Optional[Project] = None -class MergePullRequestPayload(GQLObject): - """ - MergePullRequestPayload - Autogenerated return type of MergePullRequest - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class UpdateProjectColumnPayload: + """ + UpdateProjectColumnPayload - Autogenerated return type of UpdateProjectColumn - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The pull request that was merged. + projectColumn - The updated project column. - """ - actor: Actor - clientMutationId: str - pullRequest: PullRequest + """ -class MarketplaceListingEdge(GQLObject): - """ - MarketplaceListingEdge - An edge in a connection. + client_mutation_id: Optional[str] = None + project_column: Optional[ProjectColumn] = None - cursor - A cursor for use in pagination. - node - The item at the end of the edge. +@dataclass(kw_only=True) +class UpdateProjectCardPayload: + """ + UpdateProjectCardPayload - Autogenerated return type of UpdateProjectCard - """ - cursor: str - node: MarketplaceListing + clientMutationId - A unique identifier for the client performing the mutation. -class list_MarketplaceListingEdge(list, MarketplaceListingEdge): pass + projectCard - The updated ProjectCard. -class list_MarketplaceListing(list, MarketplaceListing): pass + """ -class MarketplaceListingConnection(GQLObject): - """ - MarketplaceListingConnection - Look up Marketplace Listings + client_mutation_id: Optional[str] = None + project_card: Optional[ProjectCard] = None - edges - A list of edges. - nodes - A list of nodes. +@dataclass(kw_only=True) +class UpdatePatreonSponsorabilityPayload: + """ + UpdatePatreonSponsorabilityPayload - Autogenerated return type of UpdatePatreonSponsorability - pageInfo - Information to aid in pagination. + clientMutationId - A unique identifier for the client performing the mutation. - totalCount - Identifies the total count of items in the connection. + sponsorsListing - The GitHub Sponsors profile. - """ - edges: list_MarketplaceListingEdge[MarketplaceListingEdge] - nodes: list_MarketplaceListing[MarketplaceListing] - pageInfo: PageInfo - totalCount: int + """ -class LockLockablePayload(GQLObject): - """ - LockLockablePayload - Autogenerated return type of LockLockable + client_mutation_id: Optional[str] = None + sponsors_listing: Optional[SponsorsListing] = None - actor - Identifies the actor who performed the event. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateOrganizationWebCommitSignoffSettingPayload: + """ + UpdateOrganizationWebCommitSignoffSettingPayload - Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting - lockedRecord - The item that was locked. + clientMutationId - A unique identifier for the client performing the mutation. - """ - actor: Actor - clientMutationId: str - lockedRecord: Lockable + message - A message confirming the result of updating the web commit signoff setting. -class LinkRepositoryToProjectPayload(GQLObject): - """ - LinkRepositoryToProjectPayload - Autogenerated return type of LinkRepositoryToProject + organization - The organization with the updated web commit signoff setting. - clientMutationId - A unique identifier for the client performing the mutation. + """ - project - The linked Project. + client_mutation_id: Optional[str] = None + message: Optional[str] = None + organization: Optional[Organization] = None - repository - The linked Repository. - """ - clientMutationId: str - project: Project - repository: Repository +@dataclass(kw_only=True) +class UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload: + """ + UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload - Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting -class list_FileDeletion(list, FileDeletion): pass + clientMutationId - A unique identifier for the client performing the mutation. -class list_FileAddition(list, FileAddition): pass + message - A message confirming the result of updating the allow private repository forking setting. -class FileChanges(GQLObject): - """ - FileChanges - A description of a set of changes to a file tree to be made as part of -a git commit, modeled as zero or more file `additions` and zero or more -file `deletions`. + organization - The organization with the updated allow private repository forking setting. -Both fields are optional; omitting both will produce a commit with no -file changes. + """ -`deletions` and `additions` describe changes to files identified -by their path in the git tree using unix-style path separators, i.e. -`/`. The root of a git tree is an empty string, so paths are not -slash-prefixed. + client_mutation_id: Optional[str] = None + message: Optional[str] = None + organization: Optional[Organization] = None -`path` values must be unique across all `additions` and `deletions` -provided. Any duplication will result in a validation error. -### Encoding +@dataclass(kw_only=True) +class UpdateNotificationRestrictionSettingPayload: + """ + UpdateNotificationRestrictionSettingPayload - Autogenerated return type of UpdateNotificationRestrictionSetting -File contents must be provided in full for each `FileAddition`. + clientMutationId - A unique identifier for the client performing the mutation. -The `contents` of a `FileAddition` must be encoded using RFC 4648 -compliant base64, i.e. correct padding is required and no characters -outside the standard alphabet may be used. Invalid base64 -encoding will be rejected with a validation error. + owner - The owner on which the setting was updated. -The encoded contents may be binary. + """ -For text files, no assumptions are made about the character encoding of -the file contents (after base64 decoding). No charset transcoding or -line-ending normalization will be performed; it is the client's -responsibility to manage the character encoding of files they provide. -However, for maximum compatibility we recommend using UTF-8 encoding -and ensuring that all files in a repository use a consistent -line-ending convention (`\n` or `\r\n`), and that all files end -with a newline. + client_mutation_id: Optional[str] = None + owner: Optional[VerifiableDomainOwner] = None -### Modeling file changes -Each of the the five types of conceptual changes that can be made in a -git commit can be described using the `FileChanges` type as follows: +@dataclass(kw_only=True) +class UpdateLabelPayload: + """ + UpdateLabelPayload - Autogenerated return type of UpdateLabel -1. New file addition: create file `hello world\n` at path `docs/README.txt`: + clientMutationId - A unique identifier for the client performing the mutation. - { - "additions" [ - { - "path": "docs/README.txt", - "contents": base64encode("hello world\n") - } - ] - } + label - The updated label. -2. Existing file modification: change existing `docs/README.txt` to have new - content `new content here\n`: + """ - { - "additions" [ - { - "path": "docs/README.txt", - "contents": base64encode("new content here\n") - } - ] - } + client_mutation_id: Optional[str] = None + label: Optional[Label] = None -3. Existing file deletion: remove existing file `docs/README.txt`. - Note that the path is required to exist -- specifying a - path that does not exist on the given branch will abort the - commit and return an error. - { - "deletions" [ - { - "path": "docs/README.txt" - } - ] - } +@dataclass(kw_only=True) +class UpdateIssueCommentPayload: + """ + UpdateIssueCommentPayload - Autogenerated return type of UpdateIssueComment + clientMutationId - A unique identifier for the client performing the mutation. -4. File rename with no changes: rename `docs/README.txt` with - previous content `hello world\n` to the same content at - `newdocs/README.txt`: + issueComment - The updated comment. - { - "deletions" [ - { - "path": "docs/README.txt", - } - ], - "additions" [ - { - "path": "newdocs/README.txt", - "contents": base64encode("hello world\n") - } - ] - } + """ + client_mutation_id: Optional[str] = None + issue_comment: Optional[IssueComment] = None -5. File rename with changes: rename `docs/README.txt` with - previous content `hello world\n` to a file at path - `newdocs/README.txt` with content `new contents\n`: - { - "deletions" [ - { - "path": "docs/README.txt", - } - ], - "additions" [ - { - "path": "newdocs/README.txt", - "contents": base64encode("new contents\n") - } - ] - } +@dataclass(kw_only=True) +class UpdateIpAllowListForInstalledAppsEnabledSettingPayload: + """ + UpdateIpAllowListForInstalledAppsEnabledSettingPayload - Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting + clientMutationId - A unique identifier for the client performing the mutation. - deletions - Files to delete. + owner - The IP allow list owner on which the setting was updated. - additions - File to add or change. + """ - """ - deletions: list_FileDeletion[FileDeletion] - additions: list_FileAddition[FileAddition] + client_mutation_id: Optional[str] = None + owner: Optional[IpAllowListOwner] = None -class EnablePullRequestAutoMergePayload(GQLObject): - """ - EnablePullRequestAutoMergePayload - Autogenerated return type of EnablePullRequestAutoMerge - actor - Identifies the actor who performed the event. +@dataclass(kw_only=True) +class UpdateIpAllowListEntryPayload: + """ + UpdateIpAllowListEntryPayload - Autogenerated return type of UpdateIpAllowListEntry - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The pull request auto-merge was enabled on. + ipAllowListEntry - The IP allow list entry that was updated. - """ - actor: Actor - clientMutationId: str - pullRequest: PullRequest + """ -class DisablePullRequestAutoMergePayload(GQLObject): - """ - DisablePullRequestAutoMergePayload - Autogenerated return type of DisablePullRequestAutoMerge + client_mutation_id: Optional[str] = None + ip_allow_list_entry: Optional[IpAllowListEntry] = None - actor - Identifies the actor who performed the event. - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateIpAllowListEnabledSettingPayload: + """ + UpdateIpAllowListEnabledSettingPayload - Autogenerated return type of UpdateIpAllowListEnabledSetting - pullRequest - The pull request auto merge was disabled on. + clientMutationId - A unique identifier for the client performing the mutation. - """ - actor: Actor - clientMutationId: str - pullRequest: PullRequest + owner - The IP allow list owner on which the setting was updated. -class DeletePullRequestReviewCommentPayload(GQLObject): - """ - DeletePullRequestReviewCommentPayload - Autogenerated return type of DeletePullRequestReviewComment + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + owner: Optional[IpAllowListOwner] = None - pullRequestReview - The pull request review the deleted comment belonged to. - pullRequestReviewComment - The deleted pull request review comment. +@dataclass(kw_only=True) +class UpdateEnvironmentPayload: + """ + UpdateEnvironmentPayload - Autogenerated return type of UpdateEnvironment - """ - clientMutationId: str - pullRequestReview: PullRequestReview - pullRequestReviewComment: PullRequestReviewComment + clientMutationId - A unique identifier for the client performing the mutation. -class CreateRepositoryRulesetInput(GQLObject): - """ - CreateRepositoryRulesetInput - Autogenerated input type of CreateRepositoryRuleset + environment - The updated environment. - sourceId - The global relay id of the source in which a new ruleset should be created in. + """ - name - The name of the ruleset. + client_mutation_id: Optional[str] = None + environment: Optional[Environment] = None - target - The target of the ruleset. - rules - The list of rules for this ruleset +@dataclass(kw_only=True) +class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload: + """ + UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload - Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting - conditions - The set of conditions for this ruleset + clientMutationId - A unique identifier for the client performing the mutation. - enforcement - The enforcement level for this ruleset + enterprise - The enterprise with the updated two factor authentication required setting. - bypassActors - A list of actors that are allowed to bypass rules in this ruleset. + message - A message confirming the result of updating the two factor authentication required setting. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - sourceId: ID - name: str - target: RepositoryRulesetTarget - rules: list_RepositoryRuleInput[RepositoryRuleInput] - conditions: RepositoryRuleConditionsInput - enforcement: RuleEnforcement - bypassActors: list_RepositoryRulesetBypassActorInput[RepositoryRulesetBypassActorInput] - clientMutationId: str + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class CreateEnterpriseOrganizationPayload(GQLObject): - """ - CreateEnterpriseOrganizationPayload - Autogenerated return type of CreateEnterpriseOrganization - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateEnterpriseTeamDiscussionsSettingPayload: + """ + UpdateEnterpriseTeamDiscussionsSettingPayload - Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting - enterprise - The enterprise that owns the created organization. + clientMutationId - A unique identifier for the client performing the mutation. - organization - The organization that was created. + enterprise - The enterprise with the updated team discussions setting. - """ - clientMutationId: str - enterprise: Enterprise - organization: Organization + message - A message confirming the result of updating the team discussions setting. -class CreateCommitOnBranchPayload(GQLObject): - """ - CreateCommitOnBranchPayload - Autogenerated return type of CreateCommitOnBranch + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - commit - The new commit. - ref - The ref which has been updated to point to the new commit. +@dataclass(kw_only=True) +class UpdateEnterpriseRepositoryProjectsSettingPayload: + """ + UpdateEnterpriseRepositoryProjectsSettingPayload - Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting - """ - clientMutationId: str - commit: Commit - ref: Ref + clientMutationId - A unique identifier for the client performing the mutation. -class CreateCommitOnBranchInput(GQLObject): - """ - CreateCommitOnBranchInput - Autogenerated input type of CreateCommitOnBranch + enterprise - The enterprise with the updated repository projects setting. - branch - The Ref to be updated. Must be a branch. + message - A message confirming the result of updating the repository projects setting. - fileChanges - A description of changes to files in this commit. + """ - message - The commit message the be included with the commit. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - expectedHeadOid - The git commit oid expected at the head of the branch prior to the commit - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateEnterpriseProfilePayload: + """ + UpdateEnterpriseProfilePayload - Autogenerated return type of UpdateEnterpriseProfile - """ - branch: CommittableBranch - fileChanges: FileChanges - message: CommitMessage - expectedHeadOid: GitObjectID - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class CreateCheckRunInput(GQLObject): - """ - CreateCheckRunInput - Autogenerated input type of CreateCheckRun + enterprise - The updated enterprise. - repositoryId - The node ID of the repository. + """ - name - The name of the check. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None - headSha - The SHA of the head commit. - detailsUrl - The URL of the integrator's site that has the full details of the check. +@dataclass(kw_only=True) +class UpdateEnterpriseOrganizationProjectsSettingPayload: + """ + UpdateEnterpriseOrganizationProjectsSettingPayload - Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting - externalId - A reference for the run on the integrator's system. + clientMutationId - A unique identifier for the client performing the mutation. - status - The current status. + enterprise - The enterprise with the updated organization projects setting. - startedAt - The time that the check run began. + message - A message confirming the result of updating the organization projects setting. - conclusion - The final conclusion of the check. + """ - completedAt - The time that the check run finished. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - output - Descriptive details about the run. - actions - Possible further actions the integrator can perform, which a user may trigger. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload: + """ + UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - repositoryId: ID - name: str - headSha: GitObjectID - detailsUrl: URI - externalId: str - status: RequestableCheckStatusState - startedAt: DateTime - conclusion: CheckConclusionState - completedAt: DateTime - output: CheckRunOutput - actions: list_CheckRunAction[CheckRunAction] - clientMutationId: str + enterprise - The enterprise with the updated members can view dependency insights setting. -class Claimable(GQLObject): - pass + message - A message confirming the result of updating the members can view dependency insights setting. -class CreateAttributionInvitationPayload(GQLObject): - """ - CreateAttributionInvitationPayload - Autogenerated return type of CreateAttributionInvitation + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - owner - The owner scoping the reattributable data. - source - The account owning the data to reattribute. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload: + """ + UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting - target - The account which may claim the data. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - owner: Organization - source: Claimable - target: Claimable + enterprise - The enterprise with the updated members can update protected branches setting. -class FBSVH_UserContentEditConnection_Field(UserContentEditConnection): - """ - FBSVH_UserContentEditConnection_Field - A list of edits to this content. + message - A message confirming the result of updating the members can update protected branches setting. - """ - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanMakePurchasesSettingPayload: + """ + UpdateEnterpriseMembersCanMakePurchasesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting - """ - after: str - before: str - first: int - last: int + clientMutationId - A unique identifier for the client performing the mutation. - _args: UserContentEditConnectionArgs + enterprise - The enterprise with the updated members can make purchases setting. + message - A message confirming the result of updating the members can make purchases setting. + """ -class Comment(GQLObject): - """ - Comment - Represents a comment. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - author - The actor who authored the comment. - authorAssociation - Author's association with the subject of the comment. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload: + """ + UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting - body - The body as Markdown. + clientMutationId - A unique identifier for the client performing the mutation. - bodyHTML - The body rendered to HTML. + enterprise - The enterprise with the updated members can invite collaborators setting. - bodyText - The body rendered to text. + message - A message confirming the result of updating the members can invite collaborators setting. - createdAt - Identifies the date and time when the object was created. + """ - createdViaEmail - Check if this comment was created via an email reply. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - editor - The actor who edited the comment. - includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload: + """ + UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting - lastEditedAt - The moment the editor made the last edit + clientMutationId - A unique identifier for the client performing the mutation. - publishedAt - Identifies when the comment was published at. + enterprise - The enterprise with the updated members can delete repositories setting. - updatedAt - Identifies the date and time when the object was last updated. + message - A message confirming the result of updating the members can delete repositories setting. - userContentEdits - A list of edits to this content. + """ - viewerDidAuthor - Did the viewer author this comment. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - """ - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - publishedAt: DateTime - updatedAt: DateTime - userContentEdits: FBSVH_UserContentEditConnection_Field - viewerDidAuthor: bool -class AuditEntry(GQLObject): - """ - AuditEntry - An entry in the audit log. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteIssuesSettingPayload: + """ + UpdateEnterpriseMembersCanDeleteIssuesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting - action - The action name + clientMutationId - A unique identifier for the client performing the mutation. - actor - The user who initiated the action + enterprise - The enterprise with the updated members can delete issues setting. - actorIp - The IP address of the actor + message - A message confirming the result of updating the members can delete issues setting. - actorLocation - A readable representation of the actor's location + """ - actorLogin - The username of the user who initiated the action + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - actorResourcePath - The HTTP path for the actor. - actorUrl - The HTTP URL for the actor. +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload: + """ + UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting - createdAt - The time the action was initiated + clientMutationId - A unique identifier for the client performing the mutation. - operationType - The corresponding operation type for the action + enterprise - The enterprise with the updated members can create repositories setting. - user - The user affected by the action + message - A message confirming the result of updating the members can create repositories setting. - userLogin - For actions involving two users, the actor is the initiator and the user is the affected user. + """ - userResourcePath - The HTTP path for the user. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - userUrl - The HTTP URL for the user. - """ - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - operationType: OperationType - user: User - userLogin: str - userResourcePath: URI - userUrl: URI +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload: + """ + UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting -class AddReactionPayload(GQLObject): - """ - AddReactionPayload - Autogenerated return type of AddReaction + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + enterprise - The enterprise with the updated members can change repository visibility setting. - reaction - The reaction object. + message - A message confirming the result of updating the members can change repository visibility setting. - reactionGroups - The reaction groups for the subject. + """ - subject - The reactable subject. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - """ - clientMutationId: str - reaction: Reaction - reactionGroups: list_ReactionGroup[ReactionGroup] - subject: Reactable -class AddPullRequestReviewPayload(GQLObject): - """ - AddPullRequestReviewPayload - Autogenerated return type of AddPullRequestReview +@dataclass(kw_only=True) +class UpdateEnterpriseDefaultRepositoryPermissionSettingPayload: + """ + UpdateEnterpriseDefaultRepositoryPermissionSettingPayload - Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequestReview - The newly created pull request review. + enterprise - The enterprise with the updated base repository permission setting. - reviewEdge - The edge from the pull request's review connection. + message - A message confirming the result of updating the base repository permission setting. - """ - clientMutationId: str - pullRequestReview: PullRequestReview - reviewEdge: PullRequestReviewEdge + """ -class list_DraftPullRequestReviewComment(list, DraftPullRequestReviewComment): pass + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class list_DraftPullRequestReviewThread(list, DraftPullRequestReviewThread): pass -class AddPullRequestReviewInput(GQLObject): - """ - AddPullRequestReviewInput - Autogenerated input type of AddPullRequestReview +@dataclass(kw_only=True) +class UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload: + """ + UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload - Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting - pullRequestId - The Node ID of the pull request to modify. + clientMutationId - A unique identifier for the client performing the mutation. - commitOID - The commit OID the review pertains to. + enterprise - The enterprise with the updated allow private repository forking setting. - body - The contents of the review body comment. + message - A message confirming the result of updating the allow private repository forking setting. - event - The event to perform on the pull request review. + """ - comments - The review line comments. + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -**Upcoming Change on 2023-10-01 UTC** -**Description:** `comments` will be removed. use the `threads` argument instead -**Reason:** We are deprecating comment fields that use diff-relative positioning +@dataclass(kw_only=True) +class UpdateDiscussionPayload: + """ + UpdateDiscussionPayload - Autogenerated return type of UpdateDiscussion - threads - The review line comment threads. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + discussion - The modified discussion. - """ - pullRequestId: ID - commitOID: GitObjectID - body: str - event: PullRequestReviewEvent - comments: list_DraftPullRequestReviewComment[DraftPullRequestReviewComment] - threads: list_DraftPullRequestReviewThread[DraftPullRequestReviewThread] - clientMutationId: str + """ -class AddPullRequestReviewCommentPayload(GQLObject): - """ - AddPullRequestReviewCommentPayload - Autogenerated return type of AddPullRequestReviewComment + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None - clientMutationId - A unique identifier for the client performing the mutation. - comment - The newly created comment. +@dataclass(kw_only=True) +class UpdateDiscussionCommentPayload: + """ + UpdateDiscussionCommentPayload - Autogenerated return type of UpdateDiscussionComment - commentEdge - The edge from the review's comment connection. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - comment: PullRequestReviewComment - commentEdge: PullRequestReviewCommentEdge + comment - The modified discussion comment. -class AddProjectColumnPayload(GQLObject): - """ - AddProjectColumnPayload - Autogenerated return type of AddProjectColumn + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + comment: Optional[DiscussionComment] = None - columnEdge - The edge from the project's column connection. - project - The project +@dataclass(kw_only=True) +class UpdateCheckSuitePreferencesPayload: + """ + UpdateCheckSuitePreferencesPayload - Autogenerated return type of UpdateCheckSuitePreferences - """ - clientMutationId: str - columnEdge: ProjectColumnEdge - project: Project + clientMutationId - A unique identifier for the client performing the mutation. -class AddProjectCardPayload(GQLObject): - """ - AddProjectCardPayload - Autogenerated return type of AddProjectCard + repository - The updated repository. - cardEdge - The edge from the ProjectColumn's card connection. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - projectColumn - The ProjectColumn - """ - cardEdge: ProjectCardEdge - clientMutationId: str - projectColumn: ProjectColumn +@dataclass(kw_only=True) +class UpdateCheckSuitePreferencesInput: + """ + UpdateCheckSuitePreferencesInput - Autogenerated input type of UpdateCheckSuitePreferences -class AddCommentPayload(GQLObject): - """ - AddCommentPayload - Autogenerated return type of AddComment + autoTriggerPreferences - The check suite preferences to modify. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - commentEdge - The edge from the subject's comment connection. + repositoryId - The Node ID of the repository. - subject - The subject + """ - timelineEdge - The edge from the subject's timeline connection. + auto_trigger_preferences: list[CheckSuiteAutoTriggerPreference] + client_mutation_id: Optional[str] = None + repository_id: ID - """ - clientMutationId: str - commentEdge: IssueCommentEdge - subject: Node - timelineEdge: IssueTimelineItemEdge -class AcceptEnterpriseAdministratorInvitationPayload(GQLObject): - """ - AcceptEnterpriseAdministratorInvitationPayload - Autogenerated return type of AcceptEnterpriseAdministratorInvitation +@dataclass(kw_only=True) +class UpdateCheckRunPayload: + """ + UpdateCheckRunPayload - Autogenerated return type of UpdateCheckRun - clientMutationId - A unique identifier for the client performing the mutation. + checkRun - The updated check run. - invitation - The invitation that was accepted. + clientMutationId - A unique identifier for the client performing the mutation. - message - A message confirming the result of accepting an administrator invitation. + """ - """ - clientMutationId: str - invitation: EnterpriseAdministratorInvitation - message: str + check_run: Optional[CheckRun] = None + client_mutation_id: Optional[str] = None -class AcceptTopicSuggestionPayload(GQLObject): - """ - AcceptTopicSuggestionPayload - Autogenerated return type of AcceptTopicSuggestion - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UpdateBranchProtectionRulePayload: + """ + UpdateBranchProtectionRulePayload - Autogenerated return type of UpdateBranchProtectionRule - topic - The accepted topic. + branchProtectionRule - The newly created BranchProtectionRule. - """ - clientMutationId: str - topic: Topic + clientMutationId - A unique identifier for the client performing the mutation. -class AddAssigneesToAssignablePayload(GQLObject): - """ - AddAssigneesToAssignablePayload - Autogenerated return type of AddAssigneesToAssignable + """ - assignable - The item that was assigned. + branch_protection_rule: Optional[BranchProtectionRule] = None + client_mutation_id: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - assignable: Assignable - clientMutationId: str +@dataclass(kw_only=True) +class UpdateBranchProtectionRuleInput: + """ + UpdateBranchProtectionRuleInput - Autogenerated input type of UpdateBranchProtectionRule -class AddDiscussionCommentPayload(GQLObject): - """ - AddDiscussionCommentPayload - Autogenerated return type of AddDiscussionComment + allowsDeletions - Can this branch be deleted. - clientMutationId - A unique identifier for the client performing the mutation. + allowsForcePushes - Are force pushes allowed on this branch. - comment - The newly created discussion comment. + blocksCreations - Is branch creation a protected operation. - """ - clientMutationId: str - comment: DiscussionComment + branchProtectionRuleId - The global relay id of the branch protection rule to be updated. -class AddDiscussionPollVotePayload(GQLObject): - """ - AddDiscussionPollVotePayload - Autogenerated return type of AddDiscussionPollVote + bypassForcePushActorIds - A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + bypassPullRequestActorIds - A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. - pollOption - The poll option that a vote was added to. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - pollOption: DiscussionPollOption + dismissesStaleReviews - Will new commits pushed to matching branches dismiss pull request review approvals. -class AddEnterpriseOrganizationMemberPayload(GQLObject): - """ - AddEnterpriseOrganizationMemberPayload - Autogenerated return type of AddEnterpriseOrganizationMember + isAdminEnforced - Can admins override branch protection. - clientMutationId - A unique identifier for the client performing the mutation. + lockAllowsFetchAndMerge - 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. - users - The users who were added to the organization. + lockBranch - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. - """ - clientMutationId: str - users: list_User[User] + pattern - The glob-like pattern used to determine matching branches. -class AddLabelsToLabelablePayload(GQLObject): - """ - AddLabelsToLabelablePayload - Autogenerated return type of AddLabelsToLabelable + pushActorIds - A list of User, Team, or App IDs allowed to push to matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + requireLastPushApproval - Whether the most recent push must be approved by someone other than the person who pushed it - labelable - The item that was labeled. + requiredApprovingReviewCount - Number of approving reviews required to update matching branches. - """ - clientMutationId: str - labelable: Labelable + requiredDeploymentEnvironments - The list of required deployment environments -class AddProjectV2DraftIssuePayload(GQLObject): - """ - AddProjectV2DraftIssuePayload - Autogenerated return type of AddProjectV2DraftIssue + requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + requiredStatusChecks - The list of required status checks - projectItem - The draft issue added to the project. + requiresApprovingReviews - Are approving reviews required to update matching branches. - """ - clientMutationId: str - projectItem: ProjectV2Item + requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. -class AddProjectV2ItemByIdPayload(GQLObject): - """ - AddProjectV2ItemByIdPayload - Autogenerated return type of AddProjectV2ItemById + requiresCommitSignatures - Are commits required to be signed. - clientMutationId - A unique identifier for the client performing the mutation. + requiresConversationResolution - Are conversations required to be resolved before merging. - item - The item added to the project. + requiresDeployments - Are successful deployments required before merging. - """ - clientMutationId: str - item: ProjectV2Item + requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. -class AddPullRequestReviewThreadPayload(GQLObject): - """ - AddPullRequestReviewThreadPayload - Autogenerated return type of AddPullRequestReviewThread + requiresStatusChecks - Are status checks required to update matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + requiresStrictStatusChecks - Are branches required to be up to date before merging. - thread - The newly created thread. + restrictsPushes - Is pushing to matching branches restricted. - """ - clientMutationId: str - thread: PullRequestReviewThread + restrictsReviewDismissals - Is dismissal of pull request reviews restricted. -class AddPullRequestReviewThreadReplyPayload(GQLObject): - """ - AddPullRequestReviewThreadReplyPayload - Autogenerated return type of AddPullRequestReviewThreadReply + reviewDismissalActorIds - A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + """ - comment - The newly created reply. + allows_deletions: Optional[bool] = None + allows_force_pushes: Optional[bool] = None + blocks_creations: Optional[bool] = None + branch_protection_rule_id: ID + bypass_force_push_actor_ids: Optional[list[ID]] = None + bypass_pull_request_actor_ids: Optional[list[ID]] = None + client_mutation_id: Optional[str] = None + dismisses_stale_reviews: Optional[bool] = None + is_admin_enforced: Optional[bool] = None + lock_allows_fetch_and_merge: Optional[bool] = None + lock_branch: Optional[bool] = None + pattern: Optional[str] = None + push_actor_ids: Optional[list[ID]] = None + require_last_push_approval: Optional[bool] = None + required_approving_review_count: Optional[int] = None + required_deployment_environments: Optional[list[str]] = None + required_status_check_contexts: Optional[list[str]] = None + required_status_checks: Optional[list[RequiredStatusCheckInput]] = None + requires_approving_reviews: Optional[bool] = None + requires_code_owner_reviews: Optional[bool] = None + requires_commit_signatures: Optional[bool] = None + requires_conversation_resolution: Optional[bool] = None + requires_deployments: Optional[bool] = None + requires_linear_history: Optional[bool] = None + requires_status_checks: Optional[bool] = None + requires_strict_status_checks: Optional[bool] = None + restricts_pushes: Optional[bool] = None + restricts_review_dismissals: Optional[bool] = None + review_dismissal_actor_ids: Optional[list[ID]] = None - """ - clientMutationId: str - comment: PullRequestReviewComment -class IHHLB_StargazerConnection_Field(StargazerConnection): - """ - IHHLB_StargazerConnection_Field - A list of users who have starred this starrable. +@dataclass(kw_only=True) +class UnresolveReviewThreadPayload: + """ + UnresolveReviewThreadPayload - Autogenerated return type of UnresolveReviewThread - """ - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - before - Returns the elements in the list that come before the specified cursor. + thread - The thread to resolve. - first - Returns the first _n_ elements from the list. + """ - last - Returns the last _n_ elements from the list. + client_mutation_id: Optional[str] = None + thread: Optional[PullRequestReviewThread] = None - orderBy - Order for connection - """ - after: str - before: str - first: int - last: int - orderBy: StarOrder +@dataclass(kw_only=True) +class UnpinIssuePayload: + """ + UnpinIssuePayload - Autogenerated return type of UnpinIssue - _args: StargazerConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + id - The id of the pinned issue that was unpinned + issue - The issue that was unpinned -class Starrable(GQLObject): - """ - Starrable - Things that can be starred. + """ - stargazerCount - Returns a count of how many stargazers there are on this object + client_mutation_id: Optional[str] = None + id: Optional[ID] = None + issue: Optional[Issue] = None - stargazers - A list of users who have starred this starrable. +@dataclass(kw_only=True) +class UnminimizeCommentPayload: + """ + UnminimizeCommentPayload - Autogenerated return type of UnminimizeComment - viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + clientMutationId - A unique identifier for the client performing the mutation. - """ - id: ID - stargazerCount: int - stargazers: IHHLB_StargazerConnection_Field - viewerHasStarred: bool + unminimizedComment - The comment that was unminimized. -class AddStarPayload(GQLObject): - """ - AddStarPayload - Autogenerated return type of AddStar + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + unminimized_comment: Optional[Minimizable] = None - starrable - The starrable. - """ - clientMutationId: str - starrable: Starrable +@dataclass(kw_only=True) +class UnmarkProjectV2AsTemplatePayload: + """ + UnmarkProjectV2AsTemplatePayload - Autogenerated return type of UnmarkProjectV2AsTemplate -class AddUpvotePayload(GQLObject): - """ - AddUpvotePayload - Autogenerated return type of AddUpvote + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + projectV2 - The project. - subject - The votable subject. + """ - """ - clientMutationId: str - subject: Votable + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None -class AddVerifiableDomainPayload(GQLObject): - """ - AddVerifiableDomainPayload - Autogenerated return type of AddVerifiableDomain - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UnmarkIssueAsDuplicatePayload: + """ + UnmarkIssueAsDuplicatePayload - Autogenerated return type of UnmarkIssueAsDuplicate - domain - The verifiable domain that was added. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - domain: VerifiableDomain + duplicate - The issue or pull request that was marked as a duplicate. -class ApproveDeploymentsPayload(GQLObject): - """ - ApproveDeploymentsPayload - Autogenerated return type of ApproveDeployments + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + duplicate: Optional[IssueOrPullRequest] = None - deployments - The affected deployments. - """ - clientMutationId: str - deployments: list_Deployment[Deployment] +@dataclass(kw_only=True) +class UnmarkFileAsViewedPayload: + """ + UnmarkFileAsViewedPayload - Autogenerated return type of UnmarkFileAsViewed -class ApproveVerifiableDomainPayload(GQLObject): - """ - ApproveVerifiableDomainPayload - Autogenerated return type of ApproveVerifiableDomain + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + pullRequest - The updated pull request. - domain - The verifiable domain that was approved. + """ - """ - clientMutationId: str - domain: VerifiableDomain + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class ArchiveProjectV2ItemPayload(GQLObject): - """ - ArchiveProjectV2ItemPayload - Autogenerated return type of ArchiveProjectV2Item - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class UnmarkDiscussionCommentAsAnswerPayload: + """ + UnmarkDiscussionCommentAsAnswerPayload - Autogenerated return type of UnmarkDiscussionCommentAsAnswer - item - The item archived from the project. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - item: ProjectV2Item + discussion - The discussion that includes the comment. -class ArchiveRepositoryPayload(GQLObject): - """ - ArchiveRepositoryPayload - Autogenerated return type of ArchiveRepository + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None - repository - The repository that was marked as archived. - """ - clientMutationId: str - repository: Repository +@dataclass(kw_only=True) +class UnlinkProjectV2FromTeamPayload: + """ + UnlinkProjectV2FromTeamPayload - Autogenerated return type of UnlinkProjectV2FromTeam -class Blob(GQLObject): - """ - Blob - Represents a Git blob. + clientMutationId - A unique identifier for the client performing the mutation. - abbreviatedOid - An abbreviated version of the Git object ID + team - The team the project is unlinked from - byteSize - Byte size of Blob object + """ - commitResourcePath - The HTTP path for this Git object + client_mutation_id: Optional[str] = None + team: Optional[Team] = None - commitUrl - The HTTP URL for this Git object - isBinary - Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. +@dataclass(kw_only=True) +class UnlinkProjectV2FromRepositoryPayload: + """ + UnlinkProjectV2FromRepositoryPayload - Autogenerated return type of UnlinkProjectV2FromRepository - isTruncated - Indicates whether the contents is truncated + clientMutationId - A unique identifier for the client performing the mutation. - oid - The Git object ID + repository - The repository the project is no longer linked to. - repository - The Repository the Git object belongs to + """ - text - UTF8 text data or null if the Blob is binary + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - """ - abbreviatedOid: str - byteSize: int - commitResourcePath: URI - commitUrl: URI - id: ID - isBinary: bool - isTruncated: bool - oid: GitObjectID - repository: Repository - text: str -class CancelEnterpriseAdminInvitationPayload(GQLObject): - """ - CancelEnterpriseAdminInvitationPayload - Autogenerated return type of CancelEnterpriseAdminInvitation +@dataclass(kw_only=True) +class UnknownSignature: + """ + UnknownSignature - Represents an unknown signature on a Commit or Tag. - clientMutationId - A unique identifier for the client performing the mutation. + email - Email used to sign this object. - invitation - The invitation that was canceled. + isValid - True if the signature is valid and verified by GitHub. - message - A message confirming the result of canceling an administrator invitation. + payload - Payload for GPG signing object. Raw ODB object without the signature header. - """ - clientMutationId: str - invitation: EnterpriseAdministratorInvitation - message: str + signature - ASCII-armored signature header from object. -class CancelSponsorshipPayload(GQLObject): - """ - CancelSponsorshipPayload - Autogenerated return type of CancelSponsorship + signer - GitHub user corresponding to the email signing this commit. - clientMutationId - A unique identifier for the client performing the mutation. + state - The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. - sponsorsTier - The tier that was being used at the time of cancellation. + wasSignedByGitHub - True if the signature was made with GitHub's signing key. - """ - clientMutationId: str - sponsorsTier: SponsorsTier + """ -class ChangeUserStatusPayload(GQLObject): - """ - ChangeUserStatusPayload - Autogenerated return type of ChangeUserStatus + email: str + is_valid: bool + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool - clientMutationId - A unique identifier for the client performing the mutation. - status - Your updated status. +@dataclass(kw_only=True) +class UnfollowUserPayload: + """ + UnfollowUserPayload - Autogenerated return type of UnfollowUser - """ - clientMutationId: str - status: UserStatus + clientMutationId - A unique identifier for the client performing the mutation. -class ClearLabelsFromLabelablePayload(GQLObject): - """ - ClearLabelsFromLabelablePayload - Autogenerated return type of ClearLabelsFromLabelable + user - The user that was unfollowed. - clientMutationId - A unique identifier for the client performing the mutation. + """ - labelable - The item that was unlabeled. + client_mutation_id: Optional[str] = None + user: Optional[User] = None - """ - clientMutationId: str - labelable: Labelable -class ClearProjectV2ItemFieldValuePayload(GQLObject): - """ - ClearProjectV2ItemFieldValuePayload - Autogenerated return type of ClearProjectV2ItemFieldValue +@dataclass(kw_only=True) +class UnfollowOrganizationPayload: + """ + UnfollowOrganizationPayload - Autogenerated return type of UnfollowOrganization - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - projectV2Item - The updated item. + organization - The organization that was unfollowed. - """ - clientMutationId: str - projectV2Item: ProjectV2Item + """ -class CloneProjectPayload(GQLObject): - """ - CloneProjectPayload - Autogenerated return type of CloneProject + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None - clientMutationId - A unique identifier for the client performing the mutation. - jobStatusId - The id of the JobStatus for populating cloned fields. +@dataclass(kw_only=True) +class UnarchiveRepositoryPayload: + """ + UnarchiveRepositoryPayload - Autogenerated return type of UnarchiveRepository - project - The new cloned project. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - jobStatusId: str - project: Project + repository - The repository that was unarchived. -class CloneTemplateRepositoryPayload(GQLObject): - """ - CloneTemplateRepositoryPayload - Autogenerated return type of CloneTemplateRepository + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - repository - The new repository. - """ - clientMutationId: str - repository: Repository +@dataclass(kw_only=True) +class UnarchiveProjectV2ItemPayload: + """ + UnarchiveProjectV2ItemPayload - Autogenerated return type of UnarchiveProjectV2Item -class CloseDiscussionPayload(GQLObject): - """ - CloseDiscussionPayload - Autogenerated return type of CloseDiscussion + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + item - The item unarchived from the project. - discussion - The discussion that was closed. + """ - """ - clientMutationId: str - discussion: Discussion + client_mutation_id: Optional[str] = None + item: Optional[ProjectV2Item] = None -class CloseIssuePayload(GQLObject): - """ - CloseIssuePayload - Autogenerated return type of CloseIssue - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class TransferIssuePayload: + """ + TransferIssuePayload - Autogenerated return type of TransferIssue - issue - The issue that was closed. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - issue: Issue + issue - The issue that was transferred -class ClosePullRequestPayload(GQLObject): - """ - ClosePullRequestPayload - Autogenerated return type of ClosePullRequest + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None - pullRequest - The pull request that was closed. - """ - clientMutationId: str - pullRequest: PullRequest +@dataclass(kw_only=True) +class TransferEnterpriseOrganizationPayload: + """ + TransferEnterpriseOrganizationPayload - Autogenerated return type of TransferEnterpriseOrganization -class Contribution(GQLObject): - """ - Contribution - Represents a contribution a user made on GitHub, such as opening an issue. + clientMutationId - A unique identifier for the client performing the mutation. - isRestricted - Whether this contribution is associated with a record you do not have access to. For -example, your own 'first issue' contribution may have been made on a repository you can no -longer access. + organization - The organization for which a transfer was initiated. + """ - occurredAt - When this contribution was made. + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None - resourcePath - The HTTP path for this contribution. - url - The HTTP URL for this contribution. +@dataclass(kw_only=True) +class TopicAuditEntryData: + """ + TopicAuditEntryData - Metadata for an audit entry with a topic. - user - The user who made this contribution. + topic - The name of the topic added to the repository + topicName - The name of the topic added to the repository - """ - isRestricted: bool - occurredAt: DateTime - resourcePath: URI - url: URI - user: User + """ -class ConvertProjectCardNoteToIssuePayload(GQLObject): - """ - ConvertProjectCardNoteToIssuePayload - Autogenerated return type of ConvertProjectCardNoteToIssue + topic: Optional[Topic] = None + topic_name: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - projectCard - The updated ProjectCard. +@dataclass(kw_only=True) +class TeamAuditEntryData: + """ + TeamAuditEntryData - Metadata for an audit entry with action team.* - """ - clientMutationId: str - projectCard: ProjectCard + team - The team associated with the action -class ConvertPullRequestToDraftPayload(GQLObject): - """ - ConvertPullRequestToDraftPayload - Autogenerated return type of ConvertPullRequestToDraft + teamName - The name of the team - clientMutationId - A unique identifier for the client performing the mutation. + teamResourcePath - The HTTP path for this team - pullRequest - The pull request that is now a draft. + teamUrl - The HTTP URL for this team - """ - clientMutationId: str - pullRequest: PullRequest + """ -class CopyProjectV2Payload(GQLObject): - """ - CopyProjectV2Payload - Autogenerated return type of CopyProjectV2 + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None - clientMutationId - A unique identifier for the client performing the mutation. - projectV2 - The copied project. +@dataclass(kw_only=True) +class SubmitPullRequestReviewPayload: + """ + SubmitPullRequestReviewPayload - Autogenerated return type of SubmitPullRequestReview - """ - clientMutationId: str - projectV2: ProjectV2 + clientMutationId - A unique identifier for the client performing the mutation. -class list_RequiredStatusCheckInput(list, RequiredStatusCheckInput): pass + pullRequestReview - The submitted pull request review. -class CreateBranchProtectionRuleInput(GQLObject): - """ - CreateBranchProtectionRuleInput - Autogenerated input type of CreateBranchProtectionRule + """ - repositoryId - The global relay id of the repository in which a new branch protection rule should be created in. + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - pattern - The glob-like pattern used to determine matching branches. - requiresApprovingReviews - Are approving reviews required to update matching branches. +@dataclass(kw_only=True) +class StartRepositoryMigrationPayload: + """ + StartRepositoryMigrationPayload - Autogenerated return type of StartRepositoryMigration - requiredApprovingReviewCount - Number of approving reviews required to update matching branches. + clientMutationId - A unique identifier for the client performing the mutation. - requiresCommitSignatures - Are commits required to be signed. + repositoryMigration - The new repository migration. - requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. + """ - blocksCreations - Is branch creation a protected operation. + client_mutation_id: Optional[str] = None + repository_migration: Optional[RepositoryMigration] = None - allowsForcePushes - Are force pushes allowed on this branch. - allowsDeletions - Can this branch be deleted. +@dataclass(kw_only=True) +class StartOrganizationMigrationPayload: + """ + StartOrganizationMigrationPayload - Autogenerated return type of StartOrganizationMigration - isAdminEnforced - Can admins overwrite branch protection. + clientMutationId - A unique identifier for the client performing the mutation. - requiresStatusChecks - Are status checks required to update matching branches. + orgMigration - The new organization migration. - requiresStrictStatusChecks - Are branches required to be up to date before merging. + """ - requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. + client_mutation_id: Optional[str] = None + org_migration: Optional[OrganizationMigration] = None - dismissesStaleReviews - Will new commits pushed to matching branches dismiss pull request review approvals. - restrictsReviewDismissals - Is dismissal of pull request reviews restricted. +@dataclass(kw_only=True) +class Starrable: + """ + Starrable - Things that can be starred. - reviewDismissalActorIds - A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. + id - The Node ID of the Starrable object - bypassPullRequestActorIds - A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. + stargazerCount - Returns a count of how many stargazers there are on this object - bypassForcePushActorIds - A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. + stargazers - A list of users who have starred this starrable. - restrictsPushes - Is pushing to matching branches restricted. + viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. - pushActorIds - A list of User, Team, or App IDs allowed to push to matching branches. + """ - requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. + id: ID + stargazer_count: int + stargazers: StargazerConnection + viewer_has_starred: bool - requiredStatusChecks - The list of required status checks - requiresDeployments - Are successful deployments required before merging. +@dataclass(kw_only=True) +class SshSignature: + """ + SshSignature - Represents an SSH signature on a Commit or Tag. - requiredDeploymentEnvironments - The list of required deployment environments + email - Email used to sign this object. - requiresConversationResolution - Are conversations required to be resolved before merging. + isValid - True if the signature is valid and verified by GitHub. - requireLastPushApproval - Whether the most recent push must be approved by someone other than the person who pushed it + keyFingerprint - Hex-encoded fingerprint of the key that signed this object. - lockBranch - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. + payload - Payload for GPG signing object. Raw ODB object without the signature header. - lockAllowsFetchAndMerge - 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. + signature - ASCII-armored signature header from object. - clientMutationId - A unique identifier for the client performing the mutation. + signer - GitHub user corresponding to the email signing this commit. - """ - repositoryId: ID - pattern: str - requiresApprovingReviews: bool - requiredApprovingReviewCount: int - requiresCommitSignatures: bool - requiresLinearHistory: bool - blocksCreations: bool - allowsForcePushes: bool - allowsDeletions: bool - isAdminEnforced: bool - requiresStatusChecks: bool - requiresStrictStatusChecks: bool - requiresCodeOwnerReviews: bool - dismissesStaleReviews: bool - restrictsReviewDismissals: bool - reviewDismissalActorIds: list[ID] - bypassPullRequestActorIds: list[ID] - bypassForcePushActorIds: list[ID] - restrictsPushes: bool - pushActorIds: list[ID] - requiredStatusCheckContexts: list[str] - requiredStatusChecks: list_RequiredStatusCheckInput[RequiredStatusCheckInput] - requiresDeployments: bool - requiredDeploymentEnvironments: list[str] - requiresConversationResolution: bool - requireLastPushApproval: bool - lockBranch: bool - lockAllowsFetchAndMerge: bool - clientMutationId: str + state - The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. -class CreateBranchProtectionRulePayload(GQLObject): - """ - CreateBranchProtectionRulePayload - Autogenerated return type of CreateBranchProtectionRule + wasSignedByGitHub - True if the signature was made with GitHub's signing key. - branchProtectionRule - The newly created BranchProtectionRule. + """ - clientMutationId - A unique identifier for the client performing the mutation. + email: str + is_valid: bool + key_fingerprint: Optional[str] = None + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool - """ - branchProtectionRule: BranchProtectionRule - clientMutationId: str -class CreateCheckRunPayload(GQLObject): - """ - CreateCheckRunPayload - Autogenerated return type of CreateCheckRun +@dataclass(kw_only=True) +class SmimeSignature: + """ + SmimeSignature - Represents an S/MIME signature on a Commit or Tag. - checkRun - The newly created check run. + email - Email used to sign this object. - clientMutationId - A unique identifier for the client performing the mutation. + isValid - True if the signature is valid and verified by GitHub. - """ - checkRun: CheckRun - clientMutationId: str + payload - Payload for GPG signing object. Raw ODB object without the signature header. -class CreateCheckSuitePayload(GQLObject): - """ - CreateCheckSuitePayload - Autogenerated return type of CreateCheckSuite + signature - ASCII-armored signature header from object. - checkSuite - The newly created check suite. + signer - GitHub user corresponding to the email signing this commit. - clientMutationId - A unique identifier for the client performing the mutation. + state - The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. - """ - checkSuite: CheckSuite - clientMutationId: str + wasSignedByGitHub - True if the signature was made with GitHub's signing key. -class CreateDiscussionPayload(GQLObject): - """ - CreateDiscussionPayload - Autogenerated return type of CreateDiscussion + """ - clientMutationId - A unique identifier for the client performing the mutation. + email: str + is_valid: bool + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool - discussion - The discussion that was just created. - """ - clientMutationId: str - discussion: Discussion +@dataclass(kw_only=True) +class SetUserInteractionLimitPayload: + """ + SetUserInteractionLimitPayload - Autogenerated return type of SetUserInteractionLimit -class CreateEnvironmentPayload(GQLObject): - """ - CreateEnvironmentPayload - Autogenerated return type of CreateEnvironment + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + user - The user that the interaction limit was set for. - environment - The new or existing environment. + """ - """ - clientMutationId: str - environment: Environment + client_mutation_id: Optional[str] = None + user: Optional[User] = None -class CreateIpAllowListEntryPayload(GQLObject): - """ - CreateIpAllowListEntryPayload - Autogenerated return type of CreateIpAllowListEntry - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class SetRepositoryInteractionLimitPayload: + """ + SetRepositoryInteractionLimitPayload - Autogenerated return type of SetRepositoryInteractionLimit - ipAllowListEntry - The IP allow list entry that was created. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - ipAllowListEntry: IpAllowListEntry + repository - The repository that the interaction limit was set for. -class CreateIssuePayload(GQLObject): - """ - CreateIssuePayload - Autogenerated return type of CreateIssue + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - issue - The new issue. - """ - clientMutationId: str - issue: Issue +@dataclass(kw_only=True) +class SetOrganizationInteractionLimitPayload: + """ + SetOrganizationInteractionLimitPayload - Autogenerated return type of SetOrganizationInteractionLimit -class CreateLinkedBranchPayload(GQLObject): - """ - CreateLinkedBranchPayload - Autogenerated return type of CreateLinkedBranch + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + organization - The organization that the interaction limit was set for. - linkedBranch - The new branch issue reference. + """ - """ - clientMutationId: str - linkedBranch: LinkedBranch + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None -class CreateMigrationSourcePayload(GQLObject): - """ - CreateMigrationSourcePayload - Autogenerated return type of CreateMigrationSource - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class SetEnterpriseIdentityProviderPayload: + """ + SetEnterpriseIdentityProviderPayload - Autogenerated return type of SetEnterpriseIdentityProvider - migrationSource - The created migration source. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - migrationSource: MigrationSource + identityProvider - The identity provider for the enterprise. -class CreateProjectPayload(GQLObject): - """ - CreateProjectPayload - Autogenerated return type of CreateProject + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + identity_provider: Optional[EnterpriseIdentityProvider] = None - project - The new project. - """ - clientMutationId: str - project: Project +@dataclass(kw_only=True) +class RevokeEnterpriseOrganizationsMigratorRolePayload: + """ + RevokeEnterpriseOrganizationsMigratorRolePayload - Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole -class list_ProjectV2SingleSelectFieldOptionInput(list, ProjectV2SingleSelectFieldOptionInput): pass + clientMutationId - A unique identifier for the client performing the mutation. -class CreateProjectV2FieldInput(GQLObject): - """ - CreateProjectV2FieldInput - Autogenerated input type of CreateProjectV2Field + organizations - The organizations that had the migrator role revoked for the given user. - projectId - The ID of the Project to create the field in. + """ - dataType - The data type of the field. + client_mutation_id: Optional[str] = None + organizations: Optional[OrganizationConnection] = None - name - The name of the field. - singleSelectOptions - Options for a single select field. At least one value is required if data_type is SINGLE_SELECT +@dataclass(kw_only=True) +class RetireSponsorsTierPayload: + """ + RetireSponsorsTierPayload - Autogenerated return type of RetireSponsorsTier - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - dataType: ProjectV2CustomFieldType - name: str - singleSelectOptions: list_ProjectV2SingleSelectFieldOptionInput[ProjectV2SingleSelectFieldOptionInput] - clientMutationId: str + sponsorsTier - The tier that was retired. -class CreateProjectV2FieldPayload(GQLObject): - """ - CreateProjectV2FieldPayload - Autogenerated return type of CreateProjectV2Field + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None - projectV2Field - The new field. - """ - clientMutationId: str - projectV2Field: ProjectV2FieldConfiguration +@dataclass(kw_only=True) +class ResolveReviewThreadPayload: + """ + ResolveReviewThreadPayload - Autogenerated return type of ResolveReviewThread -class CreateProjectV2Payload(GQLObject): - """ - CreateProjectV2Payload - Autogenerated return type of CreateProjectV2 + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + thread - The thread to resolve. - projectV2 - The new project. + """ - """ - clientMutationId: str - projectV2: ProjectV2 + client_mutation_id: Optional[str] = None + thread: Optional[PullRequestReviewThread] = None -class CreatePullRequestPayload(GQLObject): - """ - CreatePullRequestPayload - Autogenerated return type of CreatePullRequest - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RerequestCheckSuitePayload: + """ + RerequestCheckSuitePayload - Autogenerated return type of RerequestCheckSuite - pullRequest - The new pull request. + checkSuite - The requested check suite. - """ - clientMutationId: str - pullRequest: PullRequest + clientMutationId - A unique identifier for the client performing the mutation. -class CreateRefPayload(GQLObject): - """ - CreateRefPayload - Autogenerated return type of CreateRef + """ - clientMutationId - A unique identifier for the client performing the mutation. + check_suite: Optional[CheckSuite] = None + client_mutation_id: Optional[str] = None - ref - The newly created ref. - """ - clientMutationId: str - ref: Ref +@dataclass(kw_only=True) +class RepositoryNode: + """ + RepositoryNode - Represents a object that belongs to a repository. -class CreateRepositoryPayload(GQLObject): - """ - CreateRepositoryPayload - Autogenerated return type of CreateRepository + repository - The repository associated with this node. - clientMutationId - A unique identifier for the client performing the mutation. + """ - repository - The new repository. + repository: Repository - """ - clientMutationId: str - repository: Repository -class CreateRepositoryRulesetPayload(GQLObject): - """ - CreateRepositoryRulesetPayload - Autogenerated return type of CreateRepositoryRuleset +@dataclass(kw_only=True) +class RepositoryDiscussionCommentAuthor: + """ + RepositoryDiscussionCommentAuthor - Represents an author of discussion comments in repositories. - clientMutationId - A unique identifier for the client performing the mutation. + repositoryDiscussionComments - Discussion comments this user has authored. - ruleset - The newly created Ruleset. + """ - """ - clientMutationId: str - ruleset: RepositoryRuleset + repository_discussion_comments: DiscussionCommentConnection -class CreateSponsorsListingPayload(GQLObject): - """ - CreateSponsorsListingPayload - Autogenerated return type of CreateSponsorsListing - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RepositoryDiscussionAuthor: + """ + RepositoryDiscussionAuthor - Represents an author of discussions in repositories. - sponsorsListing - The new GitHub Sponsors profile. + repositoryDiscussions - Discussions this user has started. - """ - clientMutationId: str - sponsorsListing: SponsorsListing + """ -class CreateSponsorsTierPayload(GQLObject): - """ - CreateSponsorsTierPayload - Autogenerated return type of CreateSponsorsTier + repository_discussions: DiscussionConnection - clientMutationId - A unique identifier for the client performing the mutation. - sponsorsTier - The new tier. +@dataclass(kw_only=True) +class RepositoryAuditEntryData: + """ + RepositoryAuditEntryData - Metadata for an audit entry with action repo.* - """ - clientMutationId: str - sponsorsTier: SponsorsTier + repository - The repository associated with the action -class CreateSponsorshipPayload(GQLObject): - """ - CreateSponsorshipPayload - Autogenerated return type of CreateSponsorship + repositoryName - The name of the repository - clientMutationId - A unique identifier for the client performing the mutation. + repositoryResourcePath - The HTTP path for the repository - sponsorship - The sponsorship that was started. + repositoryUrl - The HTTP URL for the repository - """ - clientMutationId: str - sponsorship: Sponsorship + """ -class list_BulkSponsorship(list, BulkSponsorship): pass + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None -class CreateSponsorshipsInput(GQLObject): - """ - CreateSponsorshipsInput - Autogenerated input type of CreateSponsorships - sponsorLogin - The username of the user or organization who is acting as the sponsor, paying for the sponsorships. +@dataclass(kw_only=True) +class ReopenPullRequestPayload: + """ + ReopenPullRequestPayload - Autogenerated return type of ReopenPullRequest - sponsorships - The list of maintainers to sponsor and for how much apiece. + clientMutationId - A unique identifier for the client performing the mutation. - receiveEmails - Whether the sponsor should receive email updates from the sponsorables. + pullRequest - The pull request that was reopened. - privacyLevel - Specify whether others should be able to see that the sponsor is sponsoring the sponsorables. Public visibility still does not reveal the dollar value of the sponsorship. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - """ - sponsorLogin: str - sponsorships: list_BulkSponsorship[BulkSponsorship] - receiveEmails: bool - privacyLevel: SponsorshipPrivacy - clientMutationId: str -class list_Sponsorable(list, Sponsorable): pass +@dataclass(kw_only=True) +class ReopenIssuePayload: + """ + ReopenIssuePayload - Autogenerated return type of ReopenIssue -class CreateSponsorshipsPayload(GQLObject): - """ - CreateSponsorshipsPayload - Autogenerated return type of CreateSponsorships + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + issue - The issue that was opened. - sponsorables - The users and organizations who received a sponsorship. + """ - """ - clientMutationId: str - sponsorables: list_Sponsorable[Sponsorable] + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None -class CreateTeamDiscussionCommentPayload(GQLObject): - """ - CreateTeamDiscussionCommentPayload - Autogenerated return type of CreateTeamDiscussionComment - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ReopenDiscussionPayload: + """ + ReopenDiscussionPayload - Autogenerated return type of ReopenDiscussion - """ - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class CreateTeamDiscussionPayload(GQLObject): - """ - CreateTeamDiscussionPayload - Autogenerated return type of CreateTeamDiscussion + discussion - The discussion that was reopened. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - clientMutationId: str + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class DeclineTopicSuggestionPayload(GQLObject): - """ - DeclineTopicSuggestionPayload - Autogenerated return type of DeclineTopicSuggestion - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RemoveUpvotePayload: + """ + RemoveUpvotePayload - Autogenerated return type of RemoveUpvote - topic - The declined topic. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - topic: Topic + subject - The votable subject. -class DeleteDiscussionCommentPayload(GQLObject): - """ - DeleteDiscussionCommentPayload - Autogenerated return type of DeleteDiscussionComment + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + subject: Optional[Votable] = None - comment - The discussion comment that was just deleted. - """ - clientMutationId: str - comment: DiscussionComment +@dataclass(kw_only=True) +class RemoveStarPayload: + """ + RemoveStarPayload - Autogenerated return type of RemoveStar -class DeleteDiscussionPayload(GQLObject): - """ - DeleteDiscussionPayload - Autogenerated return type of DeleteDiscussion + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + starrable - The starrable. - discussion - The discussion that was just deleted. + """ - """ - clientMutationId: str - discussion: Discussion + client_mutation_id: Optional[str] = None + starrable: Optional[Starrable] = None -class DeleteIpAllowListEntryPayload(GQLObject): - """ - DeleteIpAllowListEntryPayload - Autogenerated return type of DeleteIpAllowListEntry - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RemoveOutsideCollaboratorPayload: + """ + RemoveOutsideCollaboratorPayload - Autogenerated return type of RemoveOutsideCollaborator - ipAllowListEntry - The IP allow list entry that was deleted. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - ipAllowListEntry: IpAllowListEntry + removedUser - The user that was removed as an outside collaborator. -class DeleteIssuePayload(GQLObject): - """ - DeleteIssuePayload - Autogenerated return type of DeleteIssue + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + removed_user: Optional[User] = None - repository - The repository the issue belonged to - """ - clientMutationId: str - repository: Repository +@dataclass(kw_only=True) +class RemoveLabelsFromLabelablePayload: + """ + RemoveLabelsFromLabelablePayload - Autogenerated return type of RemoveLabelsFromLabelable -class DeleteLinkedBranchPayload(GQLObject): - """ - DeleteLinkedBranchPayload - Autogenerated return type of DeleteLinkedBranch + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + labelable - The Labelable the labels were removed from. - issue - The issue the linked branch was unlinked from. + """ - """ - clientMutationId: str - issue: Issue + client_mutation_id: Optional[str] = None + labelable: Optional[Labelable] = None -class DeleteProjectCardPayload(GQLObject): - """ - DeleteProjectCardPayload - Autogenerated return type of DeleteProjectCard - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RemoveEnterpriseIdentityProviderPayload: + """ + RemoveEnterpriseIdentityProviderPayload - Autogenerated return type of RemoveEnterpriseIdentityProvider - column - The column the deleted card was in. + clientMutationId - A unique identifier for the client performing the mutation. - deletedCardId - The deleted card ID. + identityProvider - The identity provider that was removed from the enterprise. - """ - clientMutationId: str - column: ProjectColumn - deletedCardId: ID + """ -class DeleteProjectColumnPayload(GQLObject): - """ - DeleteProjectColumnPayload - Autogenerated return type of DeleteProjectColumn + client_mutation_id: Optional[str] = None + identity_provider: Optional[EnterpriseIdentityProvider] = None - clientMutationId - A unique identifier for the client performing the mutation. - deletedColumnId - The deleted column ID. +@dataclass(kw_only=True) +class RemoveAssigneesFromAssignablePayload: + """ + RemoveAssigneesFromAssignablePayload - Autogenerated return type of RemoveAssigneesFromAssignable - project - The project the deleted column was in. + assignable - The item that was unassigned. - """ - clientMutationId: str - deletedColumnId: ID - project: Project + clientMutationId - A unique identifier for the client performing the mutation. -class DeleteProjectPayload(GQLObject): - """ - DeleteProjectPayload - Autogenerated return type of DeleteProject + """ - clientMutationId - A unique identifier for the client performing the mutation. + assignable: Optional[Assignable] = None + client_mutation_id: Optional[str] = None - owner - The repository or organization the project was removed from. - """ - clientMutationId: str - owner: ProjectOwner +@dataclass(kw_only=True) +class RejectDeploymentsPayload: + """ + RejectDeploymentsPayload - Autogenerated return type of RejectDeployments -class DeleteProjectV2FieldPayload(GQLObject): - """ - DeleteProjectV2FieldPayload - Autogenerated return type of DeleteProjectV2Field + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + deployments - The affected deployments. - projectV2Field - The deleted field. + """ - """ - clientMutationId: str - projectV2Field: ProjectV2FieldConfiguration + client_mutation_id: Optional[str] = None + deployments: Optional[list[Deployment]] = None -class DeleteProjectV2Payload(GQLObject): - """ - DeleteProjectV2Payload - Autogenerated return type of DeleteProjectV2 - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class RegenerateEnterpriseIdentityProviderRecoveryCodesPayload: + """ + RegenerateEnterpriseIdentityProviderRecoveryCodesPayload - Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes - projectV2 - The deleted Project. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - projectV2: ProjectV2 + identityProvider - The identity provider for the enterprise. -class DeleteProjectV2WorkflowPayload(GQLObject): - """ - DeleteProjectV2WorkflowPayload - Autogenerated return type of DeleteProjectV2Workflow + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + identity_provider: Optional[EnterpriseIdentityProvider] = None - deletedWorkflowId - The ID of the deleted workflow. - projectV2 - The project the deleted workflow was in. +@dataclass(kw_only=True) +class PublishSponsorsTierPayload: + """ + PublishSponsorsTierPayload - Autogenerated return type of PublishSponsorsTier - """ - clientMutationId: str - deletedWorkflowId: ID - projectV2: ProjectV2 + clientMutationId - A unique identifier for the client performing the mutation. -class DeletePullRequestReviewPayload(GQLObject): - """ - DeletePullRequestReviewPayload - Autogenerated return type of DeletePullRequestReview + sponsorsTier - The tier that was published. - clientMutationId - A unique identifier for the client performing the mutation. + """ - pullRequestReview - The deleted pull request review. + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None - """ - clientMutationId: str - pullRequestReview: PullRequestReview -class DeleteVerifiableDomainPayload(GQLObject): - """ - DeleteVerifiableDomainPayload - Autogenerated return type of DeleteVerifiableDomain +@dataclass(kw_only=True) +class ProjectV2Recent: + """ + ProjectV2Recent - Recent projects for the owner. - clientMutationId - A unique identifier for the client performing the mutation. + recentProjects - Recent projects that this user has modified in the context of the owner. - owner - The owning account from which the domain was deleted. + """ - """ - clientMutationId: str - owner: VerifiableDomainOwner + recent_projects: ProjectV2Connection -class DequeuePullRequestPayload(GQLObject): - """ - DequeuePullRequestPayload - Autogenerated return type of DequeuePullRequest - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ProjectV2FieldCommon: + """ + ProjectV2FieldCommon - Common fields across different project field types - mergeQueueEntry - The merge queue entry of the dequeued pull request. + createdAt - Identifies the date and time when the object was created. - """ - clientMutationId: str - mergeQueueEntry: MergeQueueEntry + dataType - The field's type. -class DismissPullRequestReviewPayload(GQLObject): - """ - DismissPullRequestReviewPayload - Autogenerated return type of DismissPullRequestReview + databaseId - Identifies the primary key from the database. - clientMutationId - A unique identifier for the client performing the mutation. + id - The Node ID of the ProjectV2FieldCommon object - pullRequestReview - The dismissed pull request review. + name - The project field's name. - """ - clientMutationId: str - pullRequestReview: PullRequestReview + project - The project that contains this field. -class DismissRepositoryVulnerabilityAlertPayload(GQLObject): - """ - DismissRepositoryVulnerabilityAlertPayload - Autogenerated return type of DismissRepositoryVulnerabilityAlert + updatedAt - Identifies the date and time when the object was last updated. - clientMutationId - A unique identifier for the client performing the mutation. + """ - repositoryVulnerabilityAlert - The Dependabot alert that was dismissed + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + project: ProjectV2 + updated_at: DateTime - """ - clientMutationId: str - repositoryVulnerabilityAlert: RepositoryVulnerabilityAlert -class EnqueuePullRequestPayload(GQLObject): - """ - EnqueuePullRequestPayload - Autogenerated return type of EnqueuePullRequest +@dataclass(kw_only=True) +class ProjectColumnImport: + """ + ProjectColumnImport - A project column and a list of its issues and PRs. - clientMutationId - A unique identifier for the client performing the mutation. + columnName - The name of the column. - mergeQueueEntry - The merge queue entry for the enqueued pull request. + issues - A list of issues and pull requests in the column. - """ - clientMutationId: str - mergeQueueEntry: MergeQueueEntry + position - The position of the column, starting from 0. -class FollowOrganizationPayload(GQLObject): - """ - FollowOrganizationPayload - Autogenerated return type of FollowOrganization + """ - clientMutationId - A unique identifier for the client performing the mutation. + column_name: str + issues: Optional[list[ProjectCardImport]] = None + position: int - organization - The organization that was followed. - """ - clientMutationId: str - organization: Organization +@dataclass(kw_only=True) +class PinIssuePayload: + """ + PinIssuePayload - Autogenerated return type of PinIssue -class FollowUserPayload(GQLObject): - """ - FollowUserPayload - Autogenerated return type of FollowUser + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + issue - The issue that was pinned - user - The user that was followed. + """ - """ - clientMutationId: str - user: User + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None -class GpgSignature(GQLObject): - """ - GpgSignature - Represents a GPG signature on a Commit or Tag. - email - Email used to sign this object. +@dataclass(kw_only=True) +class PackageTag: + """ + PackageTag - A version tag contains the mapping between a tag name and a version. - isValid - True if the signature is valid and verified by GitHub. + id - The Node ID of the PackageTag object - keyId - Hex-encoded ID of the key that signed this object. + name - Identifies the tag name of the version. - payload - Payload for GPG signing object. Raw ODB object without the signature header. + version - Version that the tag is associated with. - signature - ASCII-armored signature header from object. + """ - signer - GitHub user corresponding to the email signing this commit. + id: ID + name: str + version: Optional[PackageVersion] = None - state - The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. - wasSignedByGitHub - True if the signature was made with GitHub's signing key. +@dataclass(kw_only=True) +class PackageOwner: + """ + PackageOwner - Represents an owner of a package. - """ - email: str - isValid: bool - keyId: str - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool + id - The Node ID of the PackageOwner object -class ZWZPJ_OrganizationConnection_Field(OrganizationConnection): - """ - ZWZPJ_OrganizationConnection_Field - The organizations that had the migrator role applied to for the given user. + packages - A list of packages under the owner. - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + id: ID + packages: PackageConnection - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class OrganizationsHovercardContext: + """ + OrganizationsHovercardContext - An organization list hovercard context - """ - after: str - before: str - first: int - last: int + message - A string describing this context - _args: OrganizationConnectionArgs + octicon - An octicon to accompany this context + relevantOrganizations - Organizations this user is a member of that are relevant + totalOrganizationCount - The total number of organizations this user is in -class GrantEnterpriseOrganizationsMigratorRolePayload(GQLObject): - """ - GrantEnterpriseOrganizationsMigratorRolePayload - Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole + """ - clientMutationId - A unique identifier for the client performing the mutation. + message: str + octicon: str + relevant_organizations: OrganizationConnection + total_organization_count: int - organizations - The organizations that had the migrator role applied to for the given user. - """ - clientMutationId: str - organizations: ZWZPJ_OrganizationConnection_Field +@dataclass(kw_only=True) +class OrganizationTeamsHovercardContext: + """ + OrganizationTeamsHovercardContext - An organization teams hovercard context -class InviteEnterpriseAdminPayload(GQLObject): - """ - InviteEnterpriseAdminPayload - Autogenerated return type of InviteEnterpriseAdmin + message - A string describing this context - clientMutationId - A unique identifier for the client performing the mutation. + octicon - An octicon to accompany this context - invitation - The created enterprise administrator invitation. + relevantTeams - Teams in this organization the user is a member of that are relevant - """ - clientMutationId: str - invitation: EnterpriseAdministratorInvitation + teamsResourcePath - The path for the full team list for this user -class LinkProjectV2ToRepositoryPayload(GQLObject): - """ - LinkProjectV2ToRepositoryPayload - Autogenerated return type of LinkProjectV2ToRepository + teamsUrl - The URL for the full team list for this user - clientMutationId - A unique identifier for the client performing the mutation. + totalTeamCount - The total number of teams the user is on in the organization - repository - The repository the project is linked to. + """ - """ - clientMutationId: str - repository: Repository + message: str + octicon: str + relevant_teams: TeamConnection + teams_resource_path: URI + teams_url: URI + total_team_count: int -class LinkProjectV2ToTeamPayload(GQLObject): - """ - LinkProjectV2ToTeamPayload - Autogenerated return type of LinkProjectV2ToTeam - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class OrganizationAuditEntryData: + """ + OrganizationAuditEntryData - Metadata for an audit entry with action org.* - team - The team the project is linked to + organization - The Organization associated with the Audit Entry. - """ - clientMutationId: str - team: Team + organizationName - The name of the Organization. -class MarkDiscussionCommentAsAnswerPayload(GQLObject): - """ - MarkDiscussionCommentAsAnswerPayload - Autogenerated return type of MarkDiscussionCommentAsAnswer + organizationResourcePath - The HTTP path for the organization - clientMutationId - A unique identifier for the client performing the mutation. + organizationUrl - The HTTP URL for the organization - discussion - The discussion that includes the chosen comment. + """ - """ - clientMutationId: str - discussion: Discussion + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None -class MarkFileAsViewedPayload(GQLObject): - """ - MarkFileAsViewedPayload - Autogenerated return type of MarkFileAsViewed - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class MoveProjectColumnPayload: + """ + MoveProjectColumnPayload - Autogenerated return type of MoveProjectColumn - pullRequest - The updated pull request. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - pullRequest: PullRequest + columnEdge - The new edge of the moved column. -class MarkProjectV2AsTemplatePayload(GQLObject): - """ - MarkProjectV2AsTemplatePayload - Autogenerated return type of MarkProjectV2AsTemplate + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + column_edge: Optional[ProjectColumnEdge] = None - projectV2 - The project. - """ - clientMutationId: str - projectV2: ProjectV2 +@dataclass(kw_only=True) +class MoveProjectCardPayload: + """ + MoveProjectCardPayload - Autogenerated return type of MoveProjectCard -class MarkPullRequestReadyForReviewPayload(GQLObject): - """ - MarkPullRequestReadyForReviewPayload - Autogenerated return type of MarkPullRequestReadyForReview + cardEdge - The new edge of the moved card. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The pull request that is ready for review. + """ - """ - clientMutationId: str - pullRequest: PullRequest + card_edge: Optional[ProjectCardEdge] = None + client_mutation_id: Optional[str] = None -class OFSZS_UserStatusConnection_Field(UserStatusConnection): - """ - OFSZS_UserStatusConnection_Field - Get the status messages members of this entity have set that are either public or visible only to the organization. - """ - class UserStatusConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class MinimizeCommentPayload: + """ + MinimizeCommentPayload - Autogenerated return type of MinimizeComment - before - Returns the elements in the list that come before the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - first - Returns the first _n_ elements from the list. + minimizedComment - The comment that was minimized. - last - Returns the last _n_ elements from the list. + """ - orderBy - Ordering options for user statuses returned from the connection. + client_mutation_id: Optional[str] = None + minimized_comment: Optional[Minimizable] = None - """ - after: str - before: str - first: int - last: int - orderBy: UserStatusOrder - _args: UserStatusConnectionArgs +@dataclass(kw_only=True) +class Migration: + """ + Migration - Represents a GitHub Enterprise Importer (GEI) migration. + continueOnError - The migration flag to continue on error. + createdAt - Identifies the date and time when the object was created. -class MemberStatusable(GQLObject): - """ - MemberStatusable - Entities that have members who can set status messages. + databaseId - Identifies the primary key from the database. - memberStatuses - Get the status messages members of this entity have set that are either public or visible only to the organization. + failureReason - The reason the migration failed. - """ - memberStatuses: OFSZS_UserStatusConnection_Field + id - The Node ID of the Migration object -class MergeBranchPayload(GQLObject): - """ - MergeBranchPayload - Autogenerated return type of MergeBranch + migrationLogUrl - The URL for the migration log (expires 1 day after migration completes). - clientMutationId - A unique identifier for the client performing the mutation. + migrationSource - The migration source. - mergeCommit - The resulting merge Commit. + repositoryName - The target repository name. - """ - clientMutationId: str - mergeCommit: Commit + sourceUrl - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. -class Migration(GQLObject): - """ - Migration - Represents a GitHub Enterprise Importer (GEI) migration. + state - The migration state. - continueOnError - The migration flag to continue on error. + warningsCount - The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). - createdAt - Identifies the date and time when the object was created. + """ - databaseId - Identifies the primary key from the database. + continue_on_error: bool + created_at: DateTime + database_id: Optional[str] = None + failure_reason: Optional[str] = None + id: ID + migration_log_url: Optional[URI] = None + migration_source: MigrationSource + repository_name: str + source_url: URI + state: MigrationState + warnings_count: int - failureReason - The reason the migration failed. - migrationLogUrl - The URL for the migration log (expires 1 day after migration completes). +@dataclass(kw_only=True) +class MergeBranchPayload: + """ + MergeBranchPayload - Autogenerated return type of MergeBranch - migrationSource - The migration source. + clientMutationId - A unique identifier for the client performing the mutation. - repositoryName - The target repository name. + mergeCommit - The resulting merge Commit. - sourceUrl - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + """ - state - The migration state. + client_mutation_id: Optional[str] = None + merge_commit: Optional[Commit] = None - warningsCount - The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). - """ - continueOnError: bool - createdAt: DateTime - databaseId: str - failureReason: str - id: ID - migrationLogUrl: URI - migrationSource: MigrationSource - repositoryName: str - sourceUrl: URI - state: MigrationState - warningsCount: int +@dataclass(kw_only=True) +class MemberStatusable: + """ + MemberStatusable - Entities that have members who can set status messages. -class MinimizeCommentPayload(GQLObject): - """ - MinimizeCommentPayload - Autogenerated return type of MinimizeComment + memberStatuses - Get the status messages members of this entity have set that are either public or visible only to the organization. - clientMutationId - A unique identifier for the client performing the mutation. + """ - minimizedComment - The comment that was minimized. + member_statuses: UserStatusConnection - """ - clientMutationId: str - minimizedComment: Minimizable -class MoveProjectCardPayload(GQLObject): - """ - MoveProjectCardPayload - Autogenerated return type of MoveProjectCard +@dataclass(kw_only=True) +class MarkPullRequestReadyForReviewPayload: + """ + MarkPullRequestReadyForReviewPayload - Autogenerated return type of MarkPullRequestReadyForReview - cardEdge - The new edge of the moved card. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + pullRequest - The pull request that is ready for review. - """ - cardEdge: ProjectCardEdge - clientMutationId: str + """ -class MoveProjectColumnPayload(GQLObject): - """ - MoveProjectColumnPayload - Autogenerated return type of MoveProjectColumn + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - clientMutationId - A unique identifier for the client performing the mutation. - columnEdge - The new edge of the moved column. +@dataclass(kw_only=True) +class MarkProjectV2AsTemplatePayload: + """ + MarkProjectV2AsTemplatePayload - Autogenerated return type of MarkProjectV2AsTemplate - """ - clientMutationId: str - columnEdge: ProjectColumnEdge + clientMutationId - A unique identifier for the client performing the mutation. -class OrganizationAuditEntryData(GQLObject): - """ - OrganizationAuditEntryData - Metadata for an audit entry with action org.* + projectV2 - The project. - organization - The Organization associated with the Audit Entry. + """ - organizationName - The name of the Organization. + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None - organizationResourcePath - The HTTP path for the organization - organizationUrl - The HTTP URL for the organization +@dataclass(kw_only=True) +class MarkNotificationAsDonePayload: + """ + MarkNotificationAsDonePayload - Autogenerated return type of MarkNotificationAsDone - """ - organization: Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI + clientMutationId - A unique identifier for the client performing the mutation. -class KRWVZ_TeamConnection_Field(TeamConnection): - """ - KRWVZ_TeamConnection_Field - Teams in this organization the user is a member of that are relevant + success - Did the operation succeed? - """ - class TeamConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + viewer - The user that the notification belongs to. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + viewer: Optional[User] = None - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class MarkFileAsViewedPayload: + """ + MarkFileAsViewedPayload - Autogenerated return type of MarkFileAsViewed - _args: TeamConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + pullRequest - The updated pull request. + """ -class OrganizationTeamsHovercardContext(GQLObject): - """ - OrganizationTeamsHovercardContext - An organization teams hovercard context + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - message - A string describing this context - octicon - An octicon to accompany this context +@dataclass(kw_only=True) +class MarkDiscussionCommentAsAnswerPayload: + """ + MarkDiscussionCommentAsAnswerPayload - Autogenerated return type of MarkDiscussionCommentAsAnswer - relevantTeams - Teams in this organization the user is a member of that are relevant + clientMutationId - A unique identifier for the client performing the mutation. - teamsResourcePath - The path for the full team list for this user + discussion - The discussion that includes the chosen comment. - teamsUrl - The URL for the full team list for this user + """ - totalTeamCount - The total number of teams the user is on in the organization + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None - """ - message: str - octicon: str - relevantTeams: KRWVZ_TeamConnection_Field - teamsResourcePath: URI - teamsUrl: URI - totalTeamCount: int -class CEONT_OrganizationConnection_Field(OrganizationConnection): - """ - CEONT_OrganizationConnection_Field - Organizations this user is a member of that are relevant +@dataclass(kw_only=True) +class LinkProjectV2ToTeamPayload: + """ + LinkProjectV2ToTeamPayload - Autogenerated return type of LinkProjectV2ToTeam - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for the User's organizations. + clientMutationId - A unique identifier for the client performing the mutation. - after - Returns the elements in the list that come after the specified cursor. + team - The team the project is linked to - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + client_mutation_id: Optional[str] = None + team: Optional[Team] = None - last - Returns the last _n_ elements from the list. - """ - orderBy: OrganizationOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class LinkProjectV2ToRepositoryPayload: + """ + LinkProjectV2ToRepositoryPayload - Autogenerated return type of LinkProjectV2ToRepository - _args: OrganizationConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + repository - The repository the project is linked to. + """ -class OrganizationsHovercardContext(GQLObject): - """ - OrganizationsHovercardContext - An organization list hovercard context + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - message - A string describing this context - octicon - An octicon to accompany this context +@dataclass(kw_only=True) +class InviteEnterpriseAdminPayload: + """ + InviteEnterpriseAdminPayload - Autogenerated return type of InviteEnterpriseAdmin - relevantOrganizations - Organizations this user is a member of that are relevant + clientMutationId - A unique identifier for the client performing the mutation. - totalOrganizationCount - The total number of organizations this user is in + invitation - The created enterprise administrator invitation. - """ - message: str - octicon: str - relevantOrganizations: CEONT_OrganizationConnection_Field - totalOrganizationCount: int + """ -class SEXGN_PackageConnection_Field(PackageConnection): - """ - SEXGN_PackageConnection_Field - A list of packages under the owner. + client_mutation_id: Optional[str] = None + invitation: Optional[EnterpriseAdministratorInvitation] = None - """ - class PackageConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - before - Returns the elements in the list that come before the specified cursor. +@dataclass(kw_only=True) +class ImportProjectPayload: + """ + ImportProjectPayload - Autogenerated return type of ImportProject - first - Returns the first _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - last - Returns the last _n_ elements from the list. + project - The new Project! - names - Find packages by their names. + """ - repositoryId - Find packages in a repository by ID. + client_mutation_id: Optional[str] = None + project: Optional[Project] = None - packageType - Filter registry package by type. - orderBy - Ordering of the returned packages. +@dataclass(kw_only=True) +class ImportProjectInput: + """ + ImportProjectInput - Autogenerated input type of ImportProject - """ - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder + body - The description of Project. - _args: PackageConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + columnImports - A list of columns containing issues and pull requests. + name - The name of Project. -class PackageOwner(GQLObject): - """ - PackageOwner - Represents an owner of a package. + ownerName - The name of the Organization or User to create the Project under. - packages - A list of packages under the owner. + public - Whether the Project is public or not. - """ - id: ID - packages: SEXGN_PackageConnection_Field + """ -class PackageTag(GQLObject): - """ - PackageTag - A version tag contains the mapping between a tag name and a version. + body: Optional[str] = None + client_mutation_id: Optional[str] = None + column_imports: list[ProjectColumnImport] + name: str + owner_name: str + public: Optional[bool] = None - name - Identifies the tag name of the version. - version - Version that the tag is associated with. +@dataclass(kw_only=True) +class GrantEnterpriseOrganizationsMigratorRolePayload: + """ + GrantEnterpriseOrganizationsMigratorRolePayload - Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole - """ - id: ID - name: str - version: PackageVersion + clientMutationId - A unique identifier for the client performing the mutation. -class PinIssuePayload(GQLObject): - """ - PinIssuePayload - Autogenerated return type of PinIssue + organizations - The organizations that had the migrator role applied to for the given user. - clientMutationId - A unique identifier for the client performing the mutation. + """ - issue - The issue that was pinned + client_mutation_id: Optional[str] = None + organizations: Optional[OrganizationConnection] = None - """ - clientMutationId: str - issue: Issue -class ProjectV2FieldCommon(GQLObject): - """ - ProjectV2FieldCommon - Common fields across different project field types +@dataclass(kw_only=True) +class GpgSignature: + """ + GpgSignature - Represents a GPG signature on a Commit or Tag. - createdAt - Identifies the date and time when the object was created. + email - Email used to sign this object. - dataType - The field's type. + isValid - True if the signature is valid and verified by GitHub. - databaseId - Identifies the primary key from the database. + keyId - Hex-encoded ID of the key that signed this object. - name - The project field's name. + payload - Payload for GPG signing object. Raw ODB object without the signature header. - project - The project that contains this field. + signature - ASCII-armored signature header from object. - updatedAt - Identifies the date and time when the object was last updated. + signer - GitHub user corresponding to the email signing this commit. - """ - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - project: ProjectV2 - updatedAt: DateTime + state - The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. -class FQKIU_ProjectV2Connection_Field(ProjectV2Connection): - """ - FQKIU_ProjectV2Connection_Field - Recent projects that this user has modified in the context of the owner. + wasSignedByGitHub - True if the signature was made with GitHub's signing key. - """ - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + email: str + is_valid: bool + key_id: Optional[str] = None + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class FollowUserPayload: + """ + FollowUserPayload - Autogenerated return type of FollowUser - """ - after: str - before: str - first: int - last: int + clientMutationId - A unique identifier for the client performing the mutation. - _args: ProjectV2ConnectionArgs + user - The user that was followed. + """ + client_mutation_id: Optional[str] = None + user: Optional[User] = None -class ProjectV2Recent(GQLObject): - """ - ProjectV2Recent - Recent projects for the owner. - recentProjects - Recent projects that this user has modified in the context of the owner. +@dataclass(kw_only=True) +class FollowOrganizationPayload: + """ + FollowOrganizationPayload - Autogenerated return type of FollowOrganization - """ - recentProjects: FQKIU_ProjectV2Connection_Field + clientMutationId - A unique identifier for the client performing the mutation. -class PublishSponsorsTierPayload(GQLObject): - """ - PublishSponsorsTierPayload - Autogenerated return type of PublishSponsorsTier + organization - The organization that was followed. - clientMutationId - A unique identifier for the client performing the mutation. + """ - sponsorsTier - The tier that was published. + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None - """ - clientMutationId: str - sponsorsTier: SponsorsTier -class RegenerateEnterpriseIdentityProviderRecoveryCodesPayload(GQLObject): - """ - RegenerateEnterpriseIdentityProviderRecoveryCodesPayload - Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes +@dataclass(kw_only=True) +class EnqueuePullRequestPayload: + """ + EnqueuePullRequestPayload - Autogenerated return type of EnqueuePullRequest - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - identityProvider - The identity provider for the enterprise. + mergeQueueEntry - The merge queue entry for the enqueued pull request. - """ - clientMutationId: str - identityProvider: EnterpriseIdentityProvider + """ -class RejectDeploymentsPayload(GQLObject): - """ - RejectDeploymentsPayload - Autogenerated return type of RejectDeployments + client_mutation_id: Optional[str] = None + merge_queue_entry: Optional[MergeQueueEntry] = None - clientMutationId - A unique identifier for the client performing the mutation. - deployments - The affected deployments. +@dataclass(kw_only=True) +class DismissRepositoryVulnerabilityAlertPayload: + """ + DismissRepositoryVulnerabilityAlertPayload - Autogenerated return type of DismissRepositoryVulnerabilityAlert - """ - clientMutationId: str - deployments: list_Deployment[Deployment] + clientMutationId - A unique identifier for the client performing the mutation. -class RemoveAssigneesFromAssignablePayload(GQLObject): - """ - RemoveAssigneesFromAssignablePayload - Autogenerated return type of RemoveAssigneesFromAssignable + repositoryVulnerabilityAlert - The Dependabot alert that was dismissed - assignable - The item that was unassigned. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + repository_vulnerability_alert: Optional[RepositoryVulnerabilityAlert] = None - """ - assignable: Assignable - clientMutationId: str -class RemoveEnterpriseIdentityProviderPayload(GQLObject): - """ - RemoveEnterpriseIdentityProviderPayload - Autogenerated return type of RemoveEnterpriseIdentityProvider +@dataclass(kw_only=True) +class DismissPullRequestReviewPayload: + """ + DismissPullRequestReviewPayload - Autogenerated return type of DismissPullRequestReview - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - identityProvider - The identity provider that was removed from the enterprise. + pullRequestReview - The dismissed pull request review. - """ - clientMutationId: str - identityProvider: EnterpriseIdentityProvider + """ -class RemoveLabelsFromLabelablePayload(GQLObject): - """ - RemoveLabelsFromLabelablePayload - Autogenerated return type of RemoveLabelsFromLabelable + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - clientMutationId - A unique identifier for the client performing the mutation. - labelable - The Labelable the labels were removed from. +@dataclass(kw_only=True) +class DequeuePullRequestPayload: + """ + DequeuePullRequestPayload - Autogenerated return type of DequeuePullRequest - """ - clientMutationId: str - labelable: Labelable + clientMutationId - A unique identifier for the client performing the mutation. -class RemoveOutsideCollaboratorPayload(GQLObject): - """ - RemoveOutsideCollaboratorPayload - Autogenerated return type of RemoveOutsideCollaborator + mergeQueueEntry - The merge queue entry of the dequeued pull request. - clientMutationId - A unique identifier for the client performing the mutation. + """ - removedUser - The user that was removed as an outside collaborator. + client_mutation_id: Optional[str] = None + merge_queue_entry: Optional[MergeQueueEntry] = None - """ - clientMutationId: str - removedUser: User -class RemoveStarPayload(GQLObject): - """ - RemoveStarPayload - Autogenerated return type of RemoveStar +@dataclass(kw_only=True) +class DeleteVerifiableDomainPayload: + """ + DeleteVerifiableDomainPayload - Autogenerated return type of DeleteVerifiableDomain - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - starrable - The starrable. + owner - The owning account from which the domain was deleted. - """ - clientMutationId: str - starrable: Starrable + """ -class RemoveUpvotePayload(GQLObject): - """ - RemoveUpvotePayload - Autogenerated return type of RemoveUpvote + client_mutation_id: Optional[str] = None + owner: Optional[VerifiableDomainOwner] = None - clientMutationId - A unique identifier for the client performing the mutation. - subject - The votable subject. +@dataclass(kw_only=True) +class DeleteUserListPayload: + """ + DeleteUserListPayload - Autogenerated return type of DeleteUserList - """ - clientMutationId: str - subject: Votable + clientMutationId - A unique identifier for the client performing the mutation. -class ReopenDiscussionPayload(GQLObject): - """ - ReopenDiscussionPayload - Autogenerated return type of ReopenDiscussion + user - The owner of the list that will be deleted - clientMutationId - A unique identifier for the client performing the mutation. + """ - discussion - The discussion that was reopened. + client_mutation_id: Optional[str] = None + user: Optional[User] = None - """ - clientMutationId: str - discussion: Discussion -class ReopenIssuePayload(GQLObject): - """ - ReopenIssuePayload - Autogenerated return type of ReopenIssue +@dataclass(kw_only=True) +class DeletePullRequestReviewPayload: + """ + DeletePullRequestReviewPayload - Autogenerated return type of DeletePullRequestReview - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - issue - The issue that was opened. + pullRequestReview - The deleted pull request review. - """ - clientMutationId: str - issue: Issue + """ -class ReopenPullRequestPayload(GQLObject): - """ - ReopenPullRequestPayload - Autogenerated return type of ReopenPullRequest + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The pull request that was reopened. +@dataclass(kw_only=True) +class DeleteProjectV2WorkflowPayload: + """ + DeleteProjectV2WorkflowPayload - Autogenerated return type of DeleteProjectV2Workflow - """ - clientMutationId: str - pullRequest: PullRequest + clientMutationId - A unique identifier for the client performing the mutation. -class RepositoryAuditEntryData(GQLObject): - """ - RepositoryAuditEntryData - Metadata for an audit entry with action repo.* + deletedWorkflowId - The ID of the deleted workflow. - repository - The repository associated with the action + projectV2 - The project the deleted workflow was in. - repositoryName - The name of the repository + """ - repositoryResourcePath - The HTTP path for the repository + client_mutation_id: Optional[str] = None + deleted_workflow_id: Optional[ID] = None + project_v2: Optional[ProjectV2] = None - repositoryUrl - The HTTP URL for the repository - """ - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI +@dataclass(kw_only=True) +class DeleteProjectV2Payload: + """ + DeleteProjectV2Payload - Autogenerated return type of DeleteProjectV2 -class RUMDP_DiscussionConnection_Field(DiscussionConnection): - """ - RUMDP_DiscussionConnection_Field - Discussions this user has started. + clientMutationId - A unique identifier for the client performing the mutation. - """ - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + projectV2 - The deleted Project. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None - last - Returns the last _n_ elements from the list. - orderBy - Ordering options for discussions returned from the connection. +@dataclass(kw_only=True) +class DeleteProjectV2FieldPayload: + """ + DeleteProjectV2FieldPayload - Autogenerated return type of DeleteProjectV2Field - repositoryId - Filter discussions to only those in a specific repository. + clientMutationId - A unique identifier for the client performing the mutation. - answered - Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions. + projectV2Field - The deleted field. - states - A list of states to filter the discussions by. + """ - """ - after: str - before: str - first: int - last: int - orderBy: DiscussionOrder - repositoryId: ID - answered: bool - states: list[NonNull_DiscussionState] + client_mutation_id: Optional[str] = None + project_v2_field: Optional[ProjectV2FieldConfiguration] = None - _args: DiscussionConnectionArgs +@dataclass(kw_only=True) +class DeleteProjectPayload: + """ + DeleteProjectPayload - Autogenerated return type of DeleteProject + clientMutationId - A unique identifier for the client performing the mutation. -class RepositoryDiscussionAuthor(GQLObject): - """ - RepositoryDiscussionAuthor - Represents an author of discussions in repositories. + owner - The repository or organization the project was removed from. - repositoryDiscussions - Discussions this user has started. + """ - """ - repositoryDiscussions: RUMDP_DiscussionConnection_Field + client_mutation_id: Optional[str] = None + owner: Optional[ProjectOwner] = None -class BYENZ_DiscussionCommentConnection_Field(DiscussionCommentConnection): - """ - BYENZ_DiscussionCommentConnection_Field - Discussion comments this user has authored. - """ - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. +@dataclass(kw_only=True) +class DeleteProjectColumnPayload: + """ + DeleteProjectColumnPayload - Autogenerated return type of DeleteProjectColumn - before - Returns the elements in the list that come before the specified cursor. + clientMutationId - A unique identifier for the client performing the mutation. - first - Returns the first _n_ elements from the list. + deletedColumnId - The deleted column ID. - last - Returns the last _n_ elements from the list. + project - The project the deleted column was in. - repositoryId - Filter discussion comments to only those in a specific repository. + """ - onlyAnswers - Filter discussion comments to only those that were marked as the answer + client_mutation_id: Optional[str] = None + deleted_column_id: Optional[ID] = None + project: Optional[Project] = None - """ - after: str - before: str - first: int - last: int - repositoryId: ID - onlyAnswers: bool - _args: DiscussionCommentConnectionArgs +@dataclass(kw_only=True) +class DeleteProjectCardPayload: + """ + DeleteProjectCardPayload - Autogenerated return type of DeleteProjectCard + clientMutationId - A unique identifier for the client performing the mutation. + column - The column the deleted card was in. -class RepositoryDiscussionCommentAuthor(GQLObject): - """ - RepositoryDiscussionCommentAuthor - Represents an author of discussion comments in repositories. + deletedCardId - The deleted card ID. - repositoryDiscussionComments - Discussion comments this user has authored. + """ - """ - repositoryDiscussionComments: BYENZ_DiscussionCommentConnection_Field + client_mutation_id: Optional[str] = None + column: Optional[ProjectColumn] = None + deleted_card_id: Optional[ID] = None -class RepositoryNode(GQLObject): - """ - RepositoryNode - Represents a object that belongs to a repository. - repository - The repository associated with this node. +@dataclass(kw_only=True) +class DeleteLinkedBranchPayload: + """ + DeleteLinkedBranchPayload - Autogenerated return type of DeleteLinkedBranch - """ - repository: Repository + clientMutationId - A unique identifier for the client performing the mutation. -class RerequestCheckSuitePayload(GQLObject): - """ - RerequestCheckSuitePayload - Autogenerated return type of RerequestCheckSuite + issue - The issue the linked branch was unlinked from. - checkSuite - The requested check suite. + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None - """ - checkSuite: CheckSuite - clientMutationId: str -class ResolveReviewThreadPayload(GQLObject): - """ - ResolveReviewThreadPayload - Autogenerated return type of ResolveReviewThread +@dataclass(kw_only=True) +class DeleteIssuePayload: + """ + DeleteIssuePayload - Autogenerated return type of DeleteIssue - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - thread - The thread to resolve. + repository - The repository the issue belonged to - """ - clientMutationId: str - thread: PullRequestReviewThread + """ -class RetireSponsorsTierPayload(GQLObject): - """ - RetireSponsorsTierPayload - Autogenerated return type of RetireSponsorsTier + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - clientMutationId - A unique identifier for the client performing the mutation. - sponsorsTier - The tier that was retired. +@dataclass(kw_only=True) +class DeleteIpAllowListEntryPayload: + """ + DeleteIpAllowListEntryPayload - Autogenerated return type of DeleteIpAllowListEntry - """ - clientMutationId: str - sponsorsTier: SponsorsTier + clientMutationId - A unique identifier for the client performing the mutation. -class RVHEO_OrganizationConnection_Field(OrganizationConnection): - """ - RVHEO_OrganizationConnection_Field - The organizations that had the migrator role revoked for the given user. + ipAllowListEntry - The IP allow list entry that was deleted. - """ - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + """ - before - Returns the elements in the list that come before the specified cursor. + client_mutation_id: Optional[str] = None + ip_allow_list_entry: Optional[IpAllowListEntry] = None - first - Returns the first _n_ elements from the list. - last - Returns the last _n_ elements from the list. +@dataclass(kw_only=True) +class DeleteDiscussionPayload: + """ + DeleteDiscussionPayload - Autogenerated return type of DeleteDiscussion - """ - after: str - before: str - first: int - last: int + clientMutationId - A unique identifier for the client performing the mutation. - _args: OrganizationConnectionArgs + discussion - The discussion that was just deleted. + """ + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class RevokeEnterpriseOrganizationsMigratorRolePayload(GQLObject): - """ - RevokeEnterpriseOrganizationsMigratorRolePayload - Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class DeleteDiscussionCommentPayload: + """ + DeleteDiscussionCommentPayload - Autogenerated return type of DeleteDiscussionComment - organizations - The organizations that had the migrator role revoked for the given user. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - organizations: RVHEO_OrganizationConnection_Field + comment - The discussion comment that was just deleted. -class SetEnterpriseIdentityProviderPayload(GQLObject): - """ - SetEnterpriseIdentityProviderPayload - Autogenerated return type of SetEnterpriseIdentityProvider + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + comment: Optional[DiscussionComment] = None - identityProvider - The identity provider for the enterprise. - """ - clientMutationId: str - identityProvider: EnterpriseIdentityProvider +@dataclass(kw_only=True) +class DeclineTopicSuggestionPayload: + """ + DeclineTopicSuggestionPayload - Autogenerated return type of DeclineTopicSuggestion -class SetOrganizationInteractionLimitPayload(GQLObject): - """ - SetOrganizationInteractionLimitPayload - Autogenerated return type of SetOrganizationInteractionLimit + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + """ - organization - The organization that the interaction limit was set for. + client_mutation_id: Optional[str] = None - """ - clientMutationId: str - organization: Organization -class SetRepositoryInteractionLimitPayload(GQLObject): - """ - SetRepositoryInteractionLimitPayload - Autogenerated return type of SetRepositoryInteractionLimit +@dataclass(kw_only=True) +class CreateTeamDiscussionPayload: + """ + CreateTeamDiscussionPayload - Autogenerated return type of CreateTeamDiscussion - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - repository - The repository that the interaction limit was set for. + """ - """ - clientMutationId: str - repository: Repository + client_mutation_id: Optional[str] = None -class SetUserInteractionLimitPayload(GQLObject): - """ - SetUserInteractionLimitPayload - Autogenerated return type of SetUserInteractionLimit - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateTeamDiscussionCommentPayload: + """ + CreateTeamDiscussionCommentPayload - Autogenerated return type of CreateTeamDiscussionComment - user - The user that the interaction limit was set for. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - user: User + """ -class SmimeSignature(GQLObject): - """ - SmimeSignature - Represents an S/MIME signature on a Commit or Tag. + client_mutation_id: Optional[str] = None - email - Email used to sign this object. - isValid - True if the signature is valid and verified by GitHub. +@dataclass(kw_only=True) +class CreateSponsorshipsPayload: + """ + CreateSponsorshipsPayload - Autogenerated return type of CreateSponsorships - payload - Payload for GPG signing object. Raw ODB object without the signature header. + clientMutationId - A unique identifier for the client performing the mutation. - signature - ASCII-armored signature header from object. + sponsorables - The users and organizations who received a sponsorship. - signer - GitHub user corresponding to the email signing this commit. + """ - state - The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. + client_mutation_id: Optional[str] = None + sponsorables: Optional[list[Sponsorable]] = None - wasSignedByGitHub - True if the signature was made with GitHub's signing key. - """ - email: str - isValid: bool - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool +@dataclass(kw_only=True) +class CreateSponsorshipsInput: + """ + CreateSponsorshipsInput - Autogenerated input type of CreateSponsorships -class SshSignature(GQLObject): - """ - SshSignature - Represents an SSH signature on a Commit or Tag. + clientMutationId - A unique identifier for the client performing the mutation. - email - Email used to sign this object. + privacyLevel - Specify whether others should be able to see that the sponsor is sponsoring + the sponsorables. Public visibility still does not reveal the dollar value of + the sponsorship. - isValid - True if the signature is valid and verified by GitHub. + receiveEmails - Whether the sponsor should receive email updates from the sponsorables. - keyFingerprint - Hex-encoded fingerprint of the key that signed this object. + recurring - Whether the sponsorships created should continue each billing cycle for the + sponsor (monthly or annually), versus lasting only a single month. Defaults to + one-time sponsorships. - payload - Payload for GPG signing object. Raw ODB object without the signature header. + sponsorLogin - The username of the user or organization who is acting as the sponsor, paying for the sponsorships. - signature - ASCII-armored signature header from object. + sponsorships - The list of maintainers to sponsor and for how much apiece. - signer - GitHub user corresponding to the email signing this commit. + """ - state - The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. + client_mutation_id: Optional[str] = None + privacy_level: Optional[SponsorshipPrivacy] = None + receive_emails: Optional[bool] = None + recurring: Optional[bool] = None + sponsor_login: str + sponsorships: list[BulkSponsorship] - wasSignedByGitHub - True if the signature was made with GitHub's signing key. - """ - email: str - isValid: bool - keyFingerprint: str - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool +@dataclass(kw_only=True) +class CreateSponsorshipPayload: + """ + CreateSponsorshipPayload - Autogenerated return type of CreateSponsorship -class StartOrganizationMigrationPayload(GQLObject): - """ - StartOrganizationMigrationPayload - Autogenerated return type of StartOrganizationMigration + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + sponsorship - The sponsorship that was started. - orgMigration - The new organization migration. + """ - """ - clientMutationId: str - orgMigration: OrganizationMigration + client_mutation_id: Optional[str] = None + sponsorship: Optional[Sponsorship] = None -class StartRepositoryMigrationPayload(GQLObject): - """ - StartRepositoryMigrationPayload - Autogenerated return type of StartRepositoryMigration - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateSponsorsTierPayload: + """ + CreateSponsorsTierPayload - Autogenerated return type of CreateSponsorsTier - repositoryMigration - The new repository migration. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - repositoryMigration: RepositoryMigration + sponsorsTier - The new tier. -class SubmitPullRequestReviewPayload(GQLObject): - """ - SubmitPullRequestReviewPayload - Autogenerated return type of SubmitPullRequestReview + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None - pullRequestReview - The submitted pull request review. - """ - clientMutationId: str - pullRequestReview: PullRequestReview +@dataclass(kw_only=True) +class CreateSponsorsListingPayload: + """ + CreateSponsorsListingPayload - Autogenerated return type of CreateSponsorsListing -class TeamAuditEntryData(GQLObject): - """ - TeamAuditEntryData - Metadata for an audit entry with action team.* + clientMutationId - A unique identifier for the client performing the mutation. - team - The team associated with the action + sponsorsListing - The new GitHub Sponsors profile. - teamName - The name of the team + """ - teamResourcePath - The HTTP path for this team + client_mutation_id: Optional[str] = None + sponsors_listing: Optional[SponsorsListing] = None - teamUrl - The HTTP URL for this team - """ - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI +@dataclass(kw_only=True) +class CreateRepositoryRulesetPayload: + """ + CreateRepositoryRulesetPayload - Autogenerated return type of CreateRepositoryRuleset -class TopicAuditEntryData(GQLObject): - """ - TopicAuditEntryData - Metadata for an audit entry with a topic. + clientMutationId - A unique identifier for the client performing the mutation. - topic - The name of the topic added to the repository + ruleset - The newly created Ruleset. - topicName - The name of the topic added to the repository + """ - """ - topic: Topic - topicName: str + client_mutation_id: Optional[str] = None + ruleset: Optional[RepositoryRuleset] = None -class TransferEnterpriseOrganizationPayload(GQLObject): - """ - TransferEnterpriseOrganizationPayload - Autogenerated return type of TransferEnterpriseOrganization - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateRepositoryPayload: + """ + CreateRepositoryPayload - Autogenerated return type of CreateRepository - organization - The organization for which a transfer was initiated. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - organization: Organization + repository - The new repository. -class TransferIssuePayload(GQLObject): - """ - TransferIssuePayload - Autogenerated return type of TransferIssue + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - issue - The issue that was transferred - """ - clientMutationId: str - issue: Issue +@dataclass(kw_only=True) +class CreateRefPayload: + """ + CreateRefPayload - Autogenerated return type of CreateRef -class UnarchiveProjectV2ItemPayload(GQLObject): - """ - UnarchiveProjectV2ItemPayload - Autogenerated return type of UnarchiveProjectV2Item + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + ref - The newly created ref. - item - The item unarchived from the project. + """ - """ - clientMutationId: str - item: ProjectV2Item + client_mutation_id: Optional[str] = None + ref: Optional[Ref] = None -class UnarchiveRepositoryPayload(GQLObject): - """ - UnarchiveRepositoryPayload - Autogenerated return type of UnarchiveRepository - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreatePullRequestPayload: + """ + CreatePullRequestPayload - Autogenerated return type of CreatePullRequest - repository - The repository that was unarchived. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - repository: Repository + pullRequest - The new pull request. -class UnfollowOrganizationPayload(GQLObject): - """ - UnfollowOrganizationPayload - Autogenerated return type of UnfollowOrganization + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - organization - The organization that was unfollowed. - """ - clientMutationId: str - organization: Organization +@dataclass(kw_only=True) +class CreateProjectV2Payload: + """ + CreateProjectV2Payload - Autogenerated return type of CreateProjectV2 -class UnfollowUserPayload(GQLObject): - """ - UnfollowUserPayload - Autogenerated return type of UnfollowUser + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + projectV2 - The new project. - user - The user that was unfollowed. + """ - """ - clientMutationId: str - user: User + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None -class UnknownSignature(GQLObject): - """ - UnknownSignature - Represents an unknown signature on a Commit or Tag. - email - Email used to sign this object. +@dataclass(kw_only=True) +class CreateProjectV2FieldPayload: + """ + CreateProjectV2FieldPayload - Autogenerated return type of CreateProjectV2Field - isValid - True if the signature is valid and verified by GitHub. + clientMutationId - A unique identifier for the client performing the mutation. - payload - Payload for GPG signing object. Raw ODB object without the signature header. + projectV2Field - The new field. - signature - ASCII-armored signature header from object. + """ - signer - GitHub user corresponding to the email signing this commit. + client_mutation_id: Optional[str] = None + project_v2_field: Optional[ProjectV2FieldConfiguration] = None - state - The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. - wasSignedByGitHub - True if the signature was made with GitHub's signing key. +@dataclass(kw_only=True) +class CreateProjectV2FieldInput: + """ + CreateProjectV2FieldInput - Autogenerated input type of CreateProjectV2Field - """ - email: str - isValid: bool - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool + clientMutationId - A unique identifier for the client performing the mutation. -class UnlinkProjectV2FromRepositoryPayload(GQLObject): - """ - UnlinkProjectV2FromRepositoryPayload - Autogenerated return type of UnlinkProjectV2FromRepository + dataType - The data type of the field. - clientMutationId - A unique identifier for the client performing the mutation. + name - The name of the field. - repository - The repository the project is no longer linked to. + projectId - The ID of the Project to create the field in. - """ - clientMutationId: str - repository: Repository + singleSelectOptions - Options for a single select field. At least one value is required if data_type is SINGLE_SELECT -class UnlinkProjectV2FromTeamPayload(GQLObject): - """ - UnlinkProjectV2FromTeamPayload - Autogenerated return type of UnlinkProjectV2FromTeam + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + data_type: ProjectV2CustomFieldType + name: str + project_id: ID + single_select_options: Optional[list[ProjectV2SingleSelectFieldOptionInput]] = None - team - The team the project is unlinked from - """ - clientMutationId: str - team: Team +@dataclass(kw_only=True) +class CreateProjectPayload: + """ + CreateProjectPayload - Autogenerated return type of CreateProject -class UnmarkDiscussionCommentAsAnswerPayload(GQLObject): - """ - UnmarkDiscussionCommentAsAnswerPayload - Autogenerated return type of UnmarkDiscussionCommentAsAnswer + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + project - The new project. - discussion - The discussion that includes the comment. + """ - """ - clientMutationId: str - discussion: Discussion + client_mutation_id: Optional[str] = None + project: Optional[Project] = None -class UnmarkFileAsViewedPayload(GQLObject): - """ - UnmarkFileAsViewedPayload - Autogenerated return type of UnmarkFileAsViewed - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateMigrationSourcePayload: + """ + CreateMigrationSourcePayload - Autogenerated return type of CreateMigrationSource - pullRequest - The updated pull request. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - pullRequest: PullRequest + migrationSource - The created migration source. -class UnmarkIssueAsDuplicatePayload(GQLObject): - """ - UnmarkIssueAsDuplicatePayload - Autogenerated return type of UnmarkIssueAsDuplicate + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + migration_source: Optional[MigrationSource] = None - duplicate - The issue or pull request that was marked as a duplicate. - """ - clientMutationId: str - duplicate: IssueOrPullRequest +@dataclass(kw_only=True) +class CreateLabelPayload: + """ + CreateLabelPayload - Autogenerated return type of CreateLabel -class UnmarkProjectV2AsTemplatePayload(GQLObject): - """ - UnmarkProjectV2AsTemplatePayload - Autogenerated return type of UnmarkProjectV2AsTemplate + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + label - The new label. - projectV2 - The project. + """ - """ - clientMutationId: str - projectV2: ProjectV2 + client_mutation_id: Optional[str] = None + label: Optional[Label] = None -class UnminimizeCommentPayload(GQLObject): - """ - UnminimizeCommentPayload - Autogenerated return type of UnminimizeComment - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CreateIssuePayload: + """ + CreateIssuePayload - Autogenerated return type of CreateIssue - unminimizedComment - The comment that was unminimized. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - unminimizedComment: Minimizable + issue - The new issue. -class UnpinIssuePayload(GQLObject): - """ - UnpinIssuePayload - Autogenerated return type of UnpinIssue + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None - issue - The issue that was unpinned - """ - clientMutationId: str - issue: Issue +@dataclass(kw_only=True) +class CreateIpAllowListEntryPayload: + """ + CreateIpAllowListEntryPayload - Autogenerated return type of CreateIpAllowListEntry -class UnresolveReviewThreadPayload(GQLObject): - """ - UnresolveReviewThreadPayload - Autogenerated return type of UnresolveReviewThread + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + ipAllowListEntry - The IP allow list entry that was created. - thread - The thread to resolve. + """ - """ - clientMutationId: str - thread: PullRequestReviewThread + client_mutation_id: Optional[str] = None + ip_allow_list_entry: Optional[IpAllowListEntry] = None -class UpdateBranchProtectionRuleInput(GQLObject): - """ - UpdateBranchProtectionRuleInput - Autogenerated input type of UpdateBranchProtectionRule - branchProtectionRuleId - The global relay id of the branch protection rule to be updated. +@dataclass(kw_only=True) +class CreateEnvironmentPayload: + """ + CreateEnvironmentPayload - Autogenerated return type of CreateEnvironment - pattern - The glob-like pattern used to determine matching branches. + clientMutationId - A unique identifier for the client performing the mutation. - requiresApprovingReviews - Are approving reviews required to update matching branches. + environment - The new or existing environment. - requiredApprovingReviewCount - Number of approving reviews required to update matching branches. + """ - requiresCommitSignatures - Are commits required to be signed. + client_mutation_id: Optional[str] = None + environment: Optional[Environment] = None - requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. - blocksCreations - Is branch creation a protected operation. +@dataclass(kw_only=True) +class CreateDiscussionPayload: + """ + CreateDiscussionPayload - Autogenerated return type of CreateDiscussion - allowsForcePushes - Are force pushes allowed on this branch. + clientMutationId - A unique identifier for the client performing the mutation. - allowsDeletions - Can this branch be deleted. + discussion - The discussion that was just created. - isAdminEnforced - Can admins overwrite branch protection. + """ - requiresStatusChecks - Are status checks required to update matching branches. + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None - requiresStrictStatusChecks - Are branches required to be up to date before merging. - requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. +@dataclass(kw_only=True) +class CreateDeploymentStatusPayload: + """ + CreateDeploymentStatusPayload - Autogenerated return type of CreateDeploymentStatus - dismissesStaleReviews - Will new commits pushed to matching branches dismiss pull request review approvals. + clientMutationId - A unique identifier for the client performing the mutation. - restrictsReviewDismissals - Is dismissal of pull request reviews restricted. + deploymentStatus - The new deployment status. - reviewDismissalActorIds - A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. + """ - bypassPullRequestActorIds - A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. + client_mutation_id: Optional[str] = None + deployment_status: Optional[DeploymentStatus] = None - bypassForcePushActorIds - A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. - restrictsPushes - Is pushing to matching branches restricted. +@dataclass(kw_only=True) +class CreateDeploymentPayload: + """ + CreateDeploymentPayload - Autogenerated return type of CreateDeployment - pushActorIds - A list of User, Team, or App IDs allowed to push to matching branches. + autoMerged - True if the default branch has been auto-merged into the deployment ref. - requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. + clientMutationId - A unique identifier for the client performing the mutation. - requiredStatusChecks - The list of required status checks + deployment - The new deployment. - requiresDeployments - Are successful deployments required before merging. + """ - requiredDeploymentEnvironments - The list of required deployment environments + auto_merged: Optional[bool] = None + client_mutation_id: Optional[str] = None + deployment: Optional[Deployment] = None - requiresConversationResolution - Are conversations required to be resolved before merging. - requireLastPushApproval - Whether the most recent push must be approved by someone other than the person who pushed it +@dataclass(kw_only=True) +class CreateCheckSuitePayload: + """ + CreateCheckSuitePayload - Autogenerated return type of CreateCheckSuite - lockBranch - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. + checkSuite - The newly created check suite. - lockAllowsFetchAndMerge - 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. + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + """ - """ - branchProtectionRuleId: ID - pattern: str - requiresApprovingReviews: bool - requiredApprovingReviewCount: int - requiresCommitSignatures: bool - requiresLinearHistory: bool - blocksCreations: bool - allowsForcePushes: bool - allowsDeletions: bool - isAdminEnforced: bool - requiresStatusChecks: bool - requiresStrictStatusChecks: bool - requiresCodeOwnerReviews: bool - dismissesStaleReviews: bool - restrictsReviewDismissals: bool - reviewDismissalActorIds: list[ID] - bypassPullRequestActorIds: list[ID] - bypassForcePushActorIds: list[ID] - restrictsPushes: bool - pushActorIds: list[ID] - requiredStatusCheckContexts: list[str] - requiredStatusChecks: list_RequiredStatusCheckInput[RequiredStatusCheckInput] - requiresDeployments: bool - requiredDeploymentEnvironments: list[str] - requiresConversationResolution: bool - requireLastPushApproval: bool - lockBranch: bool - lockAllowsFetchAndMerge: bool - clientMutationId: str + check_suite: Optional[CheckSuite] = None + client_mutation_id: Optional[str] = None -class UpdateBranchProtectionRulePayload(GQLObject): - """ - UpdateBranchProtectionRulePayload - Autogenerated return type of UpdateBranchProtectionRule - branchProtectionRule - The newly created BranchProtectionRule. +@dataclass(kw_only=True) +class CreateCheckRunPayload: + """ + CreateCheckRunPayload - Autogenerated return type of CreateCheckRun - clientMutationId - A unique identifier for the client performing the mutation. + checkRun - The newly created check run. - """ - branchProtectionRule: BranchProtectionRule - clientMutationId: str + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateCheckRunPayload(GQLObject): - """ - UpdateCheckRunPayload - Autogenerated return type of UpdateCheckRun + """ - checkRun - The updated check run. + check_run: Optional[CheckRun] = None + client_mutation_id: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - checkRun: CheckRun - clientMutationId: str +@dataclass(kw_only=True) +class CreateBranchProtectionRulePayload: + """ + CreateBranchProtectionRulePayload - Autogenerated return type of CreateBranchProtectionRule -class list_CheckSuiteAutoTriggerPreference(list, CheckSuiteAutoTriggerPreference): pass + branchProtectionRule - The newly created BranchProtectionRule. -class UpdateCheckSuitePreferencesInput(GQLObject): - """ - UpdateCheckSuitePreferencesInput - Autogenerated input type of UpdateCheckSuitePreferences + clientMutationId - A unique identifier for the client performing the mutation. - repositoryId - The Node ID of the repository. + """ - autoTriggerPreferences - The check suite preferences to modify. + branch_protection_rule: Optional[BranchProtectionRule] = None + client_mutation_id: Optional[str] = None - clientMutationId - A unique identifier for the client performing the mutation. - """ - repositoryId: ID - autoTriggerPreferences: list_CheckSuiteAutoTriggerPreference[CheckSuiteAutoTriggerPreference] - clientMutationId: str +@dataclass(kw_only=True) +class CreateBranchProtectionRuleInput: + """ + CreateBranchProtectionRuleInput - Autogenerated input type of CreateBranchProtectionRule -class UpdateCheckSuitePreferencesPayload(GQLObject): - """ - UpdateCheckSuitePreferencesPayload - Autogenerated return type of UpdateCheckSuitePreferences + allowsDeletions - Can this branch be deleted. - clientMutationId - A unique identifier for the client performing the mutation. + allowsForcePushes - Are force pushes allowed on this branch. - repository - The updated repository. + blocksCreations - Is branch creation a protected operation. - """ - clientMutationId: str - repository: Repository + bypassForcePushActorIds - A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. -class UpdateDiscussionCommentPayload(GQLObject): - """ - UpdateDiscussionCommentPayload - Autogenerated return type of UpdateDiscussionComment + bypassPullRequestActorIds - A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - comment - The modified discussion comment. + dismissesStaleReviews - Will new commits pushed to matching branches dismiss pull request review approvals. - """ - clientMutationId: str - comment: DiscussionComment + isAdminEnforced - Can admins override branch protection. -class UpdateDiscussionPayload(GQLObject): - """ - UpdateDiscussionPayload - Autogenerated return type of UpdateDiscussion + lockAllowsFetchAndMerge - 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. - clientMutationId - A unique identifier for the client performing the mutation. + lockBranch - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. - discussion - The modified discussion. + pattern - The glob-like pattern used to determine matching branches. - """ - clientMutationId: str - discussion: Discussion + pushActorIds - A list of User, Team, or App IDs allowed to push to matching branches. -class UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload(GQLObject): - """ - UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload - Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting + repositoryId - The global relay id of the repository in which a new branch protection rule should be created in. - clientMutationId - A unique identifier for the client performing the mutation. + requireLastPushApproval - Whether the most recent push must be approved by someone other than the person who pushed it - enterprise - The enterprise with the updated allow private repository forking setting. + requiredApprovingReviewCount - Number of approving reviews required to update matching branches. - message - A message confirming the result of updating the allow private repository forking setting. + requiredDeploymentEnvironments - The list of required deployment environments - """ - clientMutationId: str - enterprise: Enterprise - message: str + requiredStatusCheckContexts - List of required status check contexts that must pass for commits to be accepted to matching branches. -class UpdateEnterpriseDefaultRepositoryPermissionSettingPayload(GQLObject): - """ - UpdateEnterpriseDefaultRepositoryPermissionSettingPayload - Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting + requiredStatusChecks - The list of required status checks - clientMutationId - A unique identifier for the client performing the mutation. + requiresApprovingReviews - Are approving reviews required to update matching branches. - enterprise - The enterprise with the updated base repository permission setting. + requiresCodeOwnerReviews - Are reviews from code owners required to update matching branches. - message - A message confirming the result of updating the base repository permission setting. + requiresCommitSignatures - Are commits required to be signed. - """ - clientMutationId: str - enterprise: Enterprise - message: str + requiresConversationResolution - Are conversations required to be resolved before merging. -class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting + requiresDeployments - Are successful deployments required before merging. - clientMutationId - A unique identifier for the client performing the mutation. + requiresLinearHistory - Are merge commits prohibited from being pushed to this branch. - enterprise - The enterprise with the updated members can change repository visibility setting. + requiresStatusChecks - Are status checks required to update matching branches. - message - A message confirming the result of updating the members can change repository visibility setting. + requiresStrictStatusChecks - Are branches required to be up to date before merging. - """ - clientMutationId: str - enterprise: Enterprise - message: str + restrictsPushes - Is pushing to matching branches restricted. -class UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting + restrictsReviewDismissals - Is dismissal of pull request reviews restricted. - clientMutationId - A unique identifier for the client performing the mutation. + reviewDismissalActorIds - A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. - enterprise - The enterprise with the updated members can create repositories setting. + """ - message - A message confirming the result of updating the members can create repositories setting. + allows_deletions: Optional[bool] = None + allows_force_pushes: Optional[bool] = None + blocks_creations: Optional[bool] = None + bypass_force_push_actor_ids: Optional[list[ID]] = None + bypass_pull_request_actor_ids: Optional[list[ID]] = None + client_mutation_id: Optional[str] = None + dismisses_stale_reviews: Optional[bool] = None + is_admin_enforced: Optional[bool] = None + lock_allows_fetch_and_merge: Optional[bool] = None + lock_branch: Optional[bool] = None + pattern: str + push_actor_ids: Optional[list[ID]] = None + repository_id: ID + require_last_push_approval: Optional[bool] = None + required_approving_review_count: Optional[int] = None + required_deployment_environments: Optional[list[str]] = None + required_status_check_contexts: Optional[list[str]] = None + required_status_checks: Optional[list[RequiredStatusCheckInput]] = None + requires_approving_reviews: Optional[bool] = None + requires_code_owner_reviews: Optional[bool] = None + requires_commit_signatures: Optional[bool] = None + requires_conversation_resolution: Optional[bool] = None + requires_deployments: Optional[bool] = None + requires_linear_history: Optional[bool] = None + requires_status_checks: Optional[bool] = None + requires_strict_status_checks: Optional[bool] = None + restricts_pushes: Optional[bool] = None + restricts_review_dismissals: Optional[bool] = None + review_dismissal_actor_ids: Optional[list[ID]] = None - """ - clientMutationId: str - enterprise: Enterprise - message: str -class UpdateEnterpriseMembersCanDeleteIssuesSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanDeleteIssuesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting +@dataclass(kw_only=True) +class CopyProjectV2Payload: + """ + CopyProjectV2Payload - Autogenerated return type of CopyProjectV2 - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - enterprise - The enterprise with the updated members can delete issues setting. + projectV2 - The copied project. - message - A message confirming the result of updating the members can delete issues setting. + """ - """ - clientMutationId: str - enterprise: Enterprise - message: str + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None -class UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class ConvertPullRequestToDraftPayload: + """ + ConvertPullRequestToDraftPayload - Autogenerated return type of ConvertPullRequestToDraft - enterprise - The enterprise with the updated members can delete repositories setting. + clientMutationId - A unique identifier for the client performing the mutation. - message - A message confirming the result of updating the members can delete repositories setting. + pullRequest - The pull request that is now a draft. - """ - clientMutationId: str - enterprise: Enterprise - message: str + """ -class UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - clientMutationId - A unique identifier for the client performing the mutation. - enterprise - The enterprise with the updated members can invite collaborators setting. +@dataclass(kw_only=True) +class ConvertProjectCardNoteToIssuePayload: + """ + ConvertProjectCardNoteToIssuePayload - Autogenerated return type of ConvertProjectCardNoteToIssue - message - A message confirming the result of updating the members can invite collaborators setting. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - enterprise: Enterprise - message: str + projectCard - The updated ProjectCard. -class UpdateEnterpriseMembersCanMakePurchasesSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanMakePurchasesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + project_card: Optional[ProjectCard] = None - enterprise - The enterprise with the updated members can make purchases setting. - message - A message confirming the result of updating the members can make purchases setting. +@dataclass(kw_only=True) +class Contribution: + """ + Contribution - Represents a contribution a user made on GitHub, such as opening an issue. - """ - clientMutationId: str - enterprise: Enterprise - message: str + isRestricted - Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. -class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting + occurredAt - When this contribution was made. - clientMutationId - A unique identifier for the client performing the mutation. + resourcePath - The HTTP path for this contribution. - enterprise - The enterprise with the updated members can update protected branches setting. + url - The HTTP URL for this contribution. - message - A message confirming the result of updating the members can update protected branches setting. + user - The user who made this contribution. - """ - clientMutationId: str - enterprise: Enterprise - message: str + """ -class UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload(GQLObject): - """ - UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload - Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting + is_restricted: bool + occurred_at: DateTime + resource_path: URI + url: URI + user: User - clientMutationId - A unique identifier for the client performing the mutation. - enterprise - The enterprise with the updated members can view dependency insights setting. +@dataclass(kw_only=True) +class ClosePullRequestPayload: + """ + ClosePullRequestPayload - Autogenerated return type of ClosePullRequest - message - A message confirming the result of updating the members can view dependency insights setting. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - enterprise: Enterprise - message: str + pullRequest - The pull request that was closed. -class UpdateEnterpriseOrganizationProjectsSettingPayload(GQLObject): - """ - UpdateEnterpriseOrganizationProjectsSettingPayload - Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - enterprise - The enterprise with the updated organization projects setting. - message - A message confirming the result of updating the organization projects setting. +@dataclass(kw_only=True) +class CloseIssuePayload: + """ + CloseIssuePayload - Autogenerated return type of CloseIssue - """ - clientMutationId: str - enterprise: Enterprise - message: str + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateEnterpriseProfilePayload(GQLObject): - """ - UpdateEnterpriseProfilePayload - Autogenerated return type of UpdateEnterpriseProfile + issue - The issue that was closed. - clientMutationId - A unique identifier for the client performing the mutation. + """ - enterprise - The updated enterprise. + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None - """ - clientMutationId: str - enterprise: Enterprise -class UpdateEnterpriseRepositoryProjectsSettingPayload(GQLObject): - """ - UpdateEnterpriseRepositoryProjectsSettingPayload - Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting +@dataclass(kw_only=True) +class CloseDiscussionPayload: + """ + CloseDiscussionPayload - Autogenerated return type of CloseDiscussion - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - enterprise - The enterprise with the updated repository projects setting. + discussion - The discussion that was closed. - message - A message confirming the result of updating the repository projects setting. + """ - """ - clientMutationId: str - enterprise: Enterprise - message: str + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class UpdateEnterpriseTeamDiscussionsSettingPayload(GQLObject): - """ - UpdateEnterpriseTeamDiscussionsSettingPayload - Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class CloneTemplateRepositoryPayload: + """ + CloneTemplateRepositoryPayload - Autogenerated return type of CloneTemplateRepository - enterprise - The enterprise with the updated team discussions setting. + clientMutationId - A unique identifier for the client performing the mutation. - message - A message confirming the result of updating the team discussions setting. + repository - The new repository. - """ - clientMutationId: str - enterprise: Enterprise - message: str + """ -class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload(GQLObject): - """ - UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload - Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - clientMutationId - A unique identifier for the client performing the mutation. - enterprise - The enterprise with the updated two factor authentication required setting. +@dataclass(kw_only=True) +class CloneProjectPayload: + """ + CloneProjectPayload - Autogenerated return type of CloneProject - message - A message confirming the result of updating the two factor authentication required setting. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - enterprise: Enterprise - message: str + jobStatusId - The id of the JobStatus for populating cloned fields. -class UpdateEnvironmentPayload(GQLObject): - """ - UpdateEnvironmentPayload - Autogenerated return type of UpdateEnvironment + project - The new cloned project. - clientMutationId - A unique identifier for the client performing the mutation. + """ - environment - The updated environment. + client_mutation_id: Optional[str] = None + job_status_id: Optional[str] = None + project: Optional[Project] = None - """ - clientMutationId: str - environment: Environment -class UpdateIpAllowListEnabledSettingPayload(GQLObject): - """ - UpdateIpAllowListEnabledSettingPayload - Autogenerated return type of UpdateIpAllowListEnabledSetting +@dataclass(kw_only=True) +class ClearProjectV2ItemFieldValuePayload: + """ + ClearProjectV2ItemFieldValuePayload - Autogenerated return type of ClearProjectV2ItemFieldValue - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - owner - The IP allow list owner on which the setting was updated. + projectV2Item - The updated item. - """ - clientMutationId: str - owner: IpAllowListOwner + """ -class UpdateIpAllowListEntryPayload(GQLObject): - """ - UpdateIpAllowListEntryPayload - Autogenerated return type of UpdateIpAllowListEntry + client_mutation_id: Optional[str] = None + project_v2_item: Optional[ProjectV2Item] = None - clientMutationId - A unique identifier for the client performing the mutation. - ipAllowListEntry - The IP allow list entry that was updated. +@dataclass(kw_only=True) +class ClearLabelsFromLabelablePayload: + """ + ClearLabelsFromLabelablePayload - Autogenerated return type of ClearLabelsFromLabelable - """ - clientMutationId: str - ipAllowListEntry: IpAllowListEntry + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateIpAllowListForInstalledAppsEnabledSettingPayload(GQLObject): - """ - UpdateIpAllowListForInstalledAppsEnabledSettingPayload - Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting + labelable - The item that was unlabeled. - clientMutationId - A unique identifier for the client performing the mutation. + """ - owner - The IP allow list owner on which the setting was updated. + client_mutation_id: Optional[str] = None + labelable: Optional[Labelable] = None - """ - clientMutationId: str - owner: IpAllowListOwner -class UpdateIssueCommentPayload(GQLObject): - """ - UpdateIssueCommentPayload - Autogenerated return type of UpdateIssueComment +@dataclass(kw_only=True) +class ChangeUserStatusPayload: + """ + ChangeUserStatusPayload - Autogenerated return type of ChangeUserStatus - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - issueComment - The updated comment. + status - Your updated status. - """ - clientMutationId: str - issueComment: IssueComment + """ -class UpdateNotificationRestrictionSettingPayload(GQLObject): - """ - UpdateNotificationRestrictionSettingPayload - Autogenerated return type of UpdateNotificationRestrictionSetting + client_mutation_id: Optional[str] = None + status: Optional[UserStatus] = None - clientMutationId - A unique identifier for the client performing the mutation. - owner - The owner on which the setting was updated. +@dataclass(kw_only=True) +class CancelSponsorshipPayload: + """ + CancelSponsorshipPayload - Autogenerated return type of CancelSponsorship - """ - clientMutationId: str - owner: VerifiableDomainOwner + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload(GQLObject): - """ - UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload - Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting + sponsorsTier - The tier that was being used at the time of cancellation. - clientMutationId - A unique identifier for the client performing the mutation. + """ - message - A message confirming the result of updating the allow private repository forking setting. + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None - organization - The organization with the updated allow private repository forking setting. - """ - clientMutationId: str - message: str - organization: Organization +@dataclass(kw_only=True) +class CancelEnterpriseAdminInvitationPayload: + """ + CancelEnterpriseAdminInvitationPayload - Autogenerated return type of CancelEnterpriseAdminInvitation -class UpdateOrganizationWebCommitSignoffSettingPayload(GQLObject): - """ - UpdateOrganizationWebCommitSignoffSettingPayload - Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + invitation - The invitation that was canceled. - message - A message confirming the result of updating the web commit signoff setting. + message - A message confirming the result of canceling an administrator invitation. - organization - The organization with the updated web commit signoff setting. + """ - """ - clientMutationId: str - message: str - organization: Organization + client_mutation_id: Optional[str] = None + invitation: Optional[EnterpriseAdministratorInvitation] = None + message: Optional[str] = None -class UpdateProjectCardPayload(GQLObject): - """ - UpdateProjectCardPayload - Autogenerated return type of UpdateProjectCard - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class Blob: + """ + Blob - Represents a Git blob. - projectCard - The updated ProjectCard. + abbreviatedOid - An abbreviated version of the Git object ID - """ - clientMutationId: str - projectCard: ProjectCard + byteSize - Byte size of Blob object -class UpdateProjectColumnPayload(GQLObject): - """ - UpdateProjectColumnPayload - Autogenerated return type of UpdateProjectColumn + commitResourcePath - The HTTP path for this Git object - clientMutationId - A unique identifier for the client performing the mutation. + commitUrl - The HTTP URL for this Git object - projectColumn - The updated project column. + id - The Node ID of the Blob object - """ - clientMutationId: str - projectColumn: ProjectColumn + isBinary - Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. -class UpdateProjectPayload(GQLObject): - """ - UpdateProjectPayload - Autogenerated return type of UpdateProject + isTruncated - Indicates whether the contents is truncated - clientMutationId - A unique identifier for the client performing the mutation. + oid - The Git object ID - project - The updated project. + repository - The Repository the Git object belongs to - """ - clientMutationId: str - project: Project + text - UTF8 text data or null if the Blob is binary -class list_ProjectV2Collaborator(list, ProjectV2Collaborator): pass + """ -class UpdateProjectV2CollaboratorsInput(GQLObject): - """ - UpdateProjectV2CollaboratorsInput - Autogenerated input type of UpdateProjectV2Collaborators + abbreviated_oid: str + byte_size: int + commit_resource_path: URI + commit_url: URI + id: ID + is_binary: Optional[bool] = None + is_truncated: bool + oid: GitObjectID + repository: Repository + text: Optional[str] = None - projectId - The ID of the project to update the collaborators for. - collaborators - The collaborators to update. +@dataclass(kw_only=True) +class ArchiveRepositoryPayload: + """ + ArchiveRepositoryPayload - Autogenerated return type of ArchiveRepository - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - collaborators: list_ProjectV2Collaborator[ProjectV2Collaborator] - clientMutationId: str + repository - The repository that was marked as archived. -class JKGCH_ProjectV2ActorConnection_Field(ProjectV2ActorConnection): - """ - JKGCH_ProjectV2ActorConnection_Field - The collaborators granted a role + """ - """ - class ProjectV2ActorConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - before - Returns the elements in the list that come before the specified cursor. - first - Returns the first _n_ elements from the list. +@dataclass(kw_only=True) +class ArchiveProjectV2ItemPayload: + """ + ArchiveProjectV2ItemPayload - Autogenerated return type of ArchiveProjectV2Item - last - Returns the last _n_ elements from the list. + clientMutationId - A unique identifier for the client performing the mutation. - """ - after: str - before: str - first: int - last: int + item - The item archived from the project. - _args: ProjectV2ActorConnectionArgs + """ + client_mutation_id: Optional[str] = None + item: Optional[ProjectV2Item] = None -class UpdateProjectV2CollaboratorsPayload(GQLObject): - """ - UpdateProjectV2CollaboratorsPayload - Autogenerated return type of UpdateProjectV2Collaborators +@dataclass(kw_only=True) +class ApproveVerifiableDomainPayload: + """ + ApproveVerifiableDomainPayload - Autogenerated return type of ApproveVerifiableDomain - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - collaborators - The collaborators granted a role + domain - The verifiable domain that was approved. - """ - clientMutationId: str - collaborators: JKGCH_ProjectV2ActorConnection_Field + """ -class UpdateProjectV2DraftIssuePayload(GQLObject): - """ - UpdateProjectV2DraftIssuePayload - Autogenerated return type of UpdateProjectV2DraftIssue + client_mutation_id: Optional[str] = None + domain: Optional[VerifiableDomain] = None - clientMutationId - A unique identifier for the client performing the mutation. - draftIssue - The draft issue updated in the project. +@dataclass(kw_only=True) +class ApproveDeploymentsPayload: + """ + ApproveDeploymentsPayload - Autogenerated return type of ApproveDeployments - """ - clientMutationId: str - draftIssue: DraftIssue + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateProjectV2ItemFieldValueInput(GQLObject): - """ - UpdateProjectV2ItemFieldValueInput - Autogenerated input type of UpdateProjectV2ItemFieldValue + deployments - The affected deployments. - projectId - The ID of the Project. + """ - itemId - The ID of the item to be updated. + client_mutation_id: Optional[str] = None + deployments: Optional[list[Deployment]] = None - fieldId - The ID of the field to be updated. - value - The value which will be set on the field. +@dataclass(kw_only=True) +class AddVerifiableDomainPayload: + """ + AddVerifiableDomainPayload - Autogenerated return type of AddVerifiableDomain - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - """ - projectId: ID - itemId: ID - fieldId: ID - value: ProjectV2FieldValue - clientMutationId: str + domain - The verifiable domain that was added. -class UpdateProjectV2ItemFieldValuePayload(GQLObject): - """ - UpdateProjectV2ItemFieldValuePayload - Autogenerated return type of UpdateProjectV2ItemFieldValue + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + domain: Optional[VerifiableDomain] = None - projectV2Item - The updated item. - """ - clientMutationId: str - projectV2Item: ProjectV2Item +@dataclass(kw_only=True) +class AddUpvotePayload: + """ + AddUpvotePayload - Autogenerated return type of AddUpvote -class PHLIQ_ProjectV2ItemConnection_Field(ProjectV2ItemConnection): - """ - PHLIQ_ProjectV2ItemConnection_Field - The items in the new order + clientMutationId - A unique identifier for the client performing the mutation. - """ - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. + subject - The votable subject. - before - Returns the elements in the list that come before the specified cursor. + """ - first - Returns the first _n_ elements from the list. + client_mutation_id: Optional[str] = None + subject: Optional[Votable] = None - last - Returns the last _n_ elements from the list. - """ - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class AddStarPayload: + """ + AddStarPayload - Autogenerated return type of AddStar - _args: ProjectV2ItemConnectionArgs + clientMutationId - A unique identifier for the client performing the mutation. + starrable - The starrable. + """ -class UpdateProjectV2ItemPositionPayload(GQLObject): - """ - UpdateProjectV2ItemPositionPayload - Autogenerated return type of UpdateProjectV2ItemPosition + client_mutation_id: Optional[str] = None + starrable: Optional[Starrable] = None - clientMutationId - A unique identifier for the client performing the mutation. - items - The items in the new order +@dataclass(kw_only=True) +class AddPullRequestReviewThreadReplyPayload: + """ + AddPullRequestReviewThreadReplyPayload - Autogenerated return type of AddPullRequestReviewThreadReply - """ - clientMutationId: str - items: PHLIQ_ProjectV2ItemConnection_Field + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateProjectV2Payload(GQLObject): - """ - UpdateProjectV2Payload - Autogenerated return type of UpdateProjectV2 + comment - The newly created reply. - clientMutationId - A unique identifier for the client performing the mutation. + """ - projectV2 - The updated Project. + client_mutation_id: Optional[str] = None + comment: Optional[PullRequestReviewComment] = None - """ - clientMutationId: str - projectV2: ProjectV2 -class UpdatePullRequestBranchPayload(GQLObject): - """ - UpdatePullRequestBranchPayload - Autogenerated return type of UpdatePullRequestBranch +@dataclass(kw_only=True) +class AddPullRequestReviewThreadPayload: + """ + AddPullRequestReviewThreadPayload - Autogenerated return type of AddPullRequestReviewThread - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - pullRequest - The updated pull request. + thread - The newly created thread. - """ - clientMutationId: str - pullRequest: PullRequest + """ -class UpdatePullRequestReviewCommentPayload(GQLObject): - """ - UpdatePullRequestReviewCommentPayload - Autogenerated return type of UpdatePullRequestReviewComment + client_mutation_id: Optional[str] = None + thread: Optional[PullRequestReviewThread] = None - clientMutationId - A unique identifier for the client performing the mutation. - pullRequestReviewComment - The updated comment. +@dataclass(kw_only=True) +class AddProjectV2ItemByIdPayload: + """ + AddProjectV2ItemByIdPayload - Autogenerated return type of AddProjectV2ItemById - """ - clientMutationId: str - pullRequestReviewComment: PullRequestReviewComment + clientMutationId - A unique identifier for the client performing the mutation. -class UpdatePullRequestReviewPayload(GQLObject): - """ - UpdatePullRequestReviewPayload - Autogenerated return type of UpdatePullRequestReview + item - The item added to the project. - clientMutationId - A unique identifier for the client performing the mutation. + """ - pullRequestReview - The updated pull request review. + client_mutation_id: Optional[str] = None + item: Optional[ProjectV2Item] = None - """ - clientMutationId: str - pullRequestReview: PullRequestReview -class UpdateRefPayload(GQLObject): - """ - UpdateRefPayload - Autogenerated return type of UpdateRef +@dataclass(kw_only=True) +class AddProjectV2DraftIssuePayload: + """ + AddProjectV2DraftIssuePayload - Autogenerated return type of AddProjectV2DraftIssue - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - ref - The updated Ref. + projectItem - The draft issue added to the project. - """ - clientMutationId: str - ref: Ref + """ -class UpdateRepositoryPayload(GQLObject): - """ - UpdateRepositoryPayload - Autogenerated return type of UpdateRepository + client_mutation_id: Optional[str] = None + project_item: Optional[ProjectV2Item] = None - clientMutationId - A unique identifier for the client performing the mutation. - repository - The updated repository. +@dataclass(kw_only=True) +class AddLabelsToLabelablePayload: + """ + AddLabelsToLabelablePayload - Autogenerated return type of AddLabelsToLabelable - """ - clientMutationId: str - repository: Repository + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateRepositoryRulesetPayload(GQLObject): - """ - UpdateRepositoryRulesetPayload - Autogenerated return type of UpdateRepositoryRuleset + labelable - The item that was labeled. - clientMutationId - A unique identifier for the client performing the mutation. + """ - ruleset - The newly created Ruleset. + client_mutation_id: Optional[str] = None + labelable: Optional[Labelable] = None - """ - clientMutationId: str - ruleset: RepositoryRuleset -class UpdateRepositoryWebCommitSignoffSettingPayload(GQLObject): - """ - UpdateRepositoryWebCommitSignoffSettingPayload - Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting +@dataclass(kw_only=True) +class AddEnterpriseOrganizationMemberPayload: + """ + AddEnterpriseOrganizationMemberPayload - Autogenerated return type of AddEnterpriseOrganizationMember - clientMutationId - A unique identifier for the client performing the mutation. + clientMutationId - A unique identifier for the client performing the mutation. - message - A message confirming the result of updating the web commit signoff setting. + users - The users who were added to the organization. - repository - The updated repository. + """ - """ - clientMutationId: str - message: str - repository: Repository + client_mutation_id: Optional[str] = None + users: Optional[list[User]] = None -class UpdateSponsorshipPreferencesPayload(GQLObject): - """ - UpdateSponsorshipPreferencesPayload - Autogenerated return type of UpdateSponsorshipPreferences - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class AddDiscussionPollVotePayload: + """ + AddDiscussionPollVotePayload - Autogenerated return type of AddDiscussionPollVote - sponsorship - The sponsorship that was updated. + clientMutationId - A unique identifier for the client performing the mutation. - """ - clientMutationId: str - sponsorship: Sponsorship + pollOption - The poll option that a vote was added to. -class UpdateSubscriptionPayload(GQLObject): - """ - UpdateSubscriptionPayload - Autogenerated return type of UpdateSubscription + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None + poll_option: Optional[DiscussionPollOption] = None - subscribable - The input subscribable entity. - """ - clientMutationId: str - subscribable: Subscribable +@dataclass(kw_only=True) +class AddDiscussionCommentPayload: + """ + AddDiscussionCommentPayload - Autogenerated return type of AddDiscussionComment -class UpdateTeamDiscussionCommentPayload(GQLObject): - """ - UpdateTeamDiscussionCommentPayload - Autogenerated return type of UpdateTeamDiscussionComment + clientMutationId - A unique identifier for the client performing the mutation. - clientMutationId - A unique identifier for the client performing the mutation. + comment - The newly created discussion comment. - teamDiscussionComment - The updated comment. + """ - """ - clientMutationId: str - teamDiscussionComment: TeamDiscussionComment + client_mutation_id: Optional[str] = None + comment: Optional[DiscussionComment] = None -class UpdateTeamDiscussionPayload(GQLObject): - """ - UpdateTeamDiscussionPayload - Autogenerated return type of UpdateTeamDiscussion - clientMutationId - A unique identifier for the client performing the mutation. +@dataclass(kw_only=True) +class AddAssigneesToAssignablePayload: + """ + AddAssigneesToAssignablePayload - Autogenerated return type of AddAssigneesToAssignable - teamDiscussion - The updated discussion. + assignable - The item that was assigned. - """ - clientMutationId: str - teamDiscussion: TeamDiscussion + clientMutationId - A unique identifier for the client performing the mutation. -class UpdateTopicsPayload(GQLObject): - """ - UpdateTopicsPayload - Autogenerated return type of UpdateTopics + """ - clientMutationId - A unique identifier for the client performing the mutation. + assignable: Optional[Assignable] = None + client_mutation_id: Optional[str] = None - invalidTopicNames - Names of the provided topics that are not valid. - repository - The updated repository. +@dataclass(kw_only=True) +class AcceptTopicSuggestionPayload: + """ + AcceptTopicSuggestionPayload - Autogenerated return type of AcceptTopicSuggestion - """ - clientMutationId: str - invalidTopicNames: list[str] - repository: Repository + clientMutationId - A unique identifier for the client performing the mutation. -class VerifyVerifiableDomainPayload(GQLObject): - """ - VerifyVerifiableDomainPayload - Autogenerated return type of VerifyVerifiableDomain + """ - clientMutationId - A unique identifier for the client performing the mutation. + client_mutation_id: Optional[str] = None - domain - The verifiable domain that was verified. - """ - clientMutationId: str - domain: VerifiableDomain +@dataclass(kw_only=True) +class AcceptEnterpriseAdministratorInvitationPayload: + """ + AcceptEnterpriseAdministratorInvitationPayload - Autogenerated return type of AcceptEnterpriseAdministratorInvitation -class ViewerHovercardContext(GQLObject): - """ - ViewerHovercardContext - A hovercard context with a message describing how the viewer is related. + clientMutationId - A unique identifier for the client performing the mutation. - message - A string describing this context + invitation - The invitation that was accepted. - octicon - An octicon to accompany this context + message - A message confirming the result of accepting an administrator invitation. - viewer - Identifies the user who is related to this context. + """ - """ - message: str - octicon: str - viewer: User + client_mutation_id: Optional[str] = None + invitation: Optional[EnterpriseAdministratorInvitation] = None + message: Optional[str] = None diff --git a/tests/output/github/gql_unions.py b/tests/output/github/gql_unions.py new file mode 100644 index 0000000..25735d5 --- /dev/null +++ b/tests/output/github/gql_unions.py @@ -0,0 +1,725 @@ +from typing import Union + +from .app import App +from .commit import Commit +from .discussion import Discussion +from .enterprise import Enterprise +from .gist import Gist +from .gql_simple_types import ( + BranchNamePatternParameters, + CommitterEmailPatternParameters, + PullRequestParameters, + UpdateParameters, +) +from .gql_types import ( + AddedToMergeQueueEvent, + AddedToProjectEvent, + AssignedEvent, + AutomaticBaseChangeFailedEvent, + AutomaticBaseChangeSucceededEvent, + AutoMergeDisabledEvent, + AutoMergeEnabledEvent, + AutoRebaseEnabledEvent, + AutoSquashEnabledEvent, + BaseRefChangedEvent, + BaseRefDeletedEvent, + BaseRefForcePushedEvent, + Bot, + CheckRun, + ClosedEvent, + CommentDeletedEvent, + CommitAuthorEmailPatternParameters, + CommitCommentThread, + CommitMessagePatternParameters, + ConnectedEvent, + ConvertedNoteToIssueEvent, + ConvertedToDiscussionEvent, + ConvertToDraftEvent, + CreatedIssueContribution, + CreatedPullRequestContribution, + CreatedRepositoryContribution, + CrossReferencedEvent, + DemilestonedEvent, + DeployedEvent, + DeploymentEnvironmentChangedEvent, + DisconnectedEvent, + DraftIssue, + EnterpriseUserAccount, + HeadRefDeletedEvent, + HeadRefForcePushedEvent, + HeadRefRestoredEvent, + LabeledEvent, + LockedEvent, + Mannequin, + MarkedAsDuplicateEvent, + MarketplaceListing, + MembersCanDeleteReposClearAuditEntry, + MembersCanDeleteReposDisableAuditEntry, + MembersCanDeleteReposEnableAuditEntry, + MentionedEvent, + MergedEvent, + MilestonedEvent, + MovedColumnsInProjectEvent, + OauthApplicationCreateAuditEntry, + OrgAddBillingManagerAuditEntry, + OrgAddMemberAuditEntry, + OrgBlockUserAuditEntry, + OrgConfigDisableCollaboratorsOnlyAuditEntry, + OrgConfigEnableCollaboratorsOnlyAuditEntry, + OrgCreateAuditEntry, + OrgDisableOauthAppRestrictionsAuditEntry, + OrgDisableSamlAuditEntry, + OrgDisableTwoFactorRequirementAuditEntry, + OrgEnableOauthAppRestrictionsAuditEntry, + OrgEnableSamlAuditEntry, + OrgEnableTwoFactorRequirementAuditEntry, + OrgInviteMemberAuditEntry, + OrgInviteToBusinessAuditEntry, + OrgOauthAppAccessApprovedAuditEntry, + OrgOauthAppAccessBlockedAuditEntry, + OrgOauthAppAccessDeniedAuditEntry, + OrgOauthAppAccessRequestedAuditEntry, + OrgOauthAppAccessUnblockedAuditEntry, + OrgRemoveBillingManagerAuditEntry, + OrgRemoveMemberAuditEntry, + OrgRemoveOutsideCollaboratorAuditEntry, + OrgRestoreMemberAuditEntry, + OrgRestoreMemberMembershipOrganizationAuditEntryData, + OrgRestoreMemberMembershipRepositoryAuditEntryData, + OrgRestoreMemberMembershipTeamAuditEntryData, + OrgUnblockUserAuditEntry, + OrgUpdateDefaultRepositoryPermissionAuditEntry, + OrgUpdateMemberAuditEntry, + OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + PinnedEvent, + PrivateRepositoryForkingDisableAuditEntry, + PrivateRepositoryForkingEnableAuditEntry, + ProjectV2Field, + ProjectV2ItemFieldDateValue, + ProjectV2ItemFieldIterationValue, + ProjectV2ItemFieldLabelValue, + ProjectV2ItemFieldMilestoneValue, + ProjectV2ItemFieldNumberValue, + ProjectV2ItemFieldPullRequestValue, + ProjectV2ItemFieldRepositoryValue, + ProjectV2ItemFieldReviewerValue, + ProjectV2ItemFieldSingleSelectValue, + ProjectV2ItemFieldTextValue, + ProjectV2ItemFieldUserValue, + ProjectV2IterationField, + ProjectV2SingleSelectField, + PullRequestCommit, + PullRequestCommitCommentThread, + PullRequestReviewThread, + PullRequestRevisionMarker, + ReadyForReviewEvent, + ReferencedEvent, + RemovedFromMergeQueueEvent, + RemovedFromProjectEvent, + RenamedTitleEvent, + ReopenedEvent, + RepoAccessAuditEntry, + RepoAddMemberAuditEntry, + RepoAddTopicAuditEntry, + RepoArchivedAuditEntry, + RepoChangeMergeSettingAuditEntry, + RepoConfigDisableAnonymousGitAccessAuditEntry, + RepoConfigDisableCollaboratorsOnlyAuditEntry, + RepoConfigDisableContributorsOnlyAuditEntry, + RepoConfigDisableSockpuppetDisallowedAuditEntry, + RepoConfigEnableAnonymousGitAccessAuditEntry, + RepoConfigEnableCollaboratorsOnlyAuditEntry, + RepoConfigEnableContributorsOnlyAuditEntry, + RepoConfigEnableSockpuppetDisallowedAuditEntry, + RepoConfigLockAnonymousGitAccessAuditEntry, + RepoConfigUnlockAnonymousGitAccessAuditEntry, + RepoCreateAuditEntry, + RepoDestroyAuditEntry, + RepoRemoveMemberAuditEntry, + RepoRemoveTopicAuditEntry, + RepositoryVisibilityChangeDisableAuditEntry, + RepositoryVisibilityChangeEnableAuditEntry, + RequiredDeploymentsParameters, + RequiredStatusChecksParameters, + RestrictedContribution, + ReviewDismissedEvent, + ReviewRequestedEvent, + ReviewRequestRemovedEvent, + StatusContext, + SubscribedEvent, + TagNamePatternParameters, + TeamAddMemberAuditEntry, + TeamAddRepositoryAuditEntry, + TeamChangeParentTeamAuditEntry, + TeamRemoveMemberAuditEntry, + TeamRemoveRepositoryAuditEntry, + TransferredEvent, + UnassignedEvent, + UnlabeledEvent, + UnlockedEvent, + UnmarkedAsDuplicateEvent, + UnpinnedEvent, + UnsubscribedEvent, + UserBlockedEvent, + WorkflowsParameters, +) +from .issue import Issue +from .issue_comment import IssueComment +from .organization import Organization +from .pull_request import PullRequest +from .pull_request_review import PullRequestReview +from .pull_request_review_comment import PullRequestReviewComment +from .repository import Repository +from .team import Team +from .user import User + +""" +Types that can initiate an audit log event. +""" + +AuditEntryActor = Union[User, Organization, Bot] + + +""" +Types that can be assigned to reactions. +""" + +Reactor = Union[User, Organization, Mannequin, Bot] + + +""" +Configurations for project fields. +""" + +ProjectV2FieldConfiguration = Union[ + ProjectV2SingleSelectField, ProjectV2IterationField, ProjectV2Field +] + + +""" +Types that can be inside Project Items. +""" + +ProjectV2ItemContent = Union[PullRequest, Issue, DraftIssue] + + +""" +Types that can be requested reviewers. +""" + +RequestedReviewer = Union[User, Team, Mannequin, Bot] + + +""" +Project field values +""" + +ProjectV2ItemFieldValue = Union[ + ProjectV2ItemFieldUserValue, + ProjectV2ItemFieldTextValue, + ProjectV2ItemFieldSingleSelectValue, + ProjectV2ItemFieldReviewerValue, + ProjectV2ItemFieldRepositoryValue, + ProjectV2ItemFieldPullRequestValue, + ProjectV2ItemFieldNumberValue, + ProjectV2ItemFieldMilestoneValue, + ProjectV2ItemFieldLabelValue, + ProjectV2ItemFieldIterationValue, + ProjectV2ItemFieldDateValue, +] + + +""" +Types that can grant permissions on a repository to a user +""" + +PermissionGranter = Union[Team, Repository, Organization] + + +""" +Users and teams. +""" + +DeploymentReviewer = Union[User, Team] + + +""" +Used for return value of Repository.issueOrPullRequest. +""" + +IssueOrPullRequest = Union[PullRequest, Issue] + + +""" +Types that can be inside Project Cards. +""" + +ProjectCardItem = Union[PullRequest, Issue] + + +""" +Types that can represent a repository ruleset bypass actor. +""" + +BypassActor = Union[Team, App] + + +""" +Types which can be parameters for `RepositoryRule` objects. +""" + +RuleParameters = Union[ + WorkflowsParameters, + UpdateParameters, + TagNamePatternParameters, + RequiredStatusChecksParameters, + RequiredDeploymentsParameters, + PullRequestParameters, + CommitterEmailPatternParameters, + CommitMessagePatternParameters, + CommitAuthorEmailPatternParameters, + BranchNamePatternParameters, +] + + +""" +Types which can have `RepositoryRule` objects. +""" + +RuleSource = Union[Repository, Organization] + + +""" +Types of memberships that can be restored for an Organization member. +""" + +OrgRestoreMemberAuditEntryMembership = Union[ + OrgRestoreMemberMembershipTeamAuditEntryData, + OrgRestoreMemberMembershipRepositoryAuditEntryData, + OrgRestoreMemberMembershipOrganizationAuditEntryData, +] + + +""" +An audit entry in an organization audit log. +""" + +OrganizationAuditEntry = Union[ + TeamRemoveRepositoryAuditEntry, + TeamRemoveMemberAuditEntry, + TeamChangeParentTeamAuditEntry, + TeamAddRepositoryAuditEntry, + TeamAddMemberAuditEntry, + RepositoryVisibilityChangeEnableAuditEntry, + RepositoryVisibilityChangeDisableAuditEntry, + RepoRemoveTopicAuditEntry, + RepoRemoveMemberAuditEntry, + RepoDestroyAuditEntry, + RepoCreateAuditEntry, + RepoConfigUnlockAnonymousGitAccessAuditEntry, + RepoConfigLockAnonymousGitAccessAuditEntry, + RepoConfigEnableSockpuppetDisallowedAuditEntry, + RepoConfigEnableContributorsOnlyAuditEntry, + RepoConfigEnableCollaboratorsOnlyAuditEntry, + RepoConfigEnableAnonymousGitAccessAuditEntry, + RepoConfigDisableSockpuppetDisallowedAuditEntry, + RepoConfigDisableContributorsOnlyAuditEntry, + RepoConfigDisableCollaboratorsOnlyAuditEntry, + RepoConfigDisableAnonymousGitAccessAuditEntry, + RepoChangeMergeSettingAuditEntry, + RepoArchivedAuditEntry, + RepoAddTopicAuditEntry, + RepoAddMemberAuditEntry, + RepoAccessAuditEntry, + PrivateRepositoryForkingEnableAuditEntry, + PrivateRepositoryForkingDisableAuditEntry, + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + OrgUpdateMemberAuditEntry, + OrgUpdateDefaultRepositoryPermissionAuditEntry, + OrgUnblockUserAuditEntry, + OrgRestoreMemberAuditEntry, + OrgRemoveOutsideCollaboratorAuditEntry, + OrgRemoveMemberAuditEntry, + OrgRemoveBillingManagerAuditEntry, + OrgOauthAppAccessUnblockedAuditEntry, + OrgOauthAppAccessRequestedAuditEntry, + OrgOauthAppAccessDeniedAuditEntry, + OrgOauthAppAccessBlockedAuditEntry, + OrgOauthAppAccessApprovedAuditEntry, + OrgInviteToBusinessAuditEntry, + OrgInviteMemberAuditEntry, + OrgEnableTwoFactorRequirementAuditEntry, + OrgEnableSamlAuditEntry, + OrgEnableOauthAppRestrictionsAuditEntry, + OrgDisableTwoFactorRequirementAuditEntry, + OrgDisableSamlAuditEntry, + OrgDisableOauthAppRestrictionsAuditEntry, + OrgCreateAuditEntry, + OrgConfigEnableCollaboratorsOnlyAuditEntry, + OrgConfigDisableCollaboratorsOnlyAuditEntry, + OrgBlockUserAuditEntry, + OrgAddMemberAuditEntry, + OrgAddBillingManagerAuditEntry, + OauthApplicationCreateAuditEntry, + MembersCanDeleteReposEnableAuditEntry, + MembersCanDeleteReposDisableAuditEntry, + MembersCanDeleteReposClearAuditEntry, +] + + +""" +Types that can own a verifiable domain. +""" + +VerifiableDomainOwner = Union[Organization, Enterprise] + + +""" +Types that can be pinned to a profile page. +""" + +PinnableItem = Union[Repository, Gist] + + +""" +Entities that can sponsor others via GitHub Sponsors +""" + +Sponsor = Union[User, Organization] + + +""" +A record that can be featured on a GitHub Sponsors profile. +""" + +SponsorsListingFeatureableItem = Union[User, Repository] + + +""" +An object that is a member of an enterprise. +""" + +EnterpriseMember = Union[User, EnterpriseUserAccount] + + +""" +Types that can own an IP allow list. +""" + +IpAllowListOwner = Union[Organization, Enterprise, App] + + +""" +Types which can be actors for `BranchActorAllowance` objects. +""" + +BranchActorAllowanceActor = Union[User, Team, App] + + +""" +Types that can be an actor. +""" + +PushAllowanceActor = Union[User, Team, App] + + +""" +Types that can be an actor. +""" + +ReviewDismissalAllowanceActor = Union[User, Team, App] + + +""" +Types that can be assigned to issues. +""" + +Assignee = Union[User, Organization, Mannequin, Bot] + + +""" +The object which triggered a `ClosedEvent`. +""" + +Closer = Union[PullRequest, Commit] + + +""" +Any referencable object +""" + +ReferencedSubject = Union[PullRequest, Issue] + + +""" +Types that can be inside a Milestone. +""" + +MilestoneItem = Union[PullRequest, Issue] + + +""" +An object which has a renamable title +""" + +RenamedTitleSubject = Union[PullRequest, Issue] + + +""" +An item in a pull request timeline +""" + +PullRequestTimelineItem = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + SubscribedEvent, + ReviewRequestedEvent, + ReviewRequestRemovedEvent, + ReviewDismissedEvent, + ReopenedEvent, + RenamedTitleEvent, + ReferencedEvent, + PullRequestReviewThread, + PullRequestReviewComment, + PullRequestReview, + MilestonedEvent, + MergedEvent, + LockedEvent, + LabeledEvent, + IssueComment, + HeadRefRestoredEvent, + HeadRefForcePushedEvent, + HeadRefDeletedEvent, + DeploymentEnvironmentChangedEvent, + DeployedEvent, + DemilestonedEvent, + CrossReferencedEvent, + CommitCommentThread, + Commit, + ClosedEvent, + BaseRefForcePushedEvent, + BaseRefDeletedEvent, + AssignedEvent, +] + + +""" +An item in a pull request timeline +""" + +PullRequestTimelineItems = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnpinnedEvent, + UnmarkedAsDuplicateEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + TransferredEvent, + SubscribedEvent, + ReviewRequestedEvent, + ReviewRequestRemovedEvent, + ReviewDismissedEvent, + ReopenedEvent, + RenamedTitleEvent, + RemovedFromProjectEvent, + RemovedFromMergeQueueEvent, + ReferencedEvent, + ReadyForReviewEvent, + PullRequestRevisionMarker, + PullRequestReviewThread, + PullRequestReview, + PullRequestCommitCommentThread, + PullRequestCommit, + PinnedEvent, + MovedColumnsInProjectEvent, + MilestonedEvent, + MergedEvent, + MentionedEvent, + MarkedAsDuplicateEvent, + LockedEvent, + LabeledEvent, + IssueComment, + HeadRefRestoredEvent, + HeadRefForcePushedEvent, + HeadRefDeletedEvent, + DisconnectedEvent, + DeploymentEnvironmentChangedEvent, + DeployedEvent, + DemilestonedEvent, + CrossReferencedEvent, + ConvertedToDiscussionEvent, + ConvertedNoteToIssueEvent, + ConvertToDraftEvent, + ConnectedEvent, + CommentDeletedEvent, + ClosedEvent, + BaseRefForcePushedEvent, + BaseRefDeletedEvent, + BaseRefChangedEvent, + AutomaticBaseChangeSucceededEvent, + AutomaticBaseChangeFailedEvent, + AutoSquashEnabledEvent, + AutoRebaseEnabledEvent, + AutoMergeEnabledEvent, + AutoMergeDisabledEvent, + AssignedEvent, + AddedToProjectEvent, + AddedToMergeQueueEvent, +] + + +""" +Types that can be inside a StatusCheckRollup context. +""" + +StatusCheckRollupContext = Union[StatusContext, CheckRun] + + +""" +Represents either a issue the viewer can access or a restricted contribution. +""" + +CreatedIssueOrRestrictedContribution = Union[ + RestrictedContribution, CreatedIssueContribution +] + + +""" +Represents either a pull request the viewer can access or a restricted contribution. +""" + +CreatedPullRequestOrRestrictedContribution = Union[ + RestrictedContribution, CreatedPullRequestContribution +] + + +""" +Represents either a repository the viewer can access or a restricted contribution. +""" + +CreatedRepositoryOrRestrictedContribution = Union[ + RestrictedContribution, CreatedRepositoryContribution +] + + +""" +Types that can be added to a user list. +""" + +UserListItems = Repository + + +""" +An item in an issue timeline +""" + +IssueTimelineItem = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + TransferredEvent, + SubscribedEvent, + ReopenedEvent, + RenamedTitleEvent, + ReferencedEvent, + MilestonedEvent, + LockedEvent, + LabeledEvent, + IssueComment, + DemilestonedEvent, + CrossReferencedEvent, + Commit, + ClosedEvent, + AssignedEvent, +] + + +""" +An item in an issue timeline +""" + +IssueTimelineItems = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnpinnedEvent, + UnmarkedAsDuplicateEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + TransferredEvent, + SubscribedEvent, + ReopenedEvent, + RenamedTitleEvent, + RemovedFromProjectEvent, + ReferencedEvent, + PinnedEvent, + MovedColumnsInProjectEvent, + MilestonedEvent, + MentionedEvent, + MarkedAsDuplicateEvent, + LockedEvent, + LabeledEvent, + IssueComment, + DisconnectedEvent, + DemilestonedEvent, + CrossReferencedEvent, + ConvertedToDiscussionEvent, + ConvertedNoteToIssueEvent, + ConnectedEvent, + CommentDeletedEvent, + ClosedEvent, + AssignedEvent, + AddedToProjectEvent, +] + + +""" +An object which can have its data claimed or claim data from another. +""" + +Claimable = Union[User, Mannequin] + + +""" +Used for argument of CreateProjectV2 mutation. +""" + +OrganizationOrUser = Union[User, Organization] + + +""" +Possible collaborators for a project. +""" + +ProjectV2Actor = Union[User, Team] + + +""" +The results of a search. +""" + +SearchResultItem = Union[ + User, + Repository, + PullRequest, + Organization, + MarketplaceListing, + Issue, + Discussion, + App, +] + + +""" +Entities that can be sponsored via GitHub Sponsors +""" + +SponsorableItem = Union[User, Organization] diff --git a/tests/output/github/ip_allow_list_entry_connection.py b/tests/output/github/ip_allow_list_entry_connection.py new file mode 100644 index 0000000..07d7f62 --- /dev/null +++ b/tests/output/github/ip_allow_list_entry_connection.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .gql_types import PageInfo + from .gql_types import IpAllowListEntry + from .gql_types import IpAllowListEntryEdge + + +@dataclass(kw_only=True) +class IpAllowListEntryConnection: + """ + IpAllowListEntryConnection - The connection type for IpAllowListEntry. + + edges - A list of edges. + + nodes - A list of nodes. + + pageInfo - Information to aid in pagination. + + totalCount - Identifies the total count of items in the connection. + + """ + + edges: Optional[list[IpAllowListEntryEdge]] = None + nodes: Optional[list[IpAllowListEntry]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github/issue.py b/tests/output/github/issue.py new file mode 100644 index 0000000..02fafcf --- /dev/null +++ b/tests/output/github/issue.py @@ -0,0 +1,226 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + IssueState, + IssueStateReason, + LockReason, + SubscriptionState, + ThreadSubscriptionFormAction, + ThreadSubscriptionState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .repository import Repository + from .reaction_group import ReactionGroup + from .project_v2 import ProjectV2 + from .project_v2_item_connection import ProjectV2ItemConnection + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import LabelConnection + from .gql_types import Milestone + from .gql_types import ProjectCardConnection + from .gql_types import IssueCommentConnection + from .gql_types import Hovercard + from .gql_types import LinkedBranchConnection + from .gql_types import IssueTimelineItemsConnection + + +@dataclass(kw_only=True) +class Issue: + """ + Issue - An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. + + activeLockReason - Reason that the conversation was locked. + + assignees - A list of Users assigned to this object. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + body - Identifies the body of the issue. + + bodyHTML - The body rendered to HTML. + + bodyResourcePath - The http path for this issue body + + bodyText - Identifies the body of the issue rendered to text. + + bodyUrl - The http URL for this issue body + + closed - Indicates if the object is closed (definition of closed may depend on type) + + closedAt - Identifies the date and time when the object was closed. + + comments - A list of comments associated with the Issue. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + databaseId - Identifies the primary key from the database. + + editor - The actor who edited the comment. + + fullDatabaseId - Identifies the primary key from the database as a BigInt. + + hovercard - The hovercard information for this issue + + id - The Node ID of the Issue object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isPinned - Indicates whether or not this issue is currently pinned to the repository issues list + + isReadByViewer - Is this issue read by the viewer + + labels - A list of labels associated with the object. + + lastEditedAt - The moment the editor made the last edit + + linkedBranches - Branches linked to this issue. + + locked - `true` if the object is locked + + milestone - Identifies the milestone associated with the issue. + + number - Identifies the issue number. + + participants - A list of Users that are participating in the Issue conversation. + + projectCards - List of project cards associated with this issue. + + projectItems - List of project items associated with this issue. + + projectV2 - Find a project by number. + + projectsV2 - A list of projects under the owner. + + publishedAt - Identifies when the comment was published at. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + repository - The repository associated with this node. + + resourcePath - The HTTP path for this issue + + state - Identifies the state of the issue. + + stateReason - Identifies the reason for the issue state. + + timelineItems - A list of events, comments, commits, etc. associated with the issue. + + title - Identifies the issue title. + + titleHTML - Identifies the issue title rendered to HTML. + + trackedInIssues - A list of issues that track this issue + + trackedIssues - A list of issues tracked inside the current issue + + trackedIssuesCount - The number of tracked issues for this issue + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this issue + + userContentEdits - A list of edits to this content. + + viewerCanClose - Indicates if the object can be closed by the viewer. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanReact - Can user react to this subject + + viewerCanReopen - Indicates if the object can be reopened by the viewer. + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + viewerThreadSubscriptionFormAction - Identifies the viewer's thread subscription form action. + + viewerThreadSubscriptionStatus - Identifies the viewer's thread subscription status. + + """ + + active_lock_reason: Optional[LockReason] = None + assignees: UserConnection + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_resource_path: URI + body_text: str + body_url: URI + closed: bool + closed_at: Optional[DateTime] = None + comments: IssueCommentConnection + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + hovercard: Hovercard + id: ID + includes_created_edit: bool + is_pinned: Optional[bool] = None + is_read_by_viewer: Optional[bool] = None + labels: Optional[LabelConnection] = None + last_edited_at: Optional[DateTime] = None + linked_branches: LinkedBranchConnection + locked: bool + milestone: Optional[Milestone] = None + number: int + participants: UserConnection + project_cards: ProjectCardConnection + project_items: ProjectV2ItemConnection + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + state: IssueState + state_reason: Optional[IssueStateReason] = None + timeline_items: IssueTimelineItemsConnection + title: str + title_h_t_m_l: str + tracked_in_issues: IssueConnection + tracked_issues: IssueConnection + tracked_issues_count: int + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_close: bool + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_reopen: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_subscription: Optional[SubscriptionState] = None + viewer_thread_subscription_form_action: Optional[ + ThreadSubscriptionFormAction + ] = None + viewer_thread_subscription_status: Optional[ThreadSubscriptionState] = None diff --git a/tests/output/github/issue_comment.py b/tests/output/github/issue_comment.py new file mode 100644 index 0000000..245723f --- /dev/null +++ b/tests/output/github/issue_comment.py @@ -0,0 +1,121 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CommentAuthorAssociation, CommentCannotUpdateReason +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .repository import Repository + from .reaction_group import ReactionGroup + from .issue import Issue + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + + +@dataclass(kw_only=True) +class IssueComment: + """ + IssueComment - Represents a comment on an Issue. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + body - The body as Markdown. + + bodyHTML - The body rendered to HTML. + + bodyText - The body rendered to text. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + databaseId - Identifies the primary key from the database. + + editor - The actor who edited the comment. + + fullDatabaseId - Identifies the primary key from the database as a BigInt. + + id - The Node ID of the IssueComment object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isMinimized - Returns whether or not a comment has been minimized. + + issue - Identifies the issue associated with the comment. + + lastEditedAt - The moment the editor made the last edit + + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + + publishedAt - Identifies when the comment was published at. + + pullRequest - Returns the pull request associated with the comment, if this comment was made on a + pull request. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + repository - The repository associated with this node. + + resourcePath - The HTTP path for this issue comment + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this issue comment + + userContentEdits - A list of edits to this content. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanMinimize - Check if the current viewer can minimize this object. + + viewerCanReact - Can user react to this subject + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + """ + + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + id: ID + includes_created_edit: bool + is_minimized: bool + issue: Issue + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + published_at: Optional[DateTime] = None + pull_request: Optional[PullRequest] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool diff --git a/tests/output/github/issue_comment_edge.py b/tests/output/github/issue_comment_edge.py new file mode 100644 index 0000000..00419b3 --- /dev/null +++ b/tests/output/github/issue_comment_edge.py @@ -0,0 +1,22 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .issue_comment import IssueComment + + +@dataclass(kw_only=True) +class IssueCommentEdge: + """ + IssueCommentEdge - An edge in a connection. + + cursor - A cursor for use in pagination. + + node - The item at the end of the edge. + + """ + + cursor: str + node: Optional[IssueComment] = None diff --git a/tests/output/github/merge_queue.py b/tests/output/github/merge_queue.py new file mode 100644 index 0000000..36e2880 --- /dev/null +++ b/tests/output/github/merge_queue.py @@ -0,0 +1,41 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import MergeQueueConfiguration +from .scalars import ID, URI + +if TYPE_CHECKING: + from .repository import Repository + from .gql_types import MergeQueueEntryConnection + + +@dataclass(kw_only=True) +class MergeQueue: + """ + MergeQueue - The queue of pull request entries to be merged into a protected branch in a repository. + + configuration - The configuration for this merge queue + + entries - The entries in the queue + + id - The Node ID of the MergeQueue object + + nextEntryEstimatedTimeToMerge - The estimated time in seconds until a newly added entry would be merged + + repository - The repository this merge queue belongs to + + resourcePath - The HTTP path for this merge queue + + url - The HTTP URL for this merge queue + + """ + + configuration: Optional[MergeQueueConfiguration] = None + entries: Optional[MergeQueueEntryConnection] = None + id: ID + next_entry_estimated_time_to_merge: Optional[int] = None + repository: Optional[Repository] = None + resource_path: URI + url: URI diff --git a/tests/output/github/mutations.py b/tests/output/github/mutations.py deleted file mode 100644 index afa255c..0000000 --- a/tests/output/github/mutations.py +++ /dev/null @@ -1,4373 +0,0 @@ -from typing import List -from pygqlmap import GQLMutation -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - - -class NonNull_AbortQueuedMigrationsInput(AbortQueuedMigrationsInput): pass - -class NonNull_AcceptEnterpriseAdministratorInvitationInput(AcceptEnterpriseAdministratorInvitationInput): pass - -class NonNull_AcceptTopicSuggestionInput(AcceptTopicSuggestionInput): pass - -class NonNull_AddAssigneesToAssignableInput(AddAssigneesToAssignableInput): pass - -class NonNull_AddCommentInput(AddCommentInput): pass - -class NonNull_AddDiscussionCommentInput(AddDiscussionCommentInput): pass - -class NonNull_AddDiscussionPollVoteInput(AddDiscussionPollVoteInput): pass - -class NonNull_AddEnterpriseOrganizationMemberInput(AddEnterpriseOrganizationMemberInput): pass - -class NonNull_AddEnterpriseSupportEntitlementInput(AddEnterpriseSupportEntitlementInput): pass - -class NonNull_AddLabelsToLabelableInput(AddLabelsToLabelableInput): pass - -class NonNull_AddProjectCardInput(AddProjectCardInput): pass - -class NonNull_AddProjectColumnInput(AddProjectColumnInput): pass - -class NonNull_AddProjectV2DraftIssueInput(AddProjectV2DraftIssueInput): pass - -class NonNull_AddProjectV2ItemByIdInput(AddProjectV2ItemByIdInput): pass - -class NonNull_AddPullRequestReviewInput(AddPullRequestReviewInput): pass - -class NonNull_AddPullRequestReviewCommentInput(AddPullRequestReviewCommentInput): pass - -class NonNull_AddPullRequestReviewThreadInput(AddPullRequestReviewThreadInput): pass - -class NonNull_AddPullRequestReviewThreadReplyInput(AddPullRequestReviewThreadReplyInput): pass - -class NonNull_AddReactionInput(AddReactionInput): pass - -class NonNull_AddStarInput(AddStarInput): pass - -class NonNull_AddUpvoteInput(AddUpvoteInput): pass - -class NonNull_AddVerifiableDomainInput(AddVerifiableDomainInput): pass - -class NonNull_ApproveDeploymentsInput(ApproveDeploymentsInput): pass - -class NonNull_ApproveVerifiableDomainInput(ApproveVerifiableDomainInput): pass - -class NonNull_ArchiveProjectV2ItemInput(ArchiveProjectV2ItemInput): pass - -class NonNull_ArchiveRepositoryInput(ArchiveRepositoryInput): pass - -class NonNull_CancelEnterpriseAdminInvitationInput(CancelEnterpriseAdminInvitationInput): pass - -class NonNull_CancelSponsorshipInput(CancelSponsorshipInput): pass - -class NonNull_ChangeUserStatusInput(ChangeUserStatusInput): pass - -class NonNull_ClearLabelsFromLabelableInput(ClearLabelsFromLabelableInput): pass - -class NonNull_ClearProjectV2ItemFieldValueInput(ClearProjectV2ItemFieldValueInput): pass - -class NonNull_CloneProjectInput(CloneProjectInput): pass - -class NonNull_CloneTemplateRepositoryInput(CloneTemplateRepositoryInput): pass - -class NonNull_CloseDiscussionInput(CloseDiscussionInput): pass - -class NonNull_CloseIssueInput(CloseIssueInput): pass - -class NonNull_ClosePullRequestInput(ClosePullRequestInput): pass - -class NonNull_ConvertProjectCardNoteToIssueInput(ConvertProjectCardNoteToIssueInput): pass - -class NonNull_ConvertPullRequestToDraftInput(ConvertPullRequestToDraftInput): pass - -class NonNull_CopyProjectV2Input(CopyProjectV2Input): pass - -class NonNull_CreateAttributionInvitationInput(CreateAttributionInvitationInput): pass - -class NonNull_CreateBranchProtectionRuleInput(CreateBranchProtectionRuleInput): pass - -class NonNull_CreateCheckRunInput(CreateCheckRunInput): pass - -class NonNull_CreateCheckSuiteInput(CreateCheckSuiteInput): pass - -class NonNull_CreateCommitOnBranchInput(CreateCommitOnBranchInput): pass - -class NonNull_CreateDiscussionInput(CreateDiscussionInput): pass - -class NonNull_CreateEnterpriseOrganizationInput(CreateEnterpriseOrganizationInput): pass - -class NonNull_CreateEnvironmentInput(CreateEnvironmentInput): pass - -class NonNull_CreateIpAllowListEntryInput(CreateIpAllowListEntryInput): pass - -class NonNull_CreateIssueInput(CreateIssueInput): pass - -class NonNull_CreateLinkedBranchInput(CreateLinkedBranchInput): pass - -class NonNull_CreateMigrationSourceInput(CreateMigrationSourceInput): pass - -class NonNull_CreateProjectInput(CreateProjectInput): pass - -class NonNull_CreateProjectV2Input(CreateProjectV2Input): pass - -class NonNull_CreateProjectV2FieldInput(CreateProjectV2FieldInput): pass - -class NonNull_CreatePullRequestInput(CreatePullRequestInput): pass - -class NonNull_CreateRefInput(CreateRefInput): pass - -class NonNull_CreateRepositoryInput(CreateRepositoryInput): pass - -class NonNull_CreateRepositoryRulesetInput(CreateRepositoryRulesetInput): pass - -class NonNull_CreateSponsorsListingInput(CreateSponsorsListingInput): pass - -class NonNull_CreateSponsorsTierInput(CreateSponsorsTierInput): pass - -class NonNull_CreateSponsorshipInput(CreateSponsorshipInput): pass - -class NonNull_CreateSponsorshipsInput(CreateSponsorshipsInput): pass - -class NonNull_CreateTeamDiscussionInput(CreateTeamDiscussionInput): pass - -class NonNull_CreateTeamDiscussionCommentInput(CreateTeamDiscussionCommentInput): pass - -class NonNull_DeclineTopicSuggestionInput(DeclineTopicSuggestionInput): pass - -class NonNull_DeleteBranchProtectionRuleInput(DeleteBranchProtectionRuleInput): pass - -class NonNull_DeleteDeploymentInput(DeleteDeploymentInput): pass - -class NonNull_DeleteDiscussionInput(DeleteDiscussionInput): pass - -class NonNull_DeleteDiscussionCommentInput(DeleteDiscussionCommentInput): pass - -class NonNull_DeleteEnvironmentInput(DeleteEnvironmentInput): pass - -class NonNull_DeleteIpAllowListEntryInput(DeleteIpAllowListEntryInput): pass - -class NonNull_DeleteIssueInput(DeleteIssueInput): pass - -class NonNull_DeleteIssueCommentInput(DeleteIssueCommentInput): pass - -class NonNull_DeleteLinkedBranchInput(DeleteLinkedBranchInput): pass - -class NonNull_DeleteProjectInput(DeleteProjectInput): pass - -class NonNull_DeleteProjectCardInput(DeleteProjectCardInput): pass - -class NonNull_DeleteProjectColumnInput(DeleteProjectColumnInput): pass - -class NonNull_DeleteProjectV2Input(DeleteProjectV2Input): pass - -class NonNull_DeleteProjectV2FieldInput(DeleteProjectV2FieldInput): pass - -class NonNull_DeleteProjectV2ItemInput(DeleteProjectV2ItemInput): pass - -class NonNull_DeleteProjectV2WorkflowInput(DeleteProjectV2WorkflowInput): pass - -class NonNull_DeletePullRequestReviewInput(DeletePullRequestReviewInput): pass - -class NonNull_DeletePullRequestReviewCommentInput(DeletePullRequestReviewCommentInput): pass - -class NonNull_DeleteRefInput(DeleteRefInput): pass - -class NonNull_DeleteRepositoryRulesetInput(DeleteRepositoryRulesetInput): pass - -class NonNull_DeleteTeamDiscussionInput(DeleteTeamDiscussionInput): pass - -class NonNull_DeleteTeamDiscussionCommentInput(DeleteTeamDiscussionCommentInput): pass - -class NonNull_DeleteVerifiableDomainInput(DeleteVerifiableDomainInput): pass - -class NonNull_DequeuePullRequestInput(DequeuePullRequestInput): pass - -class NonNull_DisablePullRequestAutoMergeInput(DisablePullRequestAutoMergeInput): pass - -class NonNull_DismissPullRequestReviewInput(DismissPullRequestReviewInput): pass - -class NonNull_DismissRepositoryVulnerabilityAlertInput(DismissRepositoryVulnerabilityAlertInput): pass - -class NonNull_EnablePullRequestAutoMergeInput(EnablePullRequestAutoMergeInput): pass - -class NonNull_EnqueuePullRequestInput(EnqueuePullRequestInput): pass - -class NonNull_FollowOrganizationInput(FollowOrganizationInput): pass - -class NonNull_FollowUserInput(FollowUserInput): pass - -class NonNull_GrantEnterpriseOrganizationsMigratorRoleInput(GrantEnterpriseOrganizationsMigratorRoleInput): pass - -class NonNull_GrantMigratorRoleInput(GrantMigratorRoleInput): pass - -class NonNull_InviteEnterpriseAdminInput(InviteEnterpriseAdminInput): pass - -class NonNull_LinkProjectV2ToRepositoryInput(LinkProjectV2ToRepositoryInput): pass - -class NonNull_LinkProjectV2ToTeamInput(LinkProjectV2ToTeamInput): pass - -class NonNull_LinkRepositoryToProjectInput(LinkRepositoryToProjectInput): pass - -class NonNull_LockLockableInput(LockLockableInput): pass - -class NonNull_MarkDiscussionCommentAsAnswerInput(MarkDiscussionCommentAsAnswerInput): pass - -class NonNull_MarkFileAsViewedInput(MarkFileAsViewedInput): pass - -class NonNull_MarkProjectV2AsTemplateInput(MarkProjectV2AsTemplateInput): pass - -class NonNull_MarkPullRequestReadyForReviewInput(MarkPullRequestReadyForReviewInput): pass - -class NonNull_MergeBranchInput(MergeBranchInput): pass - -class NonNull_MergePullRequestInput(MergePullRequestInput): pass - -class NonNull_MinimizeCommentInput(MinimizeCommentInput): pass - -class NonNull_MoveProjectCardInput(MoveProjectCardInput): pass - -class NonNull_MoveProjectColumnInput(MoveProjectColumnInput): pass - -class NonNull_PinIssueInput(PinIssueInput): pass - -class NonNull_PublishSponsorsTierInput(PublishSponsorsTierInput): pass - -class NonNull_RegenerateEnterpriseIdentityProviderRecoveryCodesInput(RegenerateEnterpriseIdentityProviderRecoveryCodesInput): pass - -class NonNull_RegenerateVerifiableDomainTokenInput(RegenerateVerifiableDomainTokenInput): pass - -class NonNull_RejectDeploymentsInput(RejectDeploymentsInput): pass - -class NonNull_RemoveAssigneesFromAssignableInput(RemoveAssigneesFromAssignableInput): pass - -class NonNull_RemoveEnterpriseAdminInput(RemoveEnterpriseAdminInput): pass - -class NonNull_RemoveEnterpriseIdentityProviderInput(RemoveEnterpriseIdentityProviderInput): pass - -class NonNull_RemoveEnterpriseMemberInput(RemoveEnterpriseMemberInput): pass - -class NonNull_RemoveEnterpriseOrganizationInput(RemoveEnterpriseOrganizationInput): pass - -class NonNull_RemoveEnterpriseSupportEntitlementInput(RemoveEnterpriseSupportEntitlementInput): pass - -class NonNull_RemoveLabelsFromLabelableInput(RemoveLabelsFromLabelableInput): pass - -class NonNull_RemoveOutsideCollaboratorInput(RemoveOutsideCollaboratorInput): pass - -class NonNull_RemoveReactionInput(RemoveReactionInput): pass - -class NonNull_RemoveStarInput(RemoveStarInput): pass - -class NonNull_RemoveUpvoteInput(RemoveUpvoteInput): pass - -class NonNull_ReopenDiscussionInput(ReopenDiscussionInput): pass - -class NonNull_ReopenIssueInput(ReopenIssueInput): pass - -class NonNull_ReopenPullRequestInput(ReopenPullRequestInput): pass - -class NonNull_RequestReviewsInput(RequestReviewsInput): pass - -class NonNull_RerequestCheckSuiteInput(RerequestCheckSuiteInput): pass - -class NonNull_ResolveReviewThreadInput(ResolveReviewThreadInput): pass - -class NonNull_RetireSponsorsTierInput(RetireSponsorsTierInput): pass - -class NonNull_RevertPullRequestInput(RevertPullRequestInput): pass - -class NonNull_RevokeEnterpriseOrganizationsMigratorRoleInput(RevokeEnterpriseOrganizationsMigratorRoleInput): pass - -class NonNull_RevokeMigratorRoleInput(RevokeMigratorRoleInput): pass - -class NonNull_SetEnterpriseIdentityProviderInput(SetEnterpriseIdentityProviderInput): pass - -class NonNull_SetOrganizationInteractionLimitInput(SetOrganizationInteractionLimitInput): pass - -class NonNull_SetRepositoryInteractionLimitInput(SetRepositoryInteractionLimitInput): pass - -class NonNull_SetUserInteractionLimitInput(SetUserInteractionLimitInput): pass - -class NonNull_StartOrganizationMigrationInput(StartOrganizationMigrationInput): pass - -class NonNull_StartRepositoryMigrationInput(StartRepositoryMigrationInput): pass - -class NonNull_SubmitPullRequestReviewInput(SubmitPullRequestReviewInput): pass - -class NonNull_TransferEnterpriseOrganizationInput(TransferEnterpriseOrganizationInput): pass - -class NonNull_TransferIssueInput(TransferIssueInput): pass - -class NonNull_UnarchiveProjectV2ItemInput(UnarchiveProjectV2ItemInput): pass - -class NonNull_UnarchiveRepositoryInput(UnarchiveRepositoryInput): pass - -class NonNull_UnfollowOrganizationInput(UnfollowOrganizationInput): pass - -class NonNull_UnfollowUserInput(UnfollowUserInput): pass - -class NonNull_UnlinkProjectV2FromRepositoryInput(UnlinkProjectV2FromRepositoryInput): pass - -class NonNull_UnlinkProjectV2FromTeamInput(UnlinkProjectV2FromTeamInput): pass - -class NonNull_UnlinkRepositoryFromProjectInput(UnlinkRepositoryFromProjectInput): pass - -class NonNull_UnlockLockableInput(UnlockLockableInput): pass - -class NonNull_UnmarkDiscussionCommentAsAnswerInput(UnmarkDiscussionCommentAsAnswerInput): pass - -class NonNull_UnmarkFileAsViewedInput(UnmarkFileAsViewedInput): pass - -class NonNull_UnmarkIssueAsDuplicateInput(UnmarkIssueAsDuplicateInput): pass - -class NonNull_UnmarkProjectV2AsTemplateInput(UnmarkProjectV2AsTemplateInput): pass - -class NonNull_UnminimizeCommentInput(UnminimizeCommentInput): pass - -class NonNull_UnpinIssueInput(UnpinIssueInput): pass - -class NonNull_UnresolveReviewThreadInput(UnresolveReviewThreadInput): pass - -class NonNull_UpdateBranchProtectionRuleInput(UpdateBranchProtectionRuleInput): pass - -class NonNull_UpdateCheckRunInput(UpdateCheckRunInput): pass - -class NonNull_UpdateCheckSuitePreferencesInput(UpdateCheckSuitePreferencesInput): pass - -class NonNull_UpdateDiscussionInput(UpdateDiscussionInput): pass - -class NonNull_UpdateDiscussionCommentInput(UpdateDiscussionCommentInput): pass - -class NonNull_UpdateEnterpriseAdministratorRoleInput(UpdateEnterpriseAdministratorRoleInput): pass - -class NonNull_UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput(UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput): pass - -class NonNull_UpdateEnterpriseDefaultRepositoryPermissionSettingInput(UpdateEnterpriseDefaultRepositoryPermissionSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput(UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanCreateRepositoriesSettingInput(UpdateEnterpriseMembersCanCreateRepositoriesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanDeleteIssuesSettingInput(UpdateEnterpriseMembersCanDeleteIssuesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput(UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput(UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanMakePurchasesSettingInput(UpdateEnterpriseMembersCanMakePurchasesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput(UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput(UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput): pass - -class NonNull_UpdateEnterpriseOrganizationProjectsSettingInput(UpdateEnterpriseOrganizationProjectsSettingInput): pass - -class NonNull_UpdateEnterpriseOwnerOrganizationRoleInput(UpdateEnterpriseOwnerOrganizationRoleInput): pass - -class NonNull_UpdateEnterpriseProfileInput(UpdateEnterpriseProfileInput): pass - -class NonNull_UpdateEnterpriseRepositoryProjectsSettingInput(UpdateEnterpriseRepositoryProjectsSettingInput): pass - -class NonNull_UpdateEnterpriseTeamDiscussionsSettingInput(UpdateEnterpriseTeamDiscussionsSettingInput): pass - -class NonNull_UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput(UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput): pass - -class NonNull_UpdateEnvironmentInput(UpdateEnvironmentInput): pass - -class NonNull_UpdateIpAllowListEnabledSettingInput(UpdateIpAllowListEnabledSettingInput): pass - -class NonNull_UpdateIpAllowListEntryInput(UpdateIpAllowListEntryInput): pass - -class NonNull_UpdateIpAllowListForInstalledAppsEnabledSettingInput(UpdateIpAllowListForInstalledAppsEnabledSettingInput): pass - -class NonNull_UpdateIssueInput(UpdateIssueInput): pass - -class NonNull_UpdateIssueCommentInput(UpdateIssueCommentInput): pass - -class NonNull_UpdateNotificationRestrictionSettingInput(UpdateNotificationRestrictionSettingInput): pass - -class NonNull_UpdateOrganizationAllowPrivateRepositoryForkingSettingInput(UpdateOrganizationAllowPrivateRepositoryForkingSettingInput): pass - -class NonNull_UpdateOrganizationWebCommitSignoffSettingInput(UpdateOrganizationWebCommitSignoffSettingInput): pass - -class NonNull_UpdateProjectInput(UpdateProjectInput): pass - -class NonNull_UpdateProjectCardInput(UpdateProjectCardInput): pass - -class NonNull_UpdateProjectColumnInput(UpdateProjectColumnInput): pass - -class NonNull_UpdateProjectV2Input(UpdateProjectV2Input): pass - -class NonNull_UpdateProjectV2CollaboratorsInput(UpdateProjectV2CollaboratorsInput): pass - -class NonNull_UpdateProjectV2DraftIssueInput(UpdateProjectV2DraftIssueInput): pass - -class NonNull_UpdateProjectV2ItemFieldValueInput(UpdateProjectV2ItemFieldValueInput): pass - -class NonNull_UpdateProjectV2ItemPositionInput(UpdateProjectV2ItemPositionInput): pass - -class NonNull_UpdatePullRequestInput(UpdatePullRequestInput): pass - -class NonNull_UpdatePullRequestBranchInput(UpdatePullRequestBranchInput): pass - -class NonNull_UpdatePullRequestReviewInput(UpdatePullRequestReviewInput): pass - -class NonNull_UpdatePullRequestReviewCommentInput(UpdatePullRequestReviewCommentInput): pass - -class NonNull_UpdateRefInput(UpdateRefInput): pass - -class NonNull_UpdateRepositoryInput(UpdateRepositoryInput): pass - -class NonNull_UpdateRepositoryRulesetInput(UpdateRepositoryRulesetInput): pass - -class NonNull_UpdateRepositoryWebCommitSignoffSettingInput(UpdateRepositoryWebCommitSignoffSettingInput): pass - -class NonNull_UpdateSponsorshipPreferencesInput(UpdateSponsorshipPreferencesInput): pass - -class NonNull_UpdateSubscriptionInput(UpdateSubscriptionInput): pass - -class NonNull_UpdateTeamDiscussionInput(UpdateTeamDiscussionInput): pass - -class NonNull_UpdateTeamDiscussionCommentInput(UpdateTeamDiscussionCommentInput): pass - -class NonNull_UpdateTeamsRepositoryInput(UpdateTeamsRepositoryInput): pass - -class NonNull_UpdateTopicsInput(UpdateTopicsInput): pass - -class NonNull_VerifyVerifiableDomainInput(VerifyVerifiableDomainInput): pass - -class abortQueuedMigrations(GQLMutation): - """ - abortQueuedMigrations - Clear all of a customer's queued migrations - - """ - class AbortQueuedMigrationsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AbortQueuedMigrations - - """ - input: NonNull_AbortQueuedMigrationsInput - - _args: AbortQueuedMigrationsPayloadArgs - - - type: AbortQueuedMigrationsPayload - -class acceptEnterpriseAdministratorInvitation(GQLMutation): - """ - acceptEnterpriseAdministratorInvitation - Accepts a pending invitation for a user to become an administrator of an enterprise. - - """ - class AcceptEnterpriseAdministratorInvitationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AcceptEnterpriseAdministratorInvitation - - """ - input: NonNull_AcceptEnterpriseAdministratorInvitationInput - - _args: AcceptEnterpriseAdministratorInvitationPayloadArgs - - - type: AcceptEnterpriseAdministratorInvitationPayload - -class acceptTopicSuggestion(GQLMutation): - """ - acceptTopicSuggestion - Applies a suggested topic to the repository. - - """ - class AcceptTopicSuggestionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AcceptTopicSuggestion - - """ - input: NonNull_AcceptTopicSuggestionInput - - _args: AcceptTopicSuggestionPayloadArgs - - - type: AcceptTopicSuggestionPayload - -class addAssigneesToAssignable(GQLMutation): - """ - addAssigneesToAssignable - Adds assignees to an assignable object. - - """ - class AddAssigneesToAssignablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddAssigneesToAssignable - - """ - input: NonNull_AddAssigneesToAssignableInput - - _args: AddAssigneesToAssignablePayloadArgs - - - type: AddAssigneesToAssignablePayload - -class addComment(GQLMutation): - """ - addComment - Adds a comment to an Issue or Pull Request. - - """ - class AddCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddComment - - """ - input: NonNull_AddCommentInput - - _args: AddCommentPayloadArgs - - - type: AddCommentPayload - -class addDiscussionComment(GQLMutation): - """ - addDiscussionComment - Adds a comment to a Discussion, possibly as a reply to another comment. - - """ - class AddDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddDiscussionComment - - """ - input: NonNull_AddDiscussionCommentInput - - _args: AddDiscussionCommentPayloadArgs - - - type: AddDiscussionCommentPayload - -class addDiscussionPollVote(GQLMutation): - """ - addDiscussionPollVote - Vote for an option in a discussion poll. - - """ - class AddDiscussionPollVotePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddDiscussionPollVote - - """ - input: NonNull_AddDiscussionPollVoteInput - - _args: AddDiscussionPollVotePayloadArgs - - - type: AddDiscussionPollVotePayload - -class addEnterpriseOrganizationMember(GQLMutation): - """ - addEnterpriseOrganizationMember - Adds enterprise members to an organization within the enterprise. - - """ - class AddEnterpriseOrganizationMemberPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddEnterpriseOrganizationMember - - """ - input: NonNull_AddEnterpriseOrganizationMemberInput - - _args: AddEnterpriseOrganizationMemberPayloadArgs - - - type: AddEnterpriseOrganizationMemberPayload - -class addEnterpriseSupportEntitlement(GQLMutation): - """ - addEnterpriseSupportEntitlement - Adds a support entitlement to an enterprise member. - - """ - class AddEnterpriseSupportEntitlementPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddEnterpriseSupportEntitlement - - """ - input: NonNull_AddEnterpriseSupportEntitlementInput - - _args: AddEnterpriseSupportEntitlementPayloadArgs - - - type: AddEnterpriseSupportEntitlementPayload - -class addLabelsToLabelable(GQLMutation): - """ - addLabelsToLabelable - Adds labels to a labelable object. - - """ - class AddLabelsToLabelablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddLabelsToLabelable - - """ - input: NonNull_AddLabelsToLabelableInput - - _args: AddLabelsToLabelablePayloadArgs - - - type: AddLabelsToLabelablePayload - -class addProjectCard(GQLMutation): - """ - addProjectCard - Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both. - - """ - class AddProjectCardPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddProjectCard - - """ - input: NonNull_AddProjectCardInput - - _args: AddProjectCardPayloadArgs - - - type: AddProjectCardPayload - -class addProjectColumn(GQLMutation): - """ - addProjectColumn - Adds a column to a Project. - - """ - class AddProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddProjectColumn - - """ - input: NonNull_AddProjectColumnInput - - _args: AddProjectColumnPayloadArgs - - - type: AddProjectColumnPayload - -class addProjectV2DraftIssue(GQLMutation): - """ - addProjectV2DraftIssue - Creates a new draft issue and add it to a Project. - - """ - class AddProjectV2DraftIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddProjectV2DraftIssue - - """ - input: NonNull_AddProjectV2DraftIssueInput - - _args: AddProjectV2DraftIssuePayloadArgs - - - type: AddProjectV2DraftIssuePayload - -class addProjectV2ItemById(GQLMutation): - """ - addProjectV2ItemById - Links an existing content instance to a Project. - - """ - class AddProjectV2ItemByIdPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddProjectV2ItemById - - """ - input: NonNull_AddProjectV2ItemByIdInput - - _args: AddProjectV2ItemByIdPayloadArgs - - - type: AddProjectV2ItemByIdPayload - -class addPullRequestReview(GQLMutation): - """ - addPullRequestReview - Adds a review to a Pull Request. - - """ - class AddPullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddPullRequestReview - - """ - input: NonNull_AddPullRequestReviewInput - - _args: AddPullRequestReviewPayloadArgs - - - type: AddPullRequestReviewPayload - -class addPullRequestReviewComment(GQLMutation): - """ - addPullRequestReviewComment - Adds a comment to a review. - - """ - class AddPullRequestReviewCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddPullRequestReviewComment - - """ - input: NonNull_AddPullRequestReviewCommentInput - - _args: AddPullRequestReviewCommentPayloadArgs - - - type: AddPullRequestReviewCommentPayload - -class addPullRequestReviewThread(GQLMutation): - """ - addPullRequestReviewThread - Adds a new thread to a pending Pull Request Review. - - """ - class AddPullRequestReviewThreadPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddPullRequestReviewThread - - """ - input: NonNull_AddPullRequestReviewThreadInput - - _args: AddPullRequestReviewThreadPayloadArgs - - - type: AddPullRequestReviewThreadPayload - -class addPullRequestReviewThreadReply(GQLMutation): - """ - addPullRequestReviewThreadReply - Adds a reply to an existing Pull Request Review Thread. - - """ - class AddPullRequestReviewThreadReplyPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddPullRequestReviewThreadReply - - """ - input: NonNull_AddPullRequestReviewThreadReplyInput - - _args: AddPullRequestReviewThreadReplyPayloadArgs - - - type: AddPullRequestReviewThreadReplyPayload - -class addReaction(GQLMutation): - """ - addReaction - Adds a reaction to a subject. - - """ - class AddReactionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddReaction - - """ - input: NonNull_AddReactionInput - - _args: AddReactionPayloadArgs - - - type: AddReactionPayload - -class addStar(GQLMutation): - """ - addStar - Adds a star to a Starrable. - - """ - class AddStarPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddStar - - """ - input: NonNull_AddStarInput - - _args: AddStarPayloadArgs - - - type: AddStarPayload - -class addUpvote(GQLMutation): - """ - addUpvote - Add an upvote to a discussion or discussion comment. - - """ - class AddUpvotePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddUpvote - - """ - input: NonNull_AddUpvoteInput - - _args: AddUpvotePayloadArgs - - - type: AddUpvotePayload - -class addVerifiableDomain(GQLMutation): - """ - addVerifiableDomain - Adds a verifiable domain to an owning account. - - """ - class AddVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for AddVerifiableDomain - - """ - input: NonNull_AddVerifiableDomainInput - - _args: AddVerifiableDomainPayloadArgs - - - type: AddVerifiableDomainPayload - -class approveDeployments(GQLMutation): - """ - approveDeployments - Approve all pending deployments under one or more environments - - """ - class ApproveDeploymentsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ApproveDeployments - - """ - input: NonNull_ApproveDeploymentsInput - - _args: ApproveDeploymentsPayloadArgs - - - type: ApproveDeploymentsPayload - -class approveVerifiableDomain(GQLMutation): - """ - approveVerifiableDomain - Approve a verifiable domain for notification delivery. - - """ - class ApproveVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ApproveVerifiableDomain - - """ - input: NonNull_ApproveVerifiableDomainInput - - _args: ApproveVerifiableDomainPayloadArgs - - - type: ApproveVerifiableDomainPayload - -class archiveProjectV2Item(GQLMutation): - """ - archiveProjectV2Item - Archives a ProjectV2Item - - """ - class ArchiveProjectV2ItemPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ArchiveProjectV2Item - - """ - input: NonNull_ArchiveProjectV2ItemInput - - _args: ArchiveProjectV2ItemPayloadArgs - - - type: ArchiveProjectV2ItemPayload - -class archiveRepository(GQLMutation): - """ - archiveRepository - Marks a repository as archived. - - """ - class ArchiveRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ArchiveRepository - - """ - input: NonNull_ArchiveRepositoryInput - - _args: ArchiveRepositoryPayloadArgs - - - type: ArchiveRepositoryPayload - -class cancelEnterpriseAdminInvitation(GQLMutation): - """ - cancelEnterpriseAdminInvitation - Cancels a pending invitation for an administrator to join an enterprise. - - """ - class CancelEnterpriseAdminInvitationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CancelEnterpriseAdminInvitation - - """ - input: NonNull_CancelEnterpriseAdminInvitationInput - - _args: CancelEnterpriseAdminInvitationPayloadArgs - - - type: CancelEnterpriseAdminInvitationPayload - -class cancelSponsorship(GQLMutation): - """ - cancelSponsorship - Cancel an active sponsorship. - - """ - class CancelSponsorshipPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CancelSponsorship - - """ - input: NonNull_CancelSponsorshipInput - - _args: CancelSponsorshipPayloadArgs - - - type: CancelSponsorshipPayload - -class changeUserStatus(GQLMutation): - """ - changeUserStatus - Update your status on GitHub. - - """ - class ChangeUserStatusPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ChangeUserStatus - - """ - input: NonNull_ChangeUserStatusInput - - _args: ChangeUserStatusPayloadArgs - - - type: ChangeUserStatusPayload - -class clearLabelsFromLabelable(GQLMutation): - """ - clearLabelsFromLabelable - Clears all labels from a labelable object. - - """ - class ClearLabelsFromLabelablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ClearLabelsFromLabelable - - """ - input: NonNull_ClearLabelsFromLabelableInput - - _args: ClearLabelsFromLabelablePayloadArgs - - - type: ClearLabelsFromLabelablePayload - -class clearProjectV2ItemFieldValue(GQLMutation): - """ - clearProjectV2ItemFieldValue - This mutation clears the value of a field for an item in a Project. Currently only text, number, date, assignees, labels, single-select, iteration and milestone fields are supported. - - """ - class ClearProjectV2ItemFieldValuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ClearProjectV2ItemFieldValue - - """ - input: NonNull_ClearProjectV2ItemFieldValueInput - - _args: ClearProjectV2ItemFieldValuePayloadArgs - - - type: ClearProjectV2ItemFieldValuePayload - -class cloneProject(GQLMutation): - """ - cloneProject - Creates a new project by cloning configuration from an existing project. - - """ - class CloneProjectPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CloneProject - - """ - input: NonNull_CloneProjectInput - - _args: CloneProjectPayloadArgs - - - type: CloneProjectPayload - -class cloneTemplateRepository(GQLMutation): - """ - cloneTemplateRepository - Create a new repository with the same files and directory structure as a template repository. - - """ - class CloneTemplateRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CloneTemplateRepository - - """ - input: NonNull_CloneTemplateRepositoryInput - - _args: CloneTemplateRepositoryPayloadArgs - - - type: CloneTemplateRepositoryPayload - -class closeDiscussion(GQLMutation): - """ - closeDiscussion - Close a discussion. - - """ - class CloseDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CloseDiscussion - - """ - input: NonNull_CloseDiscussionInput - - _args: CloseDiscussionPayloadArgs - - - type: CloseDiscussionPayload - -class closeIssue(GQLMutation): - """ - closeIssue - Close an issue. - - """ - class CloseIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CloseIssue - - """ - input: NonNull_CloseIssueInput - - _args: CloseIssuePayloadArgs - - - type: CloseIssuePayload - -class closePullRequest(GQLMutation): - """ - closePullRequest - Close a pull request. - - """ - class ClosePullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ClosePullRequest - - """ - input: NonNull_ClosePullRequestInput - - _args: ClosePullRequestPayloadArgs - - - type: ClosePullRequestPayload - -class convertProjectCardNoteToIssue(GQLMutation): - """ - convertProjectCardNoteToIssue - Convert a project note card to one associated with a newly created issue. - - """ - class ConvertProjectCardNoteToIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ConvertProjectCardNoteToIssue - - """ - input: NonNull_ConvertProjectCardNoteToIssueInput - - _args: ConvertProjectCardNoteToIssuePayloadArgs - - - type: ConvertProjectCardNoteToIssuePayload - -class convertPullRequestToDraft(GQLMutation): - """ - convertPullRequestToDraft - Converts a pull request to draft - - """ - class ConvertPullRequestToDraftPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ConvertPullRequestToDraft - - """ - input: NonNull_ConvertPullRequestToDraftInput - - _args: ConvertPullRequestToDraftPayloadArgs - - - type: ConvertPullRequestToDraftPayload - -class copyProjectV2(GQLMutation): - """ - copyProjectV2 - Copy a project. - - """ - class CopyProjectV2PayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CopyProjectV2 - - """ - input: NonNull_CopyProjectV2Input - - _args: CopyProjectV2PayloadArgs - - - type: CopyProjectV2Payload - -class createAttributionInvitation(GQLMutation): - """ - createAttributionInvitation - Invites a user to claim reattributable data - - """ - class CreateAttributionInvitationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateAttributionInvitation - - """ - input: NonNull_CreateAttributionInvitationInput - - _args: CreateAttributionInvitationPayloadArgs - - - type: CreateAttributionInvitationPayload - -class createBranchProtectionRule(GQLMutation): - """ - createBranchProtectionRule - Create a new branch protection rule - - """ - class CreateBranchProtectionRulePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateBranchProtectionRule - - """ - input: NonNull_CreateBranchProtectionRuleInput - - _args: CreateBranchProtectionRulePayloadArgs - - - type: CreateBranchProtectionRulePayload - -class createCheckRun(GQLMutation): - """ - createCheckRun - Create a check run. - - """ - class CreateCheckRunPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateCheckRun - - """ - input: NonNull_CreateCheckRunInput - - _args: CreateCheckRunPayloadArgs - - - type: CreateCheckRunPayload - -class createCheckSuite(GQLMutation): - """ - createCheckSuite - Create a check suite - - """ - class CreateCheckSuitePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateCheckSuite - - """ - input: NonNull_CreateCheckSuiteInput - - _args: CreateCheckSuitePayloadArgs - - - type: CreateCheckSuitePayload - -class createCommitOnBranch(GQLMutation): - """ - createCommitOnBranch - Appends a commit to the given branch as the authenticated user. - -This mutation creates a commit whose parent is the HEAD of the provided -branch and also updates that branch to point to the new commit. -It can be thought of as similar to `git commit`. - -### Locating a Branch - -Commits are appended to a `branch` of type `Ref`. -This must refer to a git branch (i.e. the fully qualified path must -begin with `refs/heads/`, although including this prefix is optional. - -Callers may specify the `branch` to commit to either by its global node -ID or by passing both of `repositoryNameWithOwner` and `refName`. For -more details see the documentation for `CommittableBranch`. - -### Describing Changes - -`fileChanges` are specified as a `FilesChanges` object describing -`FileAdditions` and `FileDeletions`. - -Please see the documentation for `FileChanges` for more information on -how to use this argument to describe any set of file changes. - -### Authorship - -Similar to the web commit interface, this mutation does not support -specifying the author or committer of the commit and will not add -support for this in the future. - -A commit created by a successful execution of this mutation will be -authored by the owner of the credential which authenticates the API -request. The committer will be identical to that of commits authored -using the web interface. - -If you need full control over author and committer information, please -use the Git Database REST API instead. - -### Commit Signing - -Commits made using this mutation are automatically signed by GitHub if -supported and will be marked as verified in the user interface. - - - """ - class CreateCommitOnBranchPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateCommitOnBranch - - """ - input: NonNull_CreateCommitOnBranchInput - - _args: CreateCommitOnBranchPayloadArgs - - - type: CreateCommitOnBranchPayload - -class createDiscussion(GQLMutation): - """ - createDiscussion - Create a discussion. - - """ - class CreateDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateDiscussion - - """ - input: NonNull_CreateDiscussionInput - - _args: CreateDiscussionPayloadArgs - - - type: CreateDiscussionPayload - -class createEnterpriseOrganization(GQLMutation): - """ - createEnterpriseOrganization - Creates an organization as part of an enterprise account. - - """ - class CreateEnterpriseOrganizationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateEnterpriseOrganization - - """ - input: NonNull_CreateEnterpriseOrganizationInput - - _args: CreateEnterpriseOrganizationPayloadArgs - - - type: CreateEnterpriseOrganizationPayload - -class createEnvironment(GQLMutation): - """ - createEnvironment - Creates an environment or simply returns it if already exists. - - """ - class CreateEnvironmentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateEnvironment - - """ - input: NonNull_CreateEnvironmentInput - - _args: CreateEnvironmentPayloadArgs - - - type: CreateEnvironmentPayload - -class createIpAllowListEntry(GQLMutation): - """ - createIpAllowListEntry - Creates a new IP allow list entry. - - """ - class CreateIpAllowListEntryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateIpAllowListEntry - - """ - input: NonNull_CreateIpAllowListEntryInput - - _args: CreateIpAllowListEntryPayloadArgs - - - type: CreateIpAllowListEntryPayload - -class createIssue(GQLMutation): - """ - createIssue - Creates a new issue. - - """ - class CreateIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateIssue - - """ - input: NonNull_CreateIssueInput - - _args: CreateIssuePayloadArgs - - - type: CreateIssuePayload - -class createLinkedBranch(GQLMutation): - """ - createLinkedBranch - Create a branch linked to an issue. - - """ - class CreateLinkedBranchPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateLinkedBranch - - """ - input: NonNull_CreateLinkedBranchInput - - _args: CreateLinkedBranchPayloadArgs - - - type: CreateLinkedBranchPayload - -class createMigrationSource(GQLMutation): - """ - createMigrationSource - Creates a GitHub Enterprise Importer (GEI) migration source. - - """ - class CreateMigrationSourcePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateMigrationSource - - """ - input: NonNull_CreateMigrationSourceInput - - _args: CreateMigrationSourcePayloadArgs - - - type: CreateMigrationSourcePayload - -class createProject(GQLMutation): - """ - createProject - Creates a new project. - - """ - class CreateProjectPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateProject - - """ - input: NonNull_CreateProjectInput - - _args: CreateProjectPayloadArgs - - - type: CreateProjectPayload - -class createProjectV2(GQLMutation): - """ - createProjectV2 - Creates a new project. - - """ - class CreateProjectV2PayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateProjectV2 - - """ - input: NonNull_CreateProjectV2Input - - _args: CreateProjectV2PayloadArgs - - - type: CreateProjectV2Payload - -class createProjectV2Field(GQLMutation): - """ - createProjectV2Field - Create a new project field. - - """ - class CreateProjectV2FieldPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateProjectV2Field - - """ - input: NonNull_CreateProjectV2FieldInput - - _args: CreateProjectV2FieldPayloadArgs - - - type: CreateProjectV2FieldPayload - -class createPullRequest(GQLMutation): - """ - createPullRequest - Create a new pull request - - """ - class CreatePullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreatePullRequest - - """ - input: NonNull_CreatePullRequestInput - - _args: CreatePullRequestPayloadArgs - - - type: CreatePullRequestPayload - -class createRef(GQLMutation): - """ - createRef - Create a new Git Ref. - - """ - class CreateRefPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateRef - - """ - input: NonNull_CreateRefInput - - _args: CreateRefPayloadArgs - - - type: CreateRefPayload - -class createRepository(GQLMutation): - """ - createRepository - Create a new repository. - - """ - class CreateRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateRepository - - """ - input: NonNull_CreateRepositoryInput - - _args: CreateRepositoryPayloadArgs - - - type: CreateRepositoryPayload - -class createRepositoryRuleset(GQLMutation): - """ - createRepositoryRuleset - Create a repository ruleset - - """ - class CreateRepositoryRulesetPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateRepositoryRuleset - - """ - input: NonNull_CreateRepositoryRulesetInput - - _args: CreateRepositoryRulesetPayloadArgs - - - type: CreateRepositoryRulesetPayload - -class createSponsorsListing(GQLMutation): - """ - createSponsorsListing - Create a GitHub Sponsors profile to allow others to sponsor you or your organization. - - """ - class CreateSponsorsListingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateSponsorsListing - - """ - input: NonNull_CreateSponsorsListingInput - - _args: CreateSponsorsListingPayloadArgs - - - type: CreateSponsorsListingPayload - -class createSponsorsTier(GQLMutation): - """ - createSponsorsTier - Create a new payment tier for your GitHub Sponsors profile. - - """ - class CreateSponsorsTierPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateSponsorsTier - - """ - input: NonNull_CreateSponsorsTierInput - - _args: CreateSponsorsTierPayloadArgs - - - type: CreateSponsorsTierPayload - -class createSponsorship(GQLMutation): - """ - createSponsorship - Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship. - - """ - class CreateSponsorshipPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateSponsorship - - """ - input: NonNull_CreateSponsorshipInput - - _args: CreateSponsorshipPayloadArgs - - - type: CreateSponsorshipPayload - -class createSponsorships(GQLMutation): - """ - createSponsorships - Make many one-time sponsorships for different sponsorable users or organizations at once. Can only sponsor those who have a public GitHub Sponsors profile. - - """ - class CreateSponsorshipsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateSponsorships - - """ - input: NonNull_CreateSponsorshipsInput - - _args: CreateSponsorshipsPayloadArgs - - - type: CreateSponsorshipsPayload - -class createTeamDiscussion(GQLMutation): - """ - createTeamDiscussion - Creates a new team discussion. - - """ - class CreateTeamDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateTeamDiscussion - - """ - input: NonNull_CreateTeamDiscussionInput - - _args: CreateTeamDiscussionPayloadArgs - - - type: CreateTeamDiscussionPayload - -class createTeamDiscussionComment(GQLMutation): - """ - createTeamDiscussionComment - Creates a new team discussion comment. - - """ - class CreateTeamDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for CreateTeamDiscussionComment - - """ - input: NonNull_CreateTeamDiscussionCommentInput - - _args: CreateTeamDiscussionCommentPayloadArgs - - - type: CreateTeamDiscussionCommentPayload - -class declineTopicSuggestion(GQLMutation): - """ - declineTopicSuggestion - Rejects a suggested topic for the repository. - - """ - class DeclineTopicSuggestionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeclineTopicSuggestion - - """ - input: NonNull_DeclineTopicSuggestionInput - - _args: DeclineTopicSuggestionPayloadArgs - - - type: DeclineTopicSuggestionPayload - -class deleteBranchProtectionRule(GQLMutation): - """ - deleteBranchProtectionRule - Delete a branch protection rule - - """ - class DeleteBranchProtectionRulePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteBranchProtectionRule - - """ - input: NonNull_DeleteBranchProtectionRuleInput - - _args: DeleteBranchProtectionRulePayloadArgs - - - type: DeleteBranchProtectionRulePayload - -class deleteDeployment(GQLMutation): - """ - deleteDeployment - Deletes a deployment. - - """ - class DeleteDeploymentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteDeployment - - """ - input: NonNull_DeleteDeploymentInput - - _args: DeleteDeploymentPayloadArgs - - - type: DeleteDeploymentPayload - -class deleteDiscussion(GQLMutation): - """ - deleteDiscussion - Delete a discussion and all of its replies. - - """ - class DeleteDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteDiscussion - - """ - input: NonNull_DeleteDiscussionInput - - _args: DeleteDiscussionPayloadArgs - - - type: DeleteDiscussionPayload - -class deleteDiscussionComment(GQLMutation): - """ - deleteDiscussionComment - Delete a discussion comment. If it has replies, wipe it instead. - - """ - class DeleteDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteDiscussionComment - - """ - input: NonNull_DeleteDiscussionCommentInput - - _args: DeleteDiscussionCommentPayloadArgs - - - type: DeleteDiscussionCommentPayload - -class deleteEnvironment(GQLMutation): - """ - deleteEnvironment - Deletes an environment - - """ - class DeleteEnvironmentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteEnvironment - - """ - input: NonNull_DeleteEnvironmentInput - - _args: DeleteEnvironmentPayloadArgs - - - type: DeleteEnvironmentPayload - -class deleteIpAllowListEntry(GQLMutation): - """ - deleteIpAllowListEntry - Deletes an IP allow list entry. - - """ - class DeleteIpAllowListEntryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteIpAllowListEntry - - """ - input: NonNull_DeleteIpAllowListEntryInput - - _args: DeleteIpAllowListEntryPayloadArgs - - - type: DeleteIpAllowListEntryPayload - -class deleteIssue(GQLMutation): - """ - deleteIssue - Deletes an Issue object. - - """ - class DeleteIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteIssue - - """ - input: NonNull_DeleteIssueInput - - _args: DeleteIssuePayloadArgs - - - type: DeleteIssuePayload - -class deleteIssueComment(GQLMutation): - """ - deleteIssueComment - Deletes an IssueComment object. - - """ - class DeleteIssueCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteIssueComment - - """ - input: NonNull_DeleteIssueCommentInput - - _args: DeleteIssueCommentPayloadArgs - - - type: DeleteIssueCommentPayload - -class deleteLinkedBranch(GQLMutation): - """ - deleteLinkedBranch - Unlink a branch from an issue. - - """ - class DeleteLinkedBranchPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteLinkedBranch - - """ - input: NonNull_DeleteLinkedBranchInput - - _args: DeleteLinkedBranchPayloadArgs - - - type: DeleteLinkedBranchPayload - -class deleteProject(GQLMutation): - """ - deleteProject - Deletes a project. - - """ - class DeleteProjectPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProject - - """ - input: NonNull_DeleteProjectInput - - _args: DeleteProjectPayloadArgs - - - type: DeleteProjectPayload - -class deleteProjectCard(GQLMutation): - """ - deleteProjectCard - Deletes a project card. - - """ - class DeleteProjectCardPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProjectCard - - """ - input: NonNull_DeleteProjectCardInput - - _args: DeleteProjectCardPayloadArgs - - - type: DeleteProjectCardPayload - -class deleteProjectColumn(GQLMutation): - """ - deleteProjectColumn - Deletes a project column. - - """ - class DeleteProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProjectColumn - - """ - input: NonNull_DeleteProjectColumnInput - - _args: DeleteProjectColumnPayloadArgs - - - type: DeleteProjectColumnPayload - -class deleteProjectV2(GQLMutation): - """ - deleteProjectV2 - Delete a project. - - """ - class DeleteProjectV2PayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProjectV2 - - """ - input: NonNull_DeleteProjectV2Input - - _args: DeleteProjectV2PayloadArgs - - - type: DeleteProjectV2Payload - -class deleteProjectV2Field(GQLMutation): - """ - deleteProjectV2Field - Delete a project field. - - """ - class DeleteProjectV2FieldPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProjectV2Field - - """ - input: NonNull_DeleteProjectV2FieldInput - - _args: DeleteProjectV2FieldPayloadArgs - - - type: DeleteProjectV2FieldPayload - -class deleteProjectV2Item(GQLMutation): - """ - deleteProjectV2Item - Deletes an item from a Project. - - """ - class DeleteProjectV2ItemPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProjectV2Item - - """ - input: NonNull_DeleteProjectV2ItemInput - - _args: DeleteProjectV2ItemPayloadArgs - - - type: DeleteProjectV2ItemPayload - -class deleteProjectV2Workflow(GQLMutation): - """ - deleteProjectV2Workflow - Deletes a project workflow. - - """ - class DeleteProjectV2WorkflowPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteProjectV2Workflow - - """ - input: NonNull_DeleteProjectV2WorkflowInput - - _args: DeleteProjectV2WorkflowPayloadArgs - - - type: DeleteProjectV2WorkflowPayload - -class deletePullRequestReview(GQLMutation): - """ - deletePullRequestReview - Deletes a pull request review. - - """ - class DeletePullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeletePullRequestReview - - """ - input: NonNull_DeletePullRequestReviewInput - - _args: DeletePullRequestReviewPayloadArgs - - - type: DeletePullRequestReviewPayload - -class deletePullRequestReviewComment(GQLMutation): - """ - deletePullRequestReviewComment - Deletes a pull request review comment. - - """ - class DeletePullRequestReviewCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeletePullRequestReviewComment - - """ - input: NonNull_DeletePullRequestReviewCommentInput - - _args: DeletePullRequestReviewCommentPayloadArgs - - - type: DeletePullRequestReviewCommentPayload - -class deleteRef(GQLMutation): - """ - deleteRef - Delete a Git Ref. - - """ - class DeleteRefPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteRef - - """ - input: NonNull_DeleteRefInput - - _args: DeleteRefPayloadArgs - - - type: DeleteRefPayload - -class deleteRepositoryRuleset(GQLMutation): - """ - deleteRepositoryRuleset - Delete a repository ruleset - - """ - class DeleteRepositoryRulesetPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteRepositoryRuleset - - """ - input: NonNull_DeleteRepositoryRulesetInput - - _args: DeleteRepositoryRulesetPayloadArgs - - - type: DeleteRepositoryRulesetPayload - -class deleteTeamDiscussion(GQLMutation): - """ - deleteTeamDiscussion - Deletes a team discussion. - - """ - class DeleteTeamDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteTeamDiscussion - - """ - input: NonNull_DeleteTeamDiscussionInput - - _args: DeleteTeamDiscussionPayloadArgs - - - type: DeleteTeamDiscussionPayload - -class deleteTeamDiscussionComment(GQLMutation): - """ - deleteTeamDiscussionComment - Deletes a team discussion comment. - - """ - class DeleteTeamDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteTeamDiscussionComment - - """ - input: NonNull_DeleteTeamDiscussionCommentInput - - _args: DeleteTeamDiscussionCommentPayloadArgs - - - type: DeleteTeamDiscussionCommentPayload - -class deleteVerifiableDomain(GQLMutation): - """ - deleteVerifiableDomain - Deletes a verifiable domain. - - """ - class DeleteVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DeleteVerifiableDomain - - """ - input: NonNull_DeleteVerifiableDomainInput - - _args: DeleteVerifiableDomainPayloadArgs - - - type: DeleteVerifiableDomainPayload - -class dequeuePullRequest(GQLMutation): - """ - dequeuePullRequest - Remove a pull request from the merge queue. - - """ - class DequeuePullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DequeuePullRequest - - """ - input: NonNull_DequeuePullRequestInput - - _args: DequeuePullRequestPayloadArgs - - - type: DequeuePullRequestPayload - -class disablePullRequestAutoMerge(GQLMutation): - """ - disablePullRequestAutoMerge - Disable auto merge on the given pull request - - """ - class DisablePullRequestAutoMergePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DisablePullRequestAutoMerge - - """ - input: NonNull_DisablePullRequestAutoMergeInput - - _args: DisablePullRequestAutoMergePayloadArgs - - - type: DisablePullRequestAutoMergePayload - -class dismissPullRequestReview(GQLMutation): - """ - dismissPullRequestReview - Dismisses an approved or rejected pull request review. - - """ - class DismissPullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DismissPullRequestReview - - """ - input: NonNull_DismissPullRequestReviewInput - - _args: DismissPullRequestReviewPayloadArgs - - - type: DismissPullRequestReviewPayload - -class dismissRepositoryVulnerabilityAlert(GQLMutation): - """ - dismissRepositoryVulnerabilityAlert - Dismisses the Dependabot alert. - - """ - class DismissRepositoryVulnerabilityAlertPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for DismissRepositoryVulnerabilityAlert - - """ - input: NonNull_DismissRepositoryVulnerabilityAlertInput - - _args: DismissRepositoryVulnerabilityAlertPayloadArgs - - - type: DismissRepositoryVulnerabilityAlertPayload - -class enablePullRequestAutoMerge(GQLMutation): - """ - enablePullRequestAutoMerge - Enable the default auto-merge on a pull request. - - """ - class EnablePullRequestAutoMergePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for EnablePullRequestAutoMerge - - """ - input: NonNull_EnablePullRequestAutoMergeInput - - _args: EnablePullRequestAutoMergePayloadArgs - - - type: EnablePullRequestAutoMergePayload - -class enqueuePullRequest(GQLMutation): - """ - enqueuePullRequest - Add a pull request to the merge queue. - - """ - class EnqueuePullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for EnqueuePullRequest - - """ - input: NonNull_EnqueuePullRequestInput - - _args: EnqueuePullRequestPayloadArgs - - - type: EnqueuePullRequestPayload - -class followOrganization(GQLMutation): - """ - followOrganization - Follow an organization. - - """ - class FollowOrganizationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for FollowOrganization - - """ - input: NonNull_FollowOrganizationInput - - _args: FollowOrganizationPayloadArgs - - - type: FollowOrganizationPayload - -class followUser(GQLMutation): - """ - followUser - Follow a user. - - """ - class FollowUserPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for FollowUser - - """ - input: NonNull_FollowUserInput - - _args: FollowUserPayloadArgs - - - type: FollowUserPayload - -class grantEnterpriseOrganizationsMigratorRole(GQLMutation): - """ - grantEnterpriseOrganizationsMigratorRole - Grant the migrator role to a user for all organizations under an enterprise account. - - """ - class GrantEnterpriseOrganizationsMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for GrantEnterpriseOrganizationsMigratorRole - - """ - input: NonNull_GrantEnterpriseOrganizationsMigratorRoleInput - - _args: GrantEnterpriseOrganizationsMigratorRolePayloadArgs - - - type: GrantEnterpriseOrganizationsMigratorRolePayload - -class grantMigratorRole(GQLMutation): - """ - grantMigratorRole - Grant the migrator role to a user or a team. - - """ - class GrantMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for GrantMigratorRole - - """ - input: NonNull_GrantMigratorRoleInput - - _args: GrantMigratorRolePayloadArgs - - - type: GrantMigratorRolePayload - -class inviteEnterpriseAdmin(GQLMutation): - """ - inviteEnterpriseAdmin - Invite someone to become an administrator of the enterprise. - - """ - class InviteEnterpriseAdminPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for InviteEnterpriseAdmin - - """ - input: NonNull_InviteEnterpriseAdminInput - - _args: InviteEnterpriseAdminPayloadArgs - - - type: InviteEnterpriseAdminPayload - -class linkProjectV2ToRepository(GQLMutation): - """ - linkProjectV2ToRepository - Links a project to a repository. - - """ - class LinkProjectV2ToRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for LinkProjectV2ToRepository - - """ - input: NonNull_LinkProjectV2ToRepositoryInput - - _args: LinkProjectV2ToRepositoryPayloadArgs - - - type: LinkProjectV2ToRepositoryPayload - -class linkProjectV2ToTeam(GQLMutation): - """ - linkProjectV2ToTeam - Links a project to a team. - - """ - class LinkProjectV2ToTeamPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for LinkProjectV2ToTeam - - """ - input: NonNull_LinkProjectV2ToTeamInput - - _args: LinkProjectV2ToTeamPayloadArgs - - - type: LinkProjectV2ToTeamPayload - -class linkRepositoryToProject(GQLMutation): - """ - linkRepositoryToProject - Creates a repository link for a project. - - """ - class LinkRepositoryToProjectPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for LinkRepositoryToProject - - """ - input: NonNull_LinkRepositoryToProjectInput - - _args: LinkRepositoryToProjectPayloadArgs - - - type: LinkRepositoryToProjectPayload - -class lockLockable(GQLMutation): - """ - lockLockable - Lock a lockable object - - """ - class LockLockablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for LockLockable - - """ - input: NonNull_LockLockableInput - - _args: LockLockablePayloadArgs - - - type: LockLockablePayload - -class markDiscussionCommentAsAnswer(GQLMutation): - """ - markDiscussionCommentAsAnswer - Mark a discussion comment as the chosen answer for discussions in an answerable category. - - """ - class MarkDiscussionCommentAsAnswerPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MarkDiscussionCommentAsAnswer - - """ - input: NonNull_MarkDiscussionCommentAsAnswerInput - - _args: MarkDiscussionCommentAsAnswerPayloadArgs - - - type: MarkDiscussionCommentAsAnswerPayload - -class markFileAsViewed(GQLMutation): - """ - markFileAsViewed - Mark a pull request file as viewed - - """ - class MarkFileAsViewedPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MarkFileAsViewed - - """ - input: NonNull_MarkFileAsViewedInput - - _args: MarkFileAsViewedPayloadArgs - - - type: MarkFileAsViewedPayload - -class markProjectV2AsTemplate(GQLMutation): - """ - markProjectV2AsTemplate - Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. - - """ - class MarkProjectV2AsTemplatePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MarkProjectV2AsTemplate - - """ - input: NonNull_MarkProjectV2AsTemplateInput - - _args: MarkProjectV2AsTemplatePayloadArgs - - - type: MarkProjectV2AsTemplatePayload - -class markPullRequestReadyForReview(GQLMutation): - """ - markPullRequestReadyForReview - Marks a pull request ready for review. - - """ - class MarkPullRequestReadyForReviewPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MarkPullRequestReadyForReview - - """ - input: NonNull_MarkPullRequestReadyForReviewInput - - _args: MarkPullRequestReadyForReviewPayloadArgs - - - type: MarkPullRequestReadyForReviewPayload - -class mergeBranch(GQLMutation): - """ - mergeBranch - Merge a head into a branch. - - """ - class MergeBranchPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MergeBranch - - """ - input: NonNull_MergeBranchInput - - _args: MergeBranchPayloadArgs - - - type: MergeBranchPayload - -class mergePullRequest(GQLMutation): - """ - mergePullRequest - Merge a pull request. - - """ - class MergePullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MergePullRequest - - """ - input: NonNull_MergePullRequestInput - - _args: MergePullRequestPayloadArgs - - - type: MergePullRequestPayload - -class minimizeComment(GQLMutation): - """ - minimizeComment - Minimizes a comment on an Issue, Commit, Pull Request, or Gist - - """ - class MinimizeCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MinimizeComment - - """ - input: NonNull_MinimizeCommentInput - - _args: MinimizeCommentPayloadArgs - - - type: MinimizeCommentPayload - -class moveProjectCard(GQLMutation): - """ - moveProjectCard - Moves a project card to another place. - - """ - class MoveProjectCardPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MoveProjectCard - - """ - input: NonNull_MoveProjectCardInput - - _args: MoveProjectCardPayloadArgs - - - type: MoveProjectCardPayload - -class moveProjectColumn(GQLMutation): - """ - moveProjectColumn - Moves a project column to another place. - - """ - class MoveProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for MoveProjectColumn - - """ - input: NonNull_MoveProjectColumnInput - - _args: MoveProjectColumnPayloadArgs - - - type: MoveProjectColumnPayload - -class pinIssue(GQLMutation): - """ - pinIssue - Pin an issue to a repository - - """ - class PinIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for PinIssue - - """ - input: NonNull_PinIssueInput - - _args: PinIssuePayloadArgs - - - type: PinIssuePayload - -class publishSponsorsTier(GQLMutation): - """ - publishSponsorsTier - Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. - - """ - class PublishSponsorsTierPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for PublishSponsorsTier - - """ - input: NonNull_PublishSponsorsTierInput - - _args: PublishSponsorsTierPayloadArgs - - - type: PublishSponsorsTierPayload - -class regenerateEnterpriseIdentityProviderRecoveryCodes(GQLMutation): - """ - regenerateEnterpriseIdentityProviderRecoveryCodes - Regenerates the identity provider recovery codes for an enterprise - - """ - class RegenerateEnterpriseIdentityProviderRecoveryCodesPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RegenerateEnterpriseIdentityProviderRecoveryCodes - - """ - input: NonNull_RegenerateEnterpriseIdentityProviderRecoveryCodesInput - - _args: RegenerateEnterpriseIdentityProviderRecoveryCodesPayloadArgs - - - type: RegenerateEnterpriseIdentityProviderRecoveryCodesPayload - -class regenerateVerifiableDomainToken(GQLMutation): - """ - regenerateVerifiableDomainToken - Regenerates a verifiable domain's verification token. - - """ - class RegenerateVerifiableDomainTokenPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RegenerateVerifiableDomainToken - - """ - input: NonNull_RegenerateVerifiableDomainTokenInput - - _args: RegenerateVerifiableDomainTokenPayloadArgs - - - type: RegenerateVerifiableDomainTokenPayload - -class rejectDeployments(GQLMutation): - """ - rejectDeployments - Reject all pending deployments under one or more environments - - """ - class RejectDeploymentsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RejectDeployments - - """ - input: NonNull_RejectDeploymentsInput - - _args: RejectDeploymentsPayloadArgs - - - type: RejectDeploymentsPayload - -class removeAssigneesFromAssignable(GQLMutation): - """ - removeAssigneesFromAssignable - Removes assignees from an assignable object. - - """ - class RemoveAssigneesFromAssignablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveAssigneesFromAssignable - - """ - input: NonNull_RemoveAssigneesFromAssignableInput - - _args: RemoveAssigneesFromAssignablePayloadArgs - - - type: RemoveAssigneesFromAssignablePayload - -class removeEnterpriseAdmin(GQLMutation): - """ - removeEnterpriseAdmin - Removes an administrator from the enterprise. - - """ - class RemoveEnterpriseAdminPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveEnterpriseAdmin - - """ - input: NonNull_RemoveEnterpriseAdminInput - - _args: RemoveEnterpriseAdminPayloadArgs - - - type: RemoveEnterpriseAdminPayload - -class removeEnterpriseIdentityProvider(GQLMutation): - """ - removeEnterpriseIdentityProvider - Removes the identity provider from an enterprise - - """ - class RemoveEnterpriseIdentityProviderPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveEnterpriseIdentityProvider - - """ - input: NonNull_RemoveEnterpriseIdentityProviderInput - - _args: RemoveEnterpriseIdentityProviderPayloadArgs - - - type: RemoveEnterpriseIdentityProviderPayload - -class removeEnterpriseMember(GQLMutation): - """ - removeEnterpriseMember - Removes a user from all organizations within the enterprise - - """ - class RemoveEnterpriseMemberPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveEnterpriseMember - - """ - input: NonNull_RemoveEnterpriseMemberInput - - _args: RemoveEnterpriseMemberPayloadArgs - - - type: RemoveEnterpriseMemberPayload - -class removeEnterpriseOrganization(GQLMutation): - """ - removeEnterpriseOrganization - Removes an organization from the enterprise - - """ - class RemoveEnterpriseOrganizationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveEnterpriseOrganization - - """ - input: NonNull_RemoveEnterpriseOrganizationInput - - _args: RemoveEnterpriseOrganizationPayloadArgs - - - type: RemoveEnterpriseOrganizationPayload - -class removeEnterpriseSupportEntitlement(GQLMutation): - """ - removeEnterpriseSupportEntitlement - Removes a support entitlement from an enterprise member. - - """ - class RemoveEnterpriseSupportEntitlementPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveEnterpriseSupportEntitlement - - """ - input: NonNull_RemoveEnterpriseSupportEntitlementInput - - _args: RemoveEnterpriseSupportEntitlementPayloadArgs - - - type: RemoveEnterpriseSupportEntitlementPayload - -class removeLabelsFromLabelable(GQLMutation): - """ - removeLabelsFromLabelable - Removes labels from a Labelable object. - - """ - class RemoveLabelsFromLabelablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveLabelsFromLabelable - - """ - input: NonNull_RemoveLabelsFromLabelableInput - - _args: RemoveLabelsFromLabelablePayloadArgs - - - type: RemoveLabelsFromLabelablePayload - -class removeOutsideCollaborator(GQLMutation): - """ - removeOutsideCollaborator - Removes outside collaborator from all repositories in an organization. - - """ - class RemoveOutsideCollaboratorPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveOutsideCollaborator - - """ - input: NonNull_RemoveOutsideCollaboratorInput - - _args: RemoveOutsideCollaboratorPayloadArgs - - - type: RemoveOutsideCollaboratorPayload - -class removeReaction(GQLMutation): - """ - removeReaction - Removes a reaction from a subject. - - """ - class RemoveReactionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveReaction - - """ - input: NonNull_RemoveReactionInput - - _args: RemoveReactionPayloadArgs - - - type: RemoveReactionPayload - -class removeStar(GQLMutation): - """ - removeStar - Removes a star from a Starrable. - - """ - class RemoveStarPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveStar - - """ - input: NonNull_RemoveStarInput - - _args: RemoveStarPayloadArgs - - - type: RemoveStarPayload - -class removeUpvote(GQLMutation): - """ - removeUpvote - Remove an upvote to a discussion or discussion comment. - - """ - class RemoveUpvotePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RemoveUpvote - - """ - input: NonNull_RemoveUpvoteInput - - _args: RemoveUpvotePayloadArgs - - - type: RemoveUpvotePayload - -class reopenDiscussion(GQLMutation): - """ - reopenDiscussion - Reopen a discussion. - - """ - class ReopenDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ReopenDiscussion - - """ - input: NonNull_ReopenDiscussionInput - - _args: ReopenDiscussionPayloadArgs - - - type: ReopenDiscussionPayload - -class reopenIssue(GQLMutation): - """ - reopenIssue - Reopen a issue. - - """ - class ReopenIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ReopenIssue - - """ - input: NonNull_ReopenIssueInput - - _args: ReopenIssuePayloadArgs - - - type: ReopenIssuePayload - -class reopenPullRequest(GQLMutation): - """ - reopenPullRequest - Reopen a pull request. - - """ - class ReopenPullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ReopenPullRequest - - """ - input: NonNull_ReopenPullRequestInput - - _args: ReopenPullRequestPayloadArgs - - - type: ReopenPullRequestPayload - -class requestReviews(GQLMutation): - """ - requestReviews - Set review requests on a pull request. - - """ - class RequestReviewsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RequestReviews - - """ - input: NonNull_RequestReviewsInput - - _args: RequestReviewsPayloadArgs - - - type: RequestReviewsPayload - -class rerequestCheckSuite(GQLMutation): - """ - rerequestCheckSuite - Rerequests an existing check suite. - - """ - class RerequestCheckSuitePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RerequestCheckSuite - - """ - input: NonNull_RerequestCheckSuiteInput - - _args: RerequestCheckSuitePayloadArgs - - - type: RerequestCheckSuitePayload - -class resolveReviewThread(GQLMutation): - """ - resolveReviewThread - Marks a review thread as resolved. - - """ - class ResolveReviewThreadPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for ResolveReviewThread - - """ - input: NonNull_ResolveReviewThreadInput - - _args: ResolveReviewThreadPayloadArgs - - - type: ResolveReviewThreadPayload - -class retireSponsorsTier(GQLMutation): - """ - retireSponsorsTier - Retire a published payment tier from your GitHub Sponsors profile so it cannot be used to start new sponsorships. - - """ - class RetireSponsorsTierPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RetireSponsorsTier - - """ - input: NonNull_RetireSponsorsTierInput - - _args: RetireSponsorsTierPayloadArgs - - - type: RetireSponsorsTierPayload - -class revertPullRequest(GQLMutation): - """ - revertPullRequest - Create a pull request that reverts the changes from a merged pull request. - - """ - class RevertPullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RevertPullRequest - - """ - input: NonNull_RevertPullRequestInput - - _args: RevertPullRequestPayloadArgs - - - type: RevertPullRequestPayload - -class revokeEnterpriseOrganizationsMigratorRole(GQLMutation): - """ - revokeEnterpriseOrganizationsMigratorRole - Revoke the migrator role to a user for all organizations under an enterprise account. - - """ - class RevokeEnterpriseOrganizationsMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RevokeEnterpriseOrganizationsMigratorRole - - """ - input: NonNull_RevokeEnterpriseOrganizationsMigratorRoleInput - - _args: RevokeEnterpriseOrganizationsMigratorRolePayloadArgs - - - type: RevokeEnterpriseOrganizationsMigratorRolePayload - -class revokeMigratorRole(GQLMutation): - """ - revokeMigratorRole - Revoke the migrator role from a user or a team. - - """ - class RevokeMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for RevokeMigratorRole - - """ - input: NonNull_RevokeMigratorRoleInput - - _args: RevokeMigratorRolePayloadArgs - - - type: RevokeMigratorRolePayload - -class setEnterpriseIdentityProvider(GQLMutation): - """ - setEnterpriseIdentityProvider - Creates or updates the identity provider for an enterprise. - - """ - class SetEnterpriseIdentityProviderPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for SetEnterpriseIdentityProvider - - """ - input: NonNull_SetEnterpriseIdentityProviderInput - - _args: SetEnterpriseIdentityProviderPayloadArgs - - - type: SetEnterpriseIdentityProviderPayload - -class setOrganizationInteractionLimit(GQLMutation): - """ - setOrganizationInteractionLimit - Set an organization level interaction limit for an organization's public repositories. - - """ - class SetOrganizationInteractionLimitPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for SetOrganizationInteractionLimit - - """ - input: NonNull_SetOrganizationInteractionLimitInput - - _args: SetOrganizationInteractionLimitPayloadArgs - - - type: SetOrganizationInteractionLimitPayload - -class setRepositoryInteractionLimit(GQLMutation): - """ - setRepositoryInteractionLimit - Sets an interaction limit setting for a repository. - - """ - class SetRepositoryInteractionLimitPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for SetRepositoryInteractionLimit - - """ - input: NonNull_SetRepositoryInteractionLimitInput - - _args: SetRepositoryInteractionLimitPayloadArgs - - - type: SetRepositoryInteractionLimitPayload - -class setUserInteractionLimit(GQLMutation): - """ - setUserInteractionLimit - Set a user level interaction limit for an user's public repositories. - - """ - class SetUserInteractionLimitPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for SetUserInteractionLimit - - """ - input: NonNull_SetUserInteractionLimitInput - - _args: SetUserInteractionLimitPayloadArgs - - - type: SetUserInteractionLimitPayload - -class startOrganizationMigration(GQLMutation): - """ - startOrganizationMigration - Starts a GitHub Enterprise Importer organization migration. - - """ - class StartOrganizationMigrationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for StartOrganizationMigration - - """ - input: NonNull_StartOrganizationMigrationInput - - _args: StartOrganizationMigrationPayloadArgs - - - type: StartOrganizationMigrationPayload - -class startRepositoryMigration(GQLMutation): - """ - startRepositoryMigration - Starts a GitHub Enterprise Importer (GEI) repository migration. - - """ - class StartRepositoryMigrationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for StartRepositoryMigration - - """ - input: NonNull_StartRepositoryMigrationInput - - _args: StartRepositoryMigrationPayloadArgs - - - type: StartRepositoryMigrationPayload - -class submitPullRequestReview(GQLMutation): - """ - submitPullRequestReview - Submits a pending pull request review. - - """ - class SubmitPullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for SubmitPullRequestReview - - """ - input: NonNull_SubmitPullRequestReviewInput - - _args: SubmitPullRequestReviewPayloadArgs - - - type: SubmitPullRequestReviewPayload - -class transferEnterpriseOrganization(GQLMutation): - """ - transferEnterpriseOrganization - Transfer an organization from one enterprise to another enterprise. - - """ - class TransferEnterpriseOrganizationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for TransferEnterpriseOrganization - - """ - input: NonNull_TransferEnterpriseOrganizationInput - - _args: TransferEnterpriseOrganizationPayloadArgs - - - type: TransferEnterpriseOrganizationPayload - -class transferIssue(GQLMutation): - """ - transferIssue - Transfer an issue to a different repository - - """ - class TransferIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for TransferIssue - - """ - input: NonNull_TransferIssueInput - - _args: TransferIssuePayloadArgs - - - type: TransferIssuePayload - -class unarchiveProjectV2Item(GQLMutation): - """ - unarchiveProjectV2Item - Unarchives a ProjectV2Item - - """ - class UnarchiveProjectV2ItemPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnarchiveProjectV2Item - - """ - input: NonNull_UnarchiveProjectV2ItemInput - - _args: UnarchiveProjectV2ItemPayloadArgs - - - type: UnarchiveProjectV2ItemPayload - -class unarchiveRepository(GQLMutation): - """ - unarchiveRepository - Unarchives a repository. - - """ - class UnarchiveRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnarchiveRepository - - """ - input: NonNull_UnarchiveRepositoryInput - - _args: UnarchiveRepositoryPayloadArgs - - - type: UnarchiveRepositoryPayload - -class unfollowOrganization(GQLMutation): - """ - unfollowOrganization - Unfollow an organization. - - """ - class UnfollowOrganizationPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnfollowOrganization - - """ - input: NonNull_UnfollowOrganizationInput - - _args: UnfollowOrganizationPayloadArgs - - - type: UnfollowOrganizationPayload - -class unfollowUser(GQLMutation): - """ - unfollowUser - Unfollow a user. - - """ - class UnfollowUserPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnfollowUser - - """ - input: NonNull_UnfollowUserInput - - _args: UnfollowUserPayloadArgs - - - type: UnfollowUserPayload - -class unlinkProjectV2FromRepository(GQLMutation): - """ - unlinkProjectV2FromRepository - Unlinks a project from a repository. - - """ - class UnlinkProjectV2FromRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnlinkProjectV2FromRepository - - """ - input: NonNull_UnlinkProjectV2FromRepositoryInput - - _args: UnlinkProjectV2FromRepositoryPayloadArgs - - - type: UnlinkProjectV2FromRepositoryPayload - -class unlinkProjectV2FromTeam(GQLMutation): - """ - unlinkProjectV2FromTeam - Unlinks a project to a team. - - """ - class UnlinkProjectV2FromTeamPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnlinkProjectV2FromTeam - - """ - input: NonNull_UnlinkProjectV2FromTeamInput - - _args: UnlinkProjectV2FromTeamPayloadArgs - - - type: UnlinkProjectV2FromTeamPayload - -class unlinkRepositoryFromProject(GQLMutation): - """ - unlinkRepositoryFromProject - Deletes a repository link from a project. - - """ - class UnlinkRepositoryFromProjectPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnlinkRepositoryFromProject - - """ - input: NonNull_UnlinkRepositoryFromProjectInput - - _args: UnlinkRepositoryFromProjectPayloadArgs - - - type: UnlinkRepositoryFromProjectPayload - -class unlockLockable(GQLMutation): - """ - unlockLockable - Unlock a lockable object - - """ - class UnlockLockablePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnlockLockable - - """ - input: NonNull_UnlockLockableInput - - _args: UnlockLockablePayloadArgs - - - type: UnlockLockablePayload - -class unmarkDiscussionCommentAsAnswer(GQLMutation): - """ - unmarkDiscussionCommentAsAnswer - Unmark a discussion comment as the chosen answer for discussions in an answerable category. - - """ - class UnmarkDiscussionCommentAsAnswerPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnmarkDiscussionCommentAsAnswer - - """ - input: NonNull_UnmarkDiscussionCommentAsAnswerInput - - _args: UnmarkDiscussionCommentAsAnswerPayloadArgs - - - type: UnmarkDiscussionCommentAsAnswerPayload - -class unmarkFileAsViewed(GQLMutation): - """ - unmarkFileAsViewed - Unmark a pull request file as viewed - - """ - class UnmarkFileAsViewedPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnmarkFileAsViewed - - """ - input: NonNull_UnmarkFileAsViewedInput - - _args: UnmarkFileAsViewedPayloadArgs - - - type: UnmarkFileAsViewedPayload - -class unmarkIssueAsDuplicate(GQLMutation): - """ - unmarkIssueAsDuplicate - Unmark an issue as a duplicate of another issue. - - """ - class UnmarkIssueAsDuplicatePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnmarkIssueAsDuplicate - - """ - input: NonNull_UnmarkIssueAsDuplicateInput - - _args: UnmarkIssueAsDuplicatePayloadArgs - - - type: UnmarkIssueAsDuplicatePayload - -class unmarkProjectV2AsTemplate(GQLMutation): - """ - unmarkProjectV2AsTemplate - Unmark a project as a template. - - """ - class UnmarkProjectV2AsTemplatePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnmarkProjectV2AsTemplate - - """ - input: NonNull_UnmarkProjectV2AsTemplateInput - - _args: UnmarkProjectV2AsTemplatePayloadArgs - - - type: UnmarkProjectV2AsTemplatePayload - -class unminimizeComment(GQLMutation): - """ - unminimizeComment - Unminimizes a comment on an Issue, Commit, Pull Request, or Gist - - """ - class UnminimizeCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnminimizeComment - - """ - input: NonNull_UnminimizeCommentInput - - _args: UnminimizeCommentPayloadArgs - - - type: UnminimizeCommentPayload - -class unpinIssue(GQLMutation): - """ - unpinIssue - Unpin a pinned issue from a repository - - """ - class UnpinIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnpinIssue - - """ - input: NonNull_UnpinIssueInput - - _args: UnpinIssuePayloadArgs - - - type: UnpinIssuePayload - -class unresolveReviewThread(GQLMutation): - """ - unresolveReviewThread - Marks a review thread as unresolved. - - """ - class UnresolveReviewThreadPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UnresolveReviewThread - - """ - input: NonNull_UnresolveReviewThreadInput - - _args: UnresolveReviewThreadPayloadArgs - - - type: UnresolveReviewThreadPayload - -class updateBranchProtectionRule(GQLMutation): - """ - updateBranchProtectionRule - Update a branch protection rule - - """ - class UpdateBranchProtectionRulePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateBranchProtectionRule - - """ - input: NonNull_UpdateBranchProtectionRuleInput - - _args: UpdateBranchProtectionRulePayloadArgs - - - type: UpdateBranchProtectionRulePayload - -class updateCheckRun(GQLMutation): - """ - updateCheckRun - Update a check run - - """ - class UpdateCheckRunPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateCheckRun - - """ - input: NonNull_UpdateCheckRunInput - - _args: UpdateCheckRunPayloadArgs - - - type: UpdateCheckRunPayload - -class updateCheckSuitePreferences(GQLMutation): - """ - updateCheckSuitePreferences - Modifies the settings of an existing check suite - - """ - class UpdateCheckSuitePreferencesPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateCheckSuitePreferences - - """ - input: NonNull_UpdateCheckSuitePreferencesInput - - _args: UpdateCheckSuitePreferencesPayloadArgs - - - type: UpdateCheckSuitePreferencesPayload - -class updateDiscussion(GQLMutation): - """ - updateDiscussion - Update a discussion - - """ - class UpdateDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateDiscussion - - """ - input: NonNull_UpdateDiscussionInput - - _args: UpdateDiscussionPayloadArgs - - - type: UpdateDiscussionPayload - -class updateDiscussionComment(GQLMutation): - """ - updateDiscussionComment - Update the contents of a comment on a Discussion - - """ - class UpdateDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateDiscussionComment - - """ - input: NonNull_UpdateDiscussionCommentInput - - _args: UpdateDiscussionCommentPayloadArgs - - - type: UpdateDiscussionCommentPayload - -class updateEnterpriseAdministratorRole(GQLMutation): - """ - updateEnterpriseAdministratorRole - Updates the role of an enterprise administrator. - - """ - class UpdateEnterpriseAdministratorRolePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseAdministratorRole - - """ - input: NonNull_UpdateEnterpriseAdministratorRoleInput - - _args: UpdateEnterpriseAdministratorRolePayloadArgs - - - type: UpdateEnterpriseAdministratorRolePayload - -class updateEnterpriseAllowPrivateRepositoryForkingSetting(GQLMutation): - """ - updateEnterpriseAllowPrivateRepositoryForkingSetting - Sets whether private repository forks are enabled for an enterprise. - - """ - class UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseAllowPrivateRepositoryForkingSetting - - """ - input: NonNull_UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput - - _args: UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayloadArgs - - - type: UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload - -class updateEnterpriseDefaultRepositoryPermissionSetting(GQLMutation): - """ - updateEnterpriseDefaultRepositoryPermissionSetting - Sets the base repository permission for organizations in an enterprise. - - """ - class UpdateEnterpriseDefaultRepositoryPermissionSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseDefaultRepositoryPermissionSetting - - """ - input: NonNull_UpdateEnterpriseDefaultRepositoryPermissionSettingInput - - _args: UpdateEnterpriseDefaultRepositoryPermissionSettingPayloadArgs - - - type: UpdateEnterpriseDefaultRepositoryPermissionSettingPayload - -class updateEnterpriseMembersCanChangeRepositoryVisibilitySetting(GQLMutation): - """ - updateEnterpriseMembersCanChangeRepositoryVisibilitySetting - Sets whether organization members with admin permissions on a repository can change repository visibility. - - """ - class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting - - """ - input: NonNull_UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput - - _args: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayloadArgs - - - type: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload - -class updateEnterpriseMembersCanCreateRepositoriesSetting(GQLMutation): - """ - updateEnterpriseMembersCanCreateRepositoriesSetting - Sets the members can create repositories setting for an enterprise. - - """ - class UpdateEnterpriseMembersCanCreateRepositoriesSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanCreateRepositoriesSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanCreateRepositoriesSettingInput - - _args: UpdateEnterpriseMembersCanCreateRepositoriesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload - -class updateEnterpriseMembersCanDeleteIssuesSetting(GQLMutation): - """ - updateEnterpriseMembersCanDeleteIssuesSetting - Sets the members can delete issues setting for an enterprise. - - """ - class UpdateEnterpriseMembersCanDeleteIssuesSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanDeleteIssuesSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanDeleteIssuesSettingInput - - _args: UpdateEnterpriseMembersCanDeleteIssuesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanDeleteIssuesSettingPayload - -class updateEnterpriseMembersCanDeleteRepositoriesSetting(GQLMutation): - """ - updateEnterpriseMembersCanDeleteRepositoriesSetting - Sets the members can delete repositories setting for an enterprise. - - """ - class UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanDeleteRepositoriesSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput - - _args: UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload - -class updateEnterpriseMembersCanInviteCollaboratorsSetting(GQLMutation): - """ - updateEnterpriseMembersCanInviteCollaboratorsSetting - Sets whether members can invite collaborators are enabled for an enterprise. - - """ - class UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanInviteCollaboratorsSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput - - _args: UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload - -class updateEnterpriseMembersCanMakePurchasesSetting(GQLMutation): - """ - updateEnterpriseMembersCanMakePurchasesSetting - Sets whether or not an organization admin can make purchases. - - """ - class UpdateEnterpriseMembersCanMakePurchasesSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanMakePurchasesSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanMakePurchasesSettingInput - - _args: UpdateEnterpriseMembersCanMakePurchasesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanMakePurchasesSettingPayload - -class updateEnterpriseMembersCanUpdateProtectedBranchesSetting(GQLMutation): - """ - updateEnterpriseMembersCanUpdateProtectedBranchesSetting - Sets the members can update protected branches setting for an enterprise. - - """ - class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput - - _args: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload - -class updateEnterpriseMembersCanViewDependencyInsightsSetting(GQLMutation): - """ - updateEnterpriseMembersCanViewDependencyInsightsSetting - Sets the members can view dependency insights for an enterprise. - - """ - class UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseMembersCanViewDependencyInsightsSetting - - """ - input: NonNull_UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput - - _args: UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload - -class updateEnterpriseOrganizationProjectsSetting(GQLMutation): - """ - updateEnterpriseOrganizationProjectsSetting - Sets whether organization projects are enabled for an enterprise. - - """ - class UpdateEnterpriseOrganizationProjectsSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseOrganizationProjectsSetting - - """ - input: NonNull_UpdateEnterpriseOrganizationProjectsSettingInput - - _args: UpdateEnterpriseOrganizationProjectsSettingPayloadArgs - - - type: UpdateEnterpriseOrganizationProjectsSettingPayload - -class updateEnterpriseOwnerOrganizationRole(GQLMutation): - """ - updateEnterpriseOwnerOrganizationRole - Updates the role of an enterprise owner with an organization. - - """ - class UpdateEnterpriseOwnerOrganizationRolePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseOwnerOrganizationRole - - """ - input: NonNull_UpdateEnterpriseOwnerOrganizationRoleInput - - _args: UpdateEnterpriseOwnerOrganizationRolePayloadArgs - - - type: UpdateEnterpriseOwnerOrganizationRolePayload - -class updateEnterpriseProfile(GQLMutation): - """ - updateEnterpriseProfile - Updates an enterprise's profile. - - """ - class UpdateEnterpriseProfilePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseProfile - - """ - input: NonNull_UpdateEnterpriseProfileInput - - _args: UpdateEnterpriseProfilePayloadArgs - - - type: UpdateEnterpriseProfilePayload - -class updateEnterpriseRepositoryProjectsSetting(GQLMutation): - """ - updateEnterpriseRepositoryProjectsSetting - Sets whether repository projects are enabled for a enterprise. - - """ - class UpdateEnterpriseRepositoryProjectsSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseRepositoryProjectsSetting - - """ - input: NonNull_UpdateEnterpriseRepositoryProjectsSettingInput - - _args: UpdateEnterpriseRepositoryProjectsSettingPayloadArgs - - - type: UpdateEnterpriseRepositoryProjectsSettingPayload - -class updateEnterpriseTeamDiscussionsSetting(GQLMutation): - """ - updateEnterpriseTeamDiscussionsSetting - Sets whether team discussions are enabled for an enterprise. - - """ - class UpdateEnterpriseTeamDiscussionsSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseTeamDiscussionsSetting - - """ - input: NonNull_UpdateEnterpriseTeamDiscussionsSettingInput - - _args: UpdateEnterpriseTeamDiscussionsSettingPayloadArgs - - - type: UpdateEnterpriseTeamDiscussionsSettingPayload - -class updateEnterpriseTwoFactorAuthenticationRequiredSetting(GQLMutation): - """ - updateEnterpriseTwoFactorAuthenticationRequiredSetting - Sets whether two factor authentication is required for all users in an enterprise. - - """ - class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnterpriseTwoFactorAuthenticationRequiredSetting - - """ - input: NonNull_UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput - - _args: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayloadArgs - - - type: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload - -class updateEnvironment(GQLMutation): - """ - updateEnvironment - Updates an environment. - - """ - class UpdateEnvironmentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateEnvironment - - """ - input: NonNull_UpdateEnvironmentInput - - _args: UpdateEnvironmentPayloadArgs - - - type: UpdateEnvironmentPayload - -class updateIpAllowListEnabledSetting(GQLMutation): - """ - updateIpAllowListEnabledSetting - Sets whether an IP allow list is enabled on an owner. - - """ - class UpdateIpAllowListEnabledSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateIpAllowListEnabledSetting - - """ - input: NonNull_UpdateIpAllowListEnabledSettingInput - - _args: UpdateIpAllowListEnabledSettingPayloadArgs - - - type: UpdateIpAllowListEnabledSettingPayload - -class updateIpAllowListEntry(GQLMutation): - """ - updateIpAllowListEntry - Updates an IP allow list entry. - - """ - class UpdateIpAllowListEntryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateIpAllowListEntry - - """ - input: NonNull_UpdateIpAllowListEntryInput - - _args: UpdateIpAllowListEntryPayloadArgs - - - type: UpdateIpAllowListEntryPayload - -class updateIpAllowListForInstalledAppsEnabledSetting(GQLMutation): - """ - updateIpAllowListForInstalledAppsEnabledSetting - Sets whether IP allow list configuration for installed GitHub Apps is enabled on an owner. - - """ - class UpdateIpAllowListForInstalledAppsEnabledSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateIpAllowListForInstalledAppsEnabledSetting - - """ - input: NonNull_UpdateIpAllowListForInstalledAppsEnabledSettingInput - - _args: UpdateIpAllowListForInstalledAppsEnabledSettingPayloadArgs - - - type: UpdateIpAllowListForInstalledAppsEnabledSettingPayload - -class updateIssue(GQLMutation): - """ - updateIssue - Updates an Issue. - - """ - class UpdateIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateIssue - - """ - input: NonNull_UpdateIssueInput - - _args: UpdateIssuePayloadArgs - - - type: UpdateIssuePayload - -class updateIssueComment(GQLMutation): - """ - updateIssueComment - Updates an IssueComment object. - - """ - class UpdateIssueCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateIssueComment - - """ - input: NonNull_UpdateIssueCommentInput - - _args: UpdateIssueCommentPayloadArgs - - - type: UpdateIssueCommentPayload - -class updateNotificationRestrictionSetting(GQLMutation): - """ - updateNotificationRestrictionSetting - Update the setting to restrict notifications to only verified or approved domains available to an owner. - - """ - class UpdateNotificationRestrictionSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateNotificationRestrictionSetting - - """ - input: NonNull_UpdateNotificationRestrictionSettingInput - - _args: UpdateNotificationRestrictionSettingPayloadArgs - - - type: UpdateNotificationRestrictionSettingPayload - -class updateOrganizationAllowPrivateRepositoryForkingSetting(GQLMutation): - """ - updateOrganizationAllowPrivateRepositoryForkingSetting - Sets whether private repository forks are enabled for an organization. - - """ - class UpdateOrganizationAllowPrivateRepositoryForkingSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateOrganizationAllowPrivateRepositoryForkingSetting - - """ - input: NonNull_UpdateOrganizationAllowPrivateRepositoryForkingSettingInput - - _args: UpdateOrganizationAllowPrivateRepositoryForkingSettingPayloadArgs - - - type: UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload - -class updateOrganizationWebCommitSignoffSetting(GQLMutation): - """ - updateOrganizationWebCommitSignoffSetting - Sets whether contributors are required to sign off on web-based commits for repositories in an organization. - - """ - class UpdateOrganizationWebCommitSignoffSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateOrganizationWebCommitSignoffSetting - - """ - input: NonNull_UpdateOrganizationWebCommitSignoffSettingInput - - _args: UpdateOrganizationWebCommitSignoffSettingPayloadArgs - - - type: UpdateOrganizationWebCommitSignoffSettingPayload - -class updateProject(GQLMutation): - """ - updateProject - Updates an existing project. - - """ - class UpdateProjectPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProject - - """ - input: NonNull_UpdateProjectInput - - _args: UpdateProjectPayloadArgs - - - type: UpdateProjectPayload - -class updateProjectCard(GQLMutation): - """ - updateProjectCard - Updates an existing project card. - - """ - class UpdateProjectCardPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectCard - - """ - input: NonNull_UpdateProjectCardInput - - _args: UpdateProjectCardPayloadArgs - - - type: UpdateProjectCardPayload - -class updateProjectColumn(GQLMutation): - """ - updateProjectColumn - Updates an existing project column. - - """ - class UpdateProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectColumn - - """ - input: NonNull_UpdateProjectColumnInput - - _args: UpdateProjectColumnPayloadArgs - - - type: UpdateProjectColumnPayload - -class updateProjectV2(GQLMutation): - """ - updateProjectV2 - Updates an existing project (beta). - - """ - class UpdateProjectV2PayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectV2 - - """ - input: NonNull_UpdateProjectV2Input - - _args: UpdateProjectV2PayloadArgs - - - type: UpdateProjectV2Payload - -class updateProjectV2Collaborators(GQLMutation): - """ - updateProjectV2Collaborators - Update the collaborators on a team or a project - - """ - class UpdateProjectV2CollaboratorsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectV2Collaborators - - """ - input: NonNull_UpdateProjectV2CollaboratorsInput - - _args: UpdateProjectV2CollaboratorsPayloadArgs - - - type: UpdateProjectV2CollaboratorsPayload - -class updateProjectV2DraftIssue(GQLMutation): - """ - updateProjectV2DraftIssue - Updates a draft issue within a Project. - - """ - class UpdateProjectV2DraftIssuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectV2DraftIssue - - """ - input: NonNull_UpdateProjectV2DraftIssueInput - - _args: UpdateProjectV2DraftIssuePayloadArgs - - - type: UpdateProjectV2DraftIssuePayload - -class updateProjectV2ItemFieldValue(GQLMutation): - """ - updateProjectV2ItemFieldValue - This mutation updates the value of a field for an item in a Project. Currently only single-select, text, number, date, and iteration fields are supported. - - """ - class UpdateProjectV2ItemFieldValuePayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectV2ItemFieldValue - - """ - input: NonNull_UpdateProjectV2ItemFieldValueInput - - _args: UpdateProjectV2ItemFieldValuePayloadArgs - - - type: UpdateProjectV2ItemFieldValuePayload - -class updateProjectV2ItemPosition(GQLMutation): - """ - updateProjectV2ItemPosition - This mutation updates the position of the item in the project, where the position represents the priority of an item. - - """ - class UpdateProjectV2ItemPositionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateProjectV2ItemPosition - - """ - input: NonNull_UpdateProjectV2ItemPositionInput - - _args: UpdateProjectV2ItemPositionPayloadArgs - - - type: UpdateProjectV2ItemPositionPayload - -class updatePullRequest(GQLMutation): - """ - updatePullRequest - Update a pull request - - """ - class UpdatePullRequestPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdatePullRequest - - """ - input: NonNull_UpdatePullRequestInput - - _args: UpdatePullRequestPayloadArgs - - - type: UpdatePullRequestPayload - -class updatePullRequestBranch(GQLMutation): - """ - updatePullRequestBranch - Merge or Rebase HEAD from upstream branch into pull request branch - - """ - class UpdatePullRequestBranchPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdatePullRequestBranch - - """ - input: NonNull_UpdatePullRequestBranchInput - - _args: UpdatePullRequestBranchPayloadArgs - - - type: UpdatePullRequestBranchPayload - -class updatePullRequestReview(GQLMutation): - """ - updatePullRequestReview - Updates the body of a pull request review. - - """ - class UpdatePullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdatePullRequestReview - - """ - input: NonNull_UpdatePullRequestReviewInput - - _args: UpdatePullRequestReviewPayloadArgs - - - type: UpdatePullRequestReviewPayload - -class updatePullRequestReviewComment(GQLMutation): - """ - updatePullRequestReviewComment - Updates a pull request review comment. - - """ - class UpdatePullRequestReviewCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdatePullRequestReviewComment - - """ - input: NonNull_UpdatePullRequestReviewCommentInput - - _args: UpdatePullRequestReviewCommentPayloadArgs - - - type: UpdatePullRequestReviewCommentPayload - -class updateRef(GQLMutation): - """ - updateRef - Update a Git Ref. - - """ - class UpdateRefPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateRef - - """ - input: NonNull_UpdateRefInput - - _args: UpdateRefPayloadArgs - - - type: UpdateRefPayload - -class updateRepository(GQLMutation): - """ - updateRepository - Update information about a repository. - - """ - class UpdateRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateRepository - - """ - input: NonNull_UpdateRepositoryInput - - _args: UpdateRepositoryPayloadArgs - - - type: UpdateRepositoryPayload - -class updateRepositoryRuleset(GQLMutation): - """ - updateRepositoryRuleset - Update a repository ruleset - - """ - class UpdateRepositoryRulesetPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateRepositoryRuleset - - """ - input: NonNull_UpdateRepositoryRulesetInput - - _args: UpdateRepositoryRulesetPayloadArgs - - - type: UpdateRepositoryRulesetPayload - -class updateRepositoryWebCommitSignoffSetting(GQLMutation): - """ - updateRepositoryWebCommitSignoffSetting - Sets whether contributors are required to sign off on web-based commits for a repository. - - """ - class UpdateRepositoryWebCommitSignoffSettingPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateRepositoryWebCommitSignoffSetting - - """ - input: NonNull_UpdateRepositoryWebCommitSignoffSettingInput - - _args: UpdateRepositoryWebCommitSignoffSettingPayloadArgs - - - type: UpdateRepositoryWebCommitSignoffSettingPayload - -class updateSponsorshipPreferences(GQLMutation): - """ - updateSponsorshipPreferences - Change visibility of your sponsorship and opt in or out of email updates from the maintainer. - - """ - class UpdateSponsorshipPreferencesPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateSponsorshipPreferences - - """ - input: NonNull_UpdateSponsorshipPreferencesInput - - _args: UpdateSponsorshipPreferencesPayloadArgs - - - type: UpdateSponsorshipPreferencesPayload - -class updateSubscription(GQLMutation): - """ - updateSubscription - Updates the state for subscribable subjects. - - """ - class UpdateSubscriptionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateSubscription - - """ - input: NonNull_UpdateSubscriptionInput - - _args: UpdateSubscriptionPayloadArgs - - - type: UpdateSubscriptionPayload - -class updateTeamDiscussion(GQLMutation): - """ - updateTeamDiscussion - Updates a team discussion. - - """ - class UpdateTeamDiscussionPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateTeamDiscussion - - """ - input: NonNull_UpdateTeamDiscussionInput - - _args: UpdateTeamDiscussionPayloadArgs - - - type: UpdateTeamDiscussionPayload - -class updateTeamDiscussionComment(GQLMutation): - """ - updateTeamDiscussionComment - Updates a discussion comment. - - """ - class UpdateTeamDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateTeamDiscussionComment - - """ - input: NonNull_UpdateTeamDiscussionCommentInput - - _args: UpdateTeamDiscussionCommentPayloadArgs - - - type: UpdateTeamDiscussionCommentPayload - -class updateTeamsRepository(GQLMutation): - """ - updateTeamsRepository - Update team repository. - - """ - class UpdateTeamsRepositoryPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateTeamsRepository - - """ - input: NonNull_UpdateTeamsRepositoryInput - - _args: UpdateTeamsRepositoryPayloadArgs - - - type: UpdateTeamsRepositoryPayload - -class updateTopics(GQLMutation): - """ - updateTopics - Replaces the repository's topics with the given topics. - - """ - class UpdateTopicsPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for UpdateTopics - - """ - input: NonNull_UpdateTopicsInput - - _args: UpdateTopicsPayloadArgs - - - type: UpdateTopicsPayload - -class verifyVerifiableDomain(GQLMutation): - """ - verifyVerifiableDomain - Verify that a verifiable domain has the expected DNS record. - - """ - class VerifyVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - """ - input - Parameters for VerifyVerifiableDomain - - """ - input: NonNull_VerifyVerifiableDomainInput - - _args: VerifyVerifiableDomainPayloadArgs - - - type: VerifyVerifiableDomainPayload - - -class Mutations(Enum): - abortQueuedMigrations = abortQueuedMigrations - acceptEnterpriseAdministratorInvitation = acceptEnterpriseAdministratorInvitation - acceptTopicSuggestion = acceptTopicSuggestion - addAssigneesToAssignable = addAssigneesToAssignable - addComment = addComment - addDiscussionComment = addDiscussionComment - addDiscussionPollVote = addDiscussionPollVote - addEnterpriseOrganizationMember = addEnterpriseOrganizationMember - addEnterpriseSupportEntitlement = addEnterpriseSupportEntitlement - addLabelsToLabelable = addLabelsToLabelable - addProjectCard = addProjectCard - addProjectColumn = addProjectColumn - addProjectV2DraftIssue = addProjectV2DraftIssue - addProjectV2ItemById = addProjectV2ItemById - addPullRequestReview = addPullRequestReview - addPullRequestReviewComment = addPullRequestReviewComment - addPullRequestReviewThread = addPullRequestReviewThread - addPullRequestReviewThreadReply = addPullRequestReviewThreadReply - addReaction = addReaction - addStar = addStar - addUpvote = addUpvote - addVerifiableDomain = addVerifiableDomain - approveDeployments = approveDeployments - approveVerifiableDomain = approveVerifiableDomain - archiveProjectV2Item = archiveProjectV2Item - archiveRepository = archiveRepository - cancelEnterpriseAdminInvitation = cancelEnterpriseAdminInvitation - cancelSponsorship = cancelSponsorship - changeUserStatus = changeUserStatus - clearLabelsFromLabelable = clearLabelsFromLabelable - clearProjectV2ItemFieldValue = clearProjectV2ItemFieldValue - cloneProject = cloneProject - cloneTemplateRepository = cloneTemplateRepository - closeDiscussion = closeDiscussion - closeIssue = closeIssue - closePullRequest = closePullRequest - convertProjectCardNoteToIssue = convertProjectCardNoteToIssue - convertPullRequestToDraft = convertPullRequestToDraft - copyProjectV2 = copyProjectV2 - createAttributionInvitation = createAttributionInvitation - createBranchProtectionRule = createBranchProtectionRule - createCheckRun = createCheckRun - createCheckSuite = createCheckSuite - createCommitOnBranch = createCommitOnBranch - createDiscussion = createDiscussion - createEnterpriseOrganization = createEnterpriseOrganization - createEnvironment = createEnvironment - createIpAllowListEntry = createIpAllowListEntry - createIssue = createIssue - createLinkedBranch = createLinkedBranch - createMigrationSource = createMigrationSource - createProject = createProject - createProjectV2 = createProjectV2 - createProjectV2Field = createProjectV2Field - createPullRequest = createPullRequest - createRef = createRef - createRepository = createRepository - createRepositoryRuleset = createRepositoryRuleset - createSponsorsListing = createSponsorsListing - createSponsorsTier = createSponsorsTier - createSponsorship = createSponsorship - createSponsorships = createSponsorships - createTeamDiscussion = createTeamDiscussion - createTeamDiscussionComment = createTeamDiscussionComment - declineTopicSuggestion = declineTopicSuggestion - deleteBranchProtectionRule = deleteBranchProtectionRule - deleteDeployment = deleteDeployment - deleteDiscussion = deleteDiscussion - deleteDiscussionComment = deleteDiscussionComment - deleteEnvironment = deleteEnvironment - deleteIpAllowListEntry = deleteIpAllowListEntry - deleteIssue = deleteIssue - deleteIssueComment = deleteIssueComment - deleteLinkedBranch = deleteLinkedBranch - deleteProject = deleteProject - deleteProjectCard = deleteProjectCard - deleteProjectColumn = deleteProjectColumn - deleteProjectV2 = deleteProjectV2 - deleteProjectV2Field = deleteProjectV2Field - deleteProjectV2Item = deleteProjectV2Item - deleteProjectV2Workflow = deleteProjectV2Workflow - deletePullRequestReview = deletePullRequestReview - deletePullRequestReviewComment = deletePullRequestReviewComment - deleteRef = deleteRef - deleteRepositoryRuleset = deleteRepositoryRuleset - deleteTeamDiscussion = deleteTeamDiscussion - deleteTeamDiscussionComment = deleteTeamDiscussionComment - deleteVerifiableDomain = deleteVerifiableDomain - dequeuePullRequest = dequeuePullRequest - disablePullRequestAutoMerge = disablePullRequestAutoMerge - dismissPullRequestReview = dismissPullRequestReview - dismissRepositoryVulnerabilityAlert = dismissRepositoryVulnerabilityAlert - enablePullRequestAutoMerge = enablePullRequestAutoMerge - enqueuePullRequest = enqueuePullRequest - followOrganization = followOrganization - followUser = followUser - grantEnterpriseOrganizationsMigratorRole = grantEnterpriseOrganizationsMigratorRole - grantMigratorRole = grantMigratorRole - inviteEnterpriseAdmin = inviteEnterpriseAdmin - linkProjectV2ToRepository = linkProjectV2ToRepository - linkProjectV2ToTeam = linkProjectV2ToTeam - linkRepositoryToProject = linkRepositoryToProject - lockLockable = lockLockable - markDiscussionCommentAsAnswer = markDiscussionCommentAsAnswer - markFileAsViewed = markFileAsViewed - markProjectV2AsTemplate = markProjectV2AsTemplate - markPullRequestReadyForReview = markPullRequestReadyForReview - mergeBranch = mergeBranch - mergePullRequest = mergePullRequest - minimizeComment = minimizeComment - moveProjectCard = moveProjectCard - moveProjectColumn = moveProjectColumn - pinIssue = pinIssue - publishSponsorsTier = publishSponsorsTier - regenerateEnterpriseIdentityProviderRecoveryCodes = regenerateEnterpriseIdentityProviderRecoveryCodes - regenerateVerifiableDomainToken = regenerateVerifiableDomainToken - rejectDeployments = rejectDeployments - removeAssigneesFromAssignable = removeAssigneesFromAssignable - removeEnterpriseAdmin = removeEnterpriseAdmin - removeEnterpriseIdentityProvider = removeEnterpriseIdentityProvider - removeEnterpriseMember = removeEnterpriseMember - removeEnterpriseOrganization = removeEnterpriseOrganization - removeEnterpriseSupportEntitlement = removeEnterpriseSupportEntitlement - removeLabelsFromLabelable = removeLabelsFromLabelable - removeOutsideCollaborator = removeOutsideCollaborator - removeReaction = removeReaction - removeStar = removeStar - removeUpvote = removeUpvote - reopenDiscussion = reopenDiscussion - reopenIssue = reopenIssue - reopenPullRequest = reopenPullRequest - requestReviews = requestReviews - rerequestCheckSuite = rerequestCheckSuite - resolveReviewThread = resolveReviewThread - retireSponsorsTier = retireSponsorsTier - revertPullRequest = revertPullRequest - revokeEnterpriseOrganizationsMigratorRole = revokeEnterpriseOrganizationsMigratorRole - revokeMigratorRole = revokeMigratorRole - setEnterpriseIdentityProvider = setEnterpriseIdentityProvider - setOrganizationInteractionLimit = setOrganizationInteractionLimit - setRepositoryInteractionLimit = setRepositoryInteractionLimit - setUserInteractionLimit = setUserInteractionLimit - startOrganizationMigration = startOrganizationMigration - startRepositoryMigration = startRepositoryMigration - submitPullRequestReview = submitPullRequestReview - transferEnterpriseOrganization = transferEnterpriseOrganization - transferIssue = transferIssue - unarchiveProjectV2Item = unarchiveProjectV2Item - unarchiveRepository = unarchiveRepository - unfollowOrganization = unfollowOrganization - unfollowUser = unfollowUser - unlinkProjectV2FromRepository = unlinkProjectV2FromRepository - unlinkProjectV2FromTeam = unlinkProjectV2FromTeam - unlinkRepositoryFromProject = unlinkRepositoryFromProject - unlockLockable = unlockLockable - unmarkDiscussionCommentAsAnswer = unmarkDiscussionCommentAsAnswer - unmarkFileAsViewed = unmarkFileAsViewed - unmarkIssueAsDuplicate = unmarkIssueAsDuplicate - unmarkProjectV2AsTemplate = unmarkProjectV2AsTemplate - unminimizeComment = unminimizeComment - unpinIssue = unpinIssue - unresolveReviewThread = unresolveReviewThread - updateBranchProtectionRule = updateBranchProtectionRule - updateCheckRun = updateCheckRun - updateCheckSuitePreferences = updateCheckSuitePreferences - updateDiscussion = updateDiscussion - updateDiscussionComment = updateDiscussionComment - updateEnterpriseAdministratorRole = updateEnterpriseAdministratorRole - updateEnterpriseAllowPrivateRepositoryForkingSetting = updateEnterpriseAllowPrivateRepositoryForkingSetting - updateEnterpriseDefaultRepositoryPermissionSetting = updateEnterpriseDefaultRepositoryPermissionSetting - updateEnterpriseMembersCanChangeRepositoryVisibilitySetting = updateEnterpriseMembersCanChangeRepositoryVisibilitySetting - updateEnterpriseMembersCanCreateRepositoriesSetting = updateEnterpriseMembersCanCreateRepositoriesSetting - updateEnterpriseMembersCanDeleteIssuesSetting = updateEnterpriseMembersCanDeleteIssuesSetting - updateEnterpriseMembersCanDeleteRepositoriesSetting = updateEnterpriseMembersCanDeleteRepositoriesSetting - updateEnterpriseMembersCanInviteCollaboratorsSetting = updateEnterpriseMembersCanInviteCollaboratorsSetting - updateEnterpriseMembersCanMakePurchasesSetting = updateEnterpriseMembersCanMakePurchasesSetting - updateEnterpriseMembersCanUpdateProtectedBranchesSetting = updateEnterpriseMembersCanUpdateProtectedBranchesSetting - updateEnterpriseMembersCanViewDependencyInsightsSetting = updateEnterpriseMembersCanViewDependencyInsightsSetting - updateEnterpriseOrganizationProjectsSetting = updateEnterpriseOrganizationProjectsSetting - updateEnterpriseOwnerOrganizationRole = updateEnterpriseOwnerOrganizationRole - updateEnterpriseProfile = updateEnterpriseProfile - updateEnterpriseRepositoryProjectsSetting = updateEnterpriseRepositoryProjectsSetting - updateEnterpriseTeamDiscussionsSetting = updateEnterpriseTeamDiscussionsSetting - updateEnterpriseTwoFactorAuthenticationRequiredSetting = updateEnterpriseTwoFactorAuthenticationRequiredSetting - updateEnvironment = updateEnvironment - updateIpAllowListEnabledSetting = updateIpAllowListEnabledSetting - updateIpAllowListEntry = updateIpAllowListEntry - updateIpAllowListForInstalledAppsEnabledSetting = updateIpAllowListForInstalledAppsEnabledSetting - updateIssue = updateIssue - updateIssueComment = updateIssueComment - updateNotificationRestrictionSetting = updateNotificationRestrictionSetting - updateOrganizationAllowPrivateRepositoryForkingSetting = updateOrganizationAllowPrivateRepositoryForkingSetting - updateOrganizationWebCommitSignoffSetting = updateOrganizationWebCommitSignoffSetting - updateProject = updateProject - updateProjectCard = updateProjectCard - updateProjectColumn = updateProjectColumn - updateProjectV2 = updateProjectV2 - updateProjectV2Collaborators = updateProjectV2Collaborators - updateProjectV2DraftIssue = updateProjectV2DraftIssue - updateProjectV2ItemFieldValue = updateProjectV2ItemFieldValue - updateProjectV2ItemPosition = updateProjectV2ItemPosition - updatePullRequest = updatePullRequest - updatePullRequestBranch = updatePullRequestBranch - updatePullRequestReview = updatePullRequestReview - updatePullRequestReviewComment = updatePullRequestReviewComment - updateRef = updateRef - updateRepository = updateRepository - updateRepositoryRuleset = updateRepositoryRuleset - updateRepositoryWebCommitSignoffSetting = updateRepositoryWebCommitSignoffSetting - updateSponsorshipPreferences = updateSponsorshipPreferences - updateSubscription = updateSubscription - updateTeamDiscussion = updateTeamDiscussion - updateTeamDiscussionComment = updateTeamDiscussionComment - updateTeamsRepository = updateTeamsRepository - updateTopics = updateTopics - verifyVerifiableDomain = verifyVerifiableDomain diff --git a/tests/output/github/organization.py b/tests/output/github/organization.py new file mode 100644 index 0000000..735e37c --- /dev/null +++ b/tests/output/github/organization.py @@ -0,0 +1,327 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + IpAllowListEnabledSettingValue, + IpAllowListForInstalledAppsEnabledSettingValue, + NotificationRestrictionSettingValue, +) +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .repository import Repository + from .team import Team + from .project_v2 import ProjectV2 + from .project import Project + from .repository_ruleset import RepositoryRuleset + from .ip_allow_list_entry_connection import IpAllowListEntryConnection + from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection + from .sponsors_listing import SponsorsListing + from .gql_types import RepositoryInteractionAbility + from .gql_types import TeamConnection + from .gql_types import UserStatusConnection + from .gql_types import ProjectV2Connection + from .gql_types import RepositoryConnection + from .gql_types import DiscussionCommentConnection + from .gql_types import DiscussionConnection + from .gql_types import PackageConnection + from .gql_types import ProjectConnection + from .gql_types import RepositoryRulesetConnection + from .gql_types import OrganizationAuditEntryConnection + from .gql_types import VerifiableDomainConnection + from .gql_types import OrganizationEnterpriseOwnerConnection + from .gql_types import PinnableItemConnection + from .gql_types import ProfileItemShowcase + from .gql_types import SponsorConnection + from .gql_types import Sponsorship + from .gql_types import SponsorshipConnection + from .gql_types import SponsorsActivityConnection + from .gql_types import SponsorshipNewsletterConnection + from .gql_types import MannequinConnection + from .gql_types import OrganizationMemberConnection + from .gql_types import RepositoryMigrationConnection + from .gql_types import OrganizationIdentityProvider + + +@dataclass(kw_only=True) +class Organization: + """ + Organization - An account on GitHub, with one or more owners, that has repositories, members and teams. + + announcement - The text of the announcement + + announcementExpiresAt - The expiration date of the announcement, if any + + announcementUserDismissible - Whether the announcement can be dismissed by the user + + anyPinnableItems - Determine if this repository owner has any items that can be pinned to their profile. + + archivedAt - Identifies the date and time when the organization was archived. + + auditLog - Audit log entries of the organization + + avatarUrl - A URL pointing to the organization's public avatar. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + description - The organization's public profile description. + + descriptionHTML - The organization's public profile description rendered to HTML. + + domains - A list of domains owned by the organization. + + email - The organization's public email. + + enterpriseOwners - A list of owners of the organization's enterprise account. + + estimatedNextSponsorsPayoutInCents - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). + + hasSponsorsListing - True if this user/organization has a GitHub Sponsors listing. + + id - The Node ID of the Organization object + + interactionAbility - The interaction ability settings for this organization. + + ipAllowListEnabledSetting - The setting value for whether the organization has an IP allow list enabled. + + ipAllowListEntries - The IP addresses that are allowed to access resources owned by the organization. + + ipAllowListForInstalledAppsEnabledSetting - The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. + + isSponsoredBy - Whether the given account is sponsoring this user/organization. + + isSponsoringViewer - True if the viewer is sponsored by this user/organization. + + isVerified - Whether the organization has verified its profile email and website. + + itemShowcase - Showcases a selection of repositories and gists that the profile owner has + either curated or that have been selected automatically based on popularity. + + lifetimeReceivedSponsorshipValues - Calculate how much each sponsor has ever paid total to this maintainer via + GitHub Sponsors. Does not include sponsorships paid via Patreon. + + location - The organization's public profile location. + + login - The organization's login name. + + mannequins - A list of all mannequins for this organization. + + memberStatuses - Get the status messages members of this entity have set that are either public or visible only to the organization. + + membersCanForkPrivateRepositories - Members can fork private repositories in this organization + + membersWithRole - A list of users who are members of this organization. + + monthlyEstimatedSponsorsIncomeInCents - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + + name - The organization's public profile name. + + newTeamResourcePath - The HTTP path creating a new team + + newTeamUrl - The HTTP URL creating a new team + + notificationDeliveryRestrictionEnabledSetting - Indicates if email notification delivery for this organization is restricted to verified or approved domains. + + organizationBillingEmail - The billing email for the organization. + + packages - A list of packages under the owner. + + pendingMembers - A list of users who have been invited to join this organization. + + pinnableItems - A list of repositories and gists this profile owner can pin to their profile. + + pinnedItems - A list of repositories and gists this profile owner has pinned to their profile + + pinnedItemsRemaining - Returns how many more items this profile owner can pin to their profile. + + project - Find project by number. + + projectV2 - Find a project by number. + + projects - A list of projects under the owner. + + projectsResourcePath - The HTTP path listing organization's projects + + projectsUrl - The HTTP URL listing organization's projects + + projectsV2 - A list of projects under the owner. + + recentProjects - Recent projects that this user has modified in the context of the owner. + + repositories - A list of repositories that the user owns. + + repository - Find Repository. + + repositoryDiscussionComments - Discussion comments this user has authored. + + repositoryDiscussions - Discussions this user has started. + + repositoryMigrations - A list of all repository migrations for this organization. + + requiresTwoFactorAuthentication - When true the organization requires all members, billing managers, and outside + collaborators to enable two-factor authentication. + + resourcePath - The HTTP path for this organization. + + ruleset - Returns a single ruleset from the current organization by ID. + + rulesets - A list of rulesets for this organization. + + samlIdentityProvider - The Organization's SAML identity provider. Visible to (1) organization owners, + (2) organization owners' personal access tokens (classic) with read:org or + admin:org scope, (3) GitHub App with an installation token with read or write + access to members. + + sponsoring - List of users and organizations this entity is sponsoring. + + sponsors - List of sponsors for this user or organization. + + sponsorsActivities - Events involving this sponsorable, such as new sponsorships. + + sponsorsListing - The GitHub Sponsors listing for this user or organization. + + sponsorshipForViewerAsSponsor - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + + sponsorshipForViewerAsSponsorable - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + + sponsorshipNewsletters - List of sponsorship updates sent from this sponsorable to sponsors. + + sponsorshipsAsMaintainer - The sponsorships where this user or organization is the maintainer receiving the funds. + + sponsorshipsAsSponsor - The sponsorships where this user or organization is the funder. + + team - Find an organization's team by its slug. + + teams - A list of teams in this organization. + + teamsResourcePath - The HTTP path listing organization's teams + + teamsUrl - The HTTP URL listing organization's teams + + totalSponsorshipAmountAsSponsorInCents - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + spent on GitHub to fund sponsorships. Only returns a value when viewed by the + user themselves or by a user who can manage sponsorships for the requested organization. + + twitterUsername - The organization's Twitter username. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this organization. + + viewerCanAdminister - Organization is adminable by the viewer. + + viewerCanChangePinnedItems - Can the viewer pin repositories and gists to the profile? + + viewerCanCreateProjects - Can the current viewer create new projects on this owner. + + viewerCanCreateRepositories - Viewer can create repositories on this organization + + viewerCanCreateTeams - Viewer can create teams on this organization. + + viewerCanSponsor - Whether or not the viewer is able to sponsor this user/organization. + + viewerIsAMember - Viewer is an active member of this organization. + + viewerIsFollowing - Whether or not this Organization is followed by the viewer. + + viewerIsSponsoring - True if the viewer is sponsoring this user/organization. + + webCommitSignoffRequired - Whether contributors are required to sign off on web-based commits for repositories in this organization. + + websiteUrl - The organization's public profile URL. + + """ + + announcement: Optional[str] = None + announcement_expires_at: Optional[DateTime] = None + announcement_user_dismissible: Optional[bool] = None + any_pinnable_items: bool + archived_at: Optional[DateTime] = None + audit_log: OrganizationAuditEntryConnection + avatar_url: URI + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: Optional[str] = None + domains: Optional[VerifiableDomainConnection] = None + email: Optional[str] = None + enterprise_owners: OrganizationEnterpriseOwnerConnection + estimated_next_sponsors_payout_in_cents: int + has_sponsors_listing: bool + id: ID + interaction_ability: Optional[RepositoryInteractionAbility] = None + ip_allow_list_enabled_setting: IpAllowListEnabledSettingValue + ip_allow_list_entries: IpAllowListEntryConnection + ip_allow_list_for_installed_apps_enabled_setting: IpAllowListForInstalledAppsEnabledSettingValue + is_sponsored_by: bool + is_sponsoring_viewer: bool + is_verified: bool + item_showcase: ProfileItemShowcase + lifetime_received_sponsorship_values: SponsorAndLifetimeValueConnection + location: Optional[str] = None + login: str + mannequins: MannequinConnection + member_statuses: UserStatusConnection + members_can_fork_private_repositories: bool + members_with_role: OrganizationMemberConnection + monthly_estimated_sponsors_income_in_cents: int + name: Optional[str] = None + new_team_resource_path: URI + new_team_url: URI + notification_delivery_restriction_enabled_setting: NotificationRestrictionSettingValue + organization_billing_email: Optional[str] = None + packages: PackageConnection + pending_members: UserConnection + pinnable_items: PinnableItemConnection + pinned_items: PinnableItemConnection + pinned_items_remaining: int + project: Optional[Project] = None + project_v2: Optional[ProjectV2] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + projects_v2: ProjectV2Connection + recent_projects: ProjectV2Connection + repositories: RepositoryConnection + repository: Optional[Repository] = None + repository_discussion_comments: DiscussionCommentConnection + repository_discussions: DiscussionConnection + repository_migrations: RepositoryMigrationConnection + requires_two_factor_authentication: Optional[bool] = None + resource_path: URI + ruleset: Optional[RepositoryRuleset] = None + rulesets: Optional[RepositoryRulesetConnection] = None + saml_identity_provider: Optional[OrganizationIdentityProvider] = None + sponsoring: SponsorConnection + sponsors: SponsorConnection + sponsors_activities: SponsorsActivityConnection + sponsors_listing: Optional[SponsorsListing] = None + sponsorship_for_viewer_as_sponsor: Optional[Sponsorship] = None + sponsorship_for_viewer_as_sponsorable: Optional[Sponsorship] = None + sponsorship_newsletters: SponsorshipNewsletterConnection + sponsorships_as_maintainer: SponsorshipConnection + sponsorships_as_sponsor: SponsorshipConnection + team: Optional[Team] = None + teams: TeamConnection + teams_resource_path: URI + teams_url: URI + total_sponsorship_amount_as_sponsor_in_cents: Optional[int] = None + twitter_username: Optional[str] = None + updated_at: DateTime + url: URI + viewer_can_administer: bool + viewer_can_change_pinned_items: bool + viewer_can_create_projects: bool + viewer_can_create_repositories: bool + viewer_can_create_teams: bool + viewer_can_sponsor: bool + viewer_is_a_member: bool + viewer_is_following: bool + viewer_is_sponsoring: bool + web_commit_signoff_required: bool + website_url: Optional[URI] = None diff --git a/tests/output/github/package.py b/tests/output/github/package.py new file mode 100644 index 0000000..5f604cf --- /dev/null +++ b/tests/output/github/package.py @@ -0,0 +1,46 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import PackageType +from .gql_simple_types import PackageStatistics +from .scalars import ID + +if TYPE_CHECKING: + from .repository import Repository + from .package_version import PackageVersion + from .gql_types import PackageVersionConnection + + +@dataclass(kw_only=True) +class Package: + """ + Package - Information for an uploaded package. + + id - The Node ID of the Package object + + latestVersion - Find the latest version for the package. + + name - Identifies the name of the package. + + packageType - Identifies the type of the package. + + repository - The repository this package belongs to. + + statistics - Statistics about package activity. + + version - Find package version by version string. + + versions - list of versions for this package + + """ + + id: ID + latest_version: Optional[PackageVersion] = None + name: str + package_type: PackageType + repository: Optional[Repository] = None + statistics: Optional[PackageStatistics] = None + version: Optional[PackageVersion] = None + versions: PackageVersionConnection diff --git a/tests/output/github/package_version.py b/tests/output/github/package_version.py new file mode 100644 index 0000000..f2b358b --- /dev/null +++ b/tests/output/github/package_version.py @@ -0,0 +1,51 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import PackageVersionStatistics +from .scalars import ID + +if TYPE_CHECKING: + from .release import Release + from .package import Package + from .gql_types import PackageFileConnection + + +@dataclass(kw_only=True) +class PackageVersion: + """ + PackageVersion - Information about a specific package version. + + files - List of files associated with this package version + + id - The Node ID of the PackageVersion object + + package - The package associated with this version. + + platform - The platform this version was built for. + + preRelease - Whether or not this version is a pre-release. + + readme - The README of this package version. + + release - The release associated with this package version. + + statistics - Statistics about package activity. + + summary - The package version summary. + + version - The version string. + + """ + + files: PackageFileConnection + id: ID + package: Optional[Package] = None + platform: Optional[str] = None + pre_release: bool + readme: Optional[str] = None + release: Optional[Release] = None + statistics: Optional[PackageVersionStatistics] = None + summary: Optional[str] = None + version: str diff --git a/tests/output/github/project.py b/tests/output/github/project.py new file mode 100644 index 0000000..dec65ca --- /dev/null +++ b/tests/output/github/project.py @@ -0,0 +1,86 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ProjectState +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import ProjectProgress + from .gql_types import ProjectCardConnection + from .gql_types import ProjectColumnConnection + from .gql_types import ProjectOwner + + +@dataclass(kw_only=True) +class Project: + """ + Project - Projects manage issues, pull requests and notes within a project owner. + + body - The project's description body. + + bodyHTML - The projects description body rendered to HTML. + + closed - Indicates if the object is closed (definition of closed may depend on type) + + closedAt - Identifies the date and time when the object was closed. + + columns - List of columns in the project + + createdAt - Identifies the date and time when the object was created. + + creator - The actor who originally created the project. + + databaseId - Identifies the primary key from the database. + + id - The Node ID of the Project object + + name - The project's name. + + number - The project's number. + + owner - The project's owner. Currently limited to repositories, organizations, and users. + + pendingCards - List of pending cards in this project + + progress - Project progress details. + + resourcePath - The HTTP path for this project + + state - Whether the project is open or closed. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this project + + viewerCanClose - Indicates if the object can be closed by the viewer. + + viewerCanReopen - Indicates if the object can be reopened by the viewer. + + viewerCanUpdate - Check if the current viewer can update this object. + + """ + + body: Optional[str] = None + body_h_t_m_l: HTML + closed: bool + closed_at: Optional[DateTime] = None + columns: ProjectColumnConnection + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + id: ID + name: str + number: int + owner: ProjectOwner + pending_cards: ProjectCardConnection + progress: ProjectProgress + resource_path: URI + state: ProjectState + updated_at: DateTime + url: URI + viewer_can_close: bool + viewer_can_reopen: bool + viewer_can_update: bool diff --git a/tests/output/github/project_column.py b/tests/output/github/project_column.py new file mode 100644 index 0000000..c5e4555 --- /dev/null +++ b/tests/output/github/project_column.py @@ -0,0 +1,50 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ProjectColumnPurpose +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .project import Project + from .gql_types import ProjectCardConnection + + +@dataclass(kw_only=True) +class ProjectColumn: + """ + ProjectColumn - A column inside a project. + + cards - List of cards in the column + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + id - The Node ID of the ProjectColumn object + + name - The project column's name. + + project - The project that contains this column. + + purpose - The semantic purpose of the column + + resourcePath - The HTTP path for this project column + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this project column + + """ + + cards: ProjectCardConnection + created_at: DateTime + database_id: Optional[int] = None + id: ID + name: str + project: Project + purpose: Optional[ProjectColumnPurpose] = None + resource_path: URI + updated_at: DateTime + url: URI diff --git a/tests/output/github/project_v2.py b/tests/output/github/project_v2.py new file mode 100644 index 0000000..5d84f89 --- /dev/null +++ b/tests/output/github/project_v2.py @@ -0,0 +1,112 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import Actor +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .project_v2_item_connection import ProjectV2ItemConnection + from .gql_types import TeamConnection + from .gql_unions import ProjectV2FieldConfiguration + from .gql_types import ProjectV2FieldConfigurationConnection + from .gql_types import ProjectV2Owner + from .gql_types import RepositoryConnection + from .gql_types import ProjectV2View + from .gql_types import ProjectV2ViewConnection + from .gql_types import ProjectV2Workflow + from .gql_types import ProjectV2WorkflowConnection + + +@dataclass(kw_only=True) +class ProjectV2: + """ + ProjectV2 - New projects that manage issues, pull requests and drafts using tables and boards. + + closed - Returns true if the project is closed. + + closedAt - Identifies the date and time when the object was closed. + + createdAt - Identifies the date and time when the object was created. + + creator - The actor who originally created the project. + + databaseId - Identifies the primary key from the database. + + field - A field of the project + + fields - List of fields and their constraints in the project + + id - The Node ID of the ProjectV2 object + + items - List of items in the project + + number - The project's number. + + owner - The project's owner. Currently limited to organizations and users. + + public - Returns true if the project is public. + + readme - The project's readme. + + repositories - The repositories the project is linked to. + + resourcePath - The HTTP path for this project + + shortDescription - The project's short description. + + teams - The teams the project is linked to. + + template - Returns true if this project is a template. + + title - The project's name. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this project + + view - A view of the project + + viewerCanClose - Indicates if the object can be closed by the viewer. + + viewerCanReopen - Indicates if the object can be reopened by the viewer. + + viewerCanUpdate - Check if the current viewer can update this object. + + views - List of views in the project + + workflow - A workflow of the project + + workflows - List of the workflows in the project + + """ + + closed: bool + closed_at: Optional[DateTime] = None + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: Optional[ProjectV2FieldConfiguration] = None + fields: ProjectV2FieldConfigurationConnection + id: ID + items: ProjectV2ItemConnection + number: int + owner: ProjectV2Owner + public: bool + readme: Optional[str] = None + repositories: RepositoryConnection + resource_path: URI + short_description: Optional[str] = None + teams: TeamConnection + template: bool + title: str + updated_at: DateTime + url: URI + view: Optional[ProjectV2View] = None + viewer_can_close: bool + viewer_can_reopen: bool + viewer_can_update: bool + views: ProjectV2ViewConnection + workflow: Optional[ProjectV2Workflow] = None + workflows: ProjectV2WorkflowConnection diff --git a/tests/output/github/project_v2_item.py b/tests/output/github/project_v2_item.py new file mode 100644 index 0000000..b8e415d --- /dev/null +++ b/tests/output/github/project_v2_item.py @@ -0,0 +1,59 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ProjectV2ItemType +from .gql_simple_types import Actor +from .scalars import ID, BigInt, DateTime + +if TYPE_CHECKING: + from .project_v2 import ProjectV2 + from .gql_unions import ProjectV2ItemContent + from .gql_unions import ProjectV2ItemFieldValue + from .gql_types import ProjectV2ItemFieldValueConnection + + +@dataclass(kw_only=True) +class ProjectV2Item: + """ + ProjectV2Item - An item within a Project. + + content - The content of the referenced draft issue, issue, or pull request + + createdAt - Identifies the date and time when the object was created. + + creator - The actor who created the item. + + databaseId - Identifies the primary key from the database. + + fieldValueByName - The field value of the first project field which matches the 'name' argument that is set on the item. + + fieldValues - The field values that are set on the item. + + fullDatabaseId - Identifies the primary key from the database as a BigInt. + + id - The Node ID of the ProjectV2Item object + + isArchived - Whether the item is archived. + + project - The project that contains this item. + + type - The type of the item. + + updatedAt - Identifies the date and time when the object was last updated. + + """ + + content: Optional[ProjectV2ItemContent] = None + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field_value_by_name: Optional[ProjectV2ItemFieldValue] = None + field_values: ProjectV2ItemFieldValueConnection + full_database_id: Optional[BigInt] = None + id: ID + is_archived: bool + project: ProjectV2 + type: ProjectV2ItemType + updated_at: DateTime diff --git a/tests/output/github/project_v2_item_connection.py b/tests/output/github/project_v2_item_connection.py new file mode 100644 index 0000000..549fd7c --- /dev/null +++ b/tests/output/github/project_v2_item_connection.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .project_v2_item import ProjectV2Item + from .gql_types import PageInfo + from .gql_types import ProjectV2ItemEdge + + +@dataclass(kw_only=True) +class ProjectV2ItemConnection: + """ + ProjectV2ItemConnection - The connection type for ProjectV2Item. + + edges - A list of edges. + + nodes - A list of nodes. + + pageInfo - Information to aid in pagination. + + totalCount - Identifies the total count of items in the connection. + + """ + + edges: Optional[list[ProjectV2ItemEdge]] = None + nodes: Optional[list[ProjectV2Item]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github/pull_request.py b/tests/output/github/pull_request.py new file mode 100644 index 0000000..b419f07 --- /dev/null +++ b/tests/output/github/pull_request.py @@ -0,0 +1,370 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + LockReason, + MergeableState, + MergeStateStatus, + PullRequestReviewDecision, + PullRequestState, + SubscriptionState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime, GitObjectID + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .ref import Ref + from .repository import Repository + from .reaction_group import ReactionGroup + from .project_v2 import ProjectV2 + from .project_v2_item_connection import ProjectV2ItemConnection + from .commit import Commit + from .merge_queue import MergeQueue + from .pull_request_review import PullRequestReview + from .gql_types import AutoMergeRequest + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import LabelConnection + from .gql_types import Milestone + from .gql_types import MergeQueueEntry + from .gql_types import RepositoryOwner + from .gql_types import ProjectCardConnection + from .gql_types import IssueCommentConnection + from .gql_types import PullRequestCommitConnection + from .gql_types import PullRequestChangedFileConnection + from .gql_types import Hovercard + from .gql_types import PullRequestReviewConnection + from .gql_types import ReviewRequest + from .gql_types import ReviewRequestConnection + from .gql_types import PullRequestReviewThreadConnection + from .gql_types import SuggestedReviewer + from .gql_types import PullRequestTimelineItemsConnection + + +@dataclass(kw_only=True) +class PullRequest: + """ + PullRequest - A repository pull request. + + activeLockReason - Reason that the conversation was locked. + + additions - The number of additions in this pull request. + + assignees - A list of Users assigned to this object. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + autoMergeRequest - Returns the auto-merge request object if one exists for this pull request. + + baseRef - Identifies the base Ref associated with the pull request. + + baseRefName - Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted. + + baseRefOid - Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted. + + baseRepository - The repository associated with this pull request's base Ref. + + body - The body as Markdown. + + bodyHTML - The body rendered to HTML. + + bodyText - The body rendered to text. + + canBeRebased - Whether or not the pull request is rebaseable. + + changedFiles - The number of changed files in this pull request. + + checksResourcePath - The HTTP path for the checks of this pull request. + + checksUrl - The HTTP URL for the checks of this pull request. + + closed - `true` if the pull request is closed + + closedAt - Identifies the date and time when the object was closed. + + closingIssuesReferences - List of issues that were may be closed by this pull request + + comments - A list of comments associated with the pull request. + + commits - A list of commits present in this pull request's head branch not present in the base branch. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + deletions - The number of deletions in this pull request. + + editor - The actor who edited this pull request's body. + + files - Lists the files changed within this pull request. + + fullDatabaseId - Identifies the primary key from the database as a BigInt. + + headRef - Identifies the head Ref associated with the pull request. + + headRefName - Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. + + headRefOid - Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted. + + headRepository - The repository associated with this pull request's head Ref. + + headRepositoryOwner - The owner of the repository associated with this pull request's head Ref. + + hovercard - The hovercard information for this issue + + id - The Node ID of the PullRequest object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isCrossRepository - The head and base repositories are different. + + isDraft - Identifies if the pull request is a draft. + + isInMergeQueue - Indicates whether the pull request is in a merge queue + + isMergeQueueEnabled - Indicates whether the pull request's base ref has a merge queue enabled. + + isReadByViewer - Is this pull request read by the viewer + + labels - A list of labels associated with the object. + + lastEditedAt - The moment the editor made the last edit + + latestOpinionatedReviews - A list of latest reviews per user associated with the pull request. + + latestReviews - A list of latest reviews per user associated with the pull request that are not also pending review. + + locked - `true` if the pull request is locked + + maintainerCanModify - Indicates whether maintainers can modify the pull request. + + mergeCommit - The commit that was created when this pull request was merged. + + mergeQueue - The merge queue for the pull request's base branch + + mergeQueueEntry - The merge queue entry of the pull request in the base branch's merge queue + + mergeStateStatus - Detailed information about the current pull request merge state status. + + mergeable - Whether or not the pull request can be merged based on the existence of merge conflicts. + + merged - Whether or not the pull request was merged. + + mergedAt - The date and time that the pull request was merged. + + mergedBy - The actor who merged the pull request. + + milestone - Identifies the milestone associated with the pull request. + + number - Identifies the pull request number. + + participants - A list of Users that are participating in the Pull Request conversation. + + permalink - The permalink to the pull request. + + potentialMergeCommit - The commit that GitHub automatically generated to test if this pull request + could be merged. This field will not return a value if the pull request is + merged, or if the test merge commit is still being generated. See the + `mergeable` field for more details on the mergeability of the pull request. + + projectCards - List of project cards associated with this pull request. + + projectItems - List of project items associated with this pull request. + + projectV2 - Find a project by number. + + projectsV2 - A list of projects under the owner. + + publishedAt - Identifies when the comment was published at. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + repository - The repository associated with this node. + + resourcePath - The HTTP path for this pull request. + + revertResourcePath - The HTTP path for reverting this pull request. + + revertUrl - The HTTP URL for reverting this pull request. + + reviewDecision - The current status of this pull request with respect to code review. + + reviewRequests - A list of review requests associated with the pull request. + + reviewThreads - The list of all review threads for this pull request. + + reviews - A list of reviews associated with the pull request. + + state - Identifies the state of the pull request. + + suggestedReviewers - A list of reviewer suggestions based on commit history and past review comments. + + timelineItems - A list of events, comments, commits, etc. associated with the pull request. + + title - Identifies the pull request title. + + titleHTML - Identifies the pull request title rendered to HTML. + + totalCommentsCount - Returns a count of how many comments this pull request has received. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this pull request. + + userContentEdits - A list of edits to this content. + + viewerCanApplySuggestion - Whether or not the viewer can apply suggestion. + + viewerCanClose - Indicates if the object can be closed by the viewer. + + viewerCanDeleteHeadRef - Check if the viewer can restore the deleted head ref. + + viewerCanDisableAutoMerge - Whether or not the viewer can disable auto-merge + + viewerCanEditFiles - Can the viewer edit files within this pull request. + + viewerCanEnableAutoMerge - Whether or not the viewer can enable auto-merge + + viewerCanMergeAsAdmin - Indicates whether the viewer can bypass branch protections and merge the pull request immediately + + viewerCanReact - Can user react to this subject + + viewerCanReopen - Indicates if the object can be reopened by the viewer. + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCanUpdateBranch - Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. + If the head ref is up to date or unable to be updated by this user, this will return false. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + viewerLatestReview - The latest review given from the viewer. + + viewerLatestReviewRequest - The person who has requested the viewer for review on this pull request. + + viewerMergeBodyText - The merge body text for the viewer and method. + + viewerMergeHeadlineText - The merge headline text for the viewer and method. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + """ + + active_lock_reason: Optional[LockReason] = None + additions: int + assignees: UserConnection + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + auto_merge_request: Optional[AutoMergeRequest] = None + base_ref: Optional[Ref] = None + base_ref_name: str + base_ref_oid: GitObjectID + base_repository: Optional[Repository] = None + body: str + body_h_t_m_l: HTML + body_text: str + can_be_rebased: bool + changed_files: int + checks_resource_path: URI + checks_url: URI + closed: bool + closed_at: Optional[DateTime] = None + closing_issues_references: Optional[IssueConnection] = None + comments: IssueCommentConnection + commits: PullRequestCommitConnection + created_at: DateTime + created_via_email: bool + deletions: int + editor: Optional[Actor] = None + files: Optional[PullRequestChangedFileConnection] = None + full_database_id: Optional[BigInt] = None + head_ref: Optional[Ref] = None + head_ref_name: str + head_ref_oid: GitObjectID + head_repository: Optional[Repository] = None + head_repository_owner: Optional[RepositoryOwner] = None + hovercard: Hovercard + id: ID + includes_created_edit: bool + is_cross_repository: bool + is_draft: bool + is_in_merge_queue: bool + is_merge_queue_enabled: bool + is_read_by_viewer: Optional[bool] = None + labels: Optional[LabelConnection] = None + last_edited_at: Optional[DateTime] = None + latest_opinionated_reviews: Optional[PullRequestReviewConnection] = None + latest_reviews: Optional[PullRequestReviewConnection] = None + locked: bool + maintainer_can_modify: bool + merge_commit: Optional[Commit] = None + merge_queue: Optional[MergeQueue] = None + merge_queue_entry: Optional[MergeQueueEntry] = None + merge_state_status: MergeStateStatus + mergeable: MergeableState + merged: bool + merged_at: Optional[DateTime] = None + merged_by: Optional[Actor] = None + milestone: Optional[Milestone] = None + number: int + participants: UserConnection + permalink: URI + potential_merge_commit: Optional[Commit] = None + project_cards: ProjectCardConnection + project_items: ProjectV2ItemConnection + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + revert_resource_path: URI + revert_url: URI + review_decision: Optional[PullRequestReviewDecision] = None + review_requests: Optional[ReviewRequestConnection] = None + review_threads: PullRequestReviewThreadConnection + reviews: Optional[PullRequestReviewConnection] = None + state: PullRequestState + suggested_reviewers: list[SuggestedReviewer] + timeline_items: PullRequestTimelineItemsConnection + title: str + title_h_t_m_l: HTML + total_comments_count: Optional[int] = None + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_apply_suggestion: bool + viewer_can_close: bool + viewer_can_delete_head_ref: bool + viewer_can_disable_auto_merge: bool + viewer_can_edit_files: bool + viewer_can_enable_auto_merge: bool + viewer_can_merge_as_admin: bool + viewer_can_react: bool + viewer_can_reopen: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_can_update_branch: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_latest_review: Optional[PullRequestReview] = None + viewer_latest_review_request: Optional[ReviewRequest] = None + viewer_merge_body_text: str + viewer_merge_headline_text: str + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github/pull_request_connection.py b/tests/output/github/pull_request_connection.py new file mode 100644 index 0000000..47bef9c --- /dev/null +++ b/tests/output/github/pull_request_connection.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .gql_types import PageInfo + from .gql_types import PullRequestEdge + + +@dataclass(kw_only=True) +class PullRequestConnection: + """ + PullRequestConnection - The connection type for PullRequest. + + edges - A list of edges. + + nodes - A list of nodes. + + pageInfo - Information to aid in pagination. + + totalCount - Identifies the total count of items in the connection. + + """ + + edges: Optional[list[PullRequestEdge]] = None + nodes: Optional[list[PullRequest]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github/pull_request_review.py b/tests/output/github/pull_request_review.py new file mode 100644 index 0000000..274e7b6 --- /dev/null +++ b/tests/output/github/pull_request_review.py @@ -0,0 +1,138 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + PullRequestReviewState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .repository import Repository + from .reaction_group import ReactionGroup + from .commit import Commit + from .gql_types import TeamConnection + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import PullRequestReviewCommentConnection + + +@dataclass(kw_only=True) +class PullRequestReview: + """ + PullRequestReview - A review object for a given pull request. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + authorCanPushToRepository - Indicates whether the author of this review has push access to the repository. + + body - Identifies the pull request review body. + + bodyHTML - The body rendered to HTML. + + bodyText - The body of this review rendered as plain text. + + comments - A list of review comments for the current pull request review. + + commit - Identifies the commit associated with this pull request review. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + editor - The actor who edited the comment. + + fullDatabaseId - Identifies the primary key from the database as a BigInt. + + id - The Node ID of the PullRequestReview object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isMinimized - Returns whether or not a comment has been minimized. + + lastEditedAt - The moment the editor made the last edit + + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + + onBehalfOf - A list of teams that this review was made on behalf of. + + publishedAt - Identifies when the comment was published at. + + pullRequest - Identifies the pull request associated with this pull request review. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + repository - The repository associated with this node. + + resourcePath - The HTTP path permalink for this PullRequestReview. + + state - Identifies the current state of the pull request review. + + submittedAt - Identifies when the Pull Request Review was submitted + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL permalink for this PullRequestReview. + + userContentEdits - A list of edits to this content. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanMinimize - Check if the current viewer can minimize this object. + + viewerCanReact - Can user react to this subject + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + """ + + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + author_can_push_to_repository: bool + body: str + body_h_t_m_l: HTML + body_text: str + comments: PullRequestReviewCommentConnection + commit: Optional[Commit] = None + created_at: DateTime + created_via_email: bool + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + on_behalf_of: TeamConnection + published_at: Optional[DateTime] = None + pull_request: PullRequest + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + state: PullRequestReviewState + submitted_at: Optional[DateTime] = None + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool diff --git a/tests/output/github/pull_request_review_comment.py b/tests/output/github/pull_request_review_comment.py new file mode 100644 index 0000000..2f15fb3 --- /dev/null +++ b/tests/output/github/pull_request_review_comment.py @@ -0,0 +1,162 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + PullRequestReviewCommentState, + PullRequestReviewThreadSubjectType, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .repository import Repository + from .reaction_group import ReactionGroup + from .commit import Commit + from .pull_request_review import PullRequestReview + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + + +@dataclass(kw_only=True) +class PullRequestReviewComment: + """ + PullRequestReviewComment - A review comment associated with a given repository pull request. + + author - The actor who authored the comment. + + authorAssociation - Author's association with the subject of the comment. + + body - The comment body of this review comment. + + bodyHTML - The body rendered to HTML. + + bodyText - The comment body of this review comment rendered as plain text. + + commit - Identifies the commit associated with the comment. + + createdAt - Identifies when the comment was created. + + createdViaEmail - Check if this comment was created via an email reply. + + diffHunk - The diff hunk to which the comment applies. + + draftedAt - Identifies when the comment was created in a draft state. + + editor - The actor who edited the comment. + + fullDatabaseId - Identifies the primary key from the database as a BigInt. + + id - The Node ID of the PullRequestReviewComment object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + isMinimized - Returns whether or not a comment has been minimized. + + lastEditedAt - The moment the editor made the last edit + + line - The end line number on the file to which the comment applies + + minimizedReason - Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + + originalCommit - Identifies the original commit associated with the comment. + + originalLine - The end line number on the file to which the comment applied when it was first created + + originalStartLine - The start line number on the file to which the comment applied when it was first created + + outdated - Identifies when the comment body is outdated + + path - The path to which the comment applies. + + publishedAt - Identifies when the comment was published at. + + pullRequest - The pull request associated with this review comment. + + pullRequestReview - The pull request review associated with this review comment. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + replyTo - The comment this is a reply to. + + repository - The repository associated with this node. + + resourcePath - The HTTP path permalink for this review comment. + + startLine - The start line number on the file to which the comment applies + + state - Identifies the state of the comment. + + subjectType - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + + updatedAt - Identifies when the comment was last updated. + + url - The HTTP URL permalink for this review comment. + + userContentEdits - A list of edits to this content. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanMinimize - Check if the current viewer can minimize this object. + + viewerCanReact - Can user react to this subject + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + """ + + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + commit: Optional[Commit] = None + created_at: DateTime + created_via_email: bool + diff_hunk: str + drafted_at: DateTime + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + line: Optional[int] = None + minimized_reason: Optional[str] = None + original_commit: Optional[Commit] = None + original_line: Optional[int] = None + original_start_line: Optional[int] = None + outdated: bool + path: str + published_at: Optional[DateTime] = None + pull_request: PullRequest + pull_request_review: Optional[PullRequestReview] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + reply_to: Optional["PullRequestReviewComment"] = None + repository: Repository + resource_path: URI + start_line: Optional[int] = None + state: PullRequestReviewCommentState + subject_type: PullRequestReviewThreadSubjectType + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool diff --git a/tests/output/github/queries.py b/tests/output/github/queries.py deleted file mode 100644 index d5b3f0a..0000000 --- a/tests/output/github/queries.py +++ /dev/null @@ -1,634 +0,0 @@ -from typing import List -from pygqlmap import GQLQuery -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class list_CodeOfConduct(list, CodeOfConduct): pass - -class NonNull_EnterpriseAdministratorRole(GQLObject): pass - -class list_License(list, License): pass - -class list_MarketplaceCategory(list, MarketplaceCategory): pass - -class list_Node(list, Node): pass - -class NonNull_URI(URI): pass - -class NonNull_SearchType(GQLObject): pass - -class codeOfConduct(GQLQuery): - """ - codeOfConduct - Look up a code of conduct by its key - - """ - class CodeOfConductArgs(GQLArgsSet, GQLObject): - """ - key - The code of conduct's key - - """ - key: NonNull_str - - _args: CodeOfConductArgs - - - type: CodeOfConduct - -class codesOfConduct(GQLQuery): - """ - codesOfConduct - Look up a code of conduct by its key - - """ - type: list_CodeOfConduct[CodeOfConduct] - -class enterprise(GQLQuery): - """ - enterprise - Look up an enterprise by URL slug. - - """ - class EnterpriseArgs(GQLArgsSet, GQLObject): - """ - slug - The enterprise URL slug. - - invitationToken - The enterprise invitation token. - - """ - slug: NonNull_str - invitationToken: str - - _args: EnterpriseArgs - - - type: Enterprise - -class enterpriseAdministratorInvitation(GQLQuery): - """ - enterpriseAdministratorInvitation - Look up a pending enterprise administrator invitation by invitee, enterprise and role. - - """ - class EnterpriseAdministratorInvitationArgs(GQLArgsSet, GQLObject): - """ - userLogin - The login of the user invited to join the business. - - enterpriseSlug - The slug of the enterprise the user was invited to join. - - role - The role for the business member invitation. - - """ - userLogin: NonNull_str - enterpriseSlug: NonNull_str - role: NonNull_EnterpriseAdministratorRole - - _args: EnterpriseAdministratorInvitationArgs - - - type: EnterpriseAdministratorInvitation - -class enterpriseAdministratorInvitationByToken(GQLQuery): - """ - enterpriseAdministratorInvitationByToken - Look up a pending enterprise administrator invitation by invitation token. - - """ - class EnterpriseAdministratorInvitationArgs(GQLArgsSet, GQLObject): - """ - invitationToken - The invitation token sent with the invitation email. - - """ - invitationToken: NonNull_str - - _args: EnterpriseAdministratorInvitationArgs - - - type: EnterpriseAdministratorInvitation - -class license(GQLQuery): - """ - license - Look up an open source license by its key - - """ - class LicenseArgs(GQLArgsSet, GQLObject): - """ - key - The license's downcased SPDX ID - - """ - key: NonNull_str - - _args: LicenseArgs - - - type: License - -class licenses(GQLQuery): - """ - licenses - Return a list of known open source licenses - - """ - type: list_License[License] - -class marketplaceCategories(GQLQuery): - """ - marketplaceCategories - Get alphabetically sorted list of Marketplace categories - - """ - class MarketplaceCategoryArgs(GQLArgsSet, GQLObject): - """ - includeCategories - Return only the specified categories. - - excludeEmpty - Exclude categories with no listings. - - excludeSubcategories - Returns top level categories only, excluding any subcategories. - - """ - includeCategories: list[NonNull_str] - excludeEmpty: bool - excludeSubcategories: bool - - _args: MarketplaceCategoryArgs - - - type: list_MarketplaceCategory[MarketplaceCategory] - -class marketplaceCategory(GQLQuery): - """ - marketplaceCategory - Look up a Marketplace category by its slug. - - """ - class MarketplaceCategoryArgs(GQLArgsSet, GQLObject): - """ - slug - The URL slug of the category. - - useTopicAliases - Also check topic aliases for the category slug - - """ - slug: NonNull_str - useTopicAliases: bool - - _args: MarketplaceCategoryArgs - - - type: MarketplaceCategory - -class marketplaceListing(GQLQuery): - """ - marketplaceListing - Look up a single Marketplace listing - - """ - class MarketplaceListingArgs(GQLArgsSet, GQLObject): - """ - slug - Select the listing that matches this slug. It's the short name of the listing used in its URL. - - """ - slug: NonNull_str - - _args: MarketplaceListingArgs - - - type: MarketplaceListing - -class marketplaceListings(GQLQuery): - """ - marketplaceListings - Look up Marketplace listings - - """ - class MarketplaceListingConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - categorySlug - Select only listings with the given category. - - useTopicAliases - Also check topic aliases for the category slug - - viewerCanAdmin - Select listings to which user has admin access. If omitted, listings visible to the -viewer are returned. - - - adminId - Select listings that can be administered by the specified user. - - organizationId - Select listings for products owned by the specified organization. - - allStates - Select listings visible to the viewer even if they are not approved. If omitted or -false, only approved listings will be returned. - - - slugs - Select the listings with these slugs, if they are visible to the viewer. - - primaryCategoryOnly - Select only listings where the primary category matches the given category slug. - - withFreeTrialsOnly - Select only listings that offer a free trial. - - """ - after: str - before: str - first: int - last: int - categorySlug: str - useTopicAliases: bool - viewerCanAdmin: bool - adminId: ID - organizationId: ID - allStates: bool - slugs: list[str] - primaryCategoryOnly: bool - withFreeTrialsOnly: bool - - _args: MarketplaceListingConnectionArgs - - - type: MarketplaceListingConnection - -class meta(GQLQuery): - """ - meta - Return information about the GitHub instance - - """ - type: GitHubMetadata - -class node(GQLQuery): - """ - node - Fetches an object given its ID. - - """ - class NodeArgs(GQLArgsSet, GQLObject): - """ - id - ID of the object. - - """ - id: NonNull_ID - - _args: NodeArgs - - - type: Node - -class nodes(GQLQuery): - """ - nodes - Lookup nodes by a list of IDs. - - """ - class NodeArgs(GQLArgsSet, GQLObject): - """ - ids - The list of node IDs. - - """ - ids: NonNull_list[NonNull_ID] - - _args: NodeArgs - - - type: list_Node[Node] - -class organization(GQLQuery): - """ - organization - Lookup a organization by login. - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - """ - login - The organization's login. - - """ - login: NonNull_str - - _args: OrganizationArgs - - - type: Organization - -class rateLimit(GQLQuery): - """ - rateLimit - The client's rate limit information. - - """ - class RateLimitArgs(GQLArgsSet, GQLObject): - """ - dryRun - If true, calculate the cost for the query without evaluating it - - """ - dryRun: bool - - _args: RateLimitArgs - - - type: RateLimit - -class relay(GQLQuery): - """ - relay - Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.) - - """ - type: any - -class repository(GQLQuery): - """ - repository - Lookup a given repository by the owner and repository name. - - """ - class RepositoryArgs(GQLArgsSet, GQLObject): - """ - owner - The login field of a user or organization - - name - The name of the repository - - followRenames - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - - """ - owner: NonNull_str - name: NonNull_str - followRenames: bool - - _args: RepositoryArgs - - - type: Repository - -class repositoryOwner(GQLQuery): - """ - repositoryOwner - Lookup a repository owner (ie. either a User or an Organization) by login. - - """ - class RepositoryOwnerArgs(GQLArgsSet, GQLObject): - """ - login - The username to lookup the owner by. - - """ - login: NonNull_str - - _args: RepositoryOwnerArgs - - - type: RepositoryOwner - -class resource(GQLQuery): - """ - resource - Lookup resource by a URL. - - """ - class UniformResourceLocatableArgs(GQLArgsSet, GQLObject): - """ - url - The URL. - - """ - url: NonNull_URI - - _args: UniformResourceLocatableArgs - - - type: UniformResourceLocatable - -class search(GQLQuery): - """ - search - Perform a search across resources, returning a maximum of 1,000 results. - - """ - class SearchResultItemConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - query - The search string to look for. - - type - The types of search items to search within. - - """ - after: str - before: str - first: int - last: int - query: NonNull_str - type: NonNull_SearchType - - _args: SearchResultItemConnectionArgs - - - type: SearchResultItemConnection - -class securityAdvisories(GQLQuery): - """ - securityAdvisories - GitHub Security Advisories - - """ - class SecurityAdvisoryConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for the returned topics. - - identifier - Filter advisories by identifier, e.g. GHSA or CVE. - - publishedSince - Filter advisories to those published since a time in the past. - - updatedSince - Filter advisories to those updated since a time in the past. - - classifications - A list of classifications to filter advisories by. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - orderBy: SecurityAdvisoryOrder - identifier: SecurityAdvisoryIdentifierFilter - publishedSince: DateTime - updatedSince: DateTime - classifications: list[NonNull_SecurityAdvisoryClassification] - after: str - before: str - first: int - last: int - - _args: SecurityAdvisoryConnectionArgs - - - type: SecurityAdvisoryConnection - -class securityAdvisory(GQLQuery): - """ - securityAdvisory - Fetch a Security Advisory by its GHSA ID - - """ - class SecurityAdvisoryArgs(GQLArgsSet, GQLObject): - """ - ghsaId - GitHub Security Advisory ID. - - """ - ghsaId: NonNull_str - - _args: SecurityAdvisoryArgs - - - type: SecurityAdvisory - -class securityVulnerabilities(GQLQuery): - """ - securityVulnerabilities - Software Vulnerabilities documented by GitHub Security Advisories - - """ - class SecurityVulnerabilityConnectionArgs(GQLArgsSet, GQLObject): - """ - orderBy - Ordering options for the returned topics. - - ecosystem - An ecosystem to filter vulnerabilities by. - - package - A package name to filter vulnerabilities by. - - severities - A list of severities to filter vulnerabilities by. - - classifications - A list of advisory classifications to filter vulnerabilities by. - - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - """ - orderBy: SecurityVulnerabilityOrder - ecosystem: SecurityAdvisoryEcosystem - package: str - severities: list[NonNull_SecurityAdvisorySeverity] - classifications: list[NonNull_SecurityAdvisoryClassification] - after: str - before: str - first: int - last: int - - _args: SecurityVulnerabilityConnectionArgs - - - type: SecurityVulnerabilityConnection - -class sponsorables(GQLQuery): - """ - sponsorables - Users and organizations who can be sponsored via GitHub Sponsors. - - """ - class SponsorableItemConnectionArgs(GQLArgsSet, GQLObject): - """ - after - Returns the elements in the list that come after the specified cursor. - - before - Returns the elements in the list that come before the specified cursor. - - first - Returns the first _n_ elements from the list. - - last - Returns the last _n_ elements from the list. - - orderBy - Ordering options for users and organizations returned from the connection. - - onlyDependencies - Whether only sponsorables who own the viewer's dependencies will be returned. Must be authenticated to use. Can check an organization instead for their dependencies owned by sponsorables by passing orgLoginForDependencies. - - orgLoginForDependencies - Optional organization username for whose dependencies should be checked. Used when onlyDependencies = true. Omit to check your own dependencies. If you are not an administrator of the organization, only dependencies from its public repositories will be considered. - - dependencyEcosystem - Optional filter for which dependencies should be checked for sponsorable owners. Only sponsorable owners of dependencies in this ecosystem will be included. Used when onlyDependencies = true. - -**Upcoming Change on 2022-07-01 UTC** -**Description:** `dependencyEcosystem` will be removed. Use the ecosystem argument instead. -**Reason:** The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem. - - - ecosystem - Optional filter for which dependencies should be checked for sponsorable owners. Only sponsorable owners of dependencies in this ecosystem will be included. Used when onlyDependencies = true. - - """ - after: str - before: str - first: int - last: int - orderBy: SponsorableOrder - onlyDependencies: bool - orgLoginForDependencies: str - dependencyEcosystem: SecurityAdvisoryEcosystem - ecosystem: DependencyGraphEcosystem - - _args: SponsorableItemConnectionArgs - - - type: SponsorableItemConnection - -class topic(GQLQuery): - """ - topic - Look up a topic by name. - - """ - class TopicArgs(GQLArgsSet, GQLObject): - """ - name - The topic's name. - - """ - name: NonNull_str - - _args: TopicArgs - - - type: Topic - -class user(GQLQuery): - """ - user - Lookup a user by login. - - """ - class UserArgs(GQLArgsSet, GQLObject): - """ - login - The user's login. - - """ - login: NonNull_str - - _args: UserArgs - - - type: User - -class viewer(GQLQuery): - """ - viewer - The currently authenticated user. - - """ - type: User - - -class Queries(Enum): - codeOfConduct = codeOfConduct - codesOfConduct = codesOfConduct - enterprise = enterprise - enterpriseAdministratorInvitation = enterpriseAdministratorInvitation - enterpriseAdministratorInvitationByToken = enterpriseAdministratorInvitationByToken - license = license - licenses = licenses - marketplaceCategories = marketplaceCategories - marketplaceCategory = marketplaceCategory - marketplaceListing = marketplaceListing - marketplaceListings = marketplaceListings - meta = meta - node = node - nodes = nodes - organization = organization - rateLimit = rateLimit - relay = relay - repository = repository - repositoryOwner = repositoryOwner - resource = resource - search = search - securityAdvisories = securityAdvisories - securityAdvisory = securityAdvisory - securityVulnerabilities = securityVulnerabilities - sponsorables = sponsorables - topic = topic - user = user - viewer = viewer diff --git a/tests/output/github/reactable.py b/tests/output/github/reactable.py new file mode 100644 index 0000000..5eddd32 --- /dev/null +++ b/tests/output/github/reactable.py @@ -0,0 +1,34 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .reaction_group import ReactionGroup + from .gql_types import ReactionConnection + + +@dataclass(kw_only=True) +class Reactable: + """ + Reactable - Represents a subject that can be reacted on. + + databaseId - Identifies the primary key from the database. + + id - The Node ID of the Reactable object + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + viewerCanReact - Can user react to this subject + + """ + + database_id: Optional[int] = None + id: ID + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + viewer_can_react: bool diff --git a/tests/output/github/reaction_group.py b/tests/output/github/reaction_group.py new file mode 100644 index 0000000..a536d38 --- /dev/null +++ b/tests/output/github/reaction_group.py @@ -0,0 +1,35 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ReactionContent +from .scalars import DateTime + +if TYPE_CHECKING: + from .reactable import Reactable + from .gql_types import ReactorConnection + + +@dataclass(kw_only=True) +class ReactionGroup: + """ + ReactionGroup - A group of emoji reactions to a particular piece of content. + + content - Identifies the emoji reaction. + + createdAt - Identifies when the reaction was created. + + reactors - Reactors to the reaction subject with the emotion represented by this reaction group. + + subject - The subject that was reacted to. + + viewerHasReacted - Whether or not the authenticated user has left a reaction on the subject. + + """ + + content: ReactionContent + created_at: Optional[DateTime] = None + reactors: ReactorConnection + subject: Reactable + viewer_has_reacted: bool diff --git a/tests/output/github/ref.py b/tests/output/github/ref.py new file mode 100644 index 0000000..12c1694 --- /dev/null +++ b/tests/output/github/ref.py @@ -0,0 +1,54 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import RefUpdateRule +from .scalars import ID + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .branch_protection_rule import BranchProtectionRule + from .repository import Repository + from .gql_types import GitObject + from .gql_types import RepositoryRuleConnection + from .gql_types import Comparison + + +@dataclass(kw_only=True) +class Ref: + """ + Ref - Represents a Git reference. + + associatedPullRequests - A list of pull requests with this ref as the head ref. + + branchProtectionRule - Branch protection rules for this ref + + compare - Compares the current ref as a base ref to another head ref, if the comparison can be made. + + id - The Node ID of the Ref object + + name - The ref name. + + prefix - The ref's prefix, such as `refs/heads/` or `refs/tags/`. + + refUpdateRule - Branch protection rules that are viewable by non-admins + + repository - The repository the ref belongs to. + + rules - A list of rules from active Repository and Organization rulesets that apply to this ref. + + target - The object the ref points to. Returns null when object does not exist. + + """ + + associated_pull_requests: PullRequestConnection + branch_protection_rule: Optional[BranchProtectionRule] = None + compare: Optional[Comparison] = None + id: ID + name: str + prefix: str + ref_update_rule: Optional[RefUpdateRule] = None + repository: Repository + rules: Optional[RepositoryRuleConnection] = None + target: Optional[GitObject] = None diff --git a/tests/output/github/release.py b/tests/output/github/release.py new file mode 100644 index 0000000..324845a --- /dev/null +++ b/tests/output/github/release.py @@ -0,0 +1,97 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .ref import Ref + from .user import User + from .repository import Repository + from .reaction_group import ReactionGroup + from .commit import Commit + from .gql_types import ReactionConnection + from .gql_types import ReleaseAssetConnection + + +@dataclass(kw_only=True) +class Release: + """ + Release - A release contains the content for a release. + + author - The author of the release + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + description - The description of the release. + + descriptionHTML - The description of this release rendered to HTML. + + id - The Node ID of the Release object + + isDraft - Whether or not the release is a draft + + isLatest - Whether or not the release is the latest releast + + isPrerelease - Whether or not the release is a prerelease + + mentions - A list of users mentioned in the release description + + name - The title of the release. + + publishedAt - Identifies the date and time when the release was created. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + releaseAssets - List of releases assets which are dependent on this release. + + repository - The repository that the release belongs to. + + resourcePath - The HTTP path for this issue + + shortDescriptionHTML - A description of the release, rendered to HTML without any links in it. + + tag - The Git tag the release points to + + tagCommit - The tag commit for this release. + + tagName - The name of the release's Git tag + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this issue + + viewerCanReact - Can user react to this subject + + """ + + author: Optional[User] = None + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: Optional[HTML] = None + id: ID + is_draft: bool + is_latest: bool + is_prerelease: bool + mentions: Optional[UserConnection] = None + name: Optional[str] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + release_assets: ReleaseAssetConnection + repository: Repository + resource_path: URI + short_description_h_t_m_l: Optional[HTML] = None + tag: Optional[Ref] = None + tag_commit: Optional[Commit] = None + tag_name: str + updated_at: DateTime + url: URI + viewer_can_react: bool diff --git a/tests/output/github/repository.py b/tests/output/github/repository.py new file mode 100644 index 0000000..753add9 --- /dev/null +++ b/tests/output/github/repository.py @@ -0,0 +1,474 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + MergeCommitMessage, + MergeCommitTitle, + PullRequestMergeMethod, + RepositoryLockReason, + RepositoryPermission, + RepositoryVisibility, + SquashMergeCommitMessage, + SquashMergeCommitTitle, + SubscriptionState, +) +from .gql_simple_types import ( + ContributingGuidelines, + FundingLink, + Language, + RepositoryContactLink, +) +from .scalars import HTML, ID, URI, DateTime, GitSSHRemote + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .pull_request import PullRequest + from .pull_request_connection import PullRequestConnection + from .ref import Ref + from .project_v2 import ProjectV2 + from .issue import Issue + from .commit_comment_connection import CommitCommentConnection + from .discussion import Discussion + from .release import Release + from .merge_queue import MergeQueue + from .project import Project + from .repository_ruleset import RepositoryRuleset + from .gql_types import CodeOfConduct + from .gql_types import RepositoryInteractionAbility + from .gql_types import BranchProtectionRuleConnection + from .gql_types import RepositoryCodeowners + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import Label + from .gql_types import LabelConnection + from .gql_types import Milestone + from .gql_types import RepositoryConnection + from .gql_types import RepositoryCollaboratorConnection + from .gql_types import DependencyGraphManifestConnection + from .gql_types import DeployKeyConnection + from .gql_types import DeploymentConnection + from .gql_types import DiscussionCategory + from .gql_types import DiscussionCategoryConnection + from .gql_types import DiscussionConnection + from .gql_types import Environment + from .gql_types import EnvironmentConnection + from .gql_unions import IssueOrPullRequest + from .gql_types import IssueTemplate + from .gql_types import LanguageConnection + from .gql_types import License + from .gql_types import MilestoneConnection + from .gql_types import GitObject + from .gql_types import RepositoryOwner + from .gql_types import PackageConnection + from .gql_types import PinnedDiscussionConnection + from .gql_types import PinnedIssueConnection + from .gql_types import ProjectConnection + from .gql_types import PullRequestTemplate + from .gql_types import RefConnection + from .gql_types import ReleaseConnection + from .gql_types import StargazerConnection + from .gql_types import RepositoryTopicConnection + from .gql_types import RepositoryRulesetConnection + from .gql_types import SubmoduleConnection + from .gql_types import RepositoryVulnerabilityAlert + from .gql_types import RepositoryVulnerabilityAlertConnection + + +@dataclass(kw_only=True) +class Repository: + """ + Repository - A repository contains the content for a project. + + allowUpdateBranch - Whether or not a pull request head branch that is behind its base branch can + always be updated even if it is not required to be up to date before merging. + + archivedAt - Identifies the date and time when the repository was archived. + + assignableUsers - A list of users that can be assigned to issues in this repository. + + autoMergeAllowed - Whether or not Auto-merge can be enabled on pull requests in this repository. + + branchProtectionRules - A list of branch protection rules for this repository. + + codeOfConduct - Returns the code of conduct for this repository + + codeowners - Information extracted from the repository's `CODEOWNERS` file. + + collaborators - A list of collaborators associated with the repository. + + commitComments - A list of commit comments associated with the repository. + + contactLinks - Returns a list of contact links associated to the repository + + contributingGuidelines - Returns the contributing guidelines for this repository. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + defaultBranchRef - The Ref associated with the repository's default branch. + + deleteBranchOnMerge - Whether or not branches are automatically deleted when merged in this repository. + + dependencyGraphManifests - A list of dependency manifests contained in the repository + + deployKeys - A list of deploy keys that are on this repository. + + deployments - Deployments associated with the repository + + description - The description of the repository. + + descriptionHTML - The description of the repository rendered to HTML. + + discussion - Returns a single discussion from the current repository by number. + + discussionCategories - A list of discussion categories that are available in the repository. + + discussionCategory - A discussion category by slug. + + discussions - A list of discussions that have been opened in the repository. + + diskUsage - The number of kilobytes this repository occupies on disk. + + environment - Returns a single active environment from the current repository by name. + + environments - A list of environments that are in this repository. + + forkCount - Returns how many forks there are of this repository in the whole network. + + forkingAllowed - Whether this repository allows forks. + + forks - A list of direct forked repositories. + + fundingLinks - The funding links for this repository + + hasDiscussionsEnabled - Indicates if the repository has the Discussions feature enabled. + + hasIssuesEnabled - Indicates if the repository has issues feature enabled. + + hasProjectsEnabled - Indicates if the repository has the Projects feature enabled. + + hasSponsorshipsEnabled - Indicates if the repository displays a Sponsor button for financial contributions. + + hasVulnerabilityAlertsEnabled - Whether vulnerability alerts are enabled for the repository. + + hasWikiEnabled - Indicates if the repository has wiki feature enabled. + + homepageUrl - The repository's URL. + + id - The Node ID of the Repository object + + interactionAbility - The interaction ability settings for this repository. + + isArchived - Indicates if the repository is unmaintained. + + isBlankIssuesEnabled - Returns true if blank issue creation is allowed + + isDisabled - Returns whether or not this repository disabled. + + isEmpty - Returns whether or not this repository is empty. + + isFork - Identifies if the repository is a fork. + + isInOrganization - Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. + + isLocked - Indicates if the repository has been locked or not. + + isMirror - Identifies if the repository is a mirror. + + isPrivate - Identifies if the repository is private or internal. + + isSecurityPolicyEnabled - Returns true if this repository has a security policy + + isTemplate - Identifies if the repository is a template that can be used to generate new repositories. + + isUserConfigurationRepository - Is this repository a user configuration repository? + + issue - Returns a single issue from the current repository by number. + + issueOrPullRequest - Returns a single issue-like object from the current repository by number. + + issueTemplates - Returns a list of issue templates associated to the repository + + issues - A list of issues that have been opened in the repository. + + label - Returns a single label by name + + labels - A list of labels associated with the repository. + + languages - A list containing a breakdown of the language composition of the repository. + + latestRelease - Get the latest release for the repository if one exists. + + licenseInfo - The license associated with the repository + + lockReason - The reason the repository has been locked. + + mentionableUsers - A list of Users that can be mentioned in the context of the repository. + + mergeCommitAllowed - Whether or not PRs are merged with a merge commit on this repository. + + mergeCommitMessage - How the default commit message will be generated when merging a pull request. + + mergeCommitTitle - How the default commit title will be generated when merging a pull request. + + mergeQueue - The merge queue for a specified branch, otherwise the default branch if not provided. + + milestone - Returns a single milestone from the current repository by number. + + milestones - A list of milestones associated with the repository. + + mirrorUrl - The repository's original mirror URL. + + name - The name of the repository. + + nameWithOwner - The repository's name with owner. + + object - A Git object in the repository + + openGraphImageUrl - The image used to represent this repository in Open Graph data. + + owner - The User owner of the repository. + + packages - A list of packages under the owner. + + parent - The repository parent, if this is a fork. + + pinnedDiscussions - A list of discussions that have been pinned in this repository. + + pinnedIssues - A list of pinned issues for this repository. + + primaryLanguage - The primary language of the repository's code. + + project - Find project by number. + + projectV2 - Finds and returns the Project according to the provided Project number. + + projects - A list of projects under the owner. + + projectsResourcePath - The HTTP path listing the repository's projects + + projectsUrl - The HTTP URL listing the repository's projects + + projectsV2 - List of projects linked to this repository. + + pullRequest - Returns a single pull request from the current repository by number. + + pullRequestTemplates - Returns a list of pull request templates associated to the repository + + pullRequests - A list of pull requests that have been opened in the repository. + + pushedAt - Identifies the date and time when the repository was last pushed to. + + rebaseMergeAllowed - Whether or not rebase-merging is enabled on this repository. + + recentProjects - Recent projects that this user has modified in the context of the owner. + + ref - Fetch a given ref from the repository + + refs - Fetch a list of refs from the repository + + release - Lookup a single release given various criteria. + + releases - List of releases which are dependent on this repository. + + repositoryTopics - A list of applied repository-topic associations for this repository. + + resourcePath - The HTTP path for this repository + + ruleset - Returns a single ruleset from the current repository by ID. + + rulesets - A list of rulesets for this repository. + + securityPolicyUrl - The security policy URL. + + shortDescriptionHTML - A description of the repository, rendered to HTML without any links in it. + + squashMergeAllowed - Whether or not squash-merging is enabled on this repository. + + squashMergeCommitMessage - How the default commit message will be generated when squash merging a pull request. + + squashMergeCommitTitle - How the default commit title will be generated when squash merging a pull request. + + sshUrl - The SSH URL to clone this repository + + stargazerCount - Returns a count of how many stargazers there are on this object + + stargazers - A list of users who have starred this starrable. + + submodules - Returns a list of all submodules in this repository parsed from the + .gitmodules file as of the default branch's HEAD commit. + + tempCloneToken - Temporary authentication token for cloning this repository. + + templateRepository - The repository from which this repository was generated, if any. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this repository + + usesCustomOpenGraphImage - Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. + + viewerCanAdminister - Indicates whether the viewer has admin permissions on this repository. + + viewerCanCreateProjects - Can the current viewer create new projects on this owner. + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerCanUpdateTopics - Indicates whether the viewer can update the topics of this repository. + + viewerDefaultCommitEmail - The last commit email for the viewer. + + viewerDefaultMergeMethod - The last used merge method by the viewer or the default for the repository. + + viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + + viewerPermission - The users permission level on the repository. Will return null if authenticated as an GitHub App. + + viewerPossibleCommitEmails - A list of emails this viewer can commit with. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + visibility - Indicates the repository's visibility level. + + vulnerabilityAlert - Returns a single vulnerability alert from the current repository by number. + + vulnerabilityAlerts - A list of vulnerability alerts that are on this repository. + + watchers - A list of users watching the repository. + + webCommitSignoffRequired - Whether contributors are required to sign off on web-based commits in this repository. + + """ + + allow_update_branch: bool + archived_at: Optional[DateTime] = None + assignable_users: UserConnection + auto_merge_allowed: bool + branch_protection_rules: BranchProtectionRuleConnection + code_of_conduct: Optional[CodeOfConduct] = None + codeowners: Optional[RepositoryCodeowners] = None + collaborators: Optional[RepositoryCollaboratorConnection] = None + commit_comments: CommitCommentConnection + contact_links: Optional[list[RepositoryContactLink]] = None + contributing_guidelines: Optional[ContributingGuidelines] = None + created_at: DateTime + database_id: Optional[int] = None + default_branch_ref: Optional[Ref] = None + delete_branch_on_merge: bool + dependency_graph_manifests: Optional[DependencyGraphManifestConnection] = None + deploy_keys: DeployKeyConnection + deployments: DeploymentConnection + description: Optional[str] = None + description_h_t_m_l: HTML + discussion: Optional[Discussion] = None + discussion_categories: DiscussionCategoryConnection + discussion_category: Optional[DiscussionCategory] = None + discussions: DiscussionConnection + disk_usage: Optional[int] = None + environment: Optional[Environment] = None + environments: EnvironmentConnection + fork_count: int + forking_allowed: bool + forks: RepositoryConnection + funding_links: list[FundingLink] + has_discussions_enabled: bool + has_issues_enabled: bool + has_projects_enabled: bool + has_sponsorships_enabled: bool + has_vulnerability_alerts_enabled: bool + has_wiki_enabled: bool + homepage_url: Optional[URI] = None + id: ID + interaction_ability: Optional[RepositoryInteractionAbility] = None + is_archived: bool + is_blank_issues_enabled: bool + is_disabled: bool + is_empty: bool + is_fork: bool + is_in_organization: bool + is_locked: bool + is_mirror: bool + is_private: bool + is_security_policy_enabled: Optional[bool] = None + is_template: bool + is_user_configuration_repository: bool + issue: Optional[Issue] = None + issue_or_pull_request: Optional[IssueOrPullRequest] = None + issue_templates: Optional[list[IssueTemplate]] = None + issues: IssueConnection + label: Optional[Label] = None + labels: Optional[LabelConnection] = None + languages: Optional[LanguageConnection] = None + latest_release: Optional[Release] = None + license_info: Optional[License] = None + lock_reason: Optional[RepositoryLockReason] = None + mentionable_users: UserConnection + merge_commit_allowed: bool + merge_commit_message: MergeCommitMessage + merge_commit_title: MergeCommitTitle + merge_queue: Optional[MergeQueue] = None + milestone: Optional[Milestone] = None + milestones: Optional[MilestoneConnection] = None + mirror_url: Optional[URI] = None + name: str + name_with_owner: str + object: Optional[GitObject] = None + open_graph_image_url: URI + owner: RepositoryOwner + packages: PackageConnection + parent: Optional["Repository"] = None + pinned_discussions: PinnedDiscussionConnection + pinned_issues: Optional[PinnedIssueConnection] = None + primary_language: Optional[Language] = None + project: Optional[Project] = None + project_v2: Optional[ProjectV2] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + projects_v2: ProjectV2Connection + pull_request: Optional[PullRequest] = None + pull_request_templates: Optional[list[PullRequestTemplate]] = None + pull_requests: PullRequestConnection + pushed_at: Optional[DateTime] = None + rebase_merge_allowed: bool + recent_projects: ProjectV2Connection + ref: Optional[Ref] = None + refs: Optional[RefConnection] = None + release: Optional[Release] = None + releases: ReleaseConnection + repository_topics: RepositoryTopicConnection + resource_path: URI + ruleset: Optional[RepositoryRuleset] = None + rulesets: Optional[RepositoryRulesetConnection] = None + security_policy_url: Optional[URI] = None + short_description_h_t_m_l: HTML + squash_merge_allowed: bool + squash_merge_commit_message: SquashMergeCommitMessage + squash_merge_commit_title: SquashMergeCommitTitle + ssh_url: GitSSHRemote + stargazer_count: int + stargazers: StargazerConnection + submodules: SubmoduleConnection + temp_clone_token: Optional[str] = None + template_repository: Optional["Repository"] = None + updated_at: DateTime + url: URI + uses_custom_open_graph_image: bool + viewer_can_administer: bool + viewer_can_create_projects: bool + viewer_can_subscribe: bool + viewer_can_update_topics: bool + viewer_default_commit_email: Optional[str] = None + viewer_default_merge_method: PullRequestMergeMethod + viewer_has_starred: bool + viewer_permission: Optional[RepositoryPermission] = None + viewer_possible_commit_emails: Optional[list[str]] = None + viewer_subscription: Optional[SubscriptionState] = None + visibility: RepositoryVisibility + vulnerability_alert: Optional[RepositoryVulnerabilityAlert] = None + vulnerability_alerts: Optional[RepositoryVulnerabilityAlertConnection] = None + watchers: UserConnection + web_commit_signoff_required: bool diff --git a/tests/output/github/repository_ruleset.py b/tests/output/github/repository_ruleset.py new file mode 100644 index 0000000..b4cf783 --- /dev/null +++ b/tests/output/github/repository_ruleset.py @@ -0,0 +1,55 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import RepositoryRulesetTarget, RuleEnforcement +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .gql_types import RepositoryRulesetBypassActorConnection + from .gql_types import RepositoryRuleConditions + from .gql_types import RepositoryRuleConnection + from .gql_unions import RuleSource + + +@dataclass(kw_only=True) +class RepositoryRuleset: + """ + RepositoryRuleset - A repository ruleset. + + bypassActors - The actors that can bypass this ruleset + + conditions - The set of conditions that must evaluate to true for this ruleset to apply + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + enforcement - The enforcement level of this ruleset + + id - The Node ID of the RepositoryRuleset object + + name - Name of the ruleset. + + rules - List of rules. + + source - Source of ruleset. + + target - Target of the ruleset. + + updatedAt - Identifies the date and time when the object was last updated. + + """ + + bypass_actors: Optional[RepositoryRulesetBypassActorConnection] = None + conditions: RepositoryRuleConditions + created_at: DateTime + database_id: Optional[int] = None + enforcement: RuleEnforcement + id: ID + name: str + rules: Optional[RepositoryRuleConnection] = None + source: RuleSource + target: Optional[RepositoryRulesetTarget] = None + updated_at: DateTime diff --git a/tests/output/github/scalars.py b/tests/output/github/scalars.py index 2e8a4a1..304d4d8 100644 --- a/tests/output/github/scalars.py +++ b/tests/output/github/scalars.py @@ -1,63 +1,51 @@ -from pygqlmap.gql_types import * +from pygqlmap.gql_types import ID -Base64String = str ##A (potentially binary) string encoded using base64. +String = str # The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. -BigInt = str ##Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it's encoded as a string. -Boolean = bool ##Represents `true` or `false` values. +ID = ID # The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. -Date = str ##An ISO-8601 encoded date string. -DateTime = str ##An ISO-8601 encoded UTC date string. +Boolean = bool # The `Boolean` scalar type represents `true` or `false`. -Float = float ##Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). -GitObjectID = str ##A Git object ID. +Int = int # The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. -GitSSHRemote = str ##Git SSH string -GitTimestamp = str ##An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC. +Base64String = str # A (potentially binary) string encoded using base64. -HTML = str ##A string containing HTML code. -ID = ID ##Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will be accepted as an ID. +BigInt = str # Represents non-fractional signed whole numeric values. Since the value may - exceed the size of a 32-bit integer, it's encoded as a string. -Int = int ##Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. -PreciseDateTime = str ##An ISO-8601 encoded UTC date string with millisecond precision. +Float = float # The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). -String = str ##Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text. -URI = str ##An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. +Date = str # An ISO-8601 encoded date string. -X509Certificate = str ##A valid x509 certificate string -isRequired = bool ##Whether this is required to pass before merging for a specific pull request. +DateTime = str # An ISO-8601 encoded UTC date string. -trackedIssuesCount = int ##The number of tracked issues for this issue -viewerMergeBodyText = str ##The merge body text for the viewer and method. +GitObjectID = str # A Git object ID. -viewerMergeHeadlineText = str ##The merge headline text for the viewer and method. -totalIssueContributions = int ##How many issues the user opened. +GitRefname = str # A fully qualified reference name (e.g. `refs/heads/master`). -totalPullRequestContributions = int ##How many pull requests the user opened. -totalRepositoriesWithContributedIssues = int ##How many different repositories the user opened issues in. +GitSSHRemote = str # Git SSH string -totalRepositoriesWithContributedPullRequests = int ##How many different repositories the user opened pull requests in. -totalRepositoryContributions = int ##How many repositories the user created. +GitTimestamp = str # An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC. -text = str ##UTF8 text data or null if the file is binary -isSponsoredBy = bool ##Whether the given account is sponsoring this user/organization. +HTML = str # A string containing HTML code. -totalSponsorshipAmountAsSponsorInCents = int ##The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. -anyPinnableItems = bool ##Determine if this repository owner has any items that can be pinned to their profile. +PreciseDateTime = str # An ISO-8601 encoded UTC date string with millisecond precision. -canReceiveOrganizationEmailsWhenNotificationsRestricted = bool ##Could this user receive email notifications, if the organization had notification restrictions enabled? -organizationVerifiedDomainEmails = str ##Verified email addresses that match verified domains for a specified organization the user is a member of. +URI = str # An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. + + +X509Certificate = str # A valid x509 certificate string diff --git a/tests/output/github/security_advisory.py b/tests/output/github/security_advisory.py new file mode 100644 index 0000000..9ef4527 --- /dev/null +++ b/tests/output/github/security_advisory.py @@ -0,0 +1,77 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import SecurityAdvisoryClassification, SecurityAdvisorySeverity +from .gql_simple_types import SecurityAdvisoryReference +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import CVSS + from .gql_types import SecurityAdvisoryIdentifier + from .gql_types import CWEConnection + from .gql_types import SecurityVulnerabilityConnection + + +@dataclass(kw_only=True) +class SecurityAdvisory: + """ + SecurityAdvisory - A GitHub Security Advisory + + classification - The classification of the advisory + + cvss - The CVSS associated with this advisory + + cwes - CWEs associated with this Advisory + + databaseId - Identifies the primary key from the database. + + description - This is a long plaintext description of the advisory + + ghsaId - The GitHub Security Advisory ID + + id - The Node ID of the SecurityAdvisory object + + identifiers - A list of identifiers for this advisory + + notificationsPermalink - The permalink for the advisory's dependabot alerts page + + origin - The organization that originated the advisory + + permalink - The permalink for the advisory + + publishedAt - When the advisory was published + + references - A list of references for this advisory + + severity - The severity of the advisory + + summary - A short plaintext summary of the advisory + + updatedAt - When the advisory was last updated + + vulnerabilities - Vulnerabilities associated with this Advisory + + withdrawnAt - When the advisory was withdrawn, if it has been withdrawn + + """ + + classification: SecurityAdvisoryClassification + cvss: CVSS + cwes: CWEConnection + database_id: Optional[int] = None + description: str + ghsa_id: str + id: ID + identifiers: list[SecurityAdvisoryIdentifier] + notifications_permalink: Optional[URI] = None + origin: str + permalink: Optional[URI] = None + published_at: DateTime + references: list[SecurityAdvisoryReference] + severity: SecurityAdvisorySeverity + summary: str + updated_at: DateTime + vulnerabilities: SecurityVulnerabilityConnection + withdrawn_at: Optional[DateTime] = None diff --git a/tests/output/github/sponsor_and_lifetime_value_connection.py b/tests/output/github/sponsor_and_lifetime_value_connection.py new file mode 100644 index 0000000..7285959 --- /dev/null +++ b/tests/output/github/sponsor_and_lifetime_value_connection.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .gql_types import PageInfo + from .gql_types import SponsorAndLifetimeValue + from .gql_types import SponsorAndLifetimeValueEdge + + +@dataclass(kw_only=True) +class SponsorAndLifetimeValueConnection: + """ + SponsorAndLifetimeValueConnection - The connection type for SponsorAndLifetimeValue. + + edges - A list of edges. + + nodes - A list of nodes. + + pageInfo - Information to aid in pagination. + + totalCount - Identifies the total count of items in the connection. + + """ + + edges: Optional[list[SponsorAndLifetimeValueEdge]] = None + nodes: Optional[list[SponsorAndLifetimeValue]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github/sponsorable.py b/tests/output/github/sponsorable.py new file mode 100644 index 0000000..a8947bf --- /dev/null +++ b/tests/output/github/sponsorable.py @@ -0,0 +1,79 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection + from .sponsors_listing import SponsorsListing + from .gql_types import SponsorConnection + from .gql_types import Sponsorship + from .gql_types import SponsorshipConnection + from .gql_types import SponsorsActivityConnection + from .gql_types import SponsorshipNewsletterConnection + + +@dataclass(kw_only=True) +class Sponsorable: + """ + Sponsorable - Entities that can sponsor or be sponsored through GitHub Sponsors. + + estimatedNextSponsorsPayoutInCents - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). + + hasSponsorsListing - True if this user/organization has a GitHub Sponsors listing. + + isSponsoredBy - Whether the given account is sponsoring this user/organization. + + isSponsoringViewer - True if the viewer is sponsored by this user/organization. + + lifetimeReceivedSponsorshipValues - Calculate how much each sponsor has ever paid total to this maintainer via + GitHub Sponsors. Does not include sponsorships paid via Patreon. + + monthlyEstimatedSponsorsIncomeInCents - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + + sponsoring - List of users and organizations this entity is sponsoring. + + sponsors - List of sponsors for this user or organization. + + sponsorsActivities - Events involving this sponsorable, such as new sponsorships. + + sponsorsListing - The GitHub Sponsors listing for this user or organization. + + sponsorshipForViewerAsSponsor - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + + sponsorshipForViewerAsSponsorable - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + + sponsorshipNewsletters - List of sponsorship updates sent from this sponsorable to sponsors. + + sponsorshipsAsMaintainer - The sponsorships where this user or organization is the maintainer receiving the funds. + + sponsorshipsAsSponsor - The sponsorships where this user or organization is the funder. + + totalSponsorshipAmountAsSponsorInCents - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + spent on GitHub to fund sponsorships. Only returns a value when viewed by the + user themselves or by a user who can manage sponsorships for the requested organization. + + viewerCanSponsor - Whether or not the viewer is able to sponsor this user/organization. + + viewerIsSponsoring - True if the viewer is sponsoring this user/organization. + + """ + + estimated_next_sponsors_payout_in_cents: int + has_sponsors_listing: bool + is_sponsored_by: bool + is_sponsoring_viewer: bool + lifetime_received_sponsorship_values: SponsorAndLifetimeValueConnection + monthly_estimated_sponsors_income_in_cents: int + sponsoring: SponsorConnection + sponsors: SponsorConnection + sponsors_activities: SponsorsActivityConnection + sponsors_listing: Optional[SponsorsListing] = None + sponsorship_for_viewer_as_sponsor: Optional[Sponsorship] = None + sponsorship_for_viewer_as_sponsorable: Optional[Sponsorship] = None + sponsorship_newsletters: SponsorshipNewsletterConnection + sponsorships_as_maintainer: SponsorshipConnection + sponsorships_as_sponsor: SponsorshipConnection + total_sponsorship_amount_as_sponsor_in_cents: Optional[int] = None + viewer_can_sponsor: bool + viewer_is_sponsoring: bool diff --git a/tests/output/github/sponsors_listing.py b/tests/output/github/sponsors_listing.py new file mode 100644 index 0000000..486e0be --- /dev/null +++ b/tests/output/github/sponsors_listing.py @@ -0,0 +1,98 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, URI, Date, DateTime + +if TYPE_CHECKING: + from .organization import Organization + from .sponsorable import Sponsorable + from .gql_types import SponsorsGoal + from .gql_types import StripeConnectAccount + from .gql_types import SponsorsListingFeaturedItem + from .gql_types import SponsorsTierConnection + + +@dataclass(kw_only=True) +class SponsorsListing: + """ + SponsorsListing - A GitHub Sponsors listing. + + activeGoal - The current goal the maintainer is trying to reach with GitHub Sponsors, if any. + + activeStripeConnectAccount - The Stripe Connect account currently in use for payouts for this Sponsors + listing, if any. Will only return a value when queried by the maintainer + themselves, or by an admin of the sponsorable organization. + + billingCountryOrRegion - The name of the country or region with the maintainer's bank account or fiscal + host. Will only return a value when queried by the maintainer themselves, or + by an admin of the sponsorable organization. + + contactEmailAddress - The email address used by GitHub to contact the sponsorable about their GitHub + Sponsors profile. Will only return a value when queried by the maintainer + themselves, or by an admin of the sponsorable organization. + + createdAt - Identifies the date and time when the object was created. + + dashboardResourcePath - The HTTP path for the Sponsors dashboard for this Sponsors listing. + + dashboardUrl - The HTTP URL for the Sponsors dashboard for this Sponsors listing. + + featuredItems - The records featured on the GitHub Sponsors profile. + + fiscalHost - The fiscal host used for payments, if any. Will only return a value when + queried by the maintainer themselves, or by an admin of the sponsorable organization. + + fullDescription - The full description of the listing. + + fullDescriptionHTML - The full description of the listing rendered to HTML. + + id - The Node ID of the SponsorsListing object + + isPublic - Whether this listing is publicly visible. + + name - The listing's full name. + + nextPayoutDate - A future date on which this listing is eligible to receive a payout. + + residenceCountryOrRegion - The name of the country or region where the maintainer resides. Will only + return a value when queried by the maintainer themselves, or by an admin of + the sponsorable organization. + + resourcePath - The HTTP path for this Sponsors listing. + + shortDescription - The short description of the listing. + + slug - The short name of the listing. + + sponsorable - The entity this listing represents who can be sponsored on GitHub Sponsors. + + tiers - The tiers for this GitHub Sponsors profile. + + url - The HTTP URL for this Sponsors listing. + + """ + + active_goal: Optional[SponsorsGoal] = None + active_stripe_connect_account: Optional[StripeConnectAccount] = None + billing_country_or_region: Optional[str] = None + contact_email_address: Optional[str] = None + created_at: DateTime + dashboard_resource_path: URI + dashboard_url: URI + featured_items: list[SponsorsListingFeaturedItem] + fiscal_host: Optional[Organization] = None + full_description: str + full_description_h_t_m_l: HTML + id: ID + is_public: bool + name: str + next_payout_date: Optional[Date] = None + residence_country_or_region: Optional[str] = None + resource_path: URI + short_description: str + slug: str + sponsorable: Sponsorable + tiers: Optional[SponsorsTierConnection] = None + url: URI diff --git a/tests/output/github/sponsors_tier.py b/tests/output/github/sponsors_tier.py new file mode 100644 index 0000000..8e218c6 --- /dev/null +++ b/tests/output/github/sponsors_tier.py @@ -0,0 +1,61 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, DateTime + +if TYPE_CHECKING: + from .sponsors_listing import SponsorsListing + from .gql_types import SponsorsTierAdminInfo + + +@dataclass(kw_only=True) +class SponsorsTier: + """ + SponsorsTier - A GitHub Sponsors tier associated with a GitHub Sponsors listing. + + adminInfo - SponsorsTier information only visible to users that can administer the associated Sponsors listing. + + closestLesserValueTier - Get a different tier for this tier's maintainer that is at the same frequency + as this tier but with an equal or lesser cost. Returns the published tier with + the monthly price closest to this tier's without going over. + + createdAt - Identifies the date and time when the object was created. + + description - The description of the tier. + + descriptionHTML - The tier description rendered to HTML + + id - The Node ID of the SponsorsTier object + + isCustomAmount - Whether this tier was chosen at checkout time by the sponsor rather than + defined ahead of time by the maintainer who manages the Sponsors listing. + + isOneTime - Whether this tier is only for use with one-time sponsorships. + + monthlyPriceInCents - How much this tier costs per month in cents. + + monthlyPriceInDollars - How much this tier costs per month in USD. + + name - The name of the tier. + + sponsorsListing - The sponsors listing that this tier belongs to. + + updatedAt - Identifies the date and time when the object was last updated. + + """ + + admin_info: Optional[SponsorsTierAdminInfo] = None + closest_lesser_value_tier: Optional["SponsorsTier"] = None + created_at: DateTime + description: str + description_h_t_m_l: HTML + id: ID + is_custom_amount: bool + is_one_time: bool + monthly_price_in_cents: int + monthly_price_in_dollars: int + name: str + sponsors_listing: SponsorsListing + updated_at: DateTime diff --git a/tests/output/github/subscriptions.py b/tests/output/github/subscriptions.py deleted file mode 100644 index 17aa1fe..0000000 --- a/tests/output/github/subscriptions.py +++ /dev/null @@ -1,30 +0,0 @@ -from typing import List -from pygqlmap import GQLSubscription -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -# from .type_refs import * - -class repository(GQLSubscription): - """ - repository - Lookup a given repository by the owner and repository name. - - """ - class RepositoryArgs(GQLArgsSet, GQLObject): - """ - owner - The login field of a user or organization - - name - The name of the repository - - followRenames - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - - """ - owner: NonNull_str - name: NonNull_str - followRenames: bool - - _args: RepositoryArgs - - - type: Repository diff --git a/tests/output/github/team.py b/tests/output/github/team.py new file mode 100644 index 0000000..1f13d90 --- /dev/null +++ b/tests/output/github/team.py @@ -0,0 +1,165 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + SubscriptionState, + TeamNotificationSetting, + TeamPrivacy, + TeamReviewAssignmentAlgorithm, +) +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .organization import Organization + from .team_discussion import TeamDiscussion + from .project_v2 import ProjectV2 + from .gql_types import TeamConnection + from .gql_types import TeamDiscussionConnection + from .gql_types import OrganizationInvitationConnection + from .gql_types import UserStatusConnection + from .gql_types import TeamMemberConnection + from .gql_types import ProjectV2Connection + from .gql_types import TeamRepositoryConnection + + +@dataclass(kw_only=True) +class Team: + """ + Team - A team of users in an organization. + + ancestors - A list of teams that are ancestors of this team. + + avatarUrl - A URL pointing to the team's avatar. + + childTeams - List of child teams belonging to this team + + combinedSlug - The slug corresponding to the organization and team. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + description - The description of the team. + + discussion - Find a team discussion by its number. + + discussions - A list of team discussions. + + discussionsResourcePath - The HTTP path for team discussions + + discussionsUrl - The HTTP URL for team discussions + + editTeamResourcePath - The HTTP path for editing this team + + editTeamUrl - The HTTP URL for editing this team + + id - The Node ID of the Team object + + invitations - A list of pending invitations for users to this team + + memberStatuses - Get the status messages members of this entity have set that are either public or visible only to the organization. + + members - A list of users who are members of this team. + + membersResourcePath - The HTTP path for the team' members + + membersUrl - The HTTP URL for the team' members + + name - The name of the team. + + newTeamResourcePath - The HTTP path creating a new team + + newTeamUrl - The HTTP URL creating a new team + + notificationSetting - The notification setting that the team has set. + + organization - The organization that owns this team. + + parentTeam - The parent team of the team. + + privacy - The level of privacy the team has. + + projectV2 - Finds and returns the project according to the provided project number. + + projectsV2 - List of projects this team has collaborator access to. + + repositories - A list of repositories this team has access to. + + repositoriesResourcePath - The HTTP path for this team's repositories + + repositoriesUrl - The HTTP URL for this team's repositories + + resourcePath - The HTTP path for this team + + reviewRequestDelegationAlgorithm - What algorithm is used for review assignment for this team + + reviewRequestDelegationEnabled - True if review assignment is enabled for this team + + reviewRequestDelegationMemberCount - How many team members are required for review assignment for this team + + reviewRequestDelegationNotifyTeam - When assigning team members via delegation, whether the entire team should be notified as well. + + slug - The slug corresponding to the team. + + teamsResourcePath - The HTTP path for this team's teams + + teamsUrl - The HTTP URL for this team's teams + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this team + + viewerCanAdminister - Team is adminable by the viewer. + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + """ + + ancestors: TeamConnection + avatar_url: Optional[URI] = None + child_teams: TeamConnection + combined_slug: str + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + discussion: Optional[TeamDiscussion] = None + discussions: TeamDiscussionConnection + discussions_resource_path: URI + discussions_url: URI + edit_team_resource_path: URI + edit_team_url: URI + id: ID + invitations: Optional[OrganizationInvitationConnection] = None + member_statuses: UserStatusConnection + members: TeamMemberConnection + members_resource_path: URI + members_url: URI + name: str + new_team_resource_path: URI + new_team_url: URI + notification_setting: TeamNotificationSetting + organization: Organization + parent_team: Optional["Team"] = None + privacy: TeamPrivacy + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection + repositories: TeamRepositoryConnection + repositories_resource_path: URI + repositories_url: URI + resource_path: URI + review_request_delegation_algorithm: Optional[TeamReviewAssignmentAlgorithm] = None + review_request_delegation_enabled: bool + review_request_delegation_member_count: Optional[int] = None + review_request_delegation_notify_team: bool + slug: str + teams_resource_path: URI + teams_url: URI + updated_at: DateTime + url: URI + viewer_can_administer: bool + viewer_can_subscribe: bool + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github/team_discussion.py b/tests/output/github/team_discussion.py new file mode 100644 index 0000000..b3dc8d7 --- /dev/null +++ b/tests/output/github/team_discussion.py @@ -0,0 +1,91 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CommentCannotUpdateReason, SubscriptionState +from .gql_simple_types import Actor +from .scalars import HTML, ID, DateTime + +if TYPE_CHECKING: + from .reaction_group import ReactionGroup + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + + +@dataclass(kw_only=True) +class TeamDiscussion: + """ + TeamDiscussion - A team discussion. + + author - The actor who authored the comment. + + body - The body as Markdown. + + bodyHTML - The body rendered to HTML. + + bodyText - The body rendered to text. + + createdAt - Identifies the date and time when the object was created. + + createdViaEmail - Check if this comment was created via an email reply. + + databaseId - Identifies the primary key from the database. + + editor - The actor who edited the comment. + + id - The Node ID of the TeamDiscussion object + + includesCreatedEdit - Check if this comment was edited and includes an edit with the creation data + + lastEditedAt - The moment the editor made the last edit + + publishedAt - Identifies when the comment was published at. + + reactionGroups - A list of reactions grouped by content left on the subject. + + reactions - A list of Reactions left on the Issue. + + updatedAt - Identifies the date and time when the object was last updated. + + userContentEdits - A list of edits to this content. + + viewerCanDelete - Check if the current viewer can delete this object. + + viewerCanReact - Can user react to this subject + + viewerCanSubscribe - Check if the viewer is able to change their subscription status for the repository. + + viewerCanUpdate - Check if the current viewer can update this object. + + viewerCannotUpdateReasons - Reasons why the current viewer can not update this comment. + + viewerDidAuthor - Did the viewer author this comment. + + viewerSubscription - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + + """ + + author: Optional[Actor] = None + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + last_edited_at: Optional[DateTime] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github/topic.py b/tests/output/github/topic.py new file mode 100644 index 0000000..f273c80 --- /dev/null +++ b/tests/output/github/topic.py @@ -0,0 +1,41 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +from .scalars import ID + +if TYPE_CHECKING: + from .gql_types import RepositoryConnection + from .gql_types import StargazerConnection + + +@dataclass(kw_only=True) +class Topic: + """ + Topic - A topic aggregates entities that are related to a subject. + + id - The Node ID of the Topic object + + name - The topic's name. + + relatedTopics - A list of related topics, including aliases of this topic, sorted with the most relevant + first. Returns up to 10 Topics. + + repositories - A list of repositories. + + stargazerCount - Returns a count of how many stargazers there are on this object + + stargazers - A list of users who have starred this starrable. + + viewerHasStarred - Returns a boolean indicating whether the viewing user has starred this starrable. + + """ + + id: ID + name: str + related_topics: list[Topic] + repositories: RepositoryConnection + stargazer_count: int + stargazers: StargazerConnection + viewer_has_starred: bool diff --git a/tests/output/github/type_refs.py b/tests/output/github/type_refs.py deleted file mode 100644 index 2d2ab79..0000000 --- a/tests/output/github/type_refs.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import TypeVar, List -from pygqlmap.components import GQLObject -from pygqlmap.gql_types import ID - - -ProjectV2ItemConnection = TypeVar('ProjectV2ItemConnection', bound=GQLObject) - -PullRequestConnection = TypeVar('PullRequestConnection', bound=GQLObject) - -Repository = TypeVar('Repository', bound=GQLObject) - -Project = TypeVar('Project', bound=GQLObject) - -Topic = TypeVar('Topic', bound=GQLObject) - -CommitCommentConnection = TypeVar('CommitCommentConnection', bound=GQLObject) - -Issue = TypeVar('Issue', bound=GQLObject) - -ProjectV2 = TypeVar('ProjectV2', bound=GQLObject) - -PullRequest = TypeVar('PullRequest', bound=GQLObject) - -Ref = TypeVar('Ref', bound=GQLObject) - -SponsorsActivityConnection = TypeVar('SponsorsActivityConnection', bound=GQLObject) - -Sponsorship = TypeVar('Sponsorship', bound=GQLObject) - -SponsorshipConnection = TypeVar('SponsorshipConnection', bound=GQLObject) - -Organization = TypeVar('Organization', bound=GQLObject) - -IpAllowListEntryConnection = TypeVar('IpAllowListEntryConnection', bound=GQLObject) - -WorkflowRunConnection = TypeVar('WorkflowRunConnection', bound=GQLObject) diff --git a/tests/output/github/user.py b/tests/output/github/user.py new file mode 100644 index 0000000..a33f1e4 --- /dev/null +++ b/tests/output/github/user.py @@ -0,0 +1,340 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .organization import Organization + from .repository import Repository + from .project_v2 import ProjectV2 + from .commit_comment_connection import CommitCommentConnection + from .project import Project + from .gist import Gist + from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection + from .sponsors_listing import SponsorsListing + from .contributions_collection import ContributionsCollection + from .gql_types import RepositoryInteractionAbility + from .gql_types import UserListSuggestion + from .gql_types import UserStatus + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import RepositoryConnection + from .gql_types import DiscussionCommentConnection + from .gql_types import DiscussionConnection + from .gql_types import PackageConnection + from .gql_types import ProjectConnection + from .gql_types import GistCommentConnection + from .gql_types import GistConnection + from .gql_types import PinnableItemConnection + from .gql_types import ProfileItemShowcase + from .gql_types import SponsorConnection + from .gql_types import Sponsorship + from .gql_types import SponsorshipConnection + from .gql_types import SponsorsActivityConnection + from .gql_types import SponsorshipNewsletterConnection + from .gql_types import OrganizationConnection + from .gql_types import IssueCommentConnection + from .gql_types import Hovercard + from .gql_types import EnterpriseConnection + from .gql_types import FollowerConnection + from .gql_types import FollowingConnection + from .gql_types import UserListConnection + from .gql_types import PublicKeyConnection + from .gql_types import SavedReplyConnection + from .gql_types import SocialAccountConnection + from .gql_types import StarredRepositoryConnection + + +@dataclass(kw_only=True) +class User: + """ + User - A user is an individual's account on GitHub that owns repositories and can make new content. + + anyPinnableItems - Determine if this repository owner has any items that can be pinned to their profile. + + avatarUrl - A URL pointing to the user's public avatar. + + bio - The user's public profile bio. + + bioHTML - The user's public profile bio as HTML. + + canReceiveOrganizationEmailsWhenNotificationsRestricted - Could this user receive email notifications, if the organization had notification restrictions enabled? + + commitComments - A list of commit comments made by this user. + + company - The user's public profile company. + + companyHTML - The user's public profile company as HTML. + + contributionsCollection - The collection of contributions this user has made to different repositories. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + email - The user's publicly visible profile email. + + enterprises - A list of enterprises that the user belongs to. + + estimatedNextSponsorsPayoutInCents - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). + + followers - A list of users the given user is followed by. + + following - A list of users the given user is following. + + gist - Find gist by repo name. + + gistComments - A list of gist comments made by this user. + + gists - A list of the Gists the user has created. + + hasSponsorsListing - True if this user/organization has a GitHub Sponsors listing. + + hovercard - The hovercard information for this user in a given context + + id - The Node ID of the User object + + interactionAbility - The interaction ability settings for this user. + + isBountyHunter - Whether or not this user is a participant in the GitHub Security Bug Bounty. + + isCampusExpert - Whether or not this user is a participant in the GitHub Campus Experts Program. + + isDeveloperProgramMember - Whether or not this user is a GitHub Developer Program member. + + isEmployee - Whether or not this user is a GitHub employee. + + isFollowingViewer - Whether or not this user is following the viewer. Inverse of viewerIsFollowing + + isGitHubStar - Whether or not this user is a member of the GitHub Stars Program. + + isHireable - Whether or not the user has marked themselves as for hire. + + isSiteAdmin - Whether or not this user is a site administrator. + + isSponsoredBy - Whether the given account is sponsoring this user/organization. + + isSponsoringViewer - True if the viewer is sponsored by this user/organization. + + isViewer - Whether or not this user is the viewing user. + + issueComments - A list of issue comments made by this user. + + issues - A list of issues associated with this user. + + itemShowcase - Showcases a selection of repositories and gists that the profile owner has + either curated or that have been selected automatically based on popularity. + + lifetimeReceivedSponsorshipValues - Calculate how much each sponsor has ever paid total to this maintainer via + GitHub Sponsors. Does not include sponsorships paid via Patreon. + + lists - A user-curated list of repositories + + location - The user's public profile location. + + login - The username used to login. + + monthlyEstimatedSponsorsIncomeInCents - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + + name - The user's public profile name. + + organization - Find an organization by its login that the user belongs to. + + organizationVerifiedDomainEmails - Verified email addresses that match verified domains for a specified organization the user is a member of. + + organizations - A list of organizations the user belongs to. + + packages - A list of packages under the owner. + + pinnableItems - A list of repositories and gists this profile owner can pin to their profile. + + pinnedItems - A list of repositories and gists this profile owner has pinned to their profile + + pinnedItemsRemaining - Returns how many more items this profile owner can pin to their profile. + + project - Find project by number. + + projectV2 - Find a project by number. + + projects - A list of projects under the owner. + + projectsResourcePath - The HTTP path listing user's projects + + projectsUrl - The HTTP URL listing user's projects + + projectsV2 - A list of projects under the owner. + + pronouns - The user's profile pronouns + + publicKeys - A list of public keys associated with this user. + + pullRequests - A list of pull requests associated with this user. + + recentProjects - Recent projects that this user has modified in the context of the owner. + + repositories - A list of repositories that the user owns. + + repositoriesContributedTo - A list of repositories that the user recently contributed to. + + repository - Find Repository. + + repositoryDiscussionComments - Discussion comments this user has authored. + + repositoryDiscussions - Discussions this user has started. + + resourcePath - The HTTP path for this user + + savedReplies - Replies this user has saved + + socialAccounts - The user's social media accounts, ordered as they appear on the user's profile. + + sponsoring - List of users and organizations this entity is sponsoring. + + sponsors - List of sponsors for this user or organization. + + sponsorsActivities - Events involving this sponsorable, such as new sponsorships. + + sponsorsListing - The GitHub Sponsors listing for this user or organization. + + sponsorshipForViewerAsSponsor - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + + sponsorshipForViewerAsSponsorable - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + + sponsorshipNewsletters - List of sponsorship updates sent from this sponsorable to sponsors. + + sponsorshipsAsMaintainer - The sponsorships where this user or organization is the maintainer receiving the funds. + + sponsorshipsAsSponsor - The sponsorships where this user or organization is the funder. + + starredRepositories - Repositories the user has starred. + + status - The user's description of what they're currently doing. + + suggestedListNames - Suggested names for user lists + + topRepositories - Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created + + totalSponsorshipAmountAsSponsorInCents - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + spent on GitHub to fund sponsorships. Only returns a value when viewed by the + user themselves or by a user who can manage sponsorships for the requested organization. + + twitterUsername - The user's Twitter username. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this user + + viewerCanChangePinnedItems - Can the viewer pin repositories and gists to the profile? + + viewerCanCreateProjects - Can the current viewer create new projects on this owner. + + viewerCanFollow - Whether or not the viewer is able to follow the user. + + viewerCanSponsor - Whether or not the viewer is able to sponsor this user/organization. + + viewerIsFollowing - Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. + + viewerIsSponsoring - True if the viewer is sponsoring this user/organization. + + watching - A list of repositories the given user is watching. + + websiteUrl - A URL pointing to the user's public website/blog. + + """ + + any_pinnable_items: bool + avatar_url: URI + bio: Optional[str] = None + bio_h_t_m_l: HTML + can_receive_organization_emails_when_notifications_restricted: bool + commit_comments: CommitCommentConnection + company: Optional[str] = None + company_h_t_m_l: HTML + contributions_collection: ContributionsCollection + created_at: DateTime + database_id: Optional[int] = None + email: str + enterprises: Optional[EnterpriseConnection] = None + estimated_next_sponsors_payout_in_cents: int + followers: FollowerConnection + following: FollowingConnection + gist: Optional[Gist] = None + gist_comments: GistCommentConnection + gists: GistConnection + has_sponsors_listing: bool + hovercard: Hovercard + id: ID + interaction_ability: Optional[RepositoryInteractionAbility] = None + is_bounty_hunter: bool + is_campus_expert: bool + is_developer_program_member: bool + is_employee: bool + is_following_viewer: bool + is_git_hub_star: bool + is_hireable: bool + is_site_admin: bool + is_sponsored_by: bool + is_sponsoring_viewer: bool + is_viewer: bool + issue_comments: IssueCommentConnection + issues: IssueConnection + item_showcase: ProfileItemShowcase + lifetime_received_sponsorship_values: SponsorAndLifetimeValueConnection + lists: UserListConnection + location: Optional[str] = None + login: str + monthly_estimated_sponsors_income_in_cents: int + name: Optional[str] = None + organization: Optional[Organization] = None + organization_verified_domain_emails: list[str] + organizations: OrganizationConnection + packages: PackageConnection + pinnable_items: PinnableItemConnection + pinned_items: PinnableItemConnection + pinned_items_remaining: int + project: Optional[Project] = None + project_v2: Optional[ProjectV2] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + projects_v2: ProjectV2Connection + pronouns: Optional[str] = None + public_keys: PublicKeyConnection + pull_requests: PullRequestConnection + recent_projects: ProjectV2Connection + repositories: RepositoryConnection + repositories_contributed_to: RepositoryConnection + repository: Optional[Repository] = None + repository_discussion_comments: DiscussionCommentConnection + repository_discussions: DiscussionConnection + resource_path: URI + saved_replies: Optional[SavedReplyConnection] = None + social_accounts: SocialAccountConnection + sponsoring: SponsorConnection + sponsors: SponsorConnection + sponsors_activities: SponsorsActivityConnection + sponsors_listing: Optional[SponsorsListing] = None + sponsorship_for_viewer_as_sponsor: Optional[Sponsorship] = None + sponsorship_for_viewer_as_sponsorable: Optional[Sponsorship] = None + sponsorship_newsletters: SponsorshipNewsletterConnection + sponsorships_as_maintainer: SponsorshipConnection + sponsorships_as_sponsor: SponsorshipConnection + starred_repositories: StarredRepositoryConnection + status: Optional[UserStatus] = None + suggested_list_names: list[UserListSuggestion] + top_repositories: RepositoryConnection + total_sponsorship_amount_as_sponsor_in_cents: Optional[int] = None + twitter_username: Optional[str] = None + updated_at: DateTime + url: URI + viewer_can_change_pinned_items: bool + viewer_can_create_projects: bool + viewer_can_follow: bool + viewer_can_sponsor: bool + viewer_is_following: bool + viewer_is_sponsoring: bool + watching: RepositoryConnection + website_url: Optional[URI] = None diff --git a/tests/output/github/user_connection.py b/tests/output/github/user_connection.py new file mode 100644 index 0000000..aabb3fa --- /dev/null +++ b/tests/output/github/user_connection.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .user import User + from .user_edge import UserEdge + from .gql_types import PageInfo + + +@dataclass(kw_only=True) +class UserConnection: + """ + UserConnection - A list of users. + + edges - A list of edges. + + nodes - A list of nodes. + + pageInfo - Information to aid in pagination. + + totalCount - Identifies the total count of items in the connection. + + """ + + edges: Optional[list[UserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github/user_edge.py b/tests/output/github/user_edge.py new file mode 100644 index 0000000..783eab4 --- /dev/null +++ b/tests/output/github/user_edge.py @@ -0,0 +1,22 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .user import User + + +@dataclass(kw_only=True) +class UserEdge: + """ + UserEdge - Represents a user. + + cursor - A cursor for use in pagination. + + node - The item at the end of the edge. + + """ + + cursor: str + node: Optional[User] = None diff --git a/tests/output/github/wa inconsistence.txt b/tests/output/github/wa inconsistence.txt deleted file mode 100644 index 19fc047..0000000 --- a/tests/output/github/wa inconsistence.txt +++ /dev/null @@ -1,13 +0,0 @@ -from - -_______ -data: Query -_______ - -to - -_______ -data: None -_______ - -for in consistence in GraphQL schema \ No newline at end of file diff --git a/tests/output/github/workflow_run.py b/tests/output/github/workflow_run.py new file mode 100644 index 0000000..e07f3db --- /dev/null +++ b/tests/output/github/workflow_run.py @@ -0,0 +1,61 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .check_suite import CheckSuite + from .gql_types import DeploymentReviewConnection + from .gql_types import WorkflowRunFile + from .gql_types import DeploymentRequestConnection + from .gql_types import Workflow + + +@dataclass(kw_only=True) +class WorkflowRun: + """ + WorkflowRun - A workflow run. + + checkSuite - The check suite this workflow run belongs to. + + createdAt - Identifies the date and time when the object was created. + + databaseId - Identifies the primary key from the database. + + deploymentReviews - The log of deployment reviews + + event - The event that triggered the workflow run + + file - The workflow file + + id - The Node ID of the WorkflowRun object + + pendingDeploymentRequests - The pending deployment requests of all check runs in this workflow run + + resourcePath - The HTTP path for this workflow run + + runNumber - A number that uniquely identifies this workflow run in its parent workflow. + + updatedAt - Identifies the date and time when the object was last updated. + + url - The HTTP URL for this workflow run + + workflow - The workflow executed in this workflow run. + + """ + + check_suite: CheckSuite + created_at: DateTime + database_id: Optional[int] = None + deployment_reviews: DeploymentReviewConnection + event: str + file: Optional[WorkflowRunFile] = None + id: ID + pending_deployment_requests: DeploymentRequestConnection + resource_path: URI + run_number: int + updated_at: DateTime + url: URI + workflow: Workflow diff --git a/tests/output/github_nodesc/__init__.py b/tests/output/github_nodesc/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/output/github_nodesc/app.py b/tests/output/github_nodesc/app.py new file mode 100644 index 0000000..a7b7b2b --- /dev/null +++ b/tests/output/github_nodesc/app.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .ip_allow_list_entry_connection import IpAllowListEntryConnection + + +@dataclass(kw_only=True) +class App: + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + id: ID + ip_allow_list_entries: IpAllowListEntryConnection + logo_background_color: str + logo_url: URI + name: str + slug: str + updated_at: DateTime + url: URI diff --git a/tests/output/github_nodesc/branch_protection_rule.py b/tests/output/github_nodesc/branch_protection_rule.py new file mode 100644 index 0000000..985b28b --- /dev/null +++ b/tests/output/github_nodesc/branch_protection_rule.py @@ -0,0 +1,54 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import Actor +from .scalars import ID + +if TYPE_CHECKING: + from .repository import Repository + from .gql_types import BranchProtectionRuleConflictConnection + from .gql_types import RefConnection + from .gql_types import BypassForcePushAllowanceConnection + from .gql_types import BypassPullRequestAllowanceConnection + from .gql_types import PushAllowanceConnection + from .gql_types import RequiredStatusCheckDescription + from .gql_types import ReviewDismissalAllowanceConnection + + +@dataclass(kw_only=True) +class BranchProtectionRule: + allows_deletions: bool + allows_force_pushes: bool + blocks_creations: bool + branch_protection_rule_conflicts: BranchProtectionRuleConflictConnection + bypass_force_push_allowances: BypassForcePushAllowanceConnection + bypass_pull_request_allowances: BypassPullRequestAllowanceConnection + creator: Optional[Actor] = None + database_id: Optional[int] = None + dismisses_stale_reviews: bool + id: ID + is_admin_enforced: bool + lock_allows_fetch_and_merge: bool + lock_branch: bool + matching_refs: RefConnection + pattern: str + push_allowances: PushAllowanceConnection + repository: Optional[Repository] = None + require_last_push_approval: bool + required_approving_review_count: Optional[int] = None + required_deployment_environments: Optional[list[str]] = None + required_status_check_contexts: Optional[list[str]] = None + required_status_checks: Optional[list[RequiredStatusCheckDescription]] = None + requires_approving_reviews: bool + requires_code_owner_reviews: bool + requires_commit_signatures: bool + requires_conversation_resolution: bool + requires_deployments: bool + requires_linear_history: bool + requires_status_checks: bool + requires_strict_status_checks: bool + restricts_pushes: bool + restricts_review_dismissals: bool + review_dismissal_allowances: ReviewDismissalAllowanceConnection diff --git a/tests/output/github_nodesc/check_suite.py b/tests/output/github_nodesc/check_suite.py new file mode 100644 index 0000000..ccbb919 --- /dev/null +++ b/tests/output/github_nodesc/check_suite.py @@ -0,0 +1,39 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CheckConclusionState, CheckStatusState +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .ref import Ref + from .app import App + from .user import User + from .repository import Repository + from .commit import Commit + from .workflow_run import WorkflowRun + from .gql_types import CheckRunConnection + from .gql_types import Push + + +@dataclass(kw_only=True) +class CheckSuite: + app: Optional[App] = None + branch: Optional[Ref] = None + check_runs: Optional[CheckRunConnection] = None + commit: Commit + conclusion: Optional[CheckConclusionState] = None + created_at: DateTime + creator: Optional[User] = None + database_id: Optional[int] = None + id: ID + matching_pull_requests: Optional[PullRequestConnection] = None + push: Optional[Push] = None + repository: Repository + resource_path: URI + status: CheckStatusState + updated_at: DateTime + url: URI + workflow_run: Optional[WorkflowRun] = None diff --git a/tests/output/github_nodesc/commit.py b/tests/output/github_nodesc/commit.py new file mode 100644 index 0000000..30d91aa --- /dev/null +++ b/tests/output/github_nodesc/commit.py @@ -0,0 +1,73 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import SubscriptionState +from .scalars import HTML, ID, URI, DateTime, GitObjectID + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .organization import Organization + from .repository import Repository + from .commit_comment_connection import CommitCommentConnection + from .gql_types import DeploymentConnection + from .gql_types import SubmoduleConnection + from .gql_types import GitActor + from .gql_types import GitActorConnection + from .gql_types import Blame + from .gql_types import CheckSuiteConnection + from .gql_types import TreeEntry + from .gql_types import CommitHistoryConnection + from .gql_types import CommitConnection + from .gql_types import GitSignature + from .gql_types import Status + from .gql_types import StatusCheckRollup + from .gql_types import Tree + + +@dataclass(kw_only=True) +class Commit: + abbreviated_oid: str + additions: int + associated_pull_requests: Optional[PullRequestConnection] = None + author: Optional[GitActor] = None + authored_by_committer: bool + authored_date: DateTime + authors: GitActorConnection + blame: Blame + changed_files_if_available: Optional[int] = None + check_suites: Optional[CheckSuiteConnection] = None + comments: CommitCommentConnection + commit_resource_path: URI + commit_url: URI + committed_date: DateTime + committed_via_web: bool + committer: Optional[GitActor] = None + deletions: int + deployments: Optional[DeploymentConnection] = None + file: Optional[TreeEntry] = None + history: CommitHistoryConnection + id: ID + message: str + message_body: str + message_body_h_t_m_l: HTML + message_headline: str + message_headline_h_t_m_l: HTML + oid: GitObjectID + on_behalf_of: Optional[Organization] = None + parents: CommitConnection + repository: Repository + resource_path: URI + signature: Optional[GitSignature] = None + status: Optional[Status] = None + status_check_rollup: Optional[StatusCheckRollup] = None + submodules: SubmoduleConnection + tarball_url: URI + tree: Tree + tree_resource_path: URI + tree_url: URI + url: URI + viewer_can_subscribe: bool + viewer_subscription: Optional[SubscriptionState] = None + zipball_url: URI diff --git a/tests/output/github_nodesc/commit_comment_connection.py b/tests/output/github_nodesc/commit_comment_connection.py new file mode 100644 index 0000000..7bc82fd --- /dev/null +++ b/tests/output/github_nodesc/commit_comment_connection.py @@ -0,0 +1,17 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .gql_types import PageInfo + from .gql_types import CommitComment + from .gql_types import CommitCommentEdge + + +@dataclass(kw_only=True) +class CommitCommentConnection: + edges: Optional[list[CommitCommentEdge]] = None + nodes: Optional[list[CommitComment]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github_nodesc/contributions_collection.py b/tests/output/github_nodesc/contributions_collection.py new file mode 100644 index 0000000..9589e47 --- /dev/null +++ b/tests/output/github_nodesc/contributions_collection.py @@ -0,0 +1,72 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import Date, DateTime + +if TYPE_CHECKING: + from .user import User + from .gql_types import CommitContributionsByRepository + from .gql_types import ContributionCalendar + from .gql_types import CreatedIssueContribution + from .gql_unions import CreatedIssueOrRestrictedContribution + from .gql_types import CreatedPullRequestContribution + from .gql_unions import CreatedPullRequestOrRestrictedContribution + from .gql_unions import CreatedRepositoryOrRestrictedContribution + from .gql_types import CreatedIssueContributionConnection + from .gql_types import IssueContributionsByRepository + from .gql_types import JoinedGitHubContribution + from .gql_types import CreatedPullRequestContributionConnection + from .gql_types import PullRequestContributionsByRepository + from .gql_types import CreatedPullRequestReviewContributionConnection + from .gql_types import PullRequestReviewContributionsByRepository + from .gql_types import CreatedRepositoryContributionConnection + + +@dataclass(kw_only=True) +class ContributionsCollection: + commit_contributions_by_repository: list[CommitContributionsByRepository] + contribution_calendar: ContributionCalendar + contribution_years: list[int] + does_end_in_current_month: bool + earliest_restricted_contribution_date: Optional[Date] = None + ended_at: DateTime + first_issue_contribution: Optional[CreatedIssueOrRestrictedContribution] = None + first_pull_request_contribution: Optional[ + CreatedPullRequestOrRestrictedContribution + ] = None + first_repository_contribution: Optional[ + CreatedRepositoryOrRestrictedContribution + ] = None + has_activity_in_the_past: bool + has_any_contributions: bool + has_any_restricted_contributions: bool + is_single_day: bool + issue_contributions: CreatedIssueContributionConnection + issue_contributions_by_repository: list[IssueContributionsByRepository] + joined_git_hub_contribution: Optional[JoinedGitHubContribution] = None + latest_restricted_contribution_date: Optional[Date] = None + most_recent_collection_with_activity: Optional["ContributionsCollection"] = None + most_recent_collection_without_activity: Optional["ContributionsCollection"] = None + popular_issue_contribution: Optional[CreatedIssueContribution] = None + popular_pull_request_contribution: Optional[CreatedPullRequestContribution] = None + pull_request_contributions: CreatedPullRequestContributionConnection + pull_request_contributions_by_repository: list[PullRequestContributionsByRepository] + pull_request_review_contributions: CreatedPullRequestReviewContributionConnection + pull_request_review_contributions_by_repository: list[ + PullRequestReviewContributionsByRepository + ] + repository_contributions: CreatedRepositoryContributionConnection + restricted_contributions_count: int + started_at: DateTime + total_commit_contributions: int + total_issue_contributions: int + total_pull_request_contributions: int + total_pull_request_review_contributions: int + total_repositories_with_contributed_commits: int + total_repositories_with_contributed_issues: int + total_repositories_with_contributed_pull_request_reviews: int + total_repositories_with_contributed_pull_requests: int + total_repository_contributions: int + user: User diff --git a/tests/output/github_nodesc/deployment.py b/tests/output/github_nodesc/deployment.py new file mode 100644 index 0000000..fceef49 --- /dev/null +++ b/tests/output/github_nodesc/deployment.py @@ -0,0 +1,37 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import DeploymentState +from .gql_simple_types import Actor +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .ref import Ref + from .repository import Repository + from .commit import Commit + from .gql_types import DeploymentStatus + from .gql_types import DeploymentStatusConnection + + +@dataclass(kw_only=True) +class Deployment: + commit: Optional[Commit] = None + commit_oid: str + created_at: DateTime + creator: Actor + database_id: Optional[int] = None + description: Optional[str] = None + environment: Optional[str] = None + id: ID + latest_environment: Optional[str] = None + latest_status: Optional[DeploymentStatus] = None + original_environment: Optional[str] = None + payload: Optional[str] = None + ref: Optional[Ref] = None + repository: Repository + state: Optional[DeploymentState] = None + statuses: Optional[DeploymentStatusConnection] = None + task: Optional[str] = None + updated_at: DateTime diff --git a/tests/output/github_nodesc/discussion.py b/tests/output/github_nodesc/discussion.py new file mode 100644 index 0000000..0d2d462 --- /dev/null +++ b/tests/output/github_nodesc/discussion.py @@ -0,0 +1,74 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + DiscussionStateReason, + LockReason, + SubscriptionState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .repository import Repository + from .reaction_group import ReactionGroup + from .discussion_comment import DiscussionComment + from .discussion_poll import DiscussionPoll + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import LabelConnection + from .gql_types import DiscussionCommentConnection + from .gql_types import DiscussionCategory + + +@dataclass(kw_only=True) +class Discussion: + active_lock_reason: Optional[LockReason] = None + answer: Optional[DiscussionComment] = None + answer_chosen_at: Optional[DateTime] = None + answer_chosen_by: Optional[Actor] = None + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + category: DiscussionCategory + closed: bool + closed_at: Optional[DateTime] = None + comments: DiscussionCommentConnection + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + is_answered: Optional[bool] = None + labels: Optional[LabelConnection] = None + last_edited_at: Optional[DateTime] = None + locked: bool + number: int + poll: Optional[DiscussionPoll] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + state_reason: Optional[DiscussionStateReason] = None + title: str + updated_at: DateTime + upvote_count: int + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_close: bool + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_reopen: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_can_upvote: bool + viewer_did_author: bool + viewer_has_upvoted: bool + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github_nodesc/discussion_comment.py b/tests/output/github_nodesc/discussion_comment.py new file mode 100644 index 0000000..81738a8 --- /dev/null +++ b/tests/output/github_nodesc/discussion_comment.py @@ -0,0 +1,56 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CommentAuthorAssociation, CommentCannotUpdateReason +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .reaction_group import ReactionGroup + from .discussion import Discussion + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import DiscussionCommentConnection + + +@dataclass(kw_only=True) +class DiscussionComment: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + deleted_at: Optional[DateTime] = None + discussion: Optional[Discussion] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + is_answer: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + replies: DiscussionCommentConnection + reply_to: Optional["DiscussionComment"] = None + resource_path: URI + updated_at: DateTime + upvote_count: int + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_mark_as_answer: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_unmark_as_answer: bool + viewer_can_update: bool + viewer_can_upvote: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_has_upvoted: bool diff --git a/tests/output/github_nodesc/discussion_poll.py b/tests/output/github_nodesc/discussion_poll.py new file mode 100644 index 0000000..b50e288 --- /dev/null +++ b/tests/output/github_nodesc/discussion_poll.py @@ -0,0 +1,21 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .discussion import Discussion + from .gql_types import DiscussionPollOptionConnection + + +@dataclass(kw_only=True) +class DiscussionPoll: + discussion: Optional[Discussion] = None + id: ID + options: Optional[DiscussionPollOptionConnection] = None + question: str + total_vote_count: int + viewer_can_vote: bool + viewer_has_voted: bool diff --git a/tests/output/github_nodesc/enterprise.py b/tests/output/github_nodesc/enterprise.py new file mode 100644 index 0000000..d905cff --- /dev/null +++ b/tests/output/github_nodesc/enterprise.py @@ -0,0 +1,37 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import EnterpriseBillingInfo +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import EnterpriseMemberConnection + from .gql_types import OrganizationConnection + from .gql_types import EnterpriseOwnerInfo + + +@dataclass(kw_only=True) +class Enterprise: + announcement: Optional[str] = None + announcement_expires_at: Optional[DateTime] = None + announcement_user_dismissible: Optional[bool] = None + avatar_url: URI + billing_email: Optional[str] = None + billing_info: Optional[EnterpriseBillingInfo] = None + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: HTML + id: ID + location: Optional[str] = None + members: EnterpriseMemberConnection + name: str + organizations: OrganizationConnection + owner_info: Optional[EnterpriseOwnerInfo] = None + resource_path: URI + slug: str + url: URI + viewer_is_admin: bool + website_url: Optional[URI] = None diff --git a/tests/output/github_nodesc/enterprise_server_installation.py b/tests/output/github_nodesc/enterprise_server_installation.py new file mode 100644 index 0000000..44a4ff1 --- /dev/null +++ b/tests/output/github_nodesc/enterprise_server_installation.py @@ -0,0 +1,22 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .gql_types import EnterpriseServerUserAccountConnection + from .gql_types import EnterpriseServerUserAccountsUploadConnection + + +@dataclass(kw_only=True) +class EnterpriseServerInstallation: + created_at: DateTime + customer_name: str + host_name: str + id: ID + is_connected: bool + updated_at: DateTime + user_accounts: EnterpriseServerUserAccountConnection + user_accounts_uploads: EnterpriseServerUserAccountsUploadConnection diff --git a/tests/output/github_nodesc/enterprise_server_user_account.py b/tests/output/github_nodesc/enterprise_server_user_account.py new file mode 100644 index 0000000..90debcd --- /dev/null +++ b/tests/output/github_nodesc/enterprise_server_user_account.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .enterprise_server_installation import EnterpriseServerInstallation + from .gql_types import EnterpriseServerUserAccountEmailConnection + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccount: + created_at: DateTime + emails: EnterpriseServerUserAccountEmailConnection + enterprise_server_installation: EnterpriseServerInstallation + id: ID + is_site_admin: bool + login: str + profile_name: Optional[str] = None + remote_created_at: DateTime + remote_user_id: int + updated_at: DateTime diff --git a/tests/output/github_nodesc/enums.py b/tests/output/github_nodesc/enums.py index 05a776a..6bf6915 100644 --- a/tests/output/github_nodesc/enums.py +++ b/tests/output/github_nodesc/enums.py @@ -1,1711 +1,2144 @@ from enum import Enum + class ActorType(Enum): - DEFAULT = None - USER = 'USER' ##Indicates a user actor. - TEAM = 'TEAM' ##Indicates a team actor. + + TEAM = "TEAM" # Indicates a team actor. + USER = "USER" # Indicates a user actor. + class AuditLogOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order audit log entries by timestamp + + CREATED_AT = "CREATED_AT" # Order audit log entries by timestamp + class CheckAnnotationLevel(Enum): - DEFAULT = None - FAILURE = 'FAILURE' ##An annotation indicating an inescapable error. - NOTICE = 'NOTICE' ##An annotation indicating some information. - WARNING = 'WARNING' ##An annotation indicating an ignorable error. + + FAILURE = "FAILURE" # An annotation indicating an inescapable error. + NOTICE = "NOTICE" # An annotation indicating some information. + WARNING = "WARNING" # An annotation indicating an ignorable error. + class CheckConclusionState(Enum): - DEFAULT = None - ACTION_REQUIRED = 'ACTION_REQUIRED' ##The check suite or run requires action. - TIMED_OUT = 'TIMED_OUT' ##The check suite or run has timed out. - CANCELLED = 'CANCELLED' ##The check suite or run has been cancelled. - FAILURE = 'FAILURE' ##The check suite or run has failed. - SUCCESS = 'SUCCESS' ##The check suite or run has succeeded. - NEUTRAL = 'NEUTRAL' ##The check suite or run was neutral. - SKIPPED = 'SKIPPED' ##The check suite or run was skipped. - STARTUP_FAILURE = 'STARTUP_FAILURE' ##The check suite or run has failed at startup. - STALE = 'STALE' ##The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. + + ACTION_REQUIRED = "ACTION_REQUIRED" # The check suite or run requires action. + CANCELLED = "CANCELLED" # The check suite or run has been cancelled. + FAILURE = "FAILURE" # The check suite or run has failed. + NEUTRAL = "NEUTRAL" # The check suite or run was neutral. + SKIPPED = "SKIPPED" # The check suite or run was skipped. + STALE = "STALE" # The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. + STARTUP_FAILURE = "STARTUP_FAILURE" # The check suite or run has failed at startup. + SUCCESS = "SUCCESS" # The check suite or run has succeeded. + TIMED_OUT = "TIMED_OUT" # The check suite or run has timed out. + class CheckRunState(Enum): - DEFAULT = None - ACTION_REQUIRED = 'ACTION_REQUIRED' ##The check run requires action. - CANCELLED = 'CANCELLED' ##The check run has been cancelled. - COMPLETED = 'COMPLETED' ##The check run has been completed. - FAILURE = 'FAILURE' ##The check run has failed. - IN_PROGRESS = 'IN_PROGRESS' ##The check run is in progress. - NEUTRAL = 'NEUTRAL' ##The check run was neutral. - PENDING = 'PENDING' ##The check run is in pending state. - QUEUED = 'QUEUED' ##The check run has been queued. - SKIPPED = 'SKIPPED' ##The check run was skipped. - STALE = 'STALE' ##The check run was marked stale by GitHub. Only GitHub can use this conclusion. - STARTUP_FAILURE = 'STARTUP_FAILURE' ##The check run has failed at startup. - SUCCESS = 'SUCCESS' ##The check run has succeeded. - TIMED_OUT = 'TIMED_OUT' ##The check run has timed out. - WAITING = 'WAITING' ##The check run is in waiting state. + + ACTION_REQUIRED = "ACTION_REQUIRED" # The check run requires action. + CANCELLED = "CANCELLED" # The check run has been cancelled. + COMPLETED = "COMPLETED" # The check run has been completed. + FAILURE = "FAILURE" # The check run has failed. + IN_PROGRESS = "IN_PROGRESS" # The check run is in progress. + NEUTRAL = "NEUTRAL" # The check run was neutral. + PENDING = "PENDING" # The check run is in pending state. + QUEUED = "QUEUED" # The check run has been queued. + SKIPPED = "SKIPPED" # The check run was skipped. + STALE = "STALE" # The check run was marked stale by GitHub. Only GitHub can use this conclusion. + STARTUP_FAILURE = "STARTUP_FAILURE" # The check run has failed at startup. + SUCCESS = "SUCCESS" # The check run has succeeded. + TIMED_OUT = "TIMED_OUT" # The check run has timed out. + WAITING = "WAITING" # The check run is in waiting state. + class CheckRunType(Enum): - DEFAULT = None - ALL = 'ALL' ##Every check run available. - LATEST = 'LATEST' ##The latest check run. + + ALL = "ALL" # Every check run available. + LATEST = "LATEST" # The latest check run. + class CheckStatusState(Enum): - DEFAULT = None - QUEUED = 'QUEUED' ##The check suite or run has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The check suite or run is in progress. - COMPLETED = 'COMPLETED' ##The check suite or run has been completed. - WAITING = 'WAITING' ##The check suite or run is in waiting state. - PENDING = 'PENDING' ##The check suite or run is in pending state. - REQUESTED = 'REQUESTED' ##The check suite or run has been requested. + + COMPLETED = "COMPLETED" # The check suite or run has been completed. + IN_PROGRESS = "IN_PROGRESS" # The check suite or run is in progress. + PENDING = "PENDING" # The check suite or run is in pending state. + QUEUED = "QUEUED" # The check suite or run has been queued. + REQUESTED = "REQUESTED" # The check suite or run has been requested. + WAITING = "WAITING" # The check suite or run is in waiting state. + class CollaboratorAffiliation(Enum): - DEFAULT = None - OUTSIDE = 'OUTSIDE' ##All outside collaborators of an organization-owned subject. - DIRECT = 'DIRECT' ##All collaborators with permissions to an organization-owned subject, regardless of organization membership status. - ALL = 'ALL' ##All collaborators the authenticated user can see. + + ALL = "ALL" # All collaborators the authenticated user can see. + DIRECT = "DIRECT" # All collaborators with permissions to an organization-owned subject, regardless of organization membership status. + OUTSIDE = "OUTSIDE" # All outside collaborators of an organization-owned subject. + class CommentAuthorAssociation(Enum): - DEFAULT = None - MEMBER = 'MEMBER' ##Author is a member of the organization that owns the repository. - OWNER = 'OWNER' ##Author is the owner of the repository. - MANNEQUIN = 'MANNEQUIN' ##Author is a placeholder for an unclaimed user. - COLLABORATOR = 'COLLABORATOR' ##Author has been invited to collaborate on the repository. - CONTRIBUTOR = 'CONTRIBUTOR' ##Author has previously committed to the repository. - FIRST_TIME_CONTRIBUTOR = 'FIRST_TIME_CONTRIBUTOR' ##Author has not previously committed to the repository. - FIRST_TIMER = 'FIRST_TIMER' ##Author has not previously committed to GitHub. - NONE = 'NONE' ##Author has no association with the repository. + + COLLABORATOR = ( + "COLLABORATOR" # Author has been invited to collaborate on the repository. + ) + CONTRIBUTOR = "CONTRIBUTOR" # Author has previously committed to the repository. + FIRST_TIMER = "FIRST_TIMER" # Author has not previously committed to GitHub. + FIRST_TIME_CONTRIBUTOR = "FIRST_TIME_CONTRIBUTOR" # Author has not previously committed to the repository. + MANNEQUIN = "MANNEQUIN" # Author is a placeholder for an unclaimed user. + MEMBER = ( + "MEMBER" # Author is a member of the organization that owns the repository. + ) + NONE = "NONE" # Author has no association with the repository. + OWNER = "OWNER" # Author is the owner of the repository. + class CommentCannotUpdateReason(Enum): - DEFAULT = None - ARCHIVED = 'ARCHIVED' ##Unable to create comment because repository is archived. - INSUFFICIENT_ACCESS = 'INSUFFICIENT_ACCESS' ##You must be the author or have write access to this repository to update this comment. - LOCKED = 'LOCKED' ##Unable to create comment because issue is locked. - LOGIN_REQUIRED = 'LOGIN_REQUIRED' ##You must be logged in to update this comment. - MAINTENANCE = 'MAINTENANCE' ##Repository is under maintenance. - VERIFIED_EMAIL_REQUIRED = 'VERIFIED_EMAIL_REQUIRED' ##At least one email address must be verified to update this comment. - DENIED = 'DENIED' ##You cannot update this comment + + ARCHIVED = "ARCHIVED" # Unable to create comment because repository is archived. + DENIED = "DENIED" # You cannot update this comment + INSUFFICIENT_ACCESS = "INSUFFICIENT_ACCESS" # You must be the author or have write access to this repository to update this comment. + LOCKED = "LOCKED" # Unable to create comment because issue is locked. + LOGIN_REQUIRED = "LOGIN_REQUIRED" # You must be logged in to update this comment. + MAINTENANCE = "MAINTENANCE" # Repository is under maintenance. + VERIFIED_EMAIL_REQUIRED = "VERIFIED_EMAIL_REQUIRED" # At least one email address must be verified to update this comment. + class CommitContributionOrderField(Enum): - DEFAULT = None - OCCURRED_AT = 'OCCURRED_AT' ##Order commit contributions by when they were made. - COMMIT_COUNT = 'COMMIT_COUNT' ##Order commit contributions by how many commits they represent. + + COMMIT_COUNT = ( + "COMMIT_COUNT" # Order commit contributions by how many commits they represent. + ) + OCCURRED_AT = "OCCURRED_AT" # Order commit contributions by when they were made. + class ComparisonStatus(Enum): - DEFAULT = None - DIVERGED = 'DIVERGED' ##The head ref is both ahead and behind of the base ref, indicating git history has diverged. - AHEAD = 'AHEAD' ##The head ref is ahead of the base ref. - BEHIND = 'BEHIND' ##The head ref is behind the base ref. - IDENTICAL = 'IDENTICAL' ##The head ref and base ref are identical. + + AHEAD = "AHEAD" # The head ref is ahead of the base ref. + BEHIND = "BEHIND" # The head ref is behind the base ref. + DIVERGED = "DIVERGED" # The head ref is both ahead and behind of the base ref, indicating git history has diverged. + IDENTICAL = "IDENTICAL" # The head ref and base ref are identical. + class ContributionLevel(Enum): - DEFAULT = None - NONE = 'NONE' ##No contributions occurred. - FIRST_QUARTILE = 'FIRST_QUARTILE' ##Lowest 25% of days of contributions. - SECOND_QUARTILE = 'SECOND_QUARTILE' ##Second lowest 25% of days of contributions. More contributions than the first quartile. - THIRD_QUARTILE = 'THIRD_QUARTILE' ##Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. - FOURTH_QUARTILE = 'FOURTH_QUARTILE' ##Highest 25% of days of contributions. More contributions than the third quartile. + + FIRST_QUARTILE = "FIRST_QUARTILE" # Lowest 25% of days of contributions. + FOURTH_QUARTILE = "FOURTH_QUARTILE" # Highest 25% of days of contributions. More contributions than the third quartile. + NONE = "NONE" # No contributions occurred. + SECOND_QUARTILE = "SECOND_QUARTILE" # Second lowest 25% of days of contributions. More contributions than the first quartile. + THIRD_QUARTILE = "THIRD_QUARTILE" # Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. + class DefaultRepositoryPermissionField(Enum): - DEFAULT = None - NONE = 'NONE' ##No access - READ = 'READ' ##Can read repos by default - WRITE = 'WRITE' ##Can read and write repos by default - ADMIN = 'ADMIN' ##Can read, write, and administrate repos by default + + ADMIN = "ADMIN" # Can read, write, and administrate repos by default + NONE = "NONE" # No access + READ = "READ" # Can read repos by default + WRITE = "WRITE" # Can read and write repos by default + class DependencyGraphEcosystem(Enum): - DEFAULT = None - RUBYGEMS = 'RUBYGEMS' ##Ruby gems hosted at RubyGems.org - NPM = 'NPM' ##JavaScript packages hosted at npmjs.com - PIP = 'PIP' ##Python packages hosted at PyPI.org - MAVEN = 'MAVEN' ##Java artifacts hosted at the Maven central repository - NUGET = 'NUGET' ##.NET packages hosted at the NuGet Gallery - COMPOSER = 'COMPOSER' ##PHP packages hosted at packagist.org - GO = 'GO' ##Go modules - ACTIONS = 'ACTIONS' ##GitHub Actions - RUST = 'RUST' ##Rust crates - PUB = 'PUB' ##Dart packages hosted at pub.dev - SWIFT = 'SWIFT' ##Swift packages + + ACTIONS = "ACTIONS" # GitHub Actions + COMPOSER = "COMPOSER" # PHP packages hosted at packagist.org + GO = "GO" # Go modules + MAVEN = "MAVEN" # Java artifacts hosted at the Maven central repository + NPM = "NPM" # JavaScript packages hosted at npmjs.com + NUGET = "NUGET" # .NET packages hosted at the NuGet Gallery + PIP = "PIP" # Python packages hosted at PyPI.org + PUB = "PUB" # Dart packages hosted at pub.dev + RUBYGEMS = "RUBYGEMS" # Ruby gems hosted at RubyGems.org + RUST = "RUST" # Rust crates + SWIFT = "SWIFT" # Swift packages + class DeploymentOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order collection by creation time + + CREATED_AT = "CREATED_AT" # Order collection by creation time + class DeploymentProtectionRuleType(Enum): - DEFAULT = None - REQUIRED_REVIEWERS = 'REQUIRED_REVIEWERS' ##Required reviewers - WAIT_TIMER = 'WAIT_TIMER' ##Wait timer + + REQUIRED_REVIEWERS = "REQUIRED_REVIEWERS" # Required reviewers + WAIT_TIMER = "WAIT_TIMER" # Wait timer + class DeploymentReviewState(Enum): - DEFAULT = None - APPROVED = 'APPROVED' ##The deployment was approved. - REJECTED = 'REJECTED' ##The deployment was rejected. + + APPROVED = "APPROVED" # The deployment was approved. + REJECTED = "REJECTED" # The deployment was rejected. + class DeploymentState(Enum): - DEFAULT = None - ABANDONED = 'ABANDONED' ##The pending deployment was not updated after 30 minutes. - ACTIVE = 'ACTIVE' ##The deployment is currently active. - DESTROYED = 'DESTROYED' ##An inactive transient deployment. - ERROR = 'ERROR' ##The deployment experienced an error. - FAILURE = 'FAILURE' ##The deployment has failed. - INACTIVE = 'INACTIVE' ##The deployment is inactive. - PENDING = 'PENDING' ##The deployment is pending. - SUCCESS = 'SUCCESS' ##The deployment was successful. - QUEUED = 'QUEUED' ##The deployment has queued - IN_PROGRESS = 'IN_PROGRESS' ##The deployment is in progress. - WAITING = 'WAITING' ##The deployment is waiting. + + ABANDONED = "ABANDONED" # The pending deployment was not updated after 30 minutes. + ACTIVE = "ACTIVE" # The deployment is currently active. + DESTROYED = "DESTROYED" # An inactive transient deployment. + ERROR = "ERROR" # The deployment experienced an error. + FAILURE = "FAILURE" # The deployment has failed. + INACTIVE = "INACTIVE" # The deployment is inactive. + IN_PROGRESS = "IN_PROGRESS" # The deployment is in progress. + PENDING = "PENDING" # The deployment is pending. + QUEUED = "QUEUED" # The deployment has queued + SUCCESS = "SUCCESS" # The deployment was successful. + WAITING = "WAITING" # The deployment is waiting. + class DeploymentStatusState(Enum): - DEFAULT = None - PENDING = 'PENDING' ##The deployment is pending. - SUCCESS = 'SUCCESS' ##The deployment was successful. - FAILURE = 'FAILURE' ##The deployment has failed. - INACTIVE = 'INACTIVE' ##The deployment is inactive. - ERROR = 'ERROR' ##The deployment experienced an error. - QUEUED = 'QUEUED' ##The deployment is queued - IN_PROGRESS = 'IN_PROGRESS' ##The deployment is in progress. - WAITING = 'WAITING' ##The deployment is waiting. + + ERROR = "ERROR" # The deployment experienced an error. + FAILURE = "FAILURE" # The deployment has failed. + INACTIVE = "INACTIVE" # The deployment is inactive. + IN_PROGRESS = "IN_PROGRESS" # The deployment is in progress. + PENDING = "PENDING" # The deployment is pending. + QUEUED = "QUEUED" # The deployment is queued + SUCCESS = "SUCCESS" # The deployment was successful. + WAITING = "WAITING" # The deployment is waiting. + class DiffSide(Enum): - DEFAULT = None - LEFT = 'LEFT' ##The left side of the diff. - RIGHT = 'RIGHT' ##The right side of the diff. + + LEFT = "LEFT" # The left side of the diff. + RIGHT = "RIGHT" # The right side of the diff. + class DiscussionCloseReason(Enum): - DEFAULT = None - RESOLVED = 'RESOLVED' ##The discussion has been resolved - OUTDATED = 'OUTDATED' ##The discussion is no longer relevant - DUPLICATE = 'DUPLICATE' ##The discussion is a duplicate of another + + DUPLICATE = "DUPLICATE" # The discussion is a duplicate of another + OUTDATED = "OUTDATED" # The discussion is no longer relevant + RESOLVED = "RESOLVED" # The discussion has been resolved + class DiscussionOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order discussions by creation time. - UPDATED_AT = 'UPDATED_AT' ##Order discussions by most recent modification time. + + CREATED_AT = "CREATED_AT" # Order discussions by creation time. + UPDATED_AT = "UPDATED_AT" # Order discussions by most recent modification time. + class DiscussionPollOptionOrderField(Enum): - DEFAULT = None - AUTHORED_ORDER = 'AUTHORED_ORDER' ##Order poll options by the order that the poll author specified when creating the poll. - VOTE_COUNT = 'VOTE_COUNT' ##Order poll options by the number of votes it has. + + AUTHORED_ORDER = "AUTHORED_ORDER" # Order poll options by the order that the poll author specified when creating the poll. + VOTE_COUNT = "VOTE_COUNT" # Order poll options by the number of votes it has. + class DiscussionState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##A discussion that is open - CLOSED = 'CLOSED' ##A discussion that has been closed + + CLOSED = "CLOSED" # A discussion that has been closed + OPEN = "OPEN" # A discussion that is open + class DiscussionStateReason(Enum): - DEFAULT = None - RESOLVED = 'RESOLVED' ##The discussion has been resolved - OUTDATED = 'OUTDATED' ##The discussion is no longer relevant - DUPLICATE = 'DUPLICATE' ##The discussion is a duplicate of another - REOPENED = 'REOPENED' ##The discussion was reopened + + DUPLICATE = "DUPLICATE" # The discussion is a duplicate of another + OUTDATED = "OUTDATED" # The discussion is no longer relevant + REOPENED = "REOPENED" # The discussion was reopened + RESOLVED = "RESOLVED" # The discussion has been resolved + class DismissReason(Enum): - DEFAULT = None - FIX_STARTED = 'FIX_STARTED' ##A fix has already been started - NO_BANDWIDTH = 'NO_BANDWIDTH' ##No bandwidth to fix this - TOLERABLE_RISK = 'TOLERABLE_RISK' ##Risk is tolerable to this project - INACCURATE = 'INACCURATE' ##This alert is inaccurate or incorrect - NOT_USED = 'NOT_USED' ##Vulnerable code is not actually used + + FIX_STARTED = "FIX_STARTED" # A fix has already been started + INACCURATE = "INACCURATE" # This alert is inaccurate or incorrect + NOT_USED = "NOT_USED" # Vulnerable code is not actually used + NO_BANDWIDTH = "NO_BANDWIDTH" # No bandwidth to fix this + TOLERABLE_RISK = "TOLERABLE_RISK" # Risk is tolerable to this project + class EnterpriseAdministratorInvitationOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order enterprise administrator member invitations by creation time + + CREATED_AT = "CREATED_AT" # Order enterprise administrator member invitations by creation time + class EnterpriseAdministratorRole(Enum): - DEFAULT = None - OWNER = 'OWNER' ##Represents an owner of the enterprise account. - BILLING_MANAGER = 'BILLING_MANAGER' ##Represents a billing manager of the enterprise account. + + BILLING_MANAGER = ( + "BILLING_MANAGER" # Represents a billing manager of the enterprise account. + ) + OWNER = "OWNER" # Represents an owner of the enterprise account. + class EnterpriseAllowPrivateRepositoryForkingPolicyValue(Enum): - DEFAULT = None - ENTERPRISE_ORGANIZATIONS = 'ENTERPRISE_ORGANIZATIONS' ##Members can fork a repository to an organization within this enterprise. - SAME_ORGANIZATION = 'SAME_ORGANIZATION' ##Members can fork a repository only within the same organization (intra-org). - SAME_ORGANIZATION_USER_ACCOUNTS = 'SAME_ORGANIZATION_USER_ACCOUNTS' ##Members can fork a repository to their user account or within the same organization. - ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS = 'ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS' ##Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. - USER_ACCOUNTS = 'USER_ACCOUNTS' ##Members can fork a repository to their user account. - EVERYWHERE = 'EVERYWHERE' ##Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. + + ENTERPRISE_ORGANIZATIONS = "ENTERPRISE_ORGANIZATIONS" # Members can fork a repository to an organization within this enterprise. + ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS = "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS" # Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. + EVERYWHERE = "EVERYWHERE" # Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. + SAME_ORGANIZATION = "SAME_ORGANIZATION" # Members can fork a repository only within the same organization (intra-org). + SAME_ORGANIZATION_USER_ACCOUNTS = "SAME_ORGANIZATION_USER_ACCOUNTS" # Members can fork a repository to their user account or within the same organization. + USER_ACCOUNTS = ( + "USER_ACCOUNTS" # Members can fork a repository to their user account. + ) + class EnterpriseDefaultRepositoryPermissionSettingValue(Enum): - DEFAULT = None - NO_POLICY = 'NO_POLICY' ##Organizations in the enterprise choose base repository permissions for their members. - ADMIN = 'ADMIN' ##Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. - WRITE = 'WRITE' ##Organization members will be able to clone, pull, and push all organization repositories. - READ = 'READ' ##Organization members will be able to clone and pull all organization repositories. - NONE = 'NONE' ##Organization members will only be able to clone and pull public repositories. + + ADMIN = "ADMIN" # Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. + NONE = "NONE" # Organization members will only be able to clone and pull public repositories. + NO_POLICY = "NO_POLICY" # Organizations in the enterprise choose base repository permissions for their members. + READ = "READ" # Organization members will be able to clone and pull all organization repositories. + WRITE = "WRITE" # Organization members will be able to clone, pull, and push all organization repositories. + class EnterpriseEnabledDisabledSettingValue(Enum): - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for organizations in the enterprise. - DISABLED = 'DISABLED' ##The setting is disabled for organizations in the enterprise. - NO_POLICY = 'NO_POLICY' ##There is no policy set for organizations in the enterprise. + + DISABLED = ( + "DISABLED" # The setting is disabled for organizations in the enterprise. + ) + ENABLED = "ENABLED" # The setting is enabled for organizations in the enterprise. + NO_POLICY = ( + "NO_POLICY" # There is no policy set for organizations in the enterprise. + ) + class EnterpriseEnabledSettingValue(Enum): - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for organizations in the enterprise. - NO_POLICY = 'NO_POLICY' ##There is no policy set for organizations in the enterprise. + + ENABLED = "ENABLED" # The setting is enabled for organizations in the enterprise. + NO_POLICY = ( + "NO_POLICY" # There is no policy set for organizations in the enterprise. + ) + class EnterpriseMemberOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order enterprise members by login - CREATED_AT = 'CREATED_AT' ##Order enterprise members by creation time + + CREATED_AT = "CREATED_AT" # Order enterprise members by creation time + LOGIN = "LOGIN" # Order enterprise members by login + class EnterpriseMembersCanCreateRepositoriesSettingValue(Enum): - DEFAULT = None - NO_POLICY = 'NO_POLICY' ##Organization administrators choose whether to allow members to create repositories. - ALL = 'ALL' ##Members will be able to create public and private repositories. - PUBLIC = 'PUBLIC' ##Members will be able to create only public repositories. - PRIVATE = 'PRIVATE' ##Members will be able to create only private repositories. - DISABLED = 'DISABLED' ##Members will not be able to create public or private repositories. + + ALL = "ALL" # Members will be able to create public and private repositories. + DISABLED = ( + "DISABLED" # Members will not be able to create public or private repositories. + ) + NO_POLICY = "NO_POLICY" # Organization owners choose whether to allow members to create repositories. + PRIVATE = "PRIVATE" # Members will be able to create only private repositories. + PUBLIC = "PUBLIC" # Members will be able to create only public repositories. + class EnterpriseMembersCanMakePurchasesSettingValue(Enum): - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for organizations in the enterprise. - DISABLED = 'DISABLED' ##The setting is disabled for organizations in the enterprise. + + DISABLED = ( + "DISABLED" # The setting is disabled for organizations in the enterprise. + ) + ENABLED = "ENABLED" # The setting is enabled for organizations in the enterprise. + + +class EnterpriseMembershipType(Enum): + + ADMIN = "ADMIN" # Returns all enterprises in which the user is an admin. + ALL = "ALL" # Returns all enterprises in which the user is a member, admin, or billing manager. + BILLING_MANAGER = "BILLING_MANAGER" # Returns all enterprises in which the user is a billing manager. + ORG_MEMBERSHIP = "ORG_MEMBERSHIP" # Returns all enterprises in which the user is a member of an org that is owned by the enterprise. + + +class EnterpriseOrderField(Enum): + + NAME = "NAME" # Order enterprises by name + class EnterpriseServerInstallationOrderField(Enum): - DEFAULT = None - HOST_NAME = 'HOST_NAME' ##Order Enterprise Server installations by host name - CUSTOMER_NAME = 'CUSTOMER_NAME' ##Order Enterprise Server installations by customer name - CREATED_AT = 'CREATED_AT' ##Order Enterprise Server installations by creation time + + CREATED_AT = "CREATED_AT" # Order Enterprise Server installations by creation time + CUSTOMER_NAME = ( + "CUSTOMER_NAME" # Order Enterprise Server installations by customer name + ) + HOST_NAME = "HOST_NAME" # Order Enterprise Server installations by host name + class EnterpriseServerUserAccountEmailOrderField(Enum): - DEFAULT = None - EMAIL = 'EMAIL' ##Order emails by email + + EMAIL = "EMAIL" # Order emails by email + class EnterpriseServerUserAccountOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order user accounts by login - REMOTE_CREATED_AT = 'REMOTE_CREATED_AT' ##Order user accounts by creation time on the Enterprise Server installation + + LOGIN = "LOGIN" # Order user accounts by login + REMOTE_CREATED_AT = "REMOTE_CREATED_AT" # Order user accounts by creation time on the Enterprise Server installation + class EnterpriseServerUserAccountsUploadOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order user accounts uploads by creation time + + CREATED_AT = "CREATED_AT" # Order user accounts uploads by creation time + class EnterpriseServerUserAccountsUploadSyncState(Enum): - DEFAULT = None - PENDING = 'PENDING' ##The synchronization of the upload is pending. - SUCCESS = 'SUCCESS' ##The synchronization of the upload succeeded. - FAILURE = 'FAILURE' ##The synchronization of the upload failed. + + FAILURE = "FAILURE" # The synchronization of the upload failed. + PENDING = "PENDING" # The synchronization of the upload is pending. + SUCCESS = "SUCCESS" # The synchronization of the upload succeeded. + class EnterpriseUserAccountMembershipRole(Enum): - DEFAULT = None - MEMBER = 'MEMBER' ##The user is a member of an organization in the enterprise. - OWNER = 'OWNER' ##The user is an owner of an organization in the enterprise. - UNAFFILIATED = 'UNAFFILIATED' ##The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. + + MEMBER = "MEMBER" # The user is a member of an organization in the enterprise. + OWNER = "OWNER" # The user is an owner of an organization in the enterprise. + UNAFFILIATED = "UNAFFILIATED" # The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. + class EnterpriseUserDeployment(Enum): - DEFAULT = None - CLOUD = 'CLOUD' ##The user is part of a GitHub Enterprise Cloud deployment. - SERVER = 'SERVER' ##The user is part of a GitHub Enterprise Server deployment. + + CLOUD = "CLOUD" # The user is part of a GitHub Enterprise Cloud deployment. + SERVER = "SERVER" # The user is part of a GitHub Enterprise Server deployment. + class EnvironmentOrderField(Enum): - DEFAULT = None - NAME = 'NAME' ##Order environments by name. + + NAME = "NAME" # Order environments by name. + class FileViewedState(Enum): - DEFAULT = None - DISMISSED = 'DISMISSED' ##The file has new changes since last viewed. - VIEWED = 'VIEWED' ##The file has been marked as viewed. - UNVIEWED = 'UNVIEWED' ##The file has not been marked as viewed. + + DISMISSED = "DISMISSED" # The file has new changes since last viewed. + UNVIEWED = "UNVIEWED" # The file has not been marked as viewed. + VIEWED = "VIEWED" # The file has been marked as viewed. + class FundingPlatform(Enum): - DEFAULT = None - GITHUB = 'GITHUB' ##GitHub funding platform. - PATREON = 'PATREON' ##Patreon funding platform. - OPEN_COLLECTIVE = 'OPEN_COLLECTIVE' ##Open Collective funding platform. - KO_FI = 'KO_FI' ##Ko-fi funding platform. - TIDELIFT = 'TIDELIFT' ##Tidelift funding platform. - COMMUNITY_BRIDGE = 'COMMUNITY_BRIDGE' ##Community Bridge funding platform. - LIBERAPAY = 'LIBERAPAY' ##Liberapay funding platform. - ISSUEHUNT = 'ISSUEHUNT' ##IssueHunt funding platform. - OTECHIE = 'OTECHIE' ##Otechie funding platform. - LFX_CROWDFUNDING = 'LFX_CROWDFUNDING' ##LFX Crowdfunding funding platform. - CUSTOM = 'CUSTOM' ##Custom funding platform. + + BUY_ME_A_COFFEE = "BUY_ME_A_COFFEE" # Buy Me a Coffee funding platform. + COMMUNITY_BRIDGE = "COMMUNITY_BRIDGE" # Community Bridge funding platform. + CUSTOM = "CUSTOM" # Custom funding platform. + GITHUB = "GITHUB" # GitHub funding platform. + ISSUEHUNT = "ISSUEHUNT" # IssueHunt funding platform. + KO_FI = "KO_FI" # Ko-fi funding platform. + LFX_CROWDFUNDING = "LFX_CROWDFUNDING" # LFX Crowdfunding funding platform. + LIBERAPAY = "LIBERAPAY" # Liberapay funding platform. + OPEN_COLLECTIVE = "OPEN_COLLECTIVE" # Open Collective funding platform. + PATREON = "PATREON" # Patreon funding platform. + POLAR = "POLAR" # Polar funding platform. + TIDELIFT = "TIDELIFT" # Tidelift funding platform. + class GistOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order gists by creation time - UPDATED_AT = 'UPDATED_AT' ##Order gists by update time - PUSHED_AT = 'PUSHED_AT' ##Order gists by push time + + CREATED_AT = "CREATED_AT" # Order gists by creation time + PUSHED_AT = "PUSHED_AT" # Order gists by push time + UPDATED_AT = "UPDATED_AT" # Order gists by update time + class GistPrivacy(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' ##Public - SECRET = 'SECRET' ##Secret - ALL = 'ALL' ##Gists that are public and secret + + ALL = "ALL" # Gists that are public and secret + PUBLIC = "PUBLIC" # Public + SECRET = "SECRET" # Secret + class GitSignatureState(Enum): - DEFAULT = None - VALID = 'VALID' ##Valid signature and verified by GitHub - INVALID = 'INVALID' ##Invalid signature - MALFORMED_SIG = 'MALFORMED_SIG' ##Malformed signature - UNKNOWN_KEY = 'UNKNOWN_KEY' ##Key used for signing not known to GitHub - BAD_EMAIL = 'BAD_EMAIL' ##Invalid email used for signing - UNVERIFIED_EMAIL = 'UNVERIFIED_EMAIL' ##Email used for signing unverified on GitHub - NO_USER = 'NO_USER' ##Email used for signing not known to GitHub - UNKNOWN_SIG_TYPE = 'UNKNOWN_SIG_TYPE' ##Unknown signature type - UNSIGNED = 'UNSIGNED' ##Unsigned - GPGVERIFY_UNAVAILABLE = 'GPGVERIFY_UNAVAILABLE' ##Internal error - the GPG verification service is unavailable at the moment - GPGVERIFY_ERROR = 'GPGVERIFY_ERROR' ##Internal error - the GPG verification service misbehaved - NOT_SIGNING_KEY = 'NOT_SIGNING_KEY' ##The usage flags for the key that signed this don't allow signing - EXPIRED_KEY = 'EXPIRED_KEY' ##Signing key expired - OCSP_PENDING = 'OCSP_PENDING' ##Valid signature, pending certificate revocation checking - OCSP_ERROR = 'OCSP_ERROR' ##Valid signature, though certificate revocation check failed - BAD_CERT = 'BAD_CERT' ##The signing certificate or its chain could not be verified - OCSP_REVOKED = 'OCSP_REVOKED' ##One or more certificates in chain has been revoked + + BAD_CERT = "BAD_CERT" # The signing certificate or its chain could not be verified + BAD_EMAIL = "BAD_EMAIL" # Invalid email used for signing + EXPIRED_KEY = "EXPIRED_KEY" # Signing key expired + GPGVERIFY_ERROR = ( + "GPGVERIFY_ERROR" # Internal error - the GPG verification service misbehaved + ) + GPGVERIFY_UNAVAILABLE = "GPGVERIFY_UNAVAILABLE" # Internal error - the GPG verification service is unavailable at the moment + INVALID = "INVALID" # Invalid signature + MALFORMED_SIG = "MALFORMED_SIG" # Malformed signature + NOT_SIGNING_KEY = "NOT_SIGNING_KEY" # The usage flags for the key that signed this don't allow signing + NO_USER = "NO_USER" # Email used for signing not known to GitHub + OCSP_ERROR = ( + "OCSP_ERROR" # Valid signature, though certificate revocation check failed + ) + OCSP_PENDING = ( + "OCSP_PENDING" # Valid signature, pending certificate revocation checking + ) + OCSP_REVOKED = "OCSP_REVOKED" # One or more certificates in chain has been revoked + UNKNOWN_KEY = "UNKNOWN_KEY" # Key used for signing not known to GitHub + UNKNOWN_SIG_TYPE = "UNKNOWN_SIG_TYPE" # Unknown signature type + UNSIGNED = "UNSIGNED" # Unsigned + UNVERIFIED_EMAIL = "UNVERIFIED_EMAIL" # Email used for signing unverified on GitHub + VALID = "VALID" # Valid signature and verified by GitHub + class IdentityProviderConfigurationState(Enum): - DEFAULT = None - ENFORCED = 'ENFORCED' ##Authentication with an identity provider is configured and enforced. - CONFIGURED = 'CONFIGURED' ##Authentication with an identity provider is configured but not enforced. - UNCONFIGURED = 'UNCONFIGURED' ##Authentication with an identity provider is not configured. + + CONFIGURED = "CONFIGURED" # Authentication with an identity provider is configured but not enforced. + ENFORCED = "ENFORCED" # Authentication with an identity provider is configured and enforced. + UNCONFIGURED = ( + "UNCONFIGURED" # Authentication with an identity provider is not configured. + ) + class IpAllowListEnabledSettingValue(Enum): - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for the owner. - DISABLED = 'DISABLED' ##The setting is disabled for the owner. + + DISABLED = "DISABLED" # The setting is disabled for the owner. + ENABLED = "ENABLED" # The setting is enabled for the owner. + class IpAllowListEntryOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order IP allow list entries by creation time. - ALLOW_LIST_VALUE = 'ALLOW_LIST_VALUE' ##Order IP allow list entries by the allow list value. + + ALLOW_LIST_VALUE = ( + "ALLOW_LIST_VALUE" # Order IP allow list entries by the allow list value. + ) + CREATED_AT = "CREATED_AT" # Order IP allow list entries by creation time. + class IpAllowListForInstalledAppsEnabledSettingValue(Enum): - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for the owner. - DISABLED = 'DISABLED' ##The setting is disabled for the owner. + + DISABLED = "DISABLED" # The setting is disabled for the owner. + ENABLED = "ENABLED" # The setting is enabled for the owner. + class IssueClosedStateReason(Enum): - DEFAULT = None - COMPLETED = 'COMPLETED' ##An issue that has been closed as completed - NOT_PLANNED = 'NOT_PLANNED' ##An issue that has been closed as not planned + + COMPLETED = "COMPLETED" # An issue that has been closed as completed + NOT_PLANNED = "NOT_PLANNED" # An issue that has been closed as not planned + class IssueCommentOrderField(Enum): - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order issue comments by update time + + UPDATED_AT = "UPDATED_AT" # Order issue comments by update time + class IssueOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order issues by creation time - UPDATED_AT = 'UPDATED_AT' ##Order issues by update time - COMMENTS = 'COMMENTS' ##Order issues by comment count + + COMMENTS = "COMMENTS" # Order issues by comment count + CREATED_AT = "CREATED_AT" # Order issues by creation time + UPDATED_AT = "UPDATED_AT" # Order issues by update time + class IssueState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##An issue that is still open - CLOSED = 'CLOSED' ##An issue that has been closed + + CLOSED = "CLOSED" # An issue that has been closed + OPEN = "OPEN" # An issue that is still open + class IssueStateReason(Enum): - DEFAULT = None - REOPENED = 'REOPENED' ##An issue that has been reopened - NOT_PLANNED = 'NOT_PLANNED' ##An issue that has been closed as not planned - COMPLETED = 'COMPLETED' ##An issue that has been closed as completed + + COMPLETED = "COMPLETED" # An issue that has been closed as completed + NOT_PLANNED = "NOT_PLANNED" # An issue that has been closed as not planned + REOPENED = "REOPENED" # An issue that has been reopened + class IssueTimelineItemsItemType(Enum): - DEFAULT = None - ISSUE_COMMENT = 'ISSUE_COMMENT' ##Represents a comment on an Issue. - CROSS_REFERENCED_EVENT = 'CROSS_REFERENCED_EVENT' ##Represents a mention made by one issue or pull request to another. - ADDED_TO_PROJECT_EVENT = 'ADDED_TO_PROJECT_EVENT' ##Represents a 'added_to_project' event on a given issue or pull request. - ASSIGNED_EVENT = 'ASSIGNED_EVENT' ##Represents an 'assigned' event on any assignable object. - CLOSED_EVENT = 'CLOSED_EVENT' ##Represents a 'closed' event on any `Closable`. - COMMENT_DELETED_EVENT = 'COMMENT_DELETED_EVENT' ##Represents a 'comment_deleted' event on a given issue or pull request. - CONNECTED_EVENT = 'CONNECTED_EVENT' ##Represents a 'connected' event on a given issue or pull request. - CONVERTED_NOTE_TO_ISSUE_EVENT = 'CONVERTED_NOTE_TO_ISSUE_EVENT' ##Represents a 'converted_note_to_issue' event on a given issue or pull request. - CONVERTED_TO_DISCUSSION_EVENT = 'CONVERTED_TO_DISCUSSION_EVENT' ##Represents a 'converted_to_discussion' event on a given issue. - DEMILESTONED_EVENT = 'DEMILESTONED_EVENT' ##Represents a 'demilestoned' event on a given issue or pull request. - DISCONNECTED_EVENT = 'DISCONNECTED_EVENT' ##Represents a 'disconnected' event on a given issue or pull request. - LABELED_EVENT = 'LABELED_EVENT' ##Represents a 'labeled' event on a given issue or pull request. - LOCKED_EVENT = 'LOCKED_EVENT' ##Represents a 'locked' event on a given issue or pull request. - MARKED_AS_DUPLICATE_EVENT = 'MARKED_AS_DUPLICATE_EVENT' ##Represents a 'marked_as_duplicate' event on a given issue or pull request. - MENTIONED_EVENT = 'MENTIONED_EVENT' ##Represents a 'mentioned' event on a given issue or pull request. - MILESTONED_EVENT = 'MILESTONED_EVENT' ##Represents a 'milestoned' event on a given issue or pull request. - MOVED_COLUMNS_IN_PROJECT_EVENT = 'MOVED_COLUMNS_IN_PROJECT_EVENT' ##Represents a 'moved_columns_in_project' event on a given issue or pull request. - PINNED_EVENT = 'PINNED_EVENT' ##Represents a 'pinned' event on a given issue or pull request. - REFERENCED_EVENT = 'REFERENCED_EVENT' ##Represents a 'referenced' event on a given `ReferencedSubject`. - REMOVED_FROM_PROJECT_EVENT = 'REMOVED_FROM_PROJECT_EVENT' ##Represents a 'removed_from_project' event on a given issue or pull request. - RENAMED_TITLE_EVENT = 'RENAMED_TITLE_EVENT' ##Represents a 'renamed' event on a given issue or pull request - REOPENED_EVENT = 'REOPENED_EVENT' ##Represents a 'reopened' event on any `Closable`. - SUBSCRIBED_EVENT = 'SUBSCRIBED_EVENT' ##Represents a 'subscribed' event on a given `Subscribable`. - TRANSFERRED_EVENT = 'TRANSFERRED_EVENT' ##Represents a 'transferred' event on a given issue or pull request. - UNASSIGNED_EVENT = 'UNASSIGNED_EVENT' ##Represents an 'unassigned' event on any assignable object. - UNLABELED_EVENT = 'UNLABELED_EVENT' ##Represents an 'unlabeled' event on a given issue or pull request. - UNLOCKED_EVENT = 'UNLOCKED_EVENT' ##Represents an 'unlocked' event on a given issue or pull request. - USER_BLOCKED_EVENT = 'USER_BLOCKED_EVENT' ##Represents a 'user_blocked' event on a given user. - UNMARKED_AS_DUPLICATE_EVENT = 'UNMARKED_AS_DUPLICATE_EVENT' ##Represents an 'unmarked_as_duplicate' event on a given issue or pull request. - UNPINNED_EVENT = 'UNPINNED_EVENT' ##Represents an 'unpinned' event on a given issue or pull request. - UNSUBSCRIBED_EVENT = 'UNSUBSCRIBED_EVENT' ##Represents an 'unsubscribed' event on a given `Subscribable`. + + ADDED_TO_PROJECT_EVENT = "ADDED_TO_PROJECT_EVENT" # Represents a 'added_to_project' event on a given issue or pull request. + ASSIGNED_EVENT = ( + "ASSIGNED_EVENT" # Represents an 'assigned' event on any assignable object. + ) + CLOSED_EVENT = "CLOSED_EVENT" # Represents a 'closed' event on any `Closable`. + COMMENT_DELETED_EVENT = "COMMENT_DELETED_EVENT" # Represents a 'comment_deleted' event on a given issue or pull request. + CONNECTED_EVENT = "CONNECTED_EVENT" # Represents a 'connected' event on a given issue or pull request. + CONVERTED_NOTE_TO_ISSUE_EVENT = "CONVERTED_NOTE_TO_ISSUE_EVENT" # Represents a 'converted_note_to_issue' event on a given issue or pull request. + CONVERTED_TO_DISCUSSION_EVENT = "CONVERTED_TO_DISCUSSION_EVENT" # Represents a 'converted_to_discussion' event on a given issue. + CROSS_REFERENCED_EVENT = "CROSS_REFERENCED_EVENT" # Represents a mention made by one issue or pull request to another. + DEMILESTONED_EVENT = "DEMILESTONED_EVENT" # Represents a 'demilestoned' event on a given issue or pull request. + DISCONNECTED_EVENT = "DISCONNECTED_EVENT" # Represents a 'disconnected' event on a given issue or pull request. + ISSUE_COMMENT = "ISSUE_COMMENT" # Represents a comment on an Issue. + LABELED_EVENT = "LABELED_EVENT" # Represents a 'labeled' event on a given issue or pull request. + LOCKED_EVENT = ( + "LOCKED_EVENT" # Represents a 'locked' event on a given issue or pull request. + ) + MARKED_AS_DUPLICATE_EVENT = "MARKED_AS_DUPLICATE_EVENT" # Represents a 'marked_as_duplicate' event on a given issue or pull request. + MENTIONED_EVENT = "MENTIONED_EVENT" # Represents a 'mentioned' event on a given issue or pull request. + MILESTONED_EVENT = "MILESTONED_EVENT" # Represents a 'milestoned' event on a given issue or pull request. + MOVED_COLUMNS_IN_PROJECT_EVENT = "MOVED_COLUMNS_IN_PROJECT_EVENT" # Represents a 'moved_columns_in_project' event on a given issue or pull request. + PINNED_EVENT = ( + "PINNED_EVENT" # Represents a 'pinned' event on a given issue or pull request. + ) + REFERENCED_EVENT = "REFERENCED_EVENT" # Represents a 'referenced' event on a given `ReferencedSubject`. + REMOVED_FROM_PROJECT_EVENT = "REMOVED_FROM_PROJECT_EVENT" # Represents a 'removed_from_project' event on a given issue or pull request. + RENAMED_TITLE_EVENT = "RENAMED_TITLE_EVENT" # Represents a 'renamed' event on a given issue or pull request + REOPENED_EVENT = ( + "REOPENED_EVENT" # Represents a 'reopened' event on any `Closable`. + ) + SUBSCRIBED_EVENT = ( + "SUBSCRIBED_EVENT" # Represents a 'subscribed' event on a given `Subscribable`. + ) + TRANSFERRED_EVENT = "TRANSFERRED_EVENT" # Represents a 'transferred' event on a given issue or pull request. + UNASSIGNED_EVENT = ( + "UNASSIGNED_EVENT" # Represents an 'unassigned' event on any assignable object. + ) + UNLABELED_EVENT = "UNLABELED_EVENT" # Represents an 'unlabeled' event on a given issue or pull request. + UNLOCKED_EVENT = "UNLOCKED_EVENT" # Represents an 'unlocked' event on a given issue or pull request. + UNMARKED_AS_DUPLICATE_EVENT = "UNMARKED_AS_DUPLICATE_EVENT" # Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + UNPINNED_EVENT = "UNPINNED_EVENT" # Represents an 'unpinned' event on a given issue or pull request. + UNSUBSCRIBED_EVENT = "UNSUBSCRIBED_EVENT" # Represents an 'unsubscribed' event on a given `Subscribable`. + USER_BLOCKED_EVENT = ( + "USER_BLOCKED_EVENT" # Represents a 'user_blocked' event on a given user. + ) + class LabelOrderField(Enum): - DEFAULT = None - NAME = 'NAME' ##Order labels by name - CREATED_AT = 'CREATED_AT' ##Order labels by creation time + + CREATED_AT = "CREATED_AT" # Order labels by creation time + NAME = "NAME" # Order labels by name + class LanguageOrderField(Enum): - DEFAULT = None - SIZE = 'SIZE' ##Order languages by the size of all files containing the language + + SIZE = "SIZE" # Order languages by the size of all files containing the language + class LockReason(Enum): - DEFAULT = None - OFF_TOPIC = 'OFF_TOPIC' ##The issue or pull request was locked because the conversation was off-topic. - TOO_HEATED = 'TOO_HEATED' ##The issue or pull request was locked because the conversation was too heated. - RESOLVED = 'RESOLVED' ##The issue or pull request was locked because the conversation was resolved. - SPAM = 'SPAM' ##The issue or pull request was locked because the conversation was spam. + + OFF_TOPIC = "OFF_TOPIC" # The issue or pull request was locked because the conversation was off-topic. + RESOLVED = "RESOLVED" # The issue or pull request was locked because the conversation was resolved. + SPAM = "SPAM" # The issue or pull request was locked because the conversation was spam. + TOO_HEATED = "TOO_HEATED" # The issue or pull request was locked because the conversation was too heated. + class MannequinOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order mannequins alphabetically by their source login. - CREATED_AT = 'CREATED_AT' ##Order mannequins why when they were created. + + CREATED_AT = "CREATED_AT" # Order mannequins why when they were created. + LOGIN = "LOGIN" # Order mannequins alphabetically by their source login. + class MergeCommitMessage(Enum): - DEFAULT = None - PR_TITLE = 'PR_TITLE' ##Default to the pull request's title. - PR_BODY = 'PR_BODY' ##Default to the pull request's body. - BLANK = 'BLANK' ##Default to a blank commit message. + + BLANK = "BLANK" # Default to a blank commit message. + PR_BODY = "PR_BODY" # Default to the pull request's body. + PR_TITLE = "PR_TITLE" # Default to the pull request's title. + class MergeCommitTitle(Enum): - DEFAULT = None - PR_TITLE = 'PR_TITLE' ##Default to the pull request's title. - MERGE_MESSAGE = 'MERGE_MESSAGE' ##Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + + MERGE_MESSAGE = "MERGE_MESSAGE" # Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + PR_TITLE = "PR_TITLE" # Default to the pull request's title. + class MergeQueueEntryState(Enum): - DEFAULT = None - QUEUED = 'QUEUED' ##The entry is currently queued. - AWAITING_CHECKS = 'AWAITING_CHECKS' ##The entry is currently waiting for checks to pass. - MERGEABLE = 'MERGEABLE' ##The entry is currently mergeable. - UNMERGEABLE = 'UNMERGEABLE' ##The entry is currently unmergeable. - LOCKED = 'LOCKED' ##The entry is currently locked. + + AWAITING_CHECKS = ( + "AWAITING_CHECKS" # The entry is currently waiting for checks to pass. + ) + LOCKED = "LOCKED" # The entry is currently locked. + MERGEABLE = "MERGEABLE" # The entry is currently mergeable. + QUEUED = "QUEUED" # The entry is currently queued. + UNMERGEABLE = "UNMERGEABLE" # The entry is currently unmergeable. + class MergeQueueMergingStrategy(Enum): - DEFAULT = None - ALLGREEN = 'ALLGREEN' ##Entries only allowed to merge if they are passing. - HEADGREEN = 'HEADGREEN' ##Failing Entires are allowed to merge if they are with a passing entry. + + ALLGREEN = "ALLGREEN" # Entries only allowed to merge if they are passing. + HEADGREEN = "HEADGREEN" # Failing Entires are allowed to merge if they are with a passing entry. + + +class MergeStateStatus(Enum): + + BEHIND = "BEHIND" # The head ref is out of date. + BLOCKED = "BLOCKED" # The merge is blocked. + CLEAN = "CLEAN" # Mergeable and passing commit status. + DIRTY = "DIRTY" # The merge commit cannot be cleanly created. + HAS_HOOKS = ( + "HAS_HOOKS" # Mergeable with passing commit status and pre-receive hooks. + ) + UNKNOWN = "UNKNOWN" # The state cannot currently be determined. + UNSTABLE = "UNSTABLE" # Mergeable with non-passing commit status. + class MergeableState(Enum): - DEFAULT = None - MERGEABLE = 'MERGEABLE' ##The pull request can be merged. - CONFLICTING = 'CONFLICTING' ##The pull request cannot be merged due to merge conflicts. - UNKNOWN = 'UNKNOWN' ##The mergeability of the pull request is still being calculated. + + CONFLICTING = ( + "CONFLICTING" # The pull request cannot be merged due to merge conflicts. + ) + MERGEABLE = "MERGEABLE" # The pull request can be merged. + UNKNOWN = ( + "UNKNOWN" # The mergeability of the pull request is still being calculated. + ) + class MigrationSourceType(Enum): - DEFAULT = None - AZURE_DEVOPS = 'AZURE_DEVOPS' ##An Azure DevOps migration source. - BITBUCKET_SERVER = 'BITBUCKET_SERVER' ##A Bitbucket Server migration source. - GITHUB_ARCHIVE = 'GITHUB_ARCHIVE' ##A GitHub Migration API source. + + AZURE_DEVOPS = "AZURE_DEVOPS" # An Azure DevOps migration source. + BITBUCKET_SERVER = "BITBUCKET_SERVER" # A Bitbucket Server migration source. + GITHUB_ARCHIVE = "GITHUB_ARCHIVE" # A GitHub Migration API source. + class MigrationState(Enum): - DEFAULT = None - NOT_STARTED = 'NOT_STARTED' ##The migration has not started. - QUEUED = 'QUEUED' ##The migration has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The migration is in progress. - SUCCEEDED = 'SUCCEEDED' ##The migration has succeeded. - FAILED = 'FAILED' ##The migration has failed. - PENDING_VALIDATION = 'PENDING_VALIDATION' ##The migration needs to have its credentials validated. - FAILED_VALIDATION = 'FAILED_VALIDATION' ##The migration has invalid credentials. + + FAILED = "FAILED" # The migration has failed. + FAILED_VALIDATION = "FAILED_VALIDATION" # The migration has invalid credentials. + IN_PROGRESS = "IN_PROGRESS" # The migration is in progress. + NOT_STARTED = "NOT_STARTED" # The migration has not started. + PENDING_VALIDATION = ( + "PENDING_VALIDATION" # The migration needs to have its credentials validated. + ) + QUEUED = "QUEUED" # The migration has been queued. + SUCCEEDED = "SUCCEEDED" # The migration has succeeded. + class MilestoneOrderField(Enum): - DEFAULT = None - DUE_DATE = 'DUE_DATE' ##Order milestones by when they are due. - CREATED_AT = 'CREATED_AT' ##Order milestones by when they were created. - UPDATED_AT = 'UPDATED_AT' ##Order milestones by when they were last updated. - NUMBER = 'NUMBER' ##Order milestones by their number. + + CREATED_AT = "CREATED_AT" # Order milestones by when they were created. + DUE_DATE = "DUE_DATE" # Order milestones by when they are due. + NUMBER = "NUMBER" # Order milestones by their number. + UPDATED_AT = "UPDATED_AT" # Order milestones by when they were last updated. + class MilestoneState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##A milestone that is still open. - CLOSED = 'CLOSED' ##A milestone that has been closed. + + CLOSED = "CLOSED" # A milestone that has been closed. + OPEN = "OPEN" # A milestone that is still open. + class NotificationRestrictionSettingValue(Enum): - DEFAULT = None - ENABLED = 'ENABLED' ##The setting is enabled for the owner. - DISABLED = 'DISABLED' ##The setting is disabled for the owner. + + DISABLED = "DISABLED" # The setting is disabled for the owner. + ENABLED = "ENABLED" # The setting is enabled for the owner. + class OIDCProviderType(Enum): - DEFAULT = None - AAD = 'AAD' ##Azure Active Directory + + AAD = "AAD" # Azure Active Directory + class OauthApplicationCreateAuditEntryState(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' ##The OAuth application was active and allowed to have OAuth Accesses. - SUSPENDED = 'SUSPENDED' ##The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. - PENDING_DELETION = 'PENDING_DELETION' ##The OAuth application was in the process of being deleted. + + ACTIVE = ( + "ACTIVE" # The OAuth application was active and allowed to have OAuth Accesses. + ) + PENDING_DELETION = ( + "PENDING_DELETION" # The OAuth application was in the process of being deleted. + ) + SUSPENDED = "SUSPENDED" # The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. + class OperationType(Enum): - DEFAULT = None - ACCESS = 'ACCESS' ##An existing resource was accessed - AUTHENTICATION = 'AUTHENTICATION' ##A resource performed an authentication event - CREATE = 'CREATE' ##A new resource was created - MODIFY = 'MODIFY' ##An existing resource was modified - REMOVE = 'REMOVE' ##An existing resource was removed - RESTORE = 'RESTORE' ##An existing resource was restored - TRANSFER = 'TRANSFER' ##An existing resource was transferred between multiple resources + + ACCESS = "ACCESS" # An existing resource was accessed + AUTHENTICATION = "AUTHENTICATION" # A resource performed an authentication event + CREATE = "CREATE" # A new resource was created + MODIFY = "MODIFY" # An existing resource was modified + REMOVE = "REMOVE" # An existing resource was removed + RESTORE = "RESTORE" # An existing resource was restored + TRANSFER = ( + "TRANSFER" # An existing resource was transferred between multiple resources + ) + class OrderDirection(Enum): - DEFAULT = None - ASC = 'ASC' ##Specifies an ascending order for a given `orderBy` argument. - DESC = 'DESC' ##Specifies a descending order for a given `orderBy` argument. + + ASC = "ASC" # Specifies an ascending order for a given `orderBy` argument. + DESC = "DESC" # Specifies a descending order for a given `orderBy` argument. + class OrgAddMemberAuditEntryPermission(Enum): - DEFAULT = None - READ = 'READ' ##Can read and clone repositories. - ADMIN = 'ADMIN' ##Can read, clone, push, and add collaborators to repositories. + + ADMIN = "ADMIN" # Can read, clone, push, and add collaborators to repositories. + READ = "READ" # Can read and clone repositories. + class OrgCreateAuditEntryBillingPlan(Enum): - DEFAULT = None - FREE = 'FREE' ##Free Plan - BUSINESS = 'BUSINESS' ##Team Plan - BUSINESS_PLUS = 'BUSINESS_PLUS' ##Enterprise Cloud Plan - UNLIMITED = 'UNLIMITED' ##Legacy Unlimited Plan - TIERED_PER_SEAT = 'TIERED_PER_SEAT' ##Tiered Per Seat Plan + + BUSINESS = "BUSINESS" # Team Plan + BUSINESS_PLUS = "BUSINESS_PLUS" # Enterprise Cloud Plan + FREE = "FREE" # Free Plan + TIERED_PER_SEAT = "TIERED_PER_SEAT" # Tiered Per Seat Plan + UNLIMITED = "UNLIMITED" # Legacy Unlimited Plan + class OrgEnterpriseOwnerOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order enterprise owners by login. + + LOGIN = "LOGIN" # Order enterprise owners by login. + class OrgRemoveBillingManagerAuditEntryReason(Enum): - DEFAULT = None - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' ##The organization required 2FA of its billing managers and this user did not have 2FA enabled. - SAML_EXTERNAL_IDENTITY_MISSING = 'SAML_EXTERNAL_IDENTITY_MISSING' ##SAML external identity missing - SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = 'SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY' ##SAML SSO enforcement requires an external identity + + SAML_EXTERNAL_IDENTITY_MISSING = ( + "SAML_EXTERNAL_IDENTITY_MISSING" # SAML external identity missing + ) + SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" # SAML SSO enforcement requires an external identity + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" # The organization required 2FA of its billing managers and this user did not have 2FA enabled. + class OrgRemoveMemberAuditEntryMembershipType(Enum): - DEFAULT = None - SUSPENDED = 'SUSPENDED' ##A suspended member. - DIRECT_MEMBER = 'DIRECT_MEMBER' ##A direct member is a user that is a member of the Organization. - ADMIN = 'ADMIN' ##Organization administrators have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization admins can delete the organization and all of its repositories. - BILLING_MANAGER = 'BILLING_MANAGER' ##A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. - UNAFFILIATED = 'UNAFFILIATED' ##An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization. - OUTSIDE_COLLABORATOR = 'OUTSIDE_COLLABORATOR' ##An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. + + ADMIN = "ADMIN" # Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization owners can delete the organization and all of its repositories. + BILLING_MANAGER = "BILLING_MANAGER" # A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + DIRECT_MEMBER = "DIRECT_MEMBER" # A direct member is a user that is a member of the Organization. + OUTSIDE_COLLABORATOR = "OUTSIDE_COLLABORATOR" # An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. + SUSPENDED = "SUSPENDED" # A suspended member. + UNAFFILIATED = "UNAFFILIATED" # An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization. + class OrgRemoveMemberAuditEntryReason(Enum): - DEFAULT = None - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' ##The organization required 2FA of its billing managers and this user did not have 2FA enabled. - SAML_EXTERNAL_IDENTITY_MISSING = 'SAML_EXTERNAL_IDENTITY_MISSING' ##SAML external identity missing - SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = 'SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY' ##SAML SSO enforcement requires an external identity - USER_ACCOUNT_DELETED = 'USER_ACCOUNT_DELETED' ##User account has been deleted - TWO_FACTOR_ACCOUNT_RECOVERY = 'TWO_FACTOR_ACCOUNT_RECOVERY' ##User was removed from organization during account recovery + + SAML_EXTERNAL_IDENTITY_MISSING = ( + "SAML_EXTERNAL_IDENTITY_MISSING" # SAML external identity missing + ) + SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" # SAML SSO enforcement requires an external identity + TWO_FACTOR_ACCOUNT_RECOVERY = "TWO_FACTOR_ACCOUNT_RECOVERY" # User was removed from organization during account recovery + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" # The organization required 2FA of its billing managers and this user did not have 2FA enabled. + USER_ACCOUNT_DELETED = "USER_ACCOUNT_DELETED" # User account has been deleted + class OrgRemoveOutsideCollaboratorAuditEntryMembershipType(Enum): - DEFAULT = None - OUTSIDE_COLLABORATOR = 'OUTSIDE_COLLABORATOR' ##An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. - UNAFFILIATED = 'UNAFFILIATED' ##An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization. - BILLING_MANAGER = 'BILLING_MANAGER' ##A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + + BILLING_MANAGER = "BILLING_MANAGER" # A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + OUTSIDE_COLLABORATOR = "OUTSIDE_COLLABORATOR" # An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. + UNAFFILIATED = "UNAFFILIATED" # An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization. + class OrgRemoveOutsideCollaboratorAuditEntryReason(Enum): - DEFAULT = None - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' ##The organization required 2FA of its billing managers and this user did not have 2FA enabled. - SAML_EXTERNAL_IDENTITY_MISSING = 'SAML_EXTERNAL_IDENTITY_MISSING' ##SAML external identity missing + + SAML_EXTERNAL_IDENTITY_MISSING = ( + "SAML_EXTERNAL_IDENTITY_MISSING" # SAML external identity missing + ) + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" # The organization required 2FA of its billing managers and this user did not have 2FA enabled. + class OrgUpdateDefaultRepositoryPermissionAuditEntryPermission(Enum): - DEFAULT = None - READ = 'READ' ##Can read and clone repositories. - WRITE = 'WRITE' ##Can read, clone and push to repositories. - ADMIN = 'ADMIN' ##Can read, clone, push, and add collaborators to repositories. - NONE = 'NONE' ##No default permission value. + + ADMIN = "ADMIN" # Can read, clone, push, and add collaborators to repositories. + NONE = "NONE" # No default permission value. + READ = "READ" # Can read and clone repositories. + WRITE = "WRITE" # Can read, clone and push to repositories. + class OrgUpdateMemberAuditEntryPermission(Enum): - DEFAULT = None - READ = 'READ' ##Can read and clone repositories. - ADMIN = 'ADMIN' ##Can read, clone, push, and add collaborators to repositories. + + ADMIN = "ADMIN" # Can read, clone, push, and add collaborators to repositories. + READ = "READ" # Can read and clone repositories. + class OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility(Enum): - DEFAULT = None - ALL = 'ALL' ##All organization members are restricted from creating any repositories. - PUBLIC = 'PUBLIC' ##All organization members are restricted from creating public repositories. - NONE = 'NONE' ##All organization members are allowed to create any repositories. - PRIVATE = 'PRIVATE' ##All organization members are restricted from creating private repositories. - INTERNAL = 'INTERNAL' ##All organization members are restricted from creating internal repositories. - PUBLIC_INTERNAL = 'PUBLIC_INTERNAL' ##All organization members are restricted from creating public or internal repositories. - PRIVATE_INTERNAL = 'PRIVATE_INTERNAL' ##All organization members are restricted from creating private or internal repositories. - PUBLIC_PRIVATE = 'PUBLIC_PRIVATE' ##All organization members are restricted from creating public or private repositories. + + ALL = ( + "ALL" # All organization members are restricted from creating any repositories. + ) + INTERNAL = "INTERNAL" # All organization members are restricted from creating internal repositories. + NONE = "NONE" # All organization members are allowed to create any repositories. + PRIVATE = "PRIVATE" # All organization members are restricted from creating private repositories. + PRIVATE_INTERNAL = "PRIVATE_INTERNAL" # All organization members are restricted from creating private or internal repositories. + PUBLIC = "PUBLIC" # All organization members are restricted from creating public repositories. + PUBLIC_INTERNAL = "PUBLIC_INTERNAL" # All organization members are restricted from creating public or internal repositories. + PUBLIC_PRIVATE = "PUBLIC_PRIVATE" # All organization members are restricted from creating public or private repositories. + class OrganizationInvitationRole(Enum): - DEFAULT = None - DIRECT_MEMBER = 'DIRECT_MEMBER' ##The user is invited to be a direct member of the organization. - ADMIN = 'ADMIN' ##The user is invited to be an admin of the organization. - BILLING_MANAGER = 'BILLING_MANAGER' ##The user is invited to be a billing manager of the organization. - REINSTATE = 'REINSTATE' ##The user's previous role will be reinstated. + + ADMIN = "ADMIN" # The user is invited to be an admin of the organization. + BILLING_MANAGER = "BILLING_MANAGER" # The user is invited to be a billing manager of the organization. + DIRECT_MEMBER = "DIRECT_MEMBER" # The user is invited to be a direct member of the organization. + REINSTATE = "REINSTATE" # The user's previous role will be reinstated. + class OrganizationInvitationSource(Enum): - DEFAULT = None - UNKNOWN = 'UNKNOWN' ##The invitation was sent before this feature was added - MEMBER = 'MEMBER' ##The invitation was created from the web interface or from API - SCIM = 'SCIM' ##The invitation was created from SCIM + + MEMBER = "MEMBER" # The invitation was created from the web interface or from API + SCIM = "SCIM" # The invitation was created from SCIM + UNKNOWN = "UNKNOWN" # The invitation was sent before this feature was added + class OrganizationInvitationType(Enum): - DEFAULT = None - USER = 'USER' ##The invitation was to an existing user. - EMAIL = 'EMAIL' ##The invitation was to an email address. + + EMAIL = "EMAIL" # The invitation was to an email address. + USER = "USER" # The invitation was to an existing user. + class OrganizationMemberRole(Enum): - DEFAULT = None - MEMBER = 'MEMBER' ##The user is a member of the organization. - ADMIN = 'ADMIN' ##The user is an administrator of the organization. + + ADMIN = "ADMIN" # The user is an administrator of the organization. + MEMBER = "MEMBER" # The user is a member of the organization. + class OrganizationMembersCanCreateRepositoriesSettingValue(Enum): - DEFAULT = None - ALL = 'ALL' ##Members will be able to create public and private repositories. - PRIVATE = 'PRIVATE' ##Members will be able to create only private repositories. - INTERNAL = 'INTERNAL' ##Members will be able to create only internal repositories. - DISABLED = 'DISABLED' ##Members will not be able to create public or private repositories. + + ALL = "ALL" # Members will be able to create public and private repositories. + DISABLED = ( + "DISABLED" # Members will not be able to create public or private repositories. + ) + INTERNAL = "INTERNAL" # Members will be able to create only internal repositories. + PRIVATE = "PRIVATE" # Members will be able to create only private repositories. + class OrganizationMigrationState(Enum): - DEFAULT = None - NOT_STARTED = 'NOT_STARTED' ##The Octoshift migration has not started. - QUEUED = 'QUEUED' ##The Octoshift migration has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The Octoshift migration is in progress. - PRE_REPO_MIGRATION = 'PRE_REPO_MIGRATION' ##The Octoshift migration is performing pre repository migrations. - REPO_MIGRATION = 'REPO_MIGRATION' ##The Octoshift org migration is performing repository migrations. - POST_REPO_MIGRATION = 'POST_REPO_MIGRATION' ##The Octoshift migration is performing post repository migrations. - SUCCEEDED = 'SUCCEEDED' ##The Octoshift migration has succeeded. - FAILED = 'FAILED' ##The Octoshift migration has failed. - PENDING_VALIDATION = 'PENDING_VALIDATION' ##The Octoshift migration needs to have its credentials validated. - FAILED_VALIDATION = 'FAILED_VALIDATION' ##The Octoshift migration has invalid credentials. + + FAILED = "FAILED" # The Octoshift migration has failed. + FAILED_VALIDATION = ( + "FAILED_VALIDATION" # The Octoshift migration has invalid credentials. + ) + IN_PROGRESS = "IN_PROGRESS" # The Octoshift migration is in progress. + NOT_STARTED = "NOT_STARTED" # The Octoshift migration has not started. + PENDING_VALIDATION = "PENDING_VALIDATION" # The Octoshift migration needs to have its credentials validated. + POST_REPO_MIGRATION = "POST_REPO_MIGRATION" # The Octoshift migration is performing post repository migrations. + PRE_REPO_MIGRATION = "PRE_REPO_MIGRATION" # The Octoshift migration is performing pre repository migrations. + QUEUED = "QUEUED" # The Octoshift migration has been queued. + REPO_MIGRATION = "REPO_MIGRATION" # The Octoshift org migration is performing repository migrations. + SUCCEEDED = "SUCCEEDED" # The Octoshift migration has succeeded. + class OrganizationOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order organizations by creation time - LOGIN = 'LOGIN' ##Order organizations by login + + CREATED_AT = "CREATED_AT" # Order organizations by creation time + LOGIN = "LOGIN" # Order organizations by login + class PackageFileOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order package files by creation time + + CREATED_AT = "CREATED_AT" # Order package files by creation time + class PackageOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order packages by creation time + + CREATED_AT = "CREATED_AT" # Order packages by creation time + class PackageType(Enum): - DEFAULT = None - DEBIAN = 'DEBIAN' ##A debian package. - PYPI = 'PYPI' ##A python package. + + DEBIAN = "DEBIAN" # A debian package. + PYPI = "PYPI" # A python package. + class PackageVersionOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order package versions by creation time + + CREATED_AT = "CREATED_AT" # Order package versions by creation time + class PatchStatus(Enum): - DEFAULT = None - ADDED = 'ADDED' ##The file was added. Git status 'A'. - DELETED = 'DELETED' ##The file was deleted. Git status 'D'. - RENAMED = 'RENAMED' ##The file was renamed. Git status 'R'. - COPIED = 'COPIED' ##The file was copied. Git status 'C'. - MODIFIED = 'MODIFIED' ##The file's contents were changed. Git status 'M'. - CHANGED = 'CHANGED' ##The file's type was changed. Git status 'T'. + + ADDED = "ADDED" # The file was added. Git status 'A'. + CHANGED = "CHANGED" # The file's type was changed. Git status 'T'. + COPIED = "COPIED" # The file was copied. Git status 'C'. + DELETED = "DELETED" # The file was deleted. Git status 'D'. + MODIFIED = "MODIFIED" # The file's contents were changed. Git status 'M'. + RENAMED = "RENAMED" # The file was renamed. Git status 'R'. + class PinnableItemType(Enum): - DEFAULT = None - REPOSITORY = 'REPOSITORY' ##A repository. - GIST = 'GIST' ##A gist. - ISSUE = 'ISSUE' ##An issue. - PROJECT = 'PROJECT' ##A project. - PULL_REQUEST = 'PULL_REQUEST' ##A pull request. - USER = 'USER' ##A user. - ORGANIZATION = 'ORGANIZATION' ##An organization. - TEAM = 'TEAM' ##A team. + + GIST = "GIST" # A gist. + ISSUE = "ISSUE" # An issue. + ORGANIZATION = "ORGANIZATION" # An organization. + PROJECT = "PROJECT" # A project. + PULL_REQUEST = "PULL_REQUEST" # A pull request. + REPOSITORY = "REPOSITORY" # A repository. + TEAM = "TEAM" # A team. + USER = "USER" # A user. + class PinnedDiscussionGradient(Enum): - DEFAULT = None - RED_ORANGE = 'RED_ORANGE' ##A gradient of red to orange - BLUE_MINT = 'BLUE_MINT' ##A gradient of blue to mint - BLUE_PURPLE = 'BLUE_PURPLE' ##A gradient of blue to purple - PINK_BLUE = 'PINK_BLUE' ##A gradient of pink to blue - PURPLE_CORAL = 'PURPLE_CORAL' ##A gradient of purple to coral + + BLUE_MINT = "BLUE_MINT" # A gradient of blue to mint + BLUE_PURPLE = "BLUE_PURPLE" # A gradient of blue to purple + PINK_BLUE = "PINK_BLUE" # A gradient of pink to blue + PURPLE_CORAL = "PURPLE_CORAL" # A gradient of purple to coral + RED_ORANGE = "RED_ORANGE" # A gradient of red to orange + class PinnedDiscussionPattern(Enum): - DEFAULT = None - DOT_FILL = 'DOT_FILL' ##A solid dot pattern - PLUS = 'PLUS' ##A plus sign pattern - ZAP = 'ZAP' ##A lightning bolt pattern - CHEVRON_UP = 'CHEVRON_UP' ##An upward-facing chevron pattern - DOT = 'DOT' ##A hollow dot pattern - HEART_FILL = 'HEART_FILL' ##A heart pattern + + CHEVRON_UP = "CHEVRON_UP" # An upward-facing chevron pattern + DOT = "DOT" # A hollow dot pattern + DOT_FILL = "DOT_FILL" # A solid dot pattern + HEART_FILL = "HEART_FILL" # A heart pattern + PLUS = "PLUS" # A plus sign pattern + ZAP = "ZAP" # A lightning bolt pattern + class ProjectCardArchivedState(Enum): - DEFAULT = None - ARCHIVED = 'ARCHIVED' ##A project card that is archived - NOT_ARCHIVED = 'NOT_ARCHIVED' ##A project card that is not archived + + ARCHIVED = "ARCHIVED" # A project card that is archived + NOT_ARCHIVED = "NOT_ARCHIVED" # A project card that is not archived + class ProjectCardState(Enum): - DEFAULT = None - CONTENT_ONLY = 'CONTENT_ONLY' ##The card has content only. - NOTE_ONLY = 'NOTE_ONLY' ##The card has a note only. - REDACTED = 'REDACTED' ##The card is redacted. + + CONTENT_ONLY = "CONTENT_ONLY" # The card has content only. + NOTE_ONLY = "NOTE_ONLY" # The card has a note only. + REDACTED = "REDACTED" # The card is redacted. + class ProjectColumnPurpose(Enum): - DEFAULT = None - TODO = 'TODO' ##The column contains cards still to be worked on - IN_PROGRESS = 'IN_PROGRESS' ##The column contains cards which are currently being worked on - DONE = 'DONE' ##The column contains cards which are complete + + DONE = "DONE" # The column contains cards which are complete + IN_PROGRESS = ( + "IN_PROGRESS" # The column contains cards which are currently being worked on + ) + TODO = "TODO" # The column contains cards still to be worked on + class ProjectOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order projects by creation time - UPDATED_AT = 'UPDATED_AT' ##Order projects by update time - NAME = 'NAME' ##Order projects by name + + CREATED_AT = "CREATED_AT" # Order projects by creation time + NAME = "NAME" # Order projects by name + UPDATED_AT = "UPDATED_AT" # Order projects by update time + class ProjectState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##The project is open. - CLOSED = 'CLOSED' ##The project is closed. + + CLOSED = "CLOSED" # The project is closed. + OPEN = "OPEN" # The project is open. + class ProjectTemplate(Enum): - DEFAULT = None - BASIC_KANBAN = 'BASIC_KANBAN' ##Create a board with columns for To do, In progress and Done. - AUTOMATED_KANBAN_V2 = 'AUTOMATED_KANBAN_V2' ##Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. - AUTOMATED_REVIEWS_KANBAN = 'AUTOMATED_REVIEWS_KANBAN' ##Create a board with triggers to automatically move cards across columns with review automation. - BUG_TRIAGE = 'BUG_TRIAGE' ##Create a board to triage and prioritize bugs with To do, priority, and Done columns. + + AUTOMATED_KANBAN_V2 = "AUTOMATED_KANBAN_V2" # Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. + AUTOMATED_REVIEWS_KANBAN = "AUTOMATED_REVIEWS_KANBAN" # Create a board with triggers to automatically move cards across columns with review automation. + BASIC_KANBAN = ( + "BASIC_KANBAN" # Create a board with columns for To do, In progress and Done. + ) + BUG_TRIAGE = "BUG_TRIAGE" # Create a board to triage and prioritize bugs with To do, priority, and Done columns. + class ProjectV2CustomFieldType(Enum): - DEFAULT = None - TEXT = 'TEXT' ##Text - SINGLE_SELECT = 'SINGLE_SELECT' ##Single Select - NUMBER = 'NUMBER' ##Number - DATE = 'DATE' ##Date + + DATE = "DATE" # Date + NUMBER = "NUMBER" # Number + SINGLE_SELECT = "SINGLE_SELECT" # Single Select + TEXT = "TEXT" # Text + class ProjectV2FieldOrderField(Enum): - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 fields by position - CREATED_AT = 'CREATED_AT' ##Order project v2 fields by creation time - NAME = 'NAME' ##Order project v2 fields by name + + CREATED_AT = "CREATED_AT" # Order project v2 fields by creation time + NAME = "NAME" # Order project v2 fields by name + POSITION = "POSITION" # Order project v2 fields by position + class ProjectV2FieldType(Enum): - DEFAULT = None - ASSIGNEES = 'ASSIGNEES' ##Assignees - LINKED_PULL_REQUESTS = 'LINKED_PULL_REQUESTS' ##Linked Pull Requests - REVIEWERS = 'REVIEWERS' ##Reviewers - LABELS = 'LABELS' ##Labels - MILESTONE = 'MILESTONE' ##Milestone - REPOSITORY = 'REPOSITORY' ##Repository - TITLE = 'TITLE' ##Title - TEXT = 'TEXT' ##Text - SINGLE_SELECT = 'SINGLE_SELECT' ##Single Select - NUMBER = 'NUMBER' ##Number - DATE = 'DATE' ##Date - ITERATION = 'ITERATION' ##Iteration - TRACKS = 'TRACKS' ##Tracks - TRACKED_BY = 'TRACKED_BY' ##Tracked by + + ASSIGNEES = "ASSIGNEES" # Assignees + DATE = "DATE" # Date + ITERATION = "ITERATION" # Iteration + LABELS = "LABELS" # Labels + LINKED_PULL_REQUESTS = "LINKED_PULL_REQUESTS" # Linked Pull Requests + MILESTONE = "MILESTONE" # Milestone + NUMBER = "NUMBER" # Number + REPOSITORY = "REPOSITORY" # Repository + REVIEWERS = "REVIEWERS" # Reviewers + SINGLE_SELECT = "SINGLE_SELECT" # Single Select + TEXT = "TEXT" # Text + TITLE = "TITLE" # Title + TRACKED_BY = "TRACKED_BY" # Tracked by + TRACKS = "TRACKS" # Tracks + class ProjectV2ItemFieldValueOrderField(Enum): - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 item field values by the their position in the project + + POSITION = "POSITION" # Order project v2 item field values by the their position in the project + class ProjectV2ItemOrderField(Enum): - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 items by the their position in the project + + POSITION = "POSITION" # Order project v2 items by the their position in the project + class ProjectV2ItemType(Enum): - DEFAULT = None - ISSUE = 'ISSUE' ##Issue - PULL_REQUEST = 'PULL_REQUEST' ##Pull Request - DRAFT_ISSUE = 'DRAFT_ISSUE' ##Draft Issue - REDACTED = 'REDACTED' ##Redacted Item + + DRAFT_ISSUE = "DRAFT_ISSUE" # Draft Issue + ISSUE = "ISSUE" # Issue + PULL_REQUEST = "PULL_REQUEST" # Pull Request + REDACTED = "REDACTED" # Redacted Item + class ProjectV2OrderField(Enum): - DEFAULT = None - TITLE = 'TITLE' ##The project's title - NUMBER = 'NUMBER' ##The project's number - UPDATED_AT = 'UPDATED_AT' ##The project's date and time of update - CREATED_AT = 'CREATED_AT' ##The project's date and time of creation + + CREATED_AT = "CREATED_AT" # The project's date and time of creation + NUMBER = "NUMBER" # The project's number + TITLE = "TITLE" # The project's title + UPDATED_AT = "UPDATED_AT" # The project's date and time of update + class ProjectV2Roles(Enum): - DEFAULT = None - NONE = 'NONE' ##The collaborator has no direct access to the project - READER = 'READER' ##The collaborator can view the project - WRITER = 'WRITER' ##The collaborator can view and edit the project - ADMIN = 'ADMIN' ##The collaborator can view, edit, and maange the settings of the project + + ADMIN = "ADMIN" # The collaborator can view, edit, and maange the settings of the project + NONE = "NONE" # The collaborator has no direct access to the project + READER = "READER" # The collaborator can view the project + WRITER = "WRITER" # The collaborator can view and edit the project + class ProjectV2SingleSelectFieldOptionColor(Enum): - DEFAULT = None - GRAY = 'GRAY' ##GRAY - BLUE = 'BLUE' ##BLUE - GREEN = 'GREEN' ##GREEN - YELLOW = 'YELLOW' ##YELLOW - ORANGE = 'ORANGE' ##ORANGE - RED = 'RED' ##RED - PINK = 'PINK' ##PINK - PURPLE = 'PURPLE' ##PURPLE + + BLUE = "BLUE" # BLUE + GRAY = "GRAY" # GRAY + GREEN = "GREEN" # GREEN + ORANGE = "ORANGE" # ORANGE + PINK = "PINK" # PINK + PURPLE = "PURPLE" # PURPLE + RED = "RED" # RED + YELLOW = "YELLOW" # YELLOW + class ProjectV2State(Enum): - DEFAULT = None - OPEN = 'OPEN' ##A project v2 that is still open - CLOSED = 'CLOSED' ##A project v2 that has been closed + + CLOSED = "CLOSED" # A project v2 that has been closed + OPEN = "OPEN" # A project v2 that is still open + class ProjectV2ViewLayout(Enum): - DEFAULT = None - BOARD_LAYOUT = 'BOARD_LAYOUT' ##Board layout - TABLE_LAYOUT = 'TABLE_LAYOUT' ##Table layout - ROADMAP_LAYOUT = 'ROADMAP_LAYOUT' ##Roadmap layout + + BOARD_LAYOUT = "BOARD_LAYOUT" # Board layout + ROADMAP_LAYOUT = "ROADMAP_LAYOUT" # Roadmap layout + TABLE_LAYOUT = "TABLE_LAYOUT" # Table layout + class ProjectV2ViewOrderField(Enum): - DEFAULT = None - POSITION = 'POSITION' ##Order project v2 views by position - CREATED_AT = 'CREATED_AT' ##Order project v2 views by creation time - NAME = 'NAME' ##Order project v2 views by name + + CREATED_AT = "CREATED_AT" # Order project v2 views by creation time + NAME = "NAME" # Order project v2 views by name + POSITION = "POSITION" # Order project v2 views by position + class ProjectV2WorkflowsOrderField(Enum): - DEFAULT = None - NAME = 'NAME' ##The workflows' name - NUMBER = 'NUMBER' ##The workflows' number - UPDATED_AT = 'UPDATED_AT' ##The workflows' date and time of update - CREATED_AT = 'CREATED_AT' ##The workflows' date and time of creation + + CREATED_AT = "CREATED_AT" # The date and time of the workflow creation + NAME = "NAME" # The name of the workflow + NUMBER = "NUMBER" # The number of the workflow + UPDATED_AT = "UPDATED_AT" # The date and time of the workflow update + class PullRequestBranchUpdateMethod(Enum): - DEFAULT = None - MERGE = 'MERGE' ##Update branch via merge - REBASE = 'REBASE' ##Update branch via rebase + + MERGE = "MERGE" # Update branch via merge + REBASE = "REBASE" # Update branch via rebase + class PullRequestMergeMethod(Enum): - DEFAULT = None - MERGE = 'MERGE' ##Add all commits from the head branch to the base branch with a merge commit. - SQUASH = 'SQUASH' ##Combine all commits from the head branch into a single commit in the base branch. - REBASE = 'REBASE' ##Add all commits from the head branch onto the base branch individually. + + MERGE = "MERGE" # Add all commits from the head branch to the base branch with a merge commit. + REBASE = "REBASE" # Add all commits from the head branch onto the base branch individually. + SQUASH = "SQUASH" # Combine all commits from the head branch into a single commit in the base branch. + class PullRequestOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order pull_requests by creation time - UPDATED_AT = 'UPDATED_AT' ##Order pull_requests by update time + + CREATED_AT = "CREATED_AT" # Order pull_requests by creation time + UPDATED_AT = "UPDATED_AT" # Order pull_requests by update time + class PullRequestReviewCommentState(Enum): - DEFAULT = None - PENDING = 'PENDING' ##A comment that is part of a pending review - SUBMITTED = 'SUBMITTED' ##A comment that is part of a submitted review + + PENDING = "PENDING" # A comment that is part of a pending review + SUBMITTED = "SUBMITTED" # A comment that is part of a submitted review + class PullRequestReviewDecision(Enum): - DEFAULT = None - CHANGES_REQUESTED = 'CHANGES_REQUESTED' ##Changes have been requested on the pull request. - APPROVED = 'APPROVED' ##The pull request has received an approving review. - REVIEW_REQUIRED = 'REVIEW_REQUIRED' ##A review is required before the pull request can be merged. + + APPROVED = "APPROVED" # The pull request has received an approving review. + CHANGES_REQUESTED = ( + "CHANGES_REQUESTED" # Changes have been requested on the pull request. + ) + REVIEW_REQUIRED = ( + "REVIEW_REQUIRED" # A review is required before the pull request can be merged. + ) + class PullRequestReviewEvent(Enum): - DEFAULT = None - COMMENT = 'COMMENT' ##Submit general feedback without explicit approval. - APPROVE = 'APPROVE' ##Submit feedback and approve merging these changes. - REQUEST_CHANGES = 'REQUEST_CHANGES' ##Submit feedback that must be addressed before merging. - DISMISS = 'DISMISS' ##Dismiss review so it now longer effects merging. + + APPROVE = "APPROVE" # Submit feedback and approve merging these changes. + COMMENT = "COMMENT" # Submit general feedback without explicit approval. + DISMISS = "DISMISS" # Dismiss review so it now longer effects merging. + REQUEST_CHANGES = ( + "REQUEST_CHANGES" # Submit feedback that must be addressed before merging. + ) + class PullRequestReviewState(Enum): - DEFAULT = None - PENDING = 'PENDING' ##A review that has not yet been submitted. - COMMENTED = 'COMMENTED' ##An informational review. - APPROVED = 'APPROVED' ##A review allowing the pull request to merge. - CHANGES_REQUESTED = 'CHANGES_REQUESTED' ##A review blocking the pull request from merging. - DISMISSED = 'DISMISSED' ##A review that has been dismissed. + + APPROVED = "APPROVED" # A review allowing the pull request to merge. + CHANGES_REQUESTED = ( + "CHANGES_REQUESTED" # A review blocking the pull request from merging. + ) + COMMENTED = "COMMENTED" # An informational review. + DISMISSED = "DISMISSED" # A review that has been dismissed. + PENDING = "PENDING" # A review that has not yet been submitted. + class PullRequestReviewThreadSubjectType(Enum): - DEFAULT = None - LINE = 'LINE' ##A comment that has been made against the line of a pull request - FILE = 'FILE' ##A comment that has been made against the file of a pull request + + FILE = "FILE" # A comment that has been made against the file of a pull request + LINE = "LINE" # A comment that has been made against the line of a pull request + class PullRequestState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##A pull request that is still open. - CLOSED = 'CLOSED' ##A pull request that has been closed without being merged. - MERGED = 'MERGED' ##A pull request that has been closed by being merged. + + CLOSED = "CLOSED" # A pull request that has been closed without being merged. + MERGED = "MERGED" # A pull request that has been closed by being merged. + OPEN = "OPEN" # A pull request that is still open. + class PullRequestTimelineItemsItemType(Enum): - DEFAULT = None - PULL_REQUEST_COMMIT = 'PULL_REQUEST_COMMIT' ##Represents a Git commit part of a pull request. - PULL_REQUEST_COMMIT_COMMENT_THREAD = 'PULL_REQUEST_COMMIT_COMMENT_THREAD' ##Represents a commit comment thread part of a pull request. - PULL_REQUEST_REVIEW = 'PULL_REQUEST_REVIEW' ##A review object for a given pull request. - PULL_REQUEST_REVIEW_THREAD = 'PULL_REQUEST_REVIEW_THREAD' ##A threaded list of comments for a given pull request. - PULL_REQUEST_REVISION_MARKER = 'PULL_REQUEST_REVISION_MARKER' ##Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. - AUTOMATIC_BASE_CHANGE_FAILED_EVENT = 'AUTOMATIC_BASE_CHANGE_FAILED_EVENT' ##Represents a 'automatic_base_change_failed' event on a given pull request. - AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT = 'AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT' ##Represents a 'automatic_base_change_succeeded' event on a given pull request. - AUTO_MERGE_DISABLED_EVENT = 'AUTO_MERGE_DISABLED_EVENT' ##Represents a 'auto_merge_disabled' event on a given pull request. - AUTO_MERGE_ENABLED_EVENT = 'AUTO_MERGE_ENABLED_EVENT' ##Represents a 'auto_merge_enabled' event on a given pull request. - AUTO_REBASE_ENABLED_EVENT = 'AUTO_REBASE_ENABLED_EVENT' ##Represents a 'auto_rebase_enabled' event on a given pull request. - AUTO_SQUASH_ENABLED_EVENT = 'AUTO_SQUASH_ENABLED_EVENT' ##Represents a 'auto_squash_enabled' event on a given pull request. - BASE_REF_CHANGED_EVENT = 'BASE_REF_CHANGED_EVENT' ##Represents a 'base_ref_changed' event on a given issue or pull request. - BASE_REF_FORCE_PUSHED_EVENT = 'BASE_REF_FORCE_PUSHED_EVENT' ##Represents a 'base_ref_force_pushed' event on a given pull request. - BASE_REF_DELETED_EVENT = 'BASE_REF_DELETED_EVENT' ##Represents a 'base_ref_deleted' event on a given pull request. - DEPLOYED_EVENT = 'DEPLOYED_EVENT' ##Represents a 'deployed' event on a given pull request. - DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT = 'DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT' ##Represents a 'deployment_environment_changed' event on a given pull request. - HEAD_REF_DELETED_EVENT = 'HEAD_REF_DELETED_EVENT' ##Represents a 'head_ref_deleted' event on a given pull request. - HEAD_REF_FORCE_PUSHED_EVENT = 'HEAD_REF_FORCE_PUSHED_EVENT' ##Represents a 'head_ref_force_pushed' event on a given pull request. - HEAD_REF_RESTORED_EVENT = 'HEAD_REF_RESTORED_EVENT' ##Represents a 'head_ref_restored' event on a given pull request. - MERGED_EVENT = 'MERGED_EVENT' ##Represents a 'merged' event on a given pull request. - REVIEW_DISMISSED_EVENT = 'REVIEW_DISMISSED_EVENT' ##Represents a 'review_dismissed' event on a given issue or pull request. - REVIEW_REQUESTED_EVENT = 'REVIEW_REQUESTED_EVENT' ##Represents an 'review_requested' event on a given pull request. - REVIEW_REQUEST_REMOVED_EVENT = 'REVIEW_REQUEST_REMOVED_EVENT' ##Represents an 'review_request_removed' event on a given pull request. - READY_FOR_REVIEW_EVENT = 'READY_FOR_REVIEW_EVENT' ##Represents a 'ready_for_review' event on a given pull request. - CONVERT_TO_DRAFT_EVENT = 'CONVERT_TO_DRAFT_EVENT' ##Represents a 'convert_to_draft' event on a given pull request. - ADDED_TO_MERGE_QUEUE_EVENT = 'ADDED_TO_MERGE_QUEUE_EVENT' ##Represents an 'added_to_merge_queue' event on a given pull request. - REMOVED_FROM_MERGE_QUEUE_EVENT = 'REMOVED_FROM_MERGE_QUEUE_EVENT' ##Represents a 'removed_from_merge_queue' event on a given pull request. - ISSUE_COMMENT = 'ISSUE_COMMENT' ##Represents a comment on an Issue. - CROSS_REFERENCED_EVENT = 'CROSS_REFERENCED_EVENT' ##Represents a mention made by one issue or pull request to another. - ADDED_TO_PROJECT_EVENT = 'ADDED_TO_PROJECT_EVENT' ##Represents a 'added_to_project' event on a given issue or pull request. - ASSIGNED_EVENT = 'ASSIGNED_EVENT' ##Represents an 'assigned' event on any assignable object. - CLOSED_EVENT = 'CLOSED_EVENT' ##Represents a 'closed' event on any `Closable`. - COMMENT_DELETED_EVENT = 'COMMENT_DELETED_EVENT' ##Represents a 'comment_deleted' event on a given issue or pull request. - CONNECTED_EVENT = 'CONNECTED_EVENT' ##Represents a 'connected' event on a given issue or pull request. - CONVERTED_NOTE_TO_ISSUE_EVENT = 'CONVERTED_NOTE_TO_ISSUE_EVENT' ##Represents a 'converted_note_to_issue' event on a given issue or pull request. - CONVERTED_TO_DISCUSSION_EVENT = 'CONVERTED_TO_DISCUSSION_EVENT' ##Represents a 'converted_to_discussion' event on a given issue. - DEMILESTONED_EVENT = 'DEMILESTONED_EVENT' ##Represents a 'demilestoned' event on a given issue or pull request. - DISCONNECTED_EVENT = 'DISCONNECTED_EVENT' ##Represents a 'disconnected' event on a given issue or pull request. - LABELED_EVENT = 'LABELED_EVENT' ##Represents a 'labeled' event on a given issue or pull request. - LOCKED_EVENT = 'LOCKED_EVENT' ##Represents a 'locked' event on a given issue or pull request. - MARKED_AS_DUPLICATE_EVENT = 'MARKED_AS_DUPLICATE_EVENT' ##Represents a 'marked_as_duplicate' event on a given issue or pull request. - MENTIONED_EVENT = 'MENTIONED_EVENT' ##Represents a 'mentioned' event on a given issue or pull request. - MILESTONED_EVENT = 'MILESTONED_EVENT' ##Represents a 'milestoned' event on a given issue or pull request. - MOVED_COLUMNS_IN_PROJECT_EVENT = 'MOVED_COLUMNS_IN_PROJECT_EVENT' ##Represents a 'moved_columns_in_project' event on a given issue or pull request. - PINNED_EVENT = 'PINNED_EVENT' ##Represents a 'pinned' event on a given issue or pull request. - REFERENCED_EVENT = 'REFERENCED_EVENT' ##Represents a 'referenced' event on a given `ReferencedSubject`. - REMOVED_FROM_PROJECT_EVENT = 'REMOVED_FROM_PROJECT_EVENT' ##Represents a 'removed_from_project' event on a given issue or pull request. - RENAMED_TITLE_EVENT = 'RENAMED_TITLE_EVENT' ##Represents a 'renamed' event on a given issue or pull request - REOPENED_EVENT = 'REOPENED_EVENT' ##Represents a 'reopened' event on any `Closable`. - SUBSCRIBED_EVENT = 'SUBSCRIBED_EVENT' ##Represents a 'subscribed' event on a given `Subscribable`. - TRANSFERRED_EVENT = 'TRANSFERRED_EVENT' ##Represents a 'transferred' event on a given issue or pull request. - UNASSIGNED_EVENT = 'UNASSIGNED_EVENT' ##Represents an 'unassigned' event on any assignable object. - UNLABELED_EVENT = 'UNLABELED_EVENT' ##Represents an 'unlabeled' event on a given issue or pull request. - UNLOCKED_EVENT = 'UNLOCKED_EVENT' ##Represents an 'unlocked' event on a given issue or pull request. - USER_BLOCKED_EVENT = 'USER_BLOCKED_EVENT' ##Represents a 'user_blocked' event on a given user. - UNMARKED_AS_DUPLICATE_EVENT = 'UNMARKED_AS_DUPLICATE_EVENT' ##Represents an 'unmarked_as_duplicate' event on a given issue or pull request. - UNPINNED_EVENT = 'UNPINNED_EVENT' ##Represents an 'unpinned' event on a given issue or pull request. - UNSUBSCRIBED_EVENT = 'UNSUBSCRIBED_EVENT' ##Represents an 'unsubscribed' event on a given `Subscribable`. + + ADDED_TO_MERGE_QUEUE_EVENT = "ADDED_TO_MERGE_QUEUE_EVENT" # Represents an 'added_to_merge_queue' event on a given pull request. + ADDED_TO_PROJECT_EVENT = "ADDED_TO_PROJECT_EVENT" # Represents a 'added_to_project' event on a given issue or pull request. + ASSIGNED_EVENT = ( + "ASSIGNED_EVENT" # Represents an 'assigned' event on any assignable object. + ) + AUTOMATIC_BASE_CHANGE_FAILED_EVENT = "AUTOMATIC_BASE_CHANGE_FAILED_EVENT" # Represents a 'automatic_base_change_failed' event on a given pull request. + AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT = "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT" # Represents a 'automatic_base_change_succeeded' event on a given pull request. + AUTO_MERGE_DISABLED_EVENT = "AUTO_MERGE_DISABLED_EVENT" # Represents a 'auto_merge_disabled' event on a given pull request. + AUTO_MERGE_ENABLED_EVENT = "AUTO_MERGE_ENABLED_EVENT" # Represents a 'auto_merge_enabled' event on a given pull request. + AUTO_REBASE_ENABLED_EVENT = "AUTO_REBASE_ENABLED_EVENT" # Represents a 'auto_rebase_enabled' event on a given pull request. + AUTO_SQUASH_ENABLED_EVENT = "AUTO_SQUASH_ENABLED_EVENT" # Represents a 'auto_squash_enabled' event on a given pull request. + BASE_REF_CHANGED_EVENT = "BASE_REF_CHANGED_EVENT" # Represents a 'base_ref_changed' event on a given issue or pull request. + BASE_REF_DELETED_EVENT = "BASE_REF_DELETED_EVENT" # Represents a 'base_ref_deleted' event on a given pull request. + BASE_REF_FORCE_PUSHED_EVENT = "BASE_REF_FORCE_PUSHED_EVENT" # Represents a 'base_ref_force_pushed' event on a given pull request. + CLOSED_EVENT = "CLOSED_EVENT" # Represents a 'closed' event on any `Closable`. + COMMENT_DELETED_EVENT = "COMMENT_DELETED_EVENT" # Represents a 'comment_deleted' event on a given issue or pull request. + CONNECTED_EVENT = "CONNECTED_EVENT" # Represents a 'connected' event on a given issue or pull request. + CONVERTED_NOTE_TO_ISSUE_EVENT = "CONVERTED_NOTE_TO_ISSUE_EVENT" # Represents a 'converted_note_to_issue' event on a given issue or pull request. + CONVERTED_TO_DISCUSSION_EVENT = "CONVERTED_TO_DISCUSSION_EVENT" # Represents a 'converted_to_discussion' event on a given issue. + CONVERT_TO_DRAFT_EVENT = "CONVERT_TO_DRAFT_EVENT" # Represents a 'convert_to_draft' event on a given pull request. + CROSS_REFERENCED_EVENT = "CROSS_REFERENCED_EVENT" # Represents a mention made by one issue or pull request to another. + DEMILESTONED_EVENT = "DEMILESTONED_EVENT" # Represents a 'demilestoned' event on a given issue or pull request. + DEPLOYED_EVENT = ( + "DEPLOYED_EVENT" # Represents a 'deployed' event on a given pull request. + ) + DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT = "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT" # Represents a 'deployment_environment_changed' event on a given pull request. + DISCONNECTED_EVENT = "DISCONNECTED_EVENT" # Represents a 'disconnected' event on a given issue or pull request. + HEAD_REF_DELETED_EVENT = "HEAD_REF_DELETED_EVENT" # Represents a 'head_ref_deleted' event on a given pull request. + HEAD_REF_FORCE_PUSHED_EVENT = "HEAD_REF_FORCE_PUSHED_EVENT" # Represents a 'head_ref_force_pushed' event on a given pull request. + HEAD_REF_RESTORED_EVENT = "HEAD_REF_RESTORED_EVENT" # Represents a 'head_ref_restored' event on a given pull request. + ISSUE_COMMENT = "ISSUE_COMMENT" # Represents a comment on an Issue. + LABELED_EVENT = "LABELED_EVENT" # Represents a 'labeled' event on a given issue or pull request. + LOCKED_EVENT = ( + "LOCKED_EVENT" # Represents a 'locked' event on a given issue or pull request. + ) + MARKED_AS_DUPLICATE_EVENT = "MARKED_AS_DUPLICATE_EVENT" # Represents a 'marked_as_duplicate' event on a given issue or pull request. + MENTIONED_EVENT = "MENTIONED_EVENT" # Represents a 'mentioned' event on a given issue or pull request. + MERGED_EVENT = ( + "MERGED_EVENT" # Represents a 'merged' event on a given pull request. + ) + MILESTONED_EVENT = "MILESTONED_EVENT" # Represents a 'milestoned' event on a given issue or pull request. + MOVED_COLUMNS_IN_PROJECT_EVENT = "MOVED_COLUMNS_IN_PROJECT_EVENT" # Represents a 'moved_columns_in_project' event on a given issue or pull request. + PINNED_EVENT = ( + "PINNED_EVENT" # Represents a 'pinned' event on a given issue or pull request. + ) + PULL_REQUEST_COMMIT = ( + "PULL_REQUEST_COMMIT" # Represents a Git commit part of a pull request. + ) + PULL_REQUEST_COMMIT_COMMENT_THREAD = "PULL_REQUEST_COMMIT_COMMENT_THREAD" # Represents a commit comment thread part of a pull request. + PULL_REQUEST_REVIEW = ( + "PULL_REQUEST_REVIEW" # A review object for a given pull request. + ) + PULL_REQUEST_REVIEW_THREAD = "PULL_REQUEST_REVIEW_THREAD" # A threaded list of comments for a given pull request. + PULL_REQUEST_REVISION_MARKER = "PULL_REQUEST_REVISION_MARKER" # Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. + READY_FOR_REVIEW_EVENT = "READY_FOR_REVIEW_EVENT" # Represents a 'ready_for_review' event on a given pull request. + REFERENCED_EVENT = "REFERENCED_EVENT" # Represents a 'referenced' event on a given `ReferencedSubject`. + REMOVED_FROM_MERGE_QUEUE_EVENT = "REMOVED_FROM_MERGE_QUEUE_EVENT" # Represents a 'removed_from_merge_queue' event on a given pull request. + REMOVED_FROM_PROJECT_EVENT = "REMOVED_FROM_PROJECT_EVENT" # Represents a 'removed_from_project' event on a given issue or pull request. + RENAMED_TITLE_EVENT = "RENAMED_TITLE_EVENT" # Represents a 'renamed' event on a given issue or pull request + REOPENED_EVENT = ( + "REOPENED_EVENT" # Represents a 'reopened' event on any `Closable`. + ) + REVIEW_DISMISSED_EVENT = "REVIEW_DISMISSED_EVENT" # Represents a 'review_dismissed' event on a given issue or pull request. + REVIEW_REQUESTED_EVENT = "REVIEW_REQUESTED_EVENT" # Represents an 'review_requested' event on a given pull request. + REVIEW_REQUEST_REMOVED_EVENT = "REVIEW_REQUEST_REMOVED_EVENT" # Represents an 'review_request_removed' event on a given pull request. + SUBSCRIBED_EVENT = ( + "SUBSCRIBED_EVENT" # Represents a 'subscribed' event on a given `Subscribable`. + ) + TRANSFERRED_EVENT = "TRANSFERRED_EVENT" # Represents a 'transferred' event on a given issue or pull request. + UNASSIGNED_EVENT = ( + "UNASSIGNED_EVENT" # Represents an 'unassigned' event on any assignable object. + ) + UNLABELED_EVENT = "UNLABELED_EVENT" # Represents an 'unlabeled' event on a given issue or pull request. + UNLOCKED_EVENT = "UNLOCKED_EVENT" # Represents an 'unlocked' event on a given issue or pull request. + UNMARKED_AS_DUPLICATE_EVENT = "UNMARKED_AS_DUPLICATE_EVENT" # Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + UNPINNED_EVENT = "UNPINNED_EVENT" # Represents an 'unpinned' event on a given issue or pull request. + UNSUBSCRIBED_EVENT = "UNSUBSCRIBED_EVENT" # Represents an 'unsubscribed' event on a given `Subscribable`. + USER_BLOCKED_EVENT = ( + "USER_BLOCKED_EVENT" # Represents a 'user_blocked' event on a given user. + ) + class PullRequestUpdateState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##A pull request that is still open. - CLOSED = 'CLOSED' ##A pull request that has been closed without being merged. + + CLOSED = "CLOSED" # A pull request that has been closed without being merged. + OPEN = "OPEN" # A pull request that is still open. + class ReactionContent(Enum): - DEFAULT = None - THUMBS_UP = 'THUMBS_UP' ##Represents the `:+1:` emoji. - THUMBS_DOWN = 'THUMBS_DOWN' ##Represents the `:-1:` emoji. - LAUGH = 'LAUGH' ##Represents the `:laugh:` emoji. - HOORAY = 'HOORAY' ##Represents the `:hooray:` emoji. - CONFUSED = 'CONFUSED' ##Represents the `:confused:` emoji. - HEART = 'HEART' ##Represents the `:heart:` emoji. - ROCKET = 'ROCKET' ##Represents the `:rocket:` emoji. - EYES = 'EYES' ##Represents the `:eyes:` emoji. + + CONFUSED = "CONFUSED" # Represents the `:confused:` emoji. + EYES = "EYES" # Represents the `:eyes:` emoji. + HEART = "HEART" # Represents the `:heart:` emoji. + HOORAY = "HOORAY" # Represents the `:hooray:` emoji. + LAUGH = "LAUGH" # Represents the `:laugh:` emoji. + ROCKET = "ROCKET" # Represents the `:rocket:` emoji. + THUMBS_DOWN = "THUMBS_DOWN" # Represents the `:-1:` emoji. + THUMBS_UP = "THUMBS_UP" # Represents the `:+1:` emoji. + class ReactionOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Allows ordering a list of reactions by when they were created. + + CREATED_AT = ( + "CREATED_AT" # Allows ordering a list of reactions by when they were created. + ) + class RefOrderField(Enum): - DEFAULT = None - TAG_COMMIT_DATE = 'TAG_COMMIT_DATE' ##Order refs by underlying commit date if the ref prefix is refs/tags/ - ALPHABETICAL = 'ALPHABETICAL' ##Order refs by their alphanumeric name + + ALPHABETICAL = "ALPHABETICAL" # Order refs by their alphanumeric name + TAG_COMMIT_DATE = "TAG_COMMIT_DATE" # Order refs by underlying commit date if the ref prefix is refs/tags/ + class ReleaseOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order releases by creation time - NAME = 'NAME' ##Order releases alphabetically by name + + CREATED_AT = "CREATED_AT" # Order releases by creation time + NAME = "NAME" # Order releases alphabetically by name + class RepoAccessAuditEntryVisibility(Enum): - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class RepoAddMemberAuditEntryVisibility(Enum): - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class RepoArchivedAuditEntryVisibility(Enum): - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class RepoChangeMergeSettingAuditEntryMergeType(Enum): - DEFAULT = None - MERGE = 'MERGE' ##The pull request is added to the base branch in a merge commit. - REBASE = 'REBASE' ##Commits from the pull request are added onto the base branch individually without a merge commit. - SQUASH = 'SQUASH' ##The pull request's commits are squashed into a single commit before they are merged to the base branch. + + MERGE = "MERGE" # The pull request is added to the base branch in a merge commit. + REBASE = "REBASE" # Commits from the pull request are added onto the base branch individually without a merge commit. + SQUASH = "SQUASH" # The pull request's commits are squashed into a single commit before they are merged to the base branch. + class RepoCreateAuditEntryVisibility(Enum): - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class RepoDestroyAuditEntryVisibility(Enum): - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class RepoRemoveMemberAuditEntryVisibility(Enum): - DEFAULT = None - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class ReportedContentClassifiers(Enum): - DEFAULT = None - SPAM = 'SPAM' ##A spammy piece of content - ABUSE = 'ABUSE' ##An abusive or harassing piece of content - OFF_TOPIC = 'OFF_TOPIC' ##An irrelevant piece of content - OUTDATED = 'OUTDATED' ##An outdated piece of content - DUPLICATE = 'DUPLICATE' ##A duplicated piece of content - RESOLVED = 'RESOLVED' ##The content has been resolved + + ABUSE = "ABUSE" # An abusive or harassing piece of content + DUPLICATE = "DUPLICATE" # A duplicated piece of content + OFF_TOPIC = "OFF_TOPIC" # An irrelevant piece of content + OUTDATED = "OUTDATED" # An outdated piece of content + RESOLVED = "RESOLVED" # The content has been resolved + SPAM = "SPAM" # A spammy piece of content + class RepositoryAffiliation(Enum): - DEFAULT = None - OWNER = 'OWNER' ##Repositories that are owned by the authenticated user. - COLLABORATOR = 'COLLABORATOR' ##Repositories that the user has been added to as a collaborator. - ORGANIZATION_MEMBER = 'ORGANIZATION_MEMBER' ##Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. + + COLLABORATOR = "COLLABORATOR" # Repositories that the user has been added to as a collaborator. + ORGANIZATION_MEMBER = "ORGANIZATION_MEMBER" # Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. + OWNER = "OWNER" # Repositories that are owned by the authenticated user. + class RepositoryContributionType(Enum): - DEFAULT = None - COMMIT = 'COMMIT' ##Created a commit - ISSUE = 'ISSUE' ##Created an issue - PULL_REQUEST = 'PULL_REQUEST' ##Created a pull request - REPOSITORY = 'REPOSITORY' ##Created the repository - PULL_REQUEST_REVIEW = 'PULL_REQUEST_REVIEW' ##Reviewed a pull request + + COMMIT = "COMMIT" # Created a commit + ISSUE = "ISSUE" # Created an issue + PULL_REQUEST = "PULL_REQUEST" # Created a pull request + PULL_REQUEST_REVIEW = "PULL_REQUEST_REVIEW" # Reviewed a pull request + REPOSITORY = "REPOSITORY" # Created the repository + class RepositoryInteractionLimit(Enum): - DEFAULT = None - EXISTING_USERS = 'EXISTING_USERS' ##Users that have recently created their account will be unable to interact with the repository. - CONTRIBUTORS_ONLY = 'CONTRIBUTORS_ONLY' ##Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. - COLLABORATORS_ONLY = 'COLLABORATORS_ONLY' ##Users that are not collaborators will not be able to interact with the repository. - NO_LIMIT = 'NO_LIMIT' ##No interaction limits are enabled. + + COLLABORATORS_ONLY = "COLLABORATORS_ONLY" # Users that are not collaborators will not be able to interact with the repository. + CONTRIBUTORS_ONLY = "CONTRIBUTORS_ONLY" # Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. + EXISTING_USERS = "EXISTING_USERS" # Users that have recently created their account will be unable to interact with the repository. + NO_LIMIT = "NO_LIMIT" # No interaction limits are enabled. + class RepositoryInteractionLimitExpiry(Enum): - DEFAULT = None - ONE_DAY = 'ONE_DAY' ##The interaction limit will expire after 1 day. - THREE_DAYS = 'THREE_DAYS' ##The interaction limit will expire after 3 days. - ONE_WEEK = 'ONE_WEEK' ##The interaction limit will expire after 1 week. - ONE_MONTH = 'ONE_MONTH' ##The interaction limit will expire after 1 month. - SIX_MONTHS = 'SIX_MONTHS' ##The interaction limit will expire after 6 months. + + ONE_DAY = "ONE_DAY" # The interaction limit will expire after 1 day. + ONE_MONTH = "ONE_MONTH" # The interaction limit will expire after 1 month. + ONE_WEEK = "ONE_WEEK" # The interaction limit will expire after 1 week. + SIX_MONTHS = "SIX_MONTHS" # The interaction limit will expire after 6 months. + THREE_DAYS = "THREE_DAYS" # The interaction limit will expire after 3 days. + class RepositoryInteractionLimitOrigin(Enum): - DEFAULT = None - REPOSITORY = 'REPOSITORY' ##A limit that is configured at the repository level. - ORGANIZATION = 'ORGANIZATION' ##A limit that is configured at the organization level. - USER = 'USER' ##A limit that is configured at the user-wide level. + + ORGANIZATION = ( + "ORGANIZATION" # A limit that is configured at the organization level. + ) + REPOSITORY = "REPOSITORY" # A limit that is configured at the repository level. + USER = "USER" # A limit that is configured at the user-wide level. + class RepositoryInvitationOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order repository invitations by creation time + + CREATED_AT = "CREATED_AT" # Order repository invitations by creation time + class RepositoryLockReason(Enum): - DEFAULT = None - MOVING = 'MOVING' ##The repository is locked due to a move. - BILLING = 'BILLING' ##The repository is locked due to a billing related reason. - RENAME = 'RENAME' ##The repository is locked due to a rename. - MIGRATING = 'MIGRATING' ##The repository is locked due to a migration. - TRADE_RESTRICTION = 'TRADE_RESTRICTION' ##The repository is locked due to a trade controls related reason. + + BILLING = "BILLING" # The repository is locked due to a billing related reason. + MIGRATING = "MIGRATING" # The repository is locked due to a migration. + MOVING = "MOVING" # The repository is locked due to a move. + RENAME = "RENAME" # The repository is locked due to a rename. + TRADE_RESTRICTION = "TRADE_RESTRICTION" # The repository is locked due to a trade controls related reason. + TRANSFERRING_OWNERSHIP = "TRANSFERRING_OWNERSHIP" # The repository is locked due to an ownership transfer. + class RepositoryMigrationOrderDirection(Enum): - DEFAULT = None - ASC = 'ASC' ##Specifies an ascending order for a given `orderBy` argument. - DESC = 'DESC' ##Specifies a descending order for a given `orderBy` argument. + + ASC = "ASC" # Specifies an ascending order for a given `orderBy` argument. + DESC = "DESC" # Specifies a descending order for a given `orderBy` argument. + class RepositoryMigrationOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order mannequins why when they were created. + + CREATED_AT = "CREATED_AT" # Order mannequins why when they were created. + class RepositoryOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order repositories by creation time - UPDATED_AT = 'UPDATED_AT' ##Order repositories by update time - PUSHED_AT = 'PUSHED_AT' ##Order repositories by push time - NAME = 'NAME' ##Order repositories by name - STARGAZERS = 'STARGAZERS' ##Order repositories by number of stargazers + + CREATED_AT = "CREATED_AT" # Order repositories by creation time + NAME = "NAME" # Order repositories by name + PUSHED_AT = "PUSHED_AT" # Order repositories by push time + STARGAZERS = "STARGAZERS" # Order repositories by number of stargazers + UPDATED_AT = "UPDATED_AT" # Order repositories by update time + class RepositoryPermission(Enum): - DEFAULT = None - ADMIN = 'ADMIN' ##Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators - MAINTAIN = 'MAINTAIN' ##Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings - WRITE = 'WRITE' ##Can read, clone, and push to this repository. Can also manage issues and pull requests - TRIAGE = 'TRIAGE' ##Can read and clone this repository. Can also manage issues and pull requests - READ = 'READ' ##Can read and clone this repository. Can also open and comment on issues and pull requests + + ADMIN = "ADMIN" # Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators + MAINTAIN = "MAINTAIN" # Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings + READ = "READ" # Can read and clone this repository. Can also open and comment on issues and pull requests + TRIAGE = "TRIAGE" # Can read and clone this repository. Can also manage issues and pull requests + WRITE = "WRITE" # Can read, clone, and push to this repository. Can also manage issues and pull requests + class RepositoryPrivacy(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' ##Public - PRIVATE = 'PRIVATE' ##Private + + PRIVATE = "PRIVATE" # Private + PUBLIC = "PUBLIC" # Public + + +class RepositoryRuleOrderField(Enum): + + CREATED_AT = "CREATED_AT" # Order repository rules by created time + TYPE = "TYPE" # Order repository rules by type + UPDATED_AT = "UPDATED_AT" # Order repository rules by updated time + class RepositoryRuleType(Enum): - DEFAULT = None - CREATION = 'CREATION' ##Only allow users with bypass permission to create matching refs. - UPDATE = 'UPDATE' ##Only allow users with bypass permission to update matching refs. - DELETION = 'DELETION' ##Only allow users with bypass permissions to delete matching refs. - REQUIRED_LINEAR_HISTORY = 'REQUIRED_LINEAR_HISTORY' ##Prevent merge commits from being pushed to matching branches. - REQUIRED_DEPLOYMENTS = 'REQUIRED_DEPLOYMENTS' ##Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. - REQUIRED_SIGNATURES = 'REQUIRED_SIGNATURES' ##Commits pushed to matching branches must have verified signatures. - PULL_REQUEST = 'PULL_REQUEST' ##Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. - REQUIRED_STATUS_CHECKS = 'REQUIRED_STATUS_CHECKS' ##Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. - NON_FAST_FORWARD = 'NON_FAST_FORWARD' ##Prevent users with push access from force pushing to branches. - COMMIT_MESSAGE_PATTERN = 'COMMIT_MESSAGE_PATTERN' ##Commit message pattern - COMMIT_AUTHOR_EMAIL_PATTERN = 'COMMIT_AUTHOR_EMAIL_PATTERN' ##Commit author email pattern - COMMITTER_EMAIL_PATTERN = 'COMMITTER_EMAIL_PATTERN' ##Committer email pattern - BRANCH_NAME_PATTERN = 'BRANCH_NAME_PATTERN' ##Branch name pattern - TAG_NAME_PATTERN = 'TAG_NAME_PATTERN' ##Tag name pattern + + AUTHORIZATION = "AUTHORIZATION" # Authorization + BRANCH_NAME_PATTERN = "BRANCH_NAME_PATTERN" # Branch name pattern + COMMITTER_EMAIL_PATTERN = "COMMITTER_EMAIL_PATTERN" # Committer email pattern + COMMIT_AUTHOR_EMAIL_PATTERN = ( + "COMMIT_AUTHOR_EMAIL_PATTERN" # Commit author email pattern + ) + COMMIT_MESSAGE_PATTERN = "COMMIT_MESSAGE_PATTERN" # Commit message pattern + CREATION = ( + "CREATION" # Only allow users with bypass permission to create matching refs. + ) + DELETION = ( + "DELETION" # Only allow users with bypass permissions to delete matching refs. + ) + LOCK_BRANCH = "LOCK_BRANCH" # Branch is read-only. Users cannot push to the branch. + MAX_REF_UPDATES = "MAX_REF_UPDATES" # Max ref updates + MERGE_QUEUE = "MERGE_QUEUE" # Merges must be performed via a merge queue. + MERGE_QUEUE_LOCKED_REF = "MERGE_QUEUE_LOCKED_REF" # Merge queue locked ref + NON_FAST_FORWARD = ( + "NON_FAST_FORWARD" # Prevent users with push access from force pushing to refs. + ) + PULL_REQUEST = "PULL_REQUEST" # Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + REQUIRED_DEPLOYMENTS = "REQUIRED_DEPLOYMENTS" # Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. + REQUIRED_LINEAR_HISTORY = "REQUIRED_LINEAR_HISTORY" # Prevent merge commits from being pushed to matching refs. + REQUIRED_REVIEW_THREAD_RESOLUTION = "REQUIRED_REVIEW_THREAD_RESOLUTION" # When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule. + REQUIRED_SIGNATURES = "REQUIRED_SIGNATURES" # Commits pushed to matching refs must have verified signatures. + REQUIRED_STATUS_CHECKS = "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. + REQUIRED_WORKFLOW_STATUS_CHECKS = "REQUIRED_WORKFLOW_STATUS_CHECKS" # Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged. + SECRET_SCANNING = "SECRET_SCANNING" # Secret scanning + TAG = "TAG" # Tag + TAG_NAME_PATTERN = "TAG_NAME_PATTERN" # Tag name pattern + UPDATE = ( + "UPDATE" # Only allow users with bypass permission to update matching refs. + ) + WORKFLOWS = "WORKFLOWS" # Require all changes made to a targeted branch to pass the specified workflows before they can be merged. + WORKFLOW_UPDATES = "WORKFLOW_UPDATES" # Workflow files cannot be modified. + class RepositoryRulesetBypassActorBypassMode(Enum): - DEFAULT = None - ALWAYS = 'ALWAYS' ##The actor can always bypass rules - PULL_REQUEST = 'PULL_REQUEST' ##The actor can only bypass rules via a pull request + + ALWAYS = "ALWAYS" # The actor can always bypass rules + PULL_REQUEST = "PULL_REQUEST" # The actor can only bypass rules via a pull request + class RepositoryRulesetTarget(Enum): - DEFAULT = None - BRANCH = 'BRANCH' ##Branch - TAG = 'TAG' ##Tag + + BRANCH = "BRANCH" # Branch + TAG = "TAG" # Tag + class RepositoryVisibility(Enum): - DEFAULT = None - PRIVATE = 'PRIVATE' ##The repository is visible only to those with explicit access. - PUBLIC = 'PUBLIC' ##The repository is visible to everyone. - INTERNAL = 'INTERNAL' ##The repository is visible only to users in the same business. + + INTERNAL = ( + "INTERNAL" # The repository is visible only to users in the same business. + ) + PRIVATE = "PRIVATE" # The repository is visible only to those with explicit access. + PUBLIC = "PUBLIC" # The repository is visible to everyone. + class RepositoryVulnerabilityAlertDependencyScope(Enum): - DEFAULT = None - RUNTIME = 'RUNTIME' ##A dependency that is leveraged during application runtime - DEVELOPMENT = 'DEVELOPMENT' ##A dependency that is only used in development + + DEVELOPMENT = "DEVELOPMENT" # A dependency that is only used in development + RUNTIME = "RUNTIME" # A dependency that is leveraged during application runtime + class RepositoryVulnerabilityAlertState(Enum): - DEFAULT = None - OPEN = 'OPEN' ##An alert that is still open. - FIXED = 'FIXED' ##An alert that has been resolved by a code change. - DISMISSED = 'DISMISSED' ##An alert that has been manually closed by a user. - AUTO_DISMISSED = 'AUTO_DISMISSED' ##An alert that has been automatically closed by Dependabot. + + AUTO_DISMISSED = ( + "AUTO_DISMISSED" # An alert that has been automatically closed by Dependabot. + ) + DISMISSED = "DISMISSED" # An alert that has been manually closed by a user. + FIXED = "FIXED" # An alert that has been resolved by a code change. + OPEN = "OPEN" # An alert that is still open. + class RequestableCheckStatusState(Enum): - DEFAULT = None - QUEUED = 'QUEUED' ##The check suite or run has been queued. - IN_PROGRESS = 'IN_PROGRESS' ##The check suite or run is in progress. - COMPLETED = 'COMPLETED' ##The check suite or run has been completed. - WAITING = 'WAITING' ##The check suite or run is in waiting state. - PENDING = 'PENDING' ##The check suite or run is in pending state. + + COMPLETED = "COMPLETED" # The check suite or run has been completed. + IN_PROGRESS = "IN_PROGRESS" # The check suite or run is in progress. + PENDING = "PENDING" # The check suite or run is in pending state. + QUEUED = "QUEUED" # The check suite or run has been queued. + WAITING = "WAITING" # The check suite or run is in waiting state. + class RoleInOrganization(Enum): - DEFAULT = None - OWNER = 'OWNER' ##A user with full administrative access to the organization. - DIRECT_MEMBER = 'DIRECT_MEMBER' ##A user who is a direct member of the organization. - UNAFFILIATED = 'UNAFFILIATED' ##A user who is unaffiliated with the organization. + + DIRECT_MEMBER = ( + "DIRECT_MEMBER" # A user who is a direct member of the organization. + ) + OWNER = "OWNER" # A user with full administrative access to the organization. + UNAFFILIATED = "UNAFFILIATED" # A user who is unaffiliated with the organization. + class RuleEnforcement(Enum): - DEFAULT = None - DISABLED = 'DISABLED' ##Do not evaluate or enforce rules - ACTIVE = 'ACTIVE' ##Rules will be enforced - EVALUATE = 'EVALUATE' ##Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + + ACTIVE = "ACTIVE" # Rules will be enforced + DISABLED = "DISABLED" # Do not evaluate or enforce rules + EVALUATE = "EVALUATE" # Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + class SamlDigestAlgorithm(Enum): - DEFAULT = None - SHA1 = 'SHA1' ##SHA1 - SHA256 = 'SHA256' ##SHA256 - SHA384 = 'SHA384' ##SHA384 - SHA512 = 'SHA512' ##SHA512 + + SHA1 = "SHA1" # SHA1 + SHA256 = "SHA256" # SHA256 + SHA384 = "SHA384" # SHA384 + SHA512 = "SHA512" # SHA512 + class SamlSignatureAlgorithm(Enum): - DEFAULT = None - RSA_SHA1 = 'RSA_SHA1' ##RSA-SHA1 - RSA_SHA256 = 'RSA_SHA256' ##RSA-SHA256 - RSA_SHA384 = 'RSA_SHA384' ##RSA-SHA384 - RSA_SHA512 = 'RSA_SHA512' ##RSA-SHA512 + + RSA_SHA1 = "RSA_SHA1" # RSA-SHA1 + RSA_SHA256 = "RSA_SHA256" # RSA-SHA256 + RSA_SHA384 = "RSA_SHA384" # RSA-SHA384 + RSA_SHA512 = "RSA_SHA512" # RSA-SHA512 + class SavedReplyOrderField(Enum): - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order saved reply by when they were updated. + + UPDATED_AT = "UPDATED_AT" # Order saved reply by when they were updated. + class SearchType(Enum): - DEFAULT = None - ISSUE = 'ISSUE' ##Returns results matching issues in repositories. - REPOSITORY = 'REPOSITORY' ##Returns results matching repositories. - USER = 'USER' ##Returns results matching users and organizations on GitHub. - DISCUSSION = 'DISCUSSION' ##Returns matching discussions in repositories. + + DISCUSSION = "DISCUSSION" # Returns matching discussions in repositories. + ISSUE = "ISSUE" # Returns results matching issues in repositories. + REPOSITORY = "REPOSITORY" # Returns results matching repositories. + USER = "USER" # Returns results matching users and organizations on GitHub. + class SecurityAdvisoryClassification(Enum): - DEFAULT = None - GENERAL = 'GENERAL' ##Classification of general advisories. - MALWARE = 'MALWARE' ##Classification of malware advisories. + + GENERAL = "GENERAL" # Classification of general advisories. + MALWARE = "MALWARE" # Classification of malware advisories. + class SecurityAdvisoryEcosystem(Enum): - DEFAULT = None - COMPOSER = 'COMPOSER' ##PHP packages hosted at packagist.org - ERLANG = 'ERLANG' ##Erlang/Elixir packages hosted at hex.pm - ACTIONS = 'ACTIONS' ##GitHub Actions - GO = 'GO' ##Go modules - MAVEN = 'MAVEN' ##Java artifacts hosted at the Maven central repository - NPM = 'NPM' ##JavaScript packages hosted at npmjs.com - NUGET = 'NUGET' ##.NET packages hosted at the NuGet Gallery - PIP = 'PIP' ##Python packages hosted at PyPI.org - PUB = 'PUB' ##Dart packages hosted at pub.dev - RUBYGEMS = 'RUBYGEMS' ##Ruby gems hosted at RubyGems.org - RUST = 'RUST' ##Rust crates - SWIFT = 'SWIFT' ##Swift packages + + ACTIONS = "ACTIONS" # GitHub Actions + COMPOSER = "COMPOSER" # PHP packages hosted at packagist.org + ERLANG = "ERLANG" # Erlang/Elixir packages hosted at hex.pm + GO = "GO" # Go modules + MAVEN = "MAVEN" # Java artifacts hosted at the Maven central repository + NPM = "NPM" # JavaScript packages hosted at npmjs.com + NUGET = "NUGET" # .NET packages hosted at the NuGet Gallery + PIP = "PIP" # Python packages hosted at PyPI.org + PUB = "PUB" # Dart packages hosted at pub.dev + RUBYGEMS = "RUBYGEMS" # Ruby gems hosted at RubyGems.org + RUST = "RUST" # Rust crates + SWIFT = "SWIFT" # Swift packages + class SecurityAdvisoryIdentifierType(Enum): - DEFAULT = None - CVE = 'CVE' ##Common Vulnerabilities and Exposures Identifier. - GHSA = 'GHSA' ##GitHub Security Advisory ID. + + CVE = "CVE" # Common Vulnerabilities and Exposures Identifier. + GHSA = "GHSA" # GitHub Security Advisory ID. + class SecurityAdvisoryOrderField(Enum): - DEFAULT = None - PUBLISHED_AT = 'PUBLISHED_AT' ##Order advisories by publication time - UPDATED_AT = 'UPDATED_AT' ##Order advisories by update time + + PUBLISHED_AT = "PUBLISHED_AT" # Order advisories by publication time + UPDATED_AT = "UPDATED_AT" # Order advisories by update time + class SecurityAdvisorySeverity(Enum): - DEFAULT = None - LOW = 'LOW' ##Low. - MODERATE = 'MODERATE' ##Moderate. - HIGH = 'HIGH' ##High. - CRITICAL = 'CRITICAL' ##Critical. + + CRITICAL = "CRITICAL" # Critical. + HIGH = "HIGH" # High. + LOW = "LOW" # Low. + MODERATE = "MODERATE" # Moderate. + class SecurityVulnerabilityOrderField(Enum): - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order vulnerability by update time + + UPDATED_AT = "UPDATED_AT" # Order vulnerability by update time + class SocialAccountProvider(Enum): - DEFAULT = None - GENERIC = 'GENERIC' ##Catch-all for social media providers that do not yet have specific handling. - FACEBOOK = 'FACEBOOK' ##Social media and networking website. - HOMETOWN = 'HOMETOWN' ##Fork of Mastodon with a greater focus on local posting. - INSTAGRAM = 'INSTAGRAM' ##Social media website with a focus on photo and video sharing. - LINKEDIN = 'LINKEDIN' ##Professional networking website. - MASTODON = 'MASTODON' ##Open-source federated microblogging service. - REDDIT = 'REDDIT' ##Social news aggregation and discussion website. - TWITCH = 'TWITCH' ##Live-streaming service. - TWITTER = 'TWITTER' ##Microblogging website. - YOUTUBE = 'YOUTUBE' ##Online video platform. + + FACEBOOK = "FACEBOOK" # Social media and networking website. + GENERIC = "GENERIC" # Catch-all for social media providers that do not yet have specific handling. + HOMETOWN = "HOMETOWN" # Fork of Mastodon with a greater focus on local posting. + INSTAGRAM = ( + "INSTAGRAM" # Social media website with a focus on photo and video sharing. + ) + LINKEDIN = "LINKEDIN" # Professional networking website. + MASTODON = "MASTODON" # Open-source federated microblogging service. + NPM = "NPM" # JavaScript package registry. + REDDIT = "REDDIT" # Social news aggregation and discussion website. + TWITCH = "TWITCH" # Live-streaming service. + TWITTER = "TWITTER" # Microblogging website. + YOUTUBE = "YOUTUBE" # Online video platform. + + +class SponsorAndLifetimeValueOrderField(Enum): + + LIFETIME_VALUE = "LIFETIME_VALUE" # Order results by how much money the sponsor has paid in total. + SPONSOR_LOGIN = "SPONSOR_LOGIN" # Order results by the sponsor's login (username). + SPONSOR_RELEVANCE = ( + "SPONSOR_RELEVANCE" # Order results by the sponsor's relevance to the viewer. + ) + class SponsorOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order sponsorable entities by login (username). - RELEVANCE = 'RELEVANCE' ##Order sponsors by their relevance to the viewer. + + LOGIN = "LOGIN" # Order sponsorable entities by login (username). + RELEVANCE = "RELEVANCE" # Order sponsors by their relevance to the viewer. + class SponsorableOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order sponsorable entities by login (username). + + LOGIN = "LOGIN" # Order sponsorable entities by login (username). + class SponsorsActivityAction(Enum): - DEFAULT = None - NEW_SPONSORSHIP = 'NEW_SPONSORSHIP' ##The activity was starting a sponsorship. - CANCELLED_SPONSORSHIP = 'CANCELLED_SPONSORSHIP' ##The activity was cancelling a sponsorship. - TIER_CHANGE = 'TIER_CHANGE' ##The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. - REFUND = 'REFUND' ##The activity was funds being refunded to the sponsor or GitHub. - PENDING_CHANGE = 'PENDING_CHANGE' ##The activity was scheduling a downgrade or cancellation. - SPONSOR_MATCH_DISABLED = 'SPONSOR_MATCH_DISABLED' ##The activity was disabling matching for a previously matched sponsorship. + + CANCELLED_SPONSORSHIP = ( + "CANCELLED_SPONSORSHIP" # The activity was cancelling a sponsorship. + ) + NEW_SPONSORSHIP = "NEW_SPONSORSHIP" # The activity was starting a sponsorship. + PENDING_CHANGE = ( + "PENDING_CHANGE" # The activity was scheduling a downgrade or cancellation. + ) + REFUND = "REFUND" # The activity was funds being refunded to the sponsor or GitHub. + SPONSOR_MATCH_DISABLED = "SPONSOR_MATCH_DISABLED" # The activity was disabling matching for a previously matched sponsorship. + TIER_CHANGE = "TIER_CHANGE" # The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. + class SponsorsActivityOrderField(Enum): - DEFAULT = None - TIMESTAMP = 'TIMESTAMP' ##Order activities by when they happened. + + TIMESTAMP = "TIMESTAMP" # Order activities by when they happened. + class SponsorsActivityPeriod(Enum): - DEFAULT = None - DAY = 'DAY' ##The previous calendar day. - WEEK = 'WEEK' ##The previous seven days. - MONTH = 'MONTH' ##The previous thirty days. - ALL = 'ALL' ##Don't restrict the activity to any date range, include all activity. + + ALL = "ALL" # Don't restrict the activity to any date range, include all activity. + DAY = "DAY" # The previous calendar day. + MONTH = "MONTH" # The previous thirty days. + WEEK = "WEEK" # The previous seven days. + class SponsorsCountryOrRegionCode(Enum): - DEFAULT = None - AF = 'AF' ##Afghanistan - AX = 'AX' ##Åland - AL = 'AL' ##Albania - DZ = 'DZ' ##Algeria - AS = 'AS' ##American Samoa - AD = 'AD' ##Andorra - AO = 'AO' ##Angola - AI = 'AI' ##Anguilla - AQ = 'AQ' ##Antarctica - AG = 'AG' ##Antigua and Barbuda - AR = 'AR' ##Argentina - AM = 'AM' ##Armenia - AW = 'AW' ##Aruba - AU = 'AU' ##Australia - AT = 'AT' ##Austria - AZ = 'AZ' ##Azerbaijan - BS = 'BS' ##Bahamas - BH = 'BH' ##Bahrain - BD = 'BD' ##Bangladesh - BB = 'BB' ##Barbados - BY = 'BY' ##Belarus - BE = 'BE' ##Belgium - BZ = 'BZ' ##Belize - BJ = 'BJ' ##Benin - BM = 'BM' ##Bermuda - BT = 'BT' ##Bhutan - BO = 'BO' ##Bolivia - BQ = 'BQ' ##Bonaire, Sint Eustatius and Saba - BA = 'BA' ##Bosnia and Herzegovina - BW = 'BW' ##Botswana - BV = 'BV' ##Bouvet Island - BR = 'BR' ##Brazil - IO = 'IO' ##British Indian Ocean Territory - BN = 'BN' ##Brunei Darussalam - BG = 'BG' ##Bulgaria - BF = 'BF' ##Burkina Faso - BI = 'BI' ##Burundi - KH = 'KH' ##Cambodia - CM = 'CM' ##Cameroon - CA = 'CA' ##Canada - CV = 'CV' ##Cape Verde - KY = 'KY' ##Cayman Islands - CF = 'CF' ##Central African Republic - TD = 'TD' ##Chad - CL = 'CL' ##Chile - CN = 'CN' ##China - CX = 'CX' ##Christmas Island - CC = 'CC' ##Cocos (Keeling) Islands - CO = 'CO' ##Colombia - KM = 'KM' ##Comoros - CG = 'CG' ##Congo (Brazzaville) - CD = 'CD' ##Congo (Kinshasa) - CK = 'CK' ##Cook Islands - CR = 'CR' ##Costa Rica - CI = 'CI' ##Côte d'Ivoire - HR = 'HR' ##Croatia - CW = 'CW' ##Curaçao - CY = 'CY' ##Cyprus - CZ = 'CZ' ##Czech Republic - DK = 'DK' ##Denmark - DJ = 'DJ' ##Djibouti - DM = 'DM' ##Dominica - DO = 'DO' ##Dominican Republic - EC = 'EC' ##Ecuador - EG = 'EG' ##Egypt - SV = 'SV' ##El Salvador - GQ = 'GQ' ##Equatorial Guinea - ER = 'ER' ##Eritrea - EE = 'EE' ##Estonia - ET = 'ET' ##Ethiopia - FK = 'FK' ##Falkland Islands - FO = 'FO' ##Faroe Islands - FJ = 'FJ' ##Fiji - FI = 'FI' ##Finland - FR = 'FR' ##France - GF = 'GF' ##French Guiana - PF = 'PF' ##French Polynesia - TF = 'TF' ##French Southern Lands - GA = 'GA' ##Gabon - GM = 'GM' ##Gambia - GE = 'GE' ##Georgia - DE = 'DE' ##Germany - GH = 'GH' ##Ghana - GI = 'GI' ##Gibraltar - GR = 'GR' ##Greece - GL = 'GL' ##Greenland - GD = 'GD' ##Grenada - GP = 'GP' ##Guadeloupe - GU = 'GU' ##Guam - GT = 'GT' ##Guatemala - GG = 'GG' ##Guernsey - GN = 'GN' ##Guinea - GW = 'GW' ##Guinea-Bissau - GY = 'GY' ##Guyana - HT = 'HT' ##Haiti - HM = 'HM' ##Heard and McDonald Islands - HN = 'HN' ##Honduras - HK = 'HK' ##Hong Kong - HU = 'HU' ##Hungary - IS = 'IS' ##Iceland - IN = 'IN' ##India - ID = 'ID' ##Indonesia - IR = 'IR' ##Iran - IQ = 'IQ' ##Iraq - IE = 'IE' ##Ireland - IM = 'IM' ##Isle of Man - IL = 'IL' ##Israel - IT = 'IT' ##Italy - JM = 'JM' ##Jamaica - JP = 'JP' ##Japan - JE = 'JE' ##Jersey - JO = 'JO' ##Jordan - KZ = 'KZ' ##Kazakhstan - KE = 'KE' ##Kenya - KI = 'KI' ##Kiribati - KR = 'KR' ##Korea, South - KW = 'KW' ##Kuwait - KG = 'KG' ##Kyrgyzstan - LA = 'LA' ##Laos - LV = 'LV' ##Latvia - LB = 'LB' ##Lebanon - LS = 'LS' ##Lesotho - LR = 'LR' ##Liberia - LY = 'LY' ##Libya - LI = 'LI' ##Liechtenstein - LT = 'LT' ##Lithuania - LU = 'LU' ##Luxembourg - MO = 'MO' ##Macau - MK = 'MK' ##Macedonia - MG = 'MG' ##Madagascar - MW = 'MW' ##Malawi - MY = 'MY' ##Malaysia - MV = 'MV' ##Maldives - ML = 'ML' ##Mali - MT = 'MT' ##Malta - MH = 'MH' ##Marshall Islands - MQ = 'MQ' ##Martinique - MR = 'MR' ##Mauritania - MU = 'MU' ##Mauritius - YT = 'YT' ##Mayotte - MX = 'MX' ##Mexico - FM = 'FM' ##Micronesia - MD = 'MD' ##Moldova - MC = 'MC' ##Monaco - MN = 'MN' ##Mongolia - ME = 'ME' ##Montenegro - MS = 'MS' ##Montserrat - MA = 'MA' ##Morocco - MZ = 'MZ' ##Mozambique - MM = 'MM' ##Myanmar - NA = 'NA' ##Namibia - NR = 'NR' ##Nauru - NP = 'NP' ##Nepal - NL = 'NL' ##Netherlands - NC = 'NC' ##New Caledonia - NZ = 'NZ' ##New Zealand - NI = 'NI' ##Nicaragua - NE = 'NE' ##Niger - NG = 'NG' ##Nigeria - NU = 'NU' ##Niue - NF = 'NF' ##Norfolk Island - MP = 'MP' ##Northern Mariana Islands - NO = 'NO' ##Norway - OM = 'OM' ##Oman - PK = 'PK' ##Pakistan - PW = 'PW' ##Palau - PS = 'PS' ##Palestine - PA = 'PA' ##Panama - PG = 'PG' ##Papua New Guinea - PY = 'PY' ##Paraguay - PE = 'PE' ##Peru - PH = 'PH' ##Philippines - PN = 'PN' ##Pitcairn - PL = 'PL' ##Poland - PT = 'PT' ##Portugal - PR = 'PR' ##Puerto Rico - QA = 'QA' ##Qatar - RE = 'RE' ##Reunion - RO = 'RO' ##Romania - RU = 'RU' ##Russian Federation - RW = 'RW' ##Rwanda - BL = 'BL' ##Saint Barthélemy - SH = 'SH' ##Saint Helena - KN = 'KN' ##Saint Kitts and Nevis - LC = 'LC' ##Saint Lucia - MF = 'MF' ##Saint Martin (French part) - PM = 'PM' ##Saint Pierre and Miquelon - VC = 'VC' ##Saint Vincent and the Grenadines - WS = 'WS' ##Samoa - SM = 'SM' ##San Marino - ST = 'ST' ##Sao Tome and Principe - SA = 'SA' ##Saudi Arabia - SN = 'SN' ##Senegal - RS = 'RS' ##Serbia - SC = 'SC' ##Seychelles - SL = 'SL' ##Sierra Leone - SG = 'SG' ##Singapore - SX = 'SX' ##Sint Maarten (Dutch part) - SK = 'SK' ##Slovakia - SI = 'SI' ##Slovenia - SB = 'SB' ##Solomon Islands - SO = 'SO' ##Somalia - ZA = 'ZA' ##South Africa - GS = 'GS' ##South Georgia and South Sandwich Islands - SS = 'SS' ##South Sudan - ES = 'ES' ##Spain - LK = 'LK' ##Sri Lanka - SD = 'SD' ##Sudan - SR = 'SR' ##Suriname - SJ = 'SJ' ##Svalbard and Jan Mayen Islands - SZ = 'SZ' ##Swaziland - SE = 'SE' ##Sweden - CH = 'CH' ##Switzerland - TW = 'TW' ##Taiwan - TJ = 'TJ' ##Tajikistan - TZ = 'TZ' ##Tanzania - TH = 'TH' ##Thailand - TL = 'TL' ##Timor-Leste - TG = 'TG' ##Togo - TK = 'TK' ##Tokelau - TO = 'TO' ##Tonga - TT = 'TT' ##Trinidad and Tobago - TN = 'TN' ##Tunisia - TR = 'TR' ##Turkey - TM = 'TM' ##Turkmenistan - TC = 'TC' ##Turks and Caicos Islands - TV = 'TV' ##Tuvalu - UG = 'UG' ##Uganda - UA = 'UA' ##Ukraine - AE = 'AE' ##United Arab Emirates - GB = 'GB' ##United Kingdom - UM = 'UM' ##United States Minor Outlying Islands - US = 'US' ##United States of America - UY = 'UY' ##Uruguay - UZ = 'UZ' ##Uzbekistan - VU = 'VU' ##Vanuatu - VA = 'VA' ##Vatican City - VE = 'VE' ##Venezuela - VN = 'VN' ##Vietnam - VG = 'VG' ##Virgin Islands, British - VI = 'VI' ##Virgin Islands, U.S. - WF = 'WF' ##Wallis and Futuna Islands - EH = 'EH' ##Western Sahara - YE = 'YE' ##Yemen - ZM = 'ZM' ##Zambia - ZW = 'ZW' ##Zimbabwe + + AD = "AD" # Andorra + AE = "AE" # United Arab Emirates + AF = "AF" # Afghanistan + AG = "AG" # Antigua and Barbuda + AI = "AI" # Anguilla + AL = "AL" # Albania + AM = "AM" # Armenia + AO = "AO" # Angola + AQ = "AQ" # Antarctica + AR = "AR" # Argentina + AS = "AS" # American Samoa + AT = "AT" # Austria + AU = "AU" # Australia + AW = "AW" # Aruba + AX = "AX" # Åland + AZ = "AZ" # Azerbaijan + BA = "BA" # Bosnia and Herzegovina + BB = "BB" # Barbados + BD = "BD" # Bangladesh + BE = "BE" # Belgium + BF = "BF" # Burkina Faso + BG = "BG" # Bulgaria + BH = "BH" # Bahrain + BI = "BI" # Burundi + BJ = "BJ" # Benin + BL = "BL" # Saint Barthélemy + BM = "BM" # Bermuda + BN = "BN" # Brunei Darussalam + BO = "BO" # Bolivia + BQ = "BQ" # Bonaire, Sint Eustatius and Saba + BR = "BR" # Brazil + BS = "BS" # Bahamas + BT = "BT" # Bhutan + BV = "BV" # Bouvet Island + BW = "BW" # Botswana + BY = "BY" # Belarus + BZ = "BZ" # Belize + CA = "CA" # Canada + CC = "CC" # Cocos (Keeling) Islands + CD = "CD" # Congo (Kinshasa) + CF = "CF" # Central African Republic + CG = "CG" # Congo (Brazzaville) + CH = "CH" # Switzerland + CI = "CI" # Côte d'Ivoire + CK = "CK" # Cook Islands + CL = "CL" # Chile + CM = "CM" # Cameroon + CN = "CN" # China + CO = "CO" # Colombia + CR = "CR" # Costa Rica + CV = "CV" # Cape Verde + CW = "CW" # Curaçao + CX = "CX" # Christmas Island + CY = "CY" # Cyprus + CZ = "CZ" # Czech Republic + DE = "DE" # Germany + DJ = "DJ" # Djibouti + DK = "DK" # Denmark + DM = "DM" # Dominica + DO = "DO" # Dominican Republic + DZ = "DZ" # Algeria + EC = "EC" # Ecuador + EE = "EE" # Estonia + EG = "EG" # Egypt + EH = "EH" # Western Sahara + ER = "ER" # Eritrea + ES = "ES" # Spain + ET = "ET" # Ethiopia + FI = "FI" # Finland + FJ = "FJ" # Fiji + FK = "FK" # Falkland Islands + FM = "FM" # Micronesia + FO = "FO" # Faroe Islands + FR = "FR" # France + GA = "GA" # Gabon + GB = "GB" # United Kingdom + GD = "GD" # Grenada + GE = "GE" # Georgia + GF = "GF" # French Guiana + GG = "GG" # Guernsey + GH = "GH" # Ghana + GI = "GI" # Gibraltar + GL = "GL" # Greenland + GM = "GM" # Gambia + GN = "GN" # Guinea + GP = "GP" # Guadeloupe + GQ = "GQ" # Equatorial Guinea + GR = "GR" # Greece + GS = "GS" # South Georgia and South Sandwich Islands + GT = "GT" # Guatemala + GU = "GU" # Guam + GW = "GW" # Guinea-Bissau + GY = "GY" # Guyana + HK = "HK" # Hong Kong + HM = "HM" # Heard and McDonald Islands + HN = "HN" # Honduras + HR = "HR" # Croatia + HT = "HT" # Haiti + HU = "HU" # Hungary + ID = "ID" # Indonesia + IE = "IE" # Ireland + IL = "IL" # Israel + IM = "IM" # Isle of Man + IN = "IN" # India + IO = "IO" # British Indian Ocean Territory + IQ = "IQ" # Iraq + IR = "IR" # Iran + IS = "IS" # Iceland + IT = "IT" # Italy + JE = "JE" # Jersey + JM = "JM" # Jamaica + JO = "JO" # Jordan + JP = "JP" # Japan + KE = "KE" # Kenya + KG = "KG" # Kyrgyzstan + KH = "KH" # Cambodia + KI = "KI" # Kiribati + KM = "KM" # Comoros + KN = "KN" # Saint Kitts and Nevis + KR = "KR" # Korea, South + KW = "KW" # Kuwait + KY = "KY" # Cayman Islands + KZ = "KZ" # Kazakhstan + LA = "LA" # Laos + LB = "LB" # Lebanon + LC = "LC" # Saint Lucia + LI = "LI" # Liechtenstein + LK = "LK" # Sri Lanka + LR = "LR" # Liberia + LS = "LS" # Lesotho + LT = "LT" # Lithuania + LU = "LU" # Luxembourg + LV = "LV" # Latvia + LY = "LY" # Libya + MA = "MA" # Morocco + MC = "MC" # Monaco + MD = "MD" # Moldova + ME = "ME" # Montenegro + MF = "MF" # Saint Martin (French part) + MG = "MG" # Madagascar + MH = "MH" # Marshall Islands + MK = "MK" # Macedonia + ML = "ML" # Mali + MM = "MM" # Myanmar + MN = "MN" # Mongolia + MO = "MO" # Macau + MP = "MP" # Northern Mariana Islands + MQ = "MQ" # Martinique + MR = "MR" # Mauritania + MS = "MS" # Montserrat + MT = "MT" # Malta + MU = "MU" # Mauritius + MV = "MV" # Maldives + MW = "MW" # Malawi + MX = "MX" # Mexico + MY = "MY" # Malaysia + MZ = "MZ" # Mozambique + NA = "NA" # Namibia + NC = "NC" # New Caledonia + NE = "NE" # Niger + NF = "NF" # Norfolk Island + NG = "NG" # Nigeria + NI = "NI" # Nicaragua + NL = "NL" # Netherlands + NO = "NO" # Norway + NP = "NP" # Nepal + NR = "NR" # Nauru + NU = "NU" # Niue + NZ = "NZ" # New Zealand + OM = "OM" # Oman + PA = "PA" # Panama + PE = "PE" # Peru + PF = "PF" # French Polynesia + PG = "PG" # Papua New Guinea + PH = "PH" # Philippines + PK = "PK" # Pakistan + PL = "PL" # Poland + PM = "PM" # Saint Pierre and Miquelon + PN = "PN" # Pitcairn + PR = "PR" # Puerto Rico + PS = "PS" # Palestine + PT = "PT" # Portugal + PW = "PW" # Palau + PY = "PY" # Paraguay + QA = "QA" # Qatar + RE = "RE" # Reunion + RO = "RO" # Romania + RS = "RS" # Serbia + RU = "RU" # Russian Federation + RW = "RW" # Rwanda + SA = "SA" # Saudi Arabia + SB = "SB" # Solomon Islands + SC = "SC" # Seychelles + SD = "SD" # Sudan + SE = "SE" # Sweden + SG = "SG" # Singapore + SH = "SH" # Saint Helena + SI = "SI" # Slovenia + SJ = "SJ" # Svalbard and Jan Mayen Islands + SK = "SK" # Slovakia + SL = "SL" # Sierra Leone + SM = "SM" # San Marino + SN = "SN" # Senegal + SO = "SO" # Somalia + SR = "SR" # Suriname + SS = "SS" # South Sudan + ST = "ST" # Sao Tome and Principe + SV = "SV" # El Salvador + SX = "SX" # Sint Maarten (Dutch part) + SZ = "SZ" # Swaziland + TC = "TC" # Turks and Caicos Islands + TD = "TD" # Chad + TF = "TF" # French Southern Lands + TG = "TG" # Togo + TH = "TH" # Thailand + TJ = "TJ" # Tajikistan + TK = "TK" # Tokelau + TL = "TL" # Timor-Leste + TM = "TM" # Turkmenistan + TN = "TN" # Tunisia + TO = "TO" # Tonga + TR = "TR" # Türkiye + TT = "TT" # Trinidad and Tobago + TV = "TV" # Tuvalu + TW = "TW" # Taiwan + TZ = "TZ" # Tanzania + UA = "UA" # Ukraine + UG = "UG" # Uganda + UM = "UM" # United States Minor Outlying Islands + US = "US" # United States of America + UY = "UY" # Uruguay + UZ = "UZ" # Uzbekistan + VA = "VA" # Vatican City + VC = "VC" # Saint Vincent and the Grenadines + VE = "VE" # Venezuela + VG = "VG" # Virgin Islands, British + VI = "VI" # Virgin Islands, U.S. + VN = "VN" # Vietnam + VU = "VU" # Vanuatu + WF = "WF" # Wallis and Futuna Islands + WS = "WS" # Samoa + YE = "YE" # Yemen + YT = "YT" # Mayotte + ZA = "ZA" # South Africa + ZM = "ZM" # Zambia + ZW = "ZW" # Zimbabwe + class SponsorsGoalKind(Enum): - DEFAULT = None - TOTAL_SPONSORS_COUNT = 'TOTAL_SPONSORS_COUNT' ##The goal is about reaching a certain number of sponsors. - MONTHLY_SPONSORSHIP_AMOUNT = 'MONTHLY_SPONSORSHIP_AMOUNT' ##The goal is about getting a certain amount in USD from sponsorships each month. + + MONTHLY_SPONSORSHIP_AMOUNT = "MONTHLY_SPONSORSHIP_AMOUNT" # The goal is about getting a certain amount in USD from sponsorships each month. + TOTAL_SPONSORS_COUNT = "TOTAL_SPONSORS_COUNT" # The goal is about reaching a certain number of sponsors. + class SponsorsListingFeaturedItemFeatureableType(Enum): - DEFAULT = None - REPOSITORY = 'REPOSITORY' ##A repository owned by the user or organization with the GitHub Sponsors profile. - USER = 'USER' ##A user who belongs to the organization with the GitHub Sponsors profile. + + REPOSITORY = "REPOSITORY" # A repository owned by the user or organization with the GitHub Sponsors profile. + USER = "USER" # A user who belongs to the organization with the GitHub Sponsors profile. + class SponsorsTierOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order tiers by creation time. - MONTHLY_PRICE_IN_CENTS = 'MONTHLY_PRICE_IN_CENTS' ##Order tiers by their monthly price in cents + + CREATED_AT = "CREATED_AT" # Order tiers by creation time. + MONTHLY_PRICE_IN_CENTS = ( + "MONTHLY_PRICE_IN_CENTS" # Order tiers by their monthly price in cents + ) + class SponsorshipNewsletterOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order sponsorship newsletters by when they were created. + + CREATED_AT = ( + "CREATED_AT" # Order sponsorship newsletters by when they were created. + ) + class SponsorshipOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order sponsorship by creation time. + + CREATED_AT = "CREATED_AT" # Order sponsorship by creation time. + + +class SponsorshipPaymentSource(Enum): + + GITHUB = "GITHUB" # Payment was made through GitHub. + PATREON = "PATREON" # Payment was made through Patreon. + class SponsorshipPrivacy(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' ##Public - PRIVATE = 'PRIVATE' ##Private + + PRIVATE = "PRIVATE" # Private + PUBLIC = "PUBLIC" # Public + class SquashMergeCommitMessage(Enum): - DEFAULT = None - PR_BODY = 'PR_BODY' ##Default to the pull request's body. - COMMIT_MESSAGES = 'COMMIT_MESSAGES' ##Default to the branch's commit messages. - BLANK = 'BLANK' ##Default to a blank commit message. + + BLANK = "BLANK" # Default to a blank commit message. + COMMIT_MESSAGES = "COMMIT_MESSAGES" # Default to the branch's commit messages. + PR_BODY = "PR_BODY" # Default to the pull request's body. + class SquashMergeCommitTitle(Enum): - DEFAULT = None - PR_TITLE = 'PR_TITLE' ##Default to the pull request's title. - COMMIT_OR_PR_TITLE = 'COMMIT_OR_PR_TITLE' ##Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + + COMMIT_OR_PR_TITLE = "COMMIT_OR_PR_TITLE" # Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + PR_TITLE = "PR_TITLE" # Default to the pull request's title. + class StarOrderField(Enum): - DEFAULT = None - STARRED_AT = 'STARRED_AT' ##Allows ordering a list of stars by when they were created. + + STARRED_AT = ( + "STARRED_AT" # Allows ordering a list of stars by when they were created. + ) + class StatusState(Enum): - DEFAULT = None - EXPECTED = 'EXPECTED' ##Status is expected. - ERROR = 'ERROR' ##Status is errored. - FAILURE = 'FAILURE' ##Status is failing. - PENDING = 'PENDING' ##Status is pending. - SUCCESS = 'SUCCESS' ##Status is successful. + + ERROR = "ERROR" # Status is errored. + EXPECTED = "EXPECTED" # Status is expected. + FAILURE = "FAILURE" # Status is failing. + PENDING = "PENDING" # Status is pending. + SUCCESS = "SUCCESS" # Status is successful. + class SubscriptionState(Enum): - DEFAULT = None - UNSUBSCRIBED = 'UNSUBSCRIBED' ##The User is only notified when participating or @mentioned. - SUBSCRIBED = 'SUBSCRIBED' ##The User is notified of all conversations. - IGNORED = 'IGNORED' ##The User is never notified. + + IGNORED = "IGNORED" # The User is never notified. + SUBSCRIBED = "SUBSCRIBED" # The User is notified of all conversations. + UNSUBSCRIBED = ( + "UNSUBSCRIBED" # The User is only notified when participating or @mentioned. + ) + class TeamDiscussionCommentOrderField(Enum): - DEFAULT = None - NUMBER = 'NUMBER' ##Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). + + NUMBER = "NUMBER" # Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). + class TeamDiscussionOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Allows chronological ordering of team discussions. + + CREATED_AT = "CREATED_AT" # Allows chronological ordering of team discussions. + class TeamMemberOrderField(Enum): - DEFAULT = None - LOGIN = 'LOGIN' ##Order team members by login - CREATED_AT = 'CREATED_AT' ##Order team members by creation time + + CREATED_AT = "CREATED_AT" # Order team members by creation time + LOGIN = "LOGIN" # Order team members by login + class TeamMemberRole(Enum): - DEFAULT = None - MAINTAINER = 'MAINTAINER' ##A team maintainer has permission to add and remove team members. - MEMBER = 'MEMBER' ##A team member has no administrative permissions on the team. + + MAINTAINER = ( + "MAINTAINER" # A team maintainer has permission to add and remove team members. + ) + MEMBER = "MEMBER" # A team member has no administrative permissions on the team. + class TeamMembershipType(Enum): - DEFAULT = None - IMMEDIATE = 'IMMEDIATE' ##Includes only immediate members of the team. - CHILD_TEAM = 'CHILD_TEAM' ##Includes only child team members for the team. - ALL = 'ALL' ##Includes immediate and child team members for the team. + + ALL = "ALL" # Includes immediate and child team members for the team. + CHILD_TEAM = "CHILD_TEAM" # Includes only child team members for the team. + IMMEDIATE = "IMMEDIATE" # Includes only immediate members of the team. + class TeamNotificationSetting(Enum): - DEFAULT = None - NOTIFICATIONS_ENABLED = 'NOTIFICATIONS_ENABLED' ##Everyone will receive notifications when the team is @mentioned. - NOTIFICATIONS_DISABLED = 'NOTIFICATIONS_DISABLED' ##No one will receive notifications. + + NOTIFICATIONS_DISABLED = ( + "NOTIFICATIONS_DISABLED" # No one will receive notifications. + ) + NOTIFICATIONS_ENABLED = "NOTIFICATIONS_ENABLED" # Everyone will receive notifications when the team is @mentioned. + class TeamOrderField(Enum): - DEFAULT = None - NAME = 'NAME' ##Allows ordering a list of teams by name. + + NAME = "NAME" # Allows ordering a list of teams by name. + class TeamPrivacy(Enum): - DEFAULT = None - SECRET = 'SECRET' ##A secret team can only be seen by its members. - VISIBLE = 'VISIBLE' ##A visible team can be seen and @mentioned by every member of the organization. + + SECRET = "SECRET" # A secret team can only be seen by its members. + VISIBLE = "VISIBLE" # A visible team can be seen and @mentioned by every member of the organization. + class TeamRepositoryOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order repositories by creation time - UPDATED_AT = 'UPDATED_AT' ##Order repositories by update time - PUSHED_AT = 'PUSHED_AT' ##Order repositories by push time - NAME = 'NAME' ##Order repositories by name - PERMISSION = 'PERMISSION' ##Order repositories by permission - STARGAZERS = 'STARGAZERS' ##Order repositories by number of stargazers + + CREATED_AT = "CREATED_AT" # Order repositories by creation time + NAME = "NAME" # Order repositories by name + PERMISSION = "PERMISSION" # Order repositories by permission + PUSHED_AT = "PUSHED_AT" # Order repositories by push time + STARGAZERS = "STARGAZERS" # Order repositories by number of stargazers + UPDATED_AT = "UPDATED_AT" # Order repositories by update time + + +class TeamReviewAssignmentAlgorithm(Enum): + + LOAD_BALANCE = "LOAD_BALANCE" # Balance review load across the entire team + ROUND_ROBIN = "ROUND_ROBIN" # Alternate reviews between each team member + class TeamRole(Enum): - DEFAULT = None - ADMIN = 'ADMIN' ##User has admin rights on the team. - MEMBER = 'MEMBER' ##User is a member of the team. + + ADMIN = "ADMIN" # User has admin rights on the team. + MEMBER = "MEMBER" # User is a member of the team. + class ThreadSubscriptionFormAction(Enum): - DEFAULT = None - NONE = 'NONE' ##The User cannot subscribe or unsubscribe to the thread - SUBSCRIBE = 'SUBSCRIBE' ##The User can subscribe to the thread - UNSUBSCRIBE = 'UNSUBSCRIBE' ##The User can unsubscribe to the thread + + NONE = "NONE" # The User cannot subscribe or unsubscribe to the thread + SUBSCRIBE = "SUBSCRIBE" # The User can subscribe to the thread + UNSUBSCRIBE = "UNSUBSCRIBE" # The User can unsubscribe to the thread + class ThreadSubscriptionState(Enum): - DEFAULT = None - UNAVAILABLE = 'UNAVAILABLE' ##The subscription status is currently unavailable. - DISABLED = 'DISABLED' ##The subscription status is currently disabled. - IGNORING_LIST = 'IGNORING_LIST' ##The User is never notified because they are ignoring the list - SUBSCRIBED_TO_THREAD_EVENTS = 'SUBSCRIBED_TO_THREAD_EVENTS' ##The User is notified because they chose custom settings for this thread. - IGNORING_THREAD = 'IGNORING_THREAD' ##The User is never notified because they are ignoring the thread - SUBSCRIBED_TO_LIST = 'SUBSCRIBED_TO_LIST' ##The User is notified becuase they are watching the list - SUBSCRIBED_TO_THREAD_TYPE = 'SUBSCRIBED_TO_THREAD_TYPE' ##The User is notified because they chose custom settings for this thread. - SUBSCRIBED_TO_THREAD = 'SUBSCRIBED_TO_THREAD' ##The User is notified because they are subscribed to the thread - NONE = 'NONE' ##The User is not recieving notifications from this thread - -class TopicSuggestionDeclineReason(Enum): - DEFAULT = None - NOT_RELEVANT = 'NOT_RELEVANT' ##The suggested topic is not relevant to the repository. - TOO_SPECIFIC = 'TOO_SPECIFIC' ##The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1). - PERSONAL_PREFERENCE = 'PERSONAL_PREFERENCE' ##The viewer does not like the suggested topic. - TOO_GENERAL = 'TOO_GENERAL' ##The suggested topic is too general for the repository. + + DISABLED = "DISABLED" # The subscription status is currently disabled. + IGNORING_LIST = ( + "IGNORING_LIST" # The User is never notified because they are ignoring the list + ) + IGNORING_THREAD = "IGNORING_THREAD" # The User is never notified because they are ignoring the thread + NONE = "NONE" # The User is not recieving notifications from this thread + SUBSCRIBED_TO_LIST = ( + "SUBSCRIBED_TO_LIST" # The User is notified becuase they are watching the list + ) + SUBSCRIBED_TO_THREAD = "SUBSCRIBED_TO_THREAD" # The User is notified because they are subscribed to the thread + SUBSCRIBED_TO_THREAD_EVENTS = "SUBSCRIBED_TO_THREAD_EVENTS" # The User is notified because they chose custom settings for this thread. + SUBSCRIBED_TO_THREAD_TYPE = "SUBSCRIBED_TO_THREAD_TYPE" # The User is notified because they chose custom settings for this thread. + UNAVAILABLE = "UNAVAILABLE" # The subscription status is currently unavailable. + class TrackedIssueStates(Enum): - DEFAULT = None - OPEN = 'OPEN' ##The tracked issue is open - CLOSED = 'CLOSED' ##The tracked issue is closed + + CLOSED = "CLOSED" # The tracked issue is closed + OPEN = "OPEN" # The tracked issue is open + class UserBlockDuration(Enum): - DEFAULT = None - ONE_DAY = 'ONE_DAY' ##The user was blocked for 1 day - THREE_DAYS = 'THREE_DAYS' ##The user was blocked for 3 days - ONE_WEEK = 'ONE_WEEK' ##The user was blocked for 7 days - ONE_MONTH = 'ONE_MONTH' ##The user was blocked for 30 days - PERMANENT = 'PERMANENT' ##The user was blocked permanently + + ONE_DAY = "ONE_DAY" # The user was blocked for 1 day + ONE_MONTH = "ONE_MONTH" # The user was blocked for 30 days + ONE_WEEK = "ONE_WEEK" # The user was blocked for 7 days + PERMANENT = "PERMANENT" # The user was blocked permanently + THREE_DAYS = "THREE_DAYS" # The user was blocked for 3 days + class UserStatusOrderField(Enum): - DEFAULT = None - UPDATED_AT = 'UPDATED_AT' ##Order user statuses by when they were updated. + + UPDATED_AT = "UPDATED_AT" # Order user statuses by when they were updated. + class VerifiableDomainOrderField(Enum): - DEFAULT = None - DOMAIN = 'DOMAIN' ##Order verifiable domains by the domain name. - CREATED_AT = 'CREATED_AT' ##Order verifiable domains by their creation date. + + CREATED_AT = "CREATED_AT" # Order verifiable domains by their creation date. + DOMAIN = "DOMAIN" # Order verifiable domains by the domain name. + class WorkflowRunOrderField(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' ##Order workflow runs by most recently created + + CREATED_AT = "CREATED_AT" # Order workflow runs by most recently created + class WorkflowState(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' ##The workflow is active. - DELETED = 'DELETED' ##The workflow was deleted from the git repository. - DISABLED_FORK = 'DISABLED_FORK' ##The workflow was disabled by default on a fork. - DISABLED_INACTIVITY = 'DISABLED_INACTIVITY' ##The workflow was disabled for inactivity in the repository. - DISABLED_MANUALLY = 'DISABLED_MANUALLY' ##The workflow was disabled manually. + + ACTIVE = "ACTIVE" # The workflow is active. + DELETED = "DELETED" # The workflow was deleted from the git repository. + DISABLED_FORK = "DISABLED_FORK" # The workflow was disabled by default on a fork. + DISABLED_INACTIVITY = "DISABLED_INACTIVITY" # The workflow was disabled for inactivity in the repository. + DISABLED_MANUALLY = "DISABLED_MANUALLY" # The workflow was disabled manually. diff --git a/tests/output/github_nodesc/gist.py b/tests/output/github_nodesc/gist.py new file mode 100644 index 0000000..41b2cd7 --- /dev/null +++ b/tests/output/github_nodesc/gist.py @@ -0,0 +1,34 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import RepositoryOwner + from .gql_types import StargazerConnection + from .gql_types import GistCommentConnection + from .gql_types import GistFile + from .gql_types import GistConnection + + +@dataclass(kw_only=True) +class Gist: + comments: GistCommentConnection + created_at: DateTime + description: Optional[str] = None + files: Optional[list[GistFile]] = None + forks: GistConnection + id: ID + is_fork: bool + is_public: bool + name: str + owner: Optional[RepositoryOwner] = None + pushed_at: Optional[DateTime] = None + resource_path: URI + stargazer_count: int + stargazers: StargazerConnection + updated_at: DateTime + url: URI + viewer_has_starred: bool diff --git a/tests/output/github_nodesc/gql_forward_reference.py b/tests/output/github_nodesc/gql_forward_reference.py new file mode 100644 index 0000000..846f5d4 --- /dev/null +++ b/tests/output/github_nodesc/gql_forward_reference.py @@ -0,0 +1,2203 @@ +from .app import App +from .branch_protection_rule import BranchProtectionRule +from .check_suite import CheckSuite +from .commit import Commit +from .commit_comment_connection import CommitCommentConnection +from .contributions_collection import ContributionsCollection +from .deployment import Deployment +from .discussion import Discussion +from .discussion_comment import DiscussionComment +from .discussion_poll import DiscussionPoll +from .enterprise import Enterprise +from .enterprise_server_installation import EnterpriseServerInstallation +from .enterprise_server_user_account import EnterpriseServerUserAccount +from .gist import Gist +from .gql_types import ( + CVSS, + AbortQueuedMigrationsPayload, + AbortRepositoryMigrationPayload, + AcceptEnterpriseAdministratorInvitationPayload, + AcceptTopicSuggestionInput, + AcceptTopicSuggestionPayload, + ActorLocation, + AddAssigneesToAssignablePayload, + AddCommentInput, + AddCommentPayload, + AddDiscussionCommentPayload, + AddDiscussionPollVoteInput, + AddDiscussionPollVotePayload, + AddedToMergeQueueEvent, + AddedToProjectEvent, + AddEnterpriseOrganizationMemberPayload, + AddEnterpriseSupportEntitlementInput, + AddLabelsToLabelableInput, + AddLabelsToLabelablePayload, + AddProjectCardPayload, + AddProjectColumnInput, + AddProjectColumnPayload, + AddProjectV2DraftIssuePayload, + AddProjectV2ItemByIdInput, + AddProjectV2ItemByIdPayload, + AddPullRequestReviewCommentPayload, + AddPullRequestReviewInput, + AddPullRequestReviewPayload, + AddPullRequestReviewThreadInput, + AddPullRequestReviewThreadPayload, + AddPullRequestReviewThreadReplyPayload, + AddReactionInput, + AddReactionPayload, + AddStarPayload, + AddUpvoteInput, + AddUpvotePayload, + AddVerifiableDomainPayload, + AnnouncementBanner, + ApproveDeploymentsPayload, + ApproveVerifiableDomainInput, + ApproveVerifiableDomainPayload, + ArchiveProjectV2ItemPayload, + ArchiveRepositoryInput, + ArchiveRepositoryPayload, + Assignable, + AssignedEvent, + AuditEntry, + AutomaticBaseChangeFailedEvent, + AutomaticBaseChangeSucceededEvent, + AutoMergeDisabledEvent, + AutoMergeEnabledEvent, + AutoMergeRequest, + AutoRebaseEnabledEvent, + AutoSquashEnabledEvent, + BaseRefChangedEvent, + BaseRefDeletedEvent, + BaseRefForcePushedEvent, + Blame, + BlameRange, + Blob, + Bot, + BranchNamePatternParametersInput, + BranchProtectionRuleConflict, + BranchProtectionRuleConflictConnection, + BranchProtectionRuleConflictEdge, + BranchProtectionRuleConnection, + BranchProtectionRuleEdge, + BypassForcePushAllowance, + BypassForcePushAllowanceConnection, + BypassForcePushAllowanceEdge, + BypassPullRequestAllowance, + BypassPullRequestAllowanceConnection, + BypassPullRequestAllowanceEdge, + CancelEnterpriseAdminInvitationInput, + CancelEnterpriseAdminInvitationPayload, + CancelSponsorshipPayload, + ChangeUserStatusInput, + ChangeUserStatusPayload, + CheckAnnotation, + CheckAnnotationConnection, + CheckAnnotationData, + CheckAnnotationEdge, + CheckAnnotationRange, + CheckAnnotationSpan, + CheckRun, + CheckRunConnection, + CheckRunEdge, + CheckRunFilter, + CheckRunOutput, + CheckRunStateCount, + CheckStepConnection, + CheckStepEdge, + CheckSuiteAutoTriggerPreference, + CheckSuiteConnection, + CheckSuiteEdge, + ClearLabelsFromLabelableInput, + ClearLabelsFromLabelablePayload, + ClearProjectV2ItemFieldValuePayload, + CloneProjectInput, + CloneProjectPayload, + CloneTemplateRepositoryPayload, + Closable, + ClosedEvent, + CloseDiscussionPayload, + CloseIssueInput, + CloseIssuePayload, + ClosePullRequestPayload, + CodeOfConduct, + Comment, + CommentDeletedEvent, + CommitAuthorEmailPatternParameters, + CommitComment, + CommitCommentEdge, + CommitCommentThread, + CommitConnection, + CommitContributionOrder, + CommitContributionsByRepository, + CommitEdge, + CommitHistoryConnection, + CommitMessagePatternParameters, + CommittableBranch, + CommitterEmailPatternParametersInput, + Comparison, + ComparisonCommitConnection, + ConnectedEvent, + Contribution, + ContributionCalendar, + ContributionCalendarDay, + ContributionCalendarWeek, + ContributionOrder, + ConvertedNoteToIssueEvent, + ConvertedToDiscussionEvent, + ConvertProjectCardNoteToIssuePayload, + ConvertPullRequestToDraftInput, + ConvertPullRequestToDraftPayload, + ConvertToDraftEvent, + CopyProjectV2Payload, + CreateAttributionInvitationInput, + CreateAttributionInvitationPayload, + CreateBranchProtectionRuleInput, + CreateBranchProtectionRulePayload, + CreateCheckRunInput, + CreateCheckRunPayload, + CreateCheckSuitePayload, + CreateCommitOnBranchInput, + CreateCommitOnBranchPayload, + CreatedCommitContribution, + CreatedCommitContributionConnection, + CreatedCommitContributionEdge, + CreateDeploymentInput, + CreateDeploymentPayload, + CreateDeploymentStatusPayload, + CreateDiscussionInput, + CreateDiscussionPayload, + CreatedIssueContribution, + CreatedIssueContributionConnection, + CreatedIssueContributionEdge, + CreatedPullRequestContribution, + CreatedPullRequestContributionConnection, + CreatedPullRequestContributionEdge, + CreatedPullRequestReviewContribution, + CreatedPullRequestReviewContributionConnection, + CreatedPullRequestReviewContributionEdge, + CreatedRepositoryContribution, + CreatedRepositoryContributionConnection, + CreatedRepositoryContributionEdge, + CreateEnterpriseOrganizationPayload, + CreateEnvironmentInput, + CreateEnvironmentPayload, + CreateIpAllowListEntryPayload, + CreateIssueInput, + CreateIssuePayload, + CreateLabelPayload, + CreateLinkedBranchInput, + CreateLinkedBranchPayload, + CreateMigrationSourcePayload, + CreateProjectInput, + CreateProjectPayload, + CreateProjectV2FieldInput, + CreateProjectV2FieldPayload, + CreateProjectV2Payload, + CreatePullRequestInput, + CreatePullRequestPayload, + CreateRefPayload, + CreateRepositoryInput, + CreateRepositoryPayload, + CreateRepositoryRulesetInput, + CreateRepositoryRulesetPayload, + CreateSponsorshipPayload, + CreateSponsorshipsInput, + CreateSponsorshipsPayload, + CreateSponsorsListingPayload, + CreateSponsorsTierInput, + CreateSponsorsTierPayload, + CreateTeamDiscussionCommentInput, + CreateTeamDiscussionCommentPayload, + CreateTeamDiscussionPayload, + CreateUserListInput, + CreateUserListPayload, + CrossReferencedEvent, + CWEConnection, + CWEEdge, + DeclineTopicSuggestionPayload, + Deletable, + DeleteBranchProtectionRulePayload, + DeleteDeploymentPayload, + DeleteDiscussionCommentPayload, + DeleteDiscussionInput, + DeleteDiscussionPayload, + DeleteEnvironmentPayload, + DeleteIpAllowListEntryPayload, + DeleteIssueCommentInput, + DeleteIssueInput, + DeleteIssuePayload, + DeleteLabelPayload, + DeleteLinkedBranchPayload, + DeletePackageVersionInput, + DeleteProjectCardInput, + DeleteProjectCardPayload, + DeleteProjectColumnPayload, + DeleteProjectInput, + DeleteProjectPayload, + DeleteProjectV2FieldPayload, + DeleteProjectV2Input, + DeleteProjectV2ItemPayload, + DeleteProjectV2Payload, + DeleteProjectV2WorkflowPayload, + DeletePullRequestReviewCommentInput, + DeletePullRequestReviewCommentPayload, + DeletePullRequestReviewPayload, + DeleteRefInput, + DeleteRepositoryRulesetInput, + DeleteTeamDiscussionCommentInput, + DeleteTeamDiscussionInput, + DeleteUserListInput, + DeleteUserListPayload, + DeleteVerifiableDomainPayload, + DemilestonedEvent, + DependabotUpdate, + DependabotUpdateError, + DependencyGraphDependency, + DependencyGraphDependencyConnection, + DependencyGraphDependencyEdge, + DependencyGraphManifest, + DependencyGraphManifestConnection, + DependencyGraphManifestEdge, + DeployedEvent, + DeployKeyConnection, + DeployKeyEdge, + DeploymentConnection, + DeploymentEdge, + DeploymentEnvironmentChangedEvent, + DeploymentOrder, + DeploymentProtectionRule, + DeploymentProtectionRuleConnection, + DeploymentProtectionRuleEdge, + DeploymentRequest, + DeploymentRequestConnection, + DeploymentRequestEdge, + DeploymentReview, + DeploymentReviewConnection, + DeploymentReviewEdge, + DeploymentReviewerConnection, + DeploymentReviewerEdge, + DeploymentStatus, + DeploymentStatusConnection, + DeploymentStatusEdge, + DequeuePullRequestPayload, + DisablePullRequestAutoMergeInput, + DisablePullRequestAutoMergePayload, + DisconnectedEvent, + DiscussionCategory, + DiscussionCategoryConnection, + DiscussionCategoryEdge, + DiscussionCommentConnection, + DiscussionCommentEdge, + DiscussionConnection, + DiscussionEdge, + DiscussionPollOption, + DiscussionPollOptionConnection, + DiscussionPollOptionEdge, + DiscussionPollOptionOrder, + DismissPullRequestReviewPayload, + DismissRepositoryVulnerabilityAlertInput, + DismissRepositoryVulnerabilityAlertPayload, + DraftIssue, + DraftPullRequestReviewThread, + EnablePullRequestAutoMergePayload, + EnqueuePullRequestInput, + EnqueuePullRequestPayload, + EnterpriseAdministratorConnection, + EnterpriseAdministratorEdge, + EnterpriseAdministratorInvitation, + EnterpriseAdministratorInvitationConnection, + EnterpriseAdministratorInvitationEdge, + EnterpriseAuditEntryData, + EnterpriseConnection, + EnterpriseEdge, + EnterpriseFailedInvitationConnection, + EnterpriseFailedInvitationEdge, + EnterpriseIdentityProvider, + EnterpriseMemberConnection, + EnterpriseMemberEdge, + EnterpriseMemberOrder, + EnterpriseOrganizationMembershipConnection, + EnterpriseOrganizationMembershipEdge, + EnterpriseOutsideCollaboratorConnection, + EnterpriseOutsideCollaboratorEdge, + EnterpriseOwnerInfo, + EnterprisePendingMemberInvitationConnection, + EnterprisePendingMemberInvitationEdge, + EnterpriseRepositoryInfo, + EnterpriseRepositoryInfoConnection, + EnterpriseRepositoryInfoEdge, + EnterpriseServerInstallationConnection, + EnterpriseServerInstallationEdge, + EnterpriseServerInstallationMembershipConnection, + EnterpriseServerInstallationMembershipEdge, + EnterpriseServerUserAccountConnection, + EnterpriseServerUserAccountEdge, + EnterpriseServerUserAccountEmail, + EnterpriseServerUserAccountEmailConnection, + EnterpriseServerUserAccountEmailEdge, + EnterpriseServerUserAccountEmailOrder, + EnterpriseServerUserAccountsUpload, + EnterpriseServerUserAccountsUploadConnection, + EnterpriseServerUserAccountsUploadEdge, + EnterpriseServerUserAccountsUploadOrder, + EnterpriseUserAccount, + Environment, + EnvironmentConnection, + EnvironmentEdge, + ExternalIdentity, + ExternalIdentityAttribute, + ExternalIdentityConnection, + ExternalIdentityEdge, + ExternalIdentitySamlAttributes, + ExternalIdentityScimAttributes, + FileChanges, + FileDeletion, + FollowerConnection, + FollowingConnection, + FollowOrganizationPayload, + FollowUserInput, + FollowUserPayload, + GenericHovercardContext, + GistComment, + GistCommentConnection, + GistCommentEdge, + GistConnection, + GistEdge, + GistFile, + GitActor, + GitActorConnection, + GitActorEdge, + GitHubMetadata, + GitObject, + GitSignature, + GpgSignature, + GrantEnterpriseOrganizationsMigratorRolePayload, + GrantMigratorRoleInput, + HeadRefDeletedEvent, + HeadRefForcePushedEvent, + HeadRefRestoredEvent, + Hovercard, + HovercardContext, + ImportProjectInput, + ImportProjectPayload, + InviteEnterpriseAdminPayload, + IpAllowListEntry, + IpAllowListEntryEdge, + IpAllowListEntryOrder, + IssueCommentConnection, + IssueConnection, + IssueContributionsByRepository, + IssueEdge, + IssueFilters, + IssueTemplate, + IssueTimelineConnection, + IssueTimelineItemEdge, + IssueTimelineItemsConnection, + IssueTimelineItemsEdge, + JoinedGitHubContribution, + Label, + Labelable, + LabelConnection, + LabeledEvent, + LabelEdge, + LabelOrder, + LanguageConnection, + LanguageEdge, + LanguageOrder, + License, + LinkedBranch, + LinkedBranchConnection, + LinkedBranchEdge, + LinkProjectV2ToRepositoryInput, + LinkProjectV2ToRepositoryPayload, + LinkProjectV2ToTeamPayload, + LinkRepositoryToProjectInput, + LinkRepositoryToProjectPayload, + Lockable, + LockedEvent, + LockLockablePayload, + Mannequin, + MannequinConnection, + MannequinEdge, + MarkDiscussionCommentAsAnswerInput, + MarkDiscussionCommentAsAnswerPayload, + MarkedAsDuplicateEvent, + MarketplaceListing, + MarketplaceListingConnection, + MarketplaceListingEdge, + MarkFileAsViewedPayload, + MarkNotificationAsDoneInput, + MarkNotificationAsDonePayload, + MarkProjectV2AsTemplatePayload, + MarkPullRequestReadyForReviewInput, + MarkPullRequestReadyForReviewPayload, + MemberFeatureRequestNotification, + MembersCanDeleteReposClearAuditEntry, + MembersCanDeleteReposDisableAuditEntry, + MembersCanDeleteReposEnableAuditEntry, + MemberStatusable, + MentionedEvent, + MergeBranchPayload, + MergedEvent, + MergePullRequestInput, + MergePullRequestPayload, + MergeQueueEntry, + MergeQueueEntryConnection, + MergeQueueEntryEdge, + Migration, + MigrationSource, + Milestone, + MilestoneConnection, + MilestonedEvent, + MilestoneEdge, + Minimizable, + MinimizeCommentPayload, + MovedColumnsInProjectEvent, + MoveProjectCardInput, + MoveProjectCardPayload, + MoveProjectColumnPayload, + Node, + OauthApplicationCreateAuditEntry, + OIDCProvider, + OrgAddBillingManagerAuditEntry, + OrgAddMemberAuditEntry, + OrganizationAuditEntryConnection, + OrganizationAuditEntryData, + OrganizationAuditEntryEdge, + OrganizationConnection, + OrganizationEdge, + OrganizationEnterpriseOwnerConnection, + OrganizationEnterpriseOwnerEdge, + OrganizationIdentityProvider, + OrganizationInvitation, + OrganizationInvitationConnection, + OrganizationInvitationEdge, + OrganizationMemberConnection, + OrganizationMemberEdge, + OrganizationOrder, + OrganizationsHovercardContext, + OrganizationTeamsHovercardContext, + OrgBlockUserAuditEntry, + OrgConfigDisableCollaboratorsOnlyAuditEntry, + OrgConfigEnableCollaboratorsOnlyAuditEntry, + OrgCreateAuditEntry, + OrgDisableOauthAppRestrictionsAuditEntry, + OrgDisableSamlAuditEntry, + OrgDisableTwoFactorRequirementAuditEntry, + OrgEnableOauthAppRestrictionsAuditEntry, + OrgEnableSamlAuditEntry, + OrgEnableTwoFactorRequirementAuditEntry, + OrgEnterpriseOwnerOrder, + OrgInviteMemberAuditEntry, + OrgInviteToBusinessAuditEntry, + OrgOauthAppAccessApprovedAuditEntry, + OrgOauthAppAccessBlockedAuditEntry, + OrgOauthAppAccessDeniedAuditEntry, + OrgOauthAppAccessRequestedAuditEntry, + OrgOauthAppAccessUnblockedAuditEntry, + OrgRemoveBillingManagerAuditEntry, + OrgRemoveMemberAuditEntry, + OrgRemoveOutsideCollaboratorAuditEntry, + OrgRestoreMemberAuditEntry, + OrgRestoreMemberMembershipOrganizationAuditEntryData, + OrgRestoreMemberMembershipRepositoryAuditEntryData, + OrgRestoreMemberMembershipTeamAuditEntryData, + OrgUnblockUserAuditEntry, + OrgUpdateDefaultRepositoryPermissionAuditEntry, + OrgUpdateMemberAuditEntry, + OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + PackageConnection, + PackageEdge, + PackageFile, + PackageFileConnection, + PackageFileEdge, + PackageOrder, + PackageOwner, + PackageTag, + PackageVersionConnection, + PackageVersionEdge, + PackageVersionOrder, + PageInfo, + PermissionSource, + PinIssuePayload, + PinnableItemConnection, + PinnableItemEdge, + PinnedDiscussion, + PinnedDiscussionConnection, + PinnedDiscussionEdge, + PinnedEvent, + PinnedIssue, + PinnedIssueConnection, + PinnedIssueEdge, + PrivateRepositoryForkingDisableAuditEntry, + PrivateRepositoryForkingEnableAuditEntry, + ProfileItemShowcase, + ProfileOwner, + ProjectCard, + ProjectCardConnection, + ProjectCardEdge, + ProjectCardImport, + ProjectColumnConnection, + ProjectColumnEdge, + ProjectColumnImport, + ProjectConnection, + ProjectEdge, + ProjectOwner, + ProjectProgress, + ProjectV2ActorConnection, + ProjectV2ActorEdge, + ProjectV2Connection, + ProjectV2Edge, + ProjectV2Field, + ProjectV2FieldCommon, + ProjectV2FieldConfigurationConnection, + ProjectV2FieldConfigurationEdge, + ProjectV2FieldConnection, + ProjectV2FieldEdge, + ProjectV2FieldOrder, + ProjectV2Filters, + ProjectV2ItemEdge, + ProjectV2ItemFieldDateValue, + ProjectV2ItemFieldIterationValue, + ProjectV2ItemFieldLabelValue, + ProjectV2ItemFieldMilestoneValue, + ProjectV2ItemFieldNumberValue, + ProjectV2ItemFieldPullRequestValue, + ProjectV2ItemFieldRepositoryValue, + ProjectV2ItemFieldReviewerValue, + ProjectV2ItemFieldSingleSelectValue, + ProjectV2ItemFieldTextValue, + ProjectV2ItemFieldUserValue, + ProjectV2ItemFieldValueCommon, + ProjectV2ItemFieldValueConnection, + ProjectV2ItemFieldValueEdge, + ProjectV2ItemOrder, + ProjectV2IterationField, + ProjectV2IterationFieldConfiguration, + ProjectV2Order, + ProjectV2Owner, + ProjectV2Recent, + ProjectV2SingleSelectField, + ProjectV2SingleSelectFieldOptionInput, + ProjectV2SortBy, + ProjectV2SortByConnection, + ProjectV2SortByEdge, + ProjectV2SortByField, + ProjectV2SortByFieldConnection, + ProjectV2SortByFieldEdge, + ProjectV2View, + ProjectV2ViewConnection, + ProjectV2ViewEdge, + ProjectV2Workflow, + ProjectV2WorkflowConnection, + ProjectV2WorkflowEdge, + ProjectV2WorkflowOrder, + PropertyTargetDefinitionInput, + PublicKeyConnection, + PublicKeyEdge, + PublishSponsorsTierInput, + PublishSponsorsTierPayload, + PullRequestChangedFileConnection, + PullRequestChangedFileEdge, + PullRequestCommit, + PullRequestCommitCommentThread, + PullRequestCommitConnection, + PullRequestCommitEdge, + PullRequestContributionsByRepository, + PullRequestEdge, + PullRequestOrder, + PullRequestParametersInput, + PullRequestReviewCommentConnection, + PullRequestReviewCommentEdge, + PullRequestReviewConnection, + PullRequestReviewContributionsByRepository, + PullRequestReviewEdge, + PullRequestReviewThread, + PullRequestReviewThreadConnection, + PullRequestReviewThreadEdge, + PullRequestRevisionMarker, + PullRequestTemplate, + PullRequestThread, + PullRequestTimelineConnection, + PullRequestTimelineItemEdge, + PullRequestTimelineItemsConnection, + PullRequestTimelineItemsEdge, + Push, + PushAllowance, + PushAllowanceConnection, + PushAllowanceEdge, + ReactingUserConnection, + ReactingUserEdge, + Reaction, + ReactionConnection, + ReactionEdge, + ReactionOrder, + ReactorConnection, + ReactorEdge, + ReadyForReviewEvent, + RefConnection, + RefEdge, + ReferencedEvent, + RefNameConditionTargetInput, + RefUpdate, + RegenerateEnterpriseIdentityProviderRecoveryCodesInput, + RegenerateEnterpriseIdentityProviderRecoveryCodesPayload, + RegenerateVerifiableDomainTokenPayload, + RejectDeploymentsPayload, + ReleaseAsset, + ReleaseAssetConnection, + ReleaseAssetEdge, + ReleaseConnection, + ReleaseEdge, + ReleaseOrder, + RemoveAssigneesFromAssignablePayload, + RemovedFromMergeQueueEvent, + RemovedFromProjectEvent, + RemoveEnterpriseAdminInput, + RemoveEnterpriseAdminPayload, + RemoveEnterpriseIdentityProviderPayload, + RemoveEnterpriseMemberInput, + RemoveEnterpriseMemberPayload, + RemoveEnterpriseOrganizationPayload, + RemoveEnterpriseSupportEntitlementInput, + RemoveLabelsFromLabelableInput, + RemoveLabelsFromLabelablePayload, + RemoveOutsideCollaboratorPayload, + RemoveReactionInput, + RemoveReactionPayload, + RemoveStarPayload, + RemoveUpvoteInput, + RemoveUpvotePayload, + RenamedTitleEvent, + ReopenDiscussionPayload, + ReopenedEvent, + ReopenIssueInput, + ReopenIssuePayload, + ReopenPullRequestPayload, + RepoAccessAuditEntry, + RepoAddMemberAuditEntry, + RepoAddTopicAuditEntry, + RepoArchivedAuditEntry, + RepoChangeMergeSettingAuditEntry, + RepoConfigDisableAnonymousGitAccessAuditEntry, + RepoConfigDisableCollaboratorsOnlyAuditEntry, + RepoConfigDisableContributorsOnlyAuditEntry, + RepoConfigDisableSockpuppetDisallowedAuditEntry, + RepoConfigEnableAnonymousGitAccessAuditEntry, + RepoConfigEnableCollaboratorsOnlyAuditEntry, + RepoConfigEnableContributorsOnlyAuditEntry, + RepoConfigEnableSockpuppetDisallowedAuditEntry, + RepoConfigLockAnonymousGitAccessAuditEntry, + RepoConfigUnlockAnonymousGitAccessAuditEntry, + RepoCreateAuditEntry, + RepoDestroyAuditEntry, + RepoRemoveMemberAuditEntry, + RepoRemoveTopicAuditEntry, + RepositoryAuditEntryData, + RepositoryCodeowners, + RepositoryCodeownersError, + RepositoryCollaboratorConnection, + RepositoryCollaboratorEdge, + RepositoryConnection, + RepositoryDiscussionAuthor, + RepositoryDiscussionCommentAuthor, + RepositoryEdge, + RepositoryIdConditionTarget, + RepositoryInfo, + RepositoryInteractionAbility, + RepositoryInvitation, + RepositoryInvitationConnection, + RepositoryInvitationEdge, + RepositoryMigration, + RepositoryMigrationConnection, + RepositoryMigrationEdge, + RepositoryMigrationOrder, + RepositoryNameConditionTargetInput, + RepositoryNode, + RepositoryOwner, + RepositoryPropertyConditionTarget, + RepositoryPropertyConditionTargetInput, + RepositoryRule, + RepositoryRuleConditions, + RepositoryRuleConditionsInput, + RepositoryRuleConnection, + RepositoryRuleEdge, + RepositoryRuleInput, + RepositoryRuleOrder, + RepositoryRulesetBypassActor, + RepositoryRulesetBypassActorConnection, + RepositoryRulesetBypassActorEdge, + RepositoryRulesetConnection, + RepositoryRulesetEdge, + RepositoryTopic, + RepositoryTopicConnection, + RepositoryTopicEdge, + RepositoryVisibilityChangeDisableAuditEntry, + RepositoryVisibilityChangeEnableAuditEntry, + RepositoryVulnerabilityAlert, + RepositoryVulnerabilityAlertConnection, + RepositoryVulnerabilityAlertEdge, + RequestedReviewerConnection, + RequestedReviewerEdge, + RequestReviewsInput, + RequestReviewsPayload, + RequiredDeploymentsParameters, + RequiredStatusCheckDescription, + RequiredStatusCheckInput, + RequiredStatusChecksParameters, + RequiredStatusChecksParametersInput, + RerequestCheckSuitePayload, + ResolveReviewThreadInput, + ResolveReviewThreadPayload, + RestrictedContribution, + RetireSponsorsTierPayload, + RevertPullRequestInput, + RevertPullRequestPayload, + ReviewDismissalAllowance, + ReviewDismissalAllowanceConnection, + ReviewDismissalAllowanceEdge, + ReviewDismissedEvent, + ReviewRequest, + ReviewRequestConnection, + ReviewRequestedEvent, + ReviewRequestEdge, + ReviewRequestRemovedEvent, + RevokeEnterpriseOrganizationsMigratorRoleInput, + RevokeEnterpriseOrganizationsMigratorRolePayload, + RevokeMigratorRolePayload, + RuleParametersInput, + SavedReply, + SavedReplyConnection, + SavedReplyEdge, + SearchResultItemConnection, + SearchResultItemEdge, + SecurityAdvisoryConnection, + SecurityAdvisoryEdge, + SecurityAdvisoryIdentifier, + SecurityAdvisoryOrder, + SecurityAdvisoryPackageVersion, + SecurityVulnerability, + SecurityVulnerabilityConnection, + SecurityVulnerabilityEdge, + SecurityVulnerabilityOrder, + SetEnterpriseIdentityProviderPayload, + SetOrganizationInteractionLimitInput, + SetOrganizationInteractionLimitPayload, + SetRepositoryInteractionLimitPayload, + SetUserInteractionLimitInput, + SetUserInteractionLimitPayload, + SmimeSignature, + SocialAccountConnection, + SocialAccountEdge, + SponsorableItemConnection, + SponsorableItemEdge, + SponsorableOrder, + SponsorAndLifetimeValue, + SponsorAndLifetimeValueEdge, + SponsorAndLifetimeValueOrder, + SponsorConnection, + SponsorEdge, + SponsorsActivity, + SponsorsActivityConnection, + SponsorsActivityEdge, + SponsorsGoal, + Sponsorship, + SponsorshipConnection, + SponsorshipEdge, + SponsorshipNewsletter, + SponsorshipNewsletterConnection, + SponsorshipNewsletterEdge, + SponsorshipNewsletterOrder, + SponsorsListingFeaturedItem, + SponsorsTierAdminInfo, + SponsorsTierConnection, + SponsorsTierEdge, + SshSignature, + StargazerConnection, + StargazerEdge, + StarOrder, + Starrable, + StarredRepositoryConnection, + StarredRepositoryEdge, + StartOrganizationMigrationPayload, + StartRepositoryMigrationInput, + StartRepositoryMigrationPayload, + Status, + StatusCheckConfigurationInput, + StatusCheckRollup, + StatusCheckRollupContextConnection, + StatusCheckRollupContextEdge, + StatusContext, + StripeConnectAccount, + SubmitPullRequestReviewInput, + SubmitPullRequestReviewPayload, + SubmoduleConnection, + SubmoduleEdge, + Subscribable, + SubscribedEvent, + SuggestedReviewer, + Tag, + TagNamePatternParameters, + TeamAddMemberAuditEntry, + TeamAddRepositoryAuditEntry, + TeamAuditEntryData, + TeamChangeParentTeamAuditEntry, + TeamConnection, + TeamDiscussionComment, + TeamDiscussionCommentConnection, + TeamDiscussionCommentEdge, + TeamDiscussionCommentOrder, + TeamDiscussionConnection, + TeamDiscussionEdge, + TeamEdge, + TeamMemberConnection, + TeamMemberEdge, + TeamMemberOrder, + TeamRemoveMemberAuditEntry, + TeamRemoveRepositoryAuditEntry, + TeamRepositoryConnection, + TeamRepositoryEdge, + TeamRepositoryOrder, + TextMatch, + TopicAuditEntryData, + TransferEnterpriseOrganizationInput, + TransferEnterpriseOrganizationPayload, + TransferIssuePayload, + TransferredEvent, + Tree, + TreeEntry, + UnarchiveProjectV2ItemInput, + UnarchiveProjectV2ItemPayload, + UnarchiveRepositoryPayload, + UnassignedEvent, + UnfollowOrganizationInput, + UnfollowOrganizationPayload, + UnfollowUserPayload, + UniformResourceLocatable, + UnknownSignature, + UnlabeledEvent, + UnlinkProjectV2FromRepositoryPayload, + UnlinkProjectV2FromTeamInput, + UnlinkProjectV2FromTeamPayload, + UnlinkRepositoryFromProjectPayload, + UnlockedEvent, + UnlockLockableInput, + UnlockLockablePayload, + UnmarkDiscussionCommentAsAnswerPayload, + UnmarkedAsDuplicateEvent, + UnmarkFileAsViewedInput, + UnmarkFileAsViewedPayload, + UnmarkIssueAsDuplicatePayload, + UnmarkProjectV2AsTemplateInput, + UnmarkProjectV2AsTemplatePayload, + UnminimizeCommentPayload, + UnpinIssueInput, + UnpinIssuePayload, + UnpinnedEvent, + UnresolveReviewThreadPayload, + UnsubscribedEvent, + UnsubscribeFromNotificationsInput, + Updatable, + UpdateBranchProtectionRuleInput, + UpdateBranchProtectionRulePayload, + UpdateCheckRunInput, + UpdateCheckRunPayload, + UpdateCheckSuitePreferencesInput, + UpdateCheckSuitePreferencesPayload, + UpdateDiscussionCommentInput, + UpdateDiscussionCommentPayload, + UpdateDiscussionPayload, + UpdateEnterpriseAdministratorRoleInput, + UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, + UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload, + UpdateEnterpriseDefaultRepositoryPermissionSettingPayload, + UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, + UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload, + UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload, + UpdateEnterpriseMembersCanDeleteIssuesSettingInput, + UpdateEnterpriseMembersCanDeleteIssuesSettingPayload, + UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload, + UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, + UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload, + UpdateEnterpriseMembersCanMakePurchasesSettingPayload, + UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, + UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload, + UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload, + UpdateEnterpriseOrganizationProjectsSettingInput, + UpdateEnterpriseOrganizationProjectsSettingPayload, + UpdateEnterpriseOwnerOrganizationRolePayload, + UpdateEnterpriseProfilePayload, + UpdateEnterpriseRepositoryProjectsSettingInput, + UpdateEnterpriseRepositoryProjectsSettingPayload, + UpdateEnterpriseTeamDiscussionsSettingPayload, + UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, + UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload, + UpdateEnvironmentPayload, + UpdateIpAllowListEnabledSettingInput, + UpdateIpAllowListEnabledSettingPayload, + UpdateIpAllowListEntryPayload, + UpdateIpAllowListForInstalledAppsEnabledSettingInput, + UpdateIpAllowListForInstalledAppsEnabledSettingPayload, + UpdateIssueCommentPayload, + UpdateIssueInput, + UpdateIssuePayload, + UpdateLabelPayload, + UpdateNotificationRestrictionSettingInput, + UpdateNotificationRestrictionSettingPayload, + UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload, + UpdateOrganizationWebCommitSignoffSettingInput, + UpdateOrganizationWebCommitSignoffSettingPayload, + UpdateParametersInput, + UpdatePatreonSponsorabilityPayload, + UpdateProjectCardInput, + UpdateProjectCardPayload, + UpdateProjectColumnPayload, + UpdateProjectInput, + UpdateProjectPayload, + UpdateProjectV2CollaboratorsInput, + UpdateProjectV2CollaboratorsPayload, + UpdateProjectV2DraftIssuePayload, + UpdateProjectV2Input, + UpdateProjectV2ItemFieldValueInput, + UpdateProjectV2ItemFieldValuePayload, + UpdateProjectV2ItemPositionPayload, + UpdateProjectV2Payload, + UpdatePullRequestBranchInput, + UpdatePullRequestBranchPayload, + UpdatePullRequestPayload, + UpdatePullRequestReviewCommentInput, + UpdatePullRequestReviewCommentPayload, + UpdatePullRequestReviewPayload, + UpdateRefInput, + UpdateRefPayload, + UpdateRefsInput, + UpdateRepositoryInput, + UpdateRepositoryPayload, + UpdateRepositoryRulesetInput, + UpdateRepositoryRulesetPayload, + UpdateRepositoryWebCommitSignoffSettingPayload, + UpdateSponsorshipPreferencesInput, + UpdateSponsorshipPreferencesPayload, + UpdateSubscriptionPayload, + UpdateTeamDiscussionCommentInput, + UpdateTeamDiscussionCommentPayload, + UpdateTeamDiscussionPayload, + UpdateTeamReviewAssignmentInput, + UpdateTeamReviewAssignmentPayload, + UpdateTeamsRepositoryPayload, + UpdateTopicsInput, + UpdateTopicsPayload, + UpdateUserListPayload, + UpdateUserListsForItemInput, + UpdateUserListsForItemPayload, + UserBlockedEvent, + UserContentEdit, + UserContentEditConnection, + UserContentEditEdge, + UserList, + UserListConnection, + UserListEdge, + UserListItemsConnection, + UserListItemsEdge, + UserListSuggestion, + UserStatus, + UserStatusConnection, + UserStatusEdge, + VerifiableDomain, + VerifiableDomainConnection, + VerifiableDomainEdge, + VerifiableDomainOrder, + VerifyVerifiableDomainPayload, + ViewerHovercardContext, + Votable, + Workflow, + WorkflowFileReferenceInput, + WorkflowRunConnection, + WorkflowRunEdge, + WorkflowRunFile, + WorkflowsParameters, + WorkflowsParametersInput, +) +from .gql_unions import ( + Assignee, + AuditEntryActor, + BranchActorAllowanceActor, + BypassActor, + Claimable, + Closer, + CreatedIssueOrRestrictedContribution, + CreatedPullRequestOrRestrictedContribution, + CreatedRepositoryOrRestrictedContribution, + DeploymentReviewer, + EnterpriseMember, + IpAllowListOwner, + IssueOrPullRequest, + IssueTimelineItem, + IssueTimelineItems, + MilestoneItem, + OrganizationAuditEntry, + OrganizationOrUser, + OrgRestoreMemberAuditEntryMembership, + PermissionGranter, + PinnableItem, + ProjectCardItem, + ProjectV2Actor, + ProjectV2FieldConfiguration, + ProjectV2ItemContent, + ProjectV2ItemFieldValue, + PullRequestTimelineItem, + PullRequestTimelineItems, + PushAllowanceActor, + Reactor, + ReferencedSubject, + RenamedTitleSubject, + RequestedReviewer, + ReviewDismissalAllowanceActor, + RuleParameters, + RuleSource, + SearchResultItem, + Sponsor, + SponsorableItem, + SponsorsListingFeatureableItem, + StatusCheckRollupContext, + UserListItems, + VerifiableDomainOwner, +) +from .ip_allow_list_entry_connection import IpAllowListEntryConnection +from .issue import Issue +from .issue_comment import IssueComment +from .issue_comment_edge import IssueCommentEdge +from .merge_queue import MergeQueue +from .organization import Organization +from .package import Package +from .package_version import PackageVersion +from .project import Project +from .project_column import ProjectColumn +from .project_v2 import ProjectV2 +from .project_v2_item import ProjectV2Item +from .project_v2_item_connection import ProjectV2ItemConnection +from .pull_request import PullRequest +from .pull_request_connection import PullRequestConnection +from .pull_request_review import PullRequestReview +from .pull_request_review_comment import PullRequestReviewComment +from .reactable import Reactable +from .reaction_group import ReactionGroup +from .ref import Ref +from .release import Release +from .repository import Repository +from .repository_ruleset import RepositoryRuleset +from .security_advisory import SecurityAdvisory +from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection +from .sponsorable import Sponsorable +from .sponsors_listing import SponsorsListing +from .sponsors_tier import SponsorsTier +from .team import Team +from .team_discussion import TeamDiscussion +from .topic import Topic +from .user import User +from .user_connection import UserConnection +from .user_edge import UserEdge +from .workflow_run import WorkflowRun + +forward_reference = { + "AbortQueuedMigrationsPayload": AbortQueuedMigrationsPayload, + "AbortRepositoryMigrationPayload": AbortRepositoryMigrationPayload, + "AcceptTopicSuggestionInput": AcceptTopicSuggestionInput, + "ActorLocation": ActorLocation, + "AddCommentInput": AddCommentInput, + "AddDiscussionPollVoteInput": AddDiscussionPollVoteInput, + "AddEnterpriseSupportEntitlementInput": AddEnterpriseSupportEntitlementInput, + "AddLabelsToLabelableInput": AddLabelsToLabelableInput, + "AddProjectColumnInput": AddProjectColumnInput, + "AddProjectV2ItemByIdInput": AddProjectV2ItemByIdInput, + "AddPullRequestReviewThreadInput": AddPullRequestReviewThreadInput, + "AddReactionInput": AddReactionInput, + "AddUpvoteInput": AddUpvoteInput, + "AnnouncementBanner": AnnouncementBanner, + "ApproveVerifiableDomainInput": ApproveVerifiableDomainInput, + "ArchiveRepositoryInput": ArchiveRepositoryInput, + "Bot": Bot, + "BranchNamePatternParametersInput": BranchNamePatternParametersInput, + "CVSS": CVSS, + "CancelEnterpriseAdminInvitationInput": CancelEnterpriseAdminInvitationInput, + "ChangeUserStatusInput": ChangeUserStatusInput, + "CheckAnnotationRange": CheckAnnotationRange, + "CheckRunFilter": CheckRunFilter, + "CheckRunStateCount": CheckRunStateCount, + "CheckSuiteAutoTriggerPreference": CheckSuiteAutoTriggerPreference, + "ClearLabelsFromLabelableInput": ClearLabelsFromLabelableInput, + "CloneProjectInput": CloneProjectInput, + "Closable": Closable, + "CloseIssueInput": CloseIssueInput, + "CodeOfConduct": CodeOfConduct, + "CommitAuthorEmailPatternParameters": CommitAuthorEmailPatternParameters, + "CommitContributionOrder": CommitContributionOrder, + "CommitMessagePatternParameters": CommitMessagePatternParameters, + "CommittableBranch": CommittableBranch, + "CommitterEmailPatternParametersInput": CommitterEmailPatternParametersInput, + "ContributionCalendarDay": ContributionCalendarDay, + "ContributionOrder": ContributionOrder, + "ConvertPullRequestToDraftInput": ConvertPullRequestToDraftInput, + "CreateAttributionInvitationInput": CreateAttributionInvitationInput, + "CreateDeploymentInput": CreateDeploymentInput, + "CreateDiscussionInput": CreateDiscussionInput, + "CreateEnvironmentInput": CreateEnvironmentInput, + "CreateIssueInput": CreateIssueInput, + "CreateLinkedBranchInput": CreateLinkedBranchInput, + "CreateProjectInput": CreateProjectInput, + "CreatePullRequestInput": CreatePullRequestInput, + "CreateRepositoryInput": CreateRepositoryInput, + "CreateSponsorsTierInput": CreateSponsorsTierInput, + "CreateTeamDiscussionCommentInput": CreateTeamDiscussionCommentInput, + "CreateUserListInput": CreateUserListInput, + "Deletable": Deletable, + "DeleteBranchProtectionRulePayload": DeleteBranchProtectionRulePayload, + "DeleteDeploymentPayload": DeleteDeploymentPayload, + "DeleteDiscussionInput": DeleteDiscussionInput, + "DeleteEnvironmentPayload": DeleteEnvironmentPayload, + "DeleteIssueCommentInput": DeleteIssueCommentInput, + "DeleteIssueInput": DeleteIssueInput, + "DeleteLabelPayload": DeleteLabelPayload, + "DeletePackageVersionInput": DeletePackageVersionInput, + "DeleteProjectCardInput": DeleteProjectCardInput, + "DeleteProjectInput": DeleteProjectInput, + "DeleteProjectV2Input": DeleteProjectV2Input, + "DeleteProjectV2ItemPayload": DeleteProjectV2ItemPayload, + "DeletePullRequestReviewCommentInput": DeletePullRequestReviewCommentInput, + "DeleteRefInput": DeleteRefInput, + "DeleteRepositoryRulesetInput": DeleteRepositoryRulesetInput, + "DeleteTeamDiscussionCommentInput": DeleteTeamDiscussionCommentInput, + "DeleteTeamDiscussionInput": DeleteTeamDiscussionInput, + "DeleteUserListInput": DeleteUserListInput, + "DependabotUpdateError": DependabotUpdateError, + "DeploymentOrder": DeploymentOrder, + "DisablePullRequestAutoMergeInput": DisablePullRequestAutoMergeInput, + "DiscussionPollOptionOrder": DiscussionPollOptionOrder, + "DismissRepositoryVulnerabilityAlertInput": DismissRepositoryVulnerabilityAlertInput, + "DraftPullRequestReviewThread": DraftPullRequestReviewThread, + "EnqueuePullRequestInput": EnqueuePullRequestInput, + "EnterpriseAuditEntryData": EnterpriseAuditEntryData, + "EnterpriseMemberOrder": EnterpriseMemberOrder, + "EnterpriseRepositoryInfo": EnterpriseRepositoryInfo, + "EnterpriseServerUserAccountEmailOrder": EnterpriseServerUserAccountEmailOrder, + "EnterpriseServerUserAccountsUploadOrder": EnterpriseServerUserAccountsUploadOrder, + "ExternalIdentityAttribute": ExternalIdentityAttribute, + "FileDeletion": FileDeletion, + "FollowUserInput": FollowUserInput, + "GenericHovercardContext": GenericHovercardContext, + "GitHubMetadata": GitHubMetadata, + "GrantMigratorRoleInput": GrantMigratorRoleInput, + "HovercardContext": HovercardContext, + "IpAllowListEntryOrder": IpAllowListEntryOrder, + "IssueFilters": IssueFilters, + "LabelOrder": LabelOrder, + "LanguageOrder": LanguageOrder, + "LinkProjectV2ToRepositoryInput": LinkProjectV2ToRepositoryInput, + "LinkRepositoryToProjectInput": LinkRepositoryToProjectInput, + "Lockable": Lockable, + "MarkDiscussionCommentAsAnswerInput": MarkDiscussionCommentAsAnswerInput, + "MarkNotificationAsDoneInput": MarkNotificationAsDoneInput, + "MarkPullRequestReadyForReviewInput": MarkPullRequestReadyForReviewInput, + "MemberFeatureRequestNotification": MemberFeatureRequestNotification, + "MergePullRequestInput": MergePullRequestInput, + "MigrationSource": MigrationSource, + "Minimizable": Minimizable, + "MoveProjectCardInput": MoveProjectCardInput, + "Node": Node, + "OrgEnterpriseOwnerOrder": OrgEnterpriseOwnerOrder, + "OrganizationOrder": OrganizationOrder, + "PackageOrder": PackageOrder, + "PackageVersionOrder": PackageVersionOrder, + "PageInfo": PageInfo, + "ProjectCardImport": ProjectCardImport, + "ProjectProgress": ProjectProgress, + "ProjectV2FieldOrder": ProjectV2FieldOrder, + "ProjectV2Filters": ProjectV2Filters, + "ProjectV2ItemOrder": ProjectV2ItemOrder, + "ProjectV2Order": ProjectV2Order, + "ProjectV2SingleSelectFieldOptionInput": ProjectV2SingleSelectFieldOptionInput, + "ProjectV2WorkflowOrder": ProjectV2WorkflowOrder, + "PropertyTargetDefinitionInput": PropertyTargetDefinitionInput, + "PublishSponsorsTierInput": PublishSponsorsTierInput, + "PullRequestOrder": PullRequestOrder, + "PullRequestParametersInput": PullRequestParametersInput, + "ReactionOrder": ReactionOrder, + "RefNameConditionTargetInput": RefNameConditionTargetInput, + "RefUpdate": RefUpdate, + "RegenerateEnterpriseIdentityProviderRecoveryCodesInput": RegenerateEnterpriseIdentityProviderRecoveryCodesInput, + "RegenerateVerifiableDomainTokenPayload": RegenerateVerifiableDomainTokenPayload, + "ReleaseOrder": ReleaseOrder, + "RemoveEnterpriseAdminInput": RemoveEnterpriseAdminInput, + "RemoveEnterpriseMemberInput": RemoveEnterpriseMemberInput, + "RemoveEnterpriseSupportEntitlementInput": RemoveEnterpriseSupportEntitlementInput, + "RemoveLabelsFromLabelableInput": RemoveLabelsFromLabelableInput, + "RemoveReactionInput": RemoveReactionInput, + "RemoveUpvoteInput": RemoveUpvoteInput, + "ReopenIssueInput": ReopenIssueInput, + "RepositoryCodeownersError": RepositoryCodeownersError, + "RepositoryIdConditionTarget": RepositoryIdConditionTarget, + "RepositoryInteractionAbility": RepositoryInteractionAbility, + "RepositoryMigrationOrder": RepositoryMigrationOrder, + "RepositoryNameConditionTargetInput": RepositoryNameConditionTargetInput, + "RepositoryRuleOrder": RepositoryRuleOrder, + "RequestReviewsInput": RequestReviewsInput, + "RequiredDeploymentsParameters": RequiredDeploymentsParameters, + "RequiredStatusCheckInput": RequiredStatusCheckInput, + "ResolveReviewThreadInput": ResolveReviewThreadInput, + "RevertPullRequestInput": RevertPullRequestInput, + "RevokeEnterpriseOrganizationsMigratorRoleInput": RevokeEnterpriseOrganizationsMigratorRoleInput, + "RevokeMigratorRolePayload": RevokeMigratorRolePayload, + "SecurityAdvisoryIdentifier": SecurityAdvisoryIdentifier, + "SecurityAdvisoryOrder": SecurityAdvisoryOrder, + "SecurityAdvisoryPackageVersion": SecurityAdvisoryPackageVersion, + "SecurityVulnerabilityOrder": SecurityVulnerabilityOrder, + "SetOrganizationInteractionLimitInput": SetOrganizationInteractionLimitInput, + "SetUserInteractionLimitInput": SetUserInteractionLimitInput, + "SponsorAndLifetimeValueOrder": SponsorAndLifetimeValueOrder, + "SponsorableOrder": SponsorableOrder, + "SponsorsGoal": SponsorsGoal, + "SponsorshipNewsletterOrder": SponsorshipNewsletterOrder, + "StarOrder": StarOrder, + "StartRepositoryMigrationInput": StartRepositoryMigrationInput, + "StatusCheckConfigurationInput": StatusCheckConfigurationInput, + "SubmitPullRequestReviewInput": SubmitPullRequestReviewInput, + "Subscribable": Subscribable, + "TagNamePatternParameters": TagNamePatternParameters, + "TeamDiscussionCommentOrder": TeamDiscussionCommentOrder, + "TeamMemberOrder": TeamMemberOrder, + "TeamRepositoryOrder": TeamRepositoryOrder, + "TransferEnterpriseOrganizationInput": TransferEnterpriseOrganizationInput, + "UnarchiveProjectV2ItemInput": UnarchiveProjectV2ItemInput, + "UnfollowOrganizationInput": UnfollowOrganizationInput, + "UniformResourceLocatable": UniformResourceLocatable, + "UnlinkProjectV2FromTeamInput": UnlinkProjectV2FromTeamInput, + "UnlockLockableInput": UnlockLockableInput, + "UnmarkFileAsViewedInput": UnmarkFileAsViewedInput, + "UnmarkProjectV2AsTemplateInput": UnmarkProjectV2AsTemplateInput, + "UnpinIssueInput": UnpinIssueInput, + "UnsubscribeFromNotificationsInput": UnsubscribeFromNotificationsInput, + "Updatable": Updatable, + "UpdateDiscussionCommentInput": UpdateDiscussionCommentInput, + "UpdateEnterpriseAdministratorRoleInput": UpdateEnterpriseAdministratorRoleInput, + "UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput": UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, + "UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput": UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, + "UpdateEnterpriseMembersCanDeleteIssuesSettingInput": UpdateEnterpriseMembersCanDeleteIssuesSettingInput, + "UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput": UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, + "UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput": UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, + "UpdateEnterpriseOrganizationProjectsSettingInput": UpdateEnterpriseOrganizationProjectsSettingInput, + "UpdateEnterpriseOwnerOrganizationRolePayload": UpdateEnterpriseOwnerOrganizationRolePayload, + "UpdateEnterpriseRepositoryProjectsSettingInput": UpdateEnterpriseRepositoryProjectsSettingInput, + "UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput": UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, + "UpdateIpAllowListEnabledSettingInput": UpdateIpAllowListEnabledSettingInput, + "UpdateIpAllowListForInstalledAppsEnabledSettingInput": UpdateIpAllowListForInstalledAppsEnabledSettingInput, + "UpdateIssueInput": UpdateIssueInput, + "UpdateNotificationRestrictionSettingInput": UpdateNotificationRestrictionSettingInput, + "UpdateOrganizationWebCommitSignoffSettingInput": UpdateOrganizationWebCommitSignoffSettingInput, + "UpdateParametersInput": UpdateParametersInput, + "UpdateProjectCardInput": UpdateProjectCardInput, + "UpdateProjectInput": UpdateProjectInput, + "UpdateProjectV2Input": UpdateProjectV2Input, + "UpdatePullRequestBranchInput": UpdatePullRequestBranchInput, + "UpdatePullRequestReviewCommentInput": UpdatePullRequestReviewCommentInput, + "UpdateRefInput": UpdateRefInput, + "UpdateRepositoryInput": UpdateRepositoryInput, + "UpdateSponsorshipPreferencesInput": UpdateSponsorshipPreferencesInput, + "UpdateTeamDiscussionCommentInput": UpdateTeamDiscussionCommentInput, + "UpdateTeamReviewAssignmentInput": UpdateTeamReviewAssignmentInput, + "UpdateTopicsInput": UpdateTopicsInput, + "UpdateUserListsForItemInput": UpdateUserListsForItemInput, + "UserListSuggestion": UserListSuggestion, + "VerifiableDomainOrder": VerifiableDomainOrder, + "Votable": Votable, + "WorkflowFileReferenceInput": WorkflowFileReferenceInput, + "AutoMergeRequest": AutoMergeRequest, + "BranchProtectionRuleConflict": BranchProtectionRuleConflict, + "BranchProtectionRuleConflictEdge": BranchProtectionRuleConflictEdge, + "BranchProtectionRuleConflictConnection": BranchProtectionRuleConflictConnection, + "EnterpriseServerUserAccountEmail": EnterpriseServerUserAccountEmail, + "EnterpriseServerUserAccountEmailEdge": EnterpriseServerUserAccountEmailEdge, + "EnterpriseServerUserAccountEmailConnection": EnterpriseServerUserAccountEmailConnection, + "EnterpriseServerUserAccount": EnterpriseServerUserAccount, + "EnterpriseServerUserAccountEdge": EnterpriseServerUserAccountEdge, + "EnterpriseServerUserAccountConnection": EnterpriseServerUserAccountConnection, + "EnterpriseServerUserAccountsUpload": EnterpriseServerUserAccountsUpload, + "EnterpriseServerUserAccountsUploadEdge": EnterpriseServerUserAccountsUploadEdge, + "EnterpriseServerUserAccountsUploadConnection": EnterpriseServerUserAccountsUploadConnection, + "EnterpriseServerInstallation": EnterpriseServerInstallation, + "EnterpriseServerInstallationMembershipEdge": EnterpriseServerInstallationMembershipEdge, + "EnterpriseServerInstallationMembershipConnection": EnterpriseServerInstallationMembershipConnection, + "AuditEntryActor": AuditEntryActor, + "MembersCanDeleteReposClearAuditEntry": MembersCanDeleteReposClearAuditEntry, + "MembersCanDeleteReposDisableAuditEntry": MembersCanDeleteReposDisableAuditEntry, + "MembersCanDeleteReposEnableAuditEntry": MembersCanDeleteReposEnableAuditEntry, + "OauthApplicationCreateAuditEntry": OauthApplicationCreateAuditEntry, + "OrgAddBillingManagerAuditEntry": OrgAddBillingManagerAuditEntry, + "OrgAddMemberAuditEntry": OrgAddMemberAuditEntry, + "OrgBlockUserAuditEntry": OrgBlockUserAuditEntry, + "OrgConfigDisableCollaboratorsOnlyAuditEntry": OrgConfigDisableCollaboratorsOnlyAuditEntry, + "OrgConfigEnableCollaboratorsOnlyAuditEntry": OrgConfigEnableCollaboratorsOnlyAuditEntry, + "OrgCreateAuditEntry": OrgCreateAuditEntry, + "OrgDisableOauthAppRestrictionsAuditEntry": OrgDisableOauthAppRestrictionsAuditEntry, + "OrgDisableSamlAuditEntry": OrgDisableSamlAuditEntry, + "OrgDisableTwoFactorRequirementAuditEntry": OrgDisableTwoFactorRequirementAuditEntry, + "OrgEnableOauthAppRestrictionsAuditEntry": OrgEnableOauthAppRestrictionsAuditEntry, + "OrgEnableSamlAuditEntry": OrgEnableSamlAuditEntry, + "OrgEnableTwoFactorRequirementAuditEntry": OrgEnableTwoFactorRequirementAuditEntry, + "OrganizationInvitation": OrganizationInvitation, + "OrgInviteMemberAuditEntry": OrgInviteMemberAuditEntry, + "OrgInviteToBusinessAuditEntry": OrgInviteToBusinessAuditEntry, + "OrgOauthAppAccessApprovedAuditEntry": OrgOauthAppAccessApprovedAuditEntry, + "OrgOauthAppAccessBlockedAuditEntry": OrgOauthAppAccessBlockedAuditEntry, + "OrgOauthAppAccessDeniedAuditEntry": OrgOauthAppAccessDeniedAuditEntry, + "OrgOauthAppAccessRequestedAuditEntry": OrgOauthAppAccessRequestedAuditEntry, + "OrgOauthAppAccessUnblockedAuditEntry": OrgOauthAppAccessUnblockedAuditEntry, + "OrgRemoveBillingManagerAuditEntry": OrgRemoveBillingManagerAuditEntry, + "OrgRemoveMemberAuditEntry": OrgRemoveMemberAuditEntry, + "OrgRemoveOutsideCollaboratorAuditEntry": OrgRemoveOutsideCollaboratorAuditEntry, + "OrgRestoreMemberMembershipOrganizationAuditEntryData": OrgRestoreMemberMembershipOrganizationAuditEntryData, + "BranchProtectionRuleEdge": BranchProtectionRuleEdge, + "BranchProtectionRuleConnection": BranchProtectionRuleConnection, + "RepositoryCodeowners": RepositoryCodeowners, + "TeamEdge": TeamEdge, + "TeamConnection": TeamConnection, + "Mannequin": Mannequin, + "Reactor": Reactor, + "ReactorEdge": ReactorEdge, + "ReactorConnection": ReactorConnection, + "Reaction": Reaction, + "ReactionEdge": ReactionEdge, + "ReactionConnection": ReactionConnection, + "Reactable": Reactable, + "ReactingUserEdge": ReactingUserEdge, + "ReactingUserConnection": ReactingUserConnection, + "ReactionGroup": ReactionGroup, + "UserContentEdit": UserContentEdit, + "UserContentEditEdge": UserContentEditEdge, + "UserContentEditConnection": UserContentEditConnection, + "TeamDiscussionComment": TeamDiscussionComment, + "TeamDiscussionCommentEdge": TeamDiscussionCommentEdge, + "TeamDiscussionCommentConnection": TeamDiscussionCommentConnection, + "TeamDiscussion": TeamDiscussion, + "TeamDiscussionEdge": TeamDiscussionEdge, + "TeamDiscussionConnection": TeamDiscussionConnection, + "OrganizationInvitationEdge": OrganizationInvitationEdge, + "OrganizationInvitationConnection": OrganizationInvitationConnection, + "UserStatus": UserStatus, + "UserStatusEdge": UserStatusEdge, + "UserStatusConnection": UserStatusConnection, + "TeamMemberEdge": TeamMemberEdge, + "TeamMemberConnection": TeamMemberConnection, + "ProjectV2Field": ProjectV2Field, + "ProjectV2IterationFieldConfiguration": ProjectV2IterationFieldConfiguration, + "ProjectV2IterationField": ProjectV2IterationField, + "ProjectV2SingleSelectField": ProjectV2SingleSelectField, + "ProjectV2FieldConfiguration": ProjectV2FieldConfiguration, + "ProjectV2FieldConfigurationEdge": ProjectV2FieldConfigurationEdge, + "ProjectV2FieldConfigurationConnection": ProjectV2FieldConfigurationConnection, + "ProjectV2Edge": ProjectV2Edge, + "ProjectV2Connection": ProjectV2Connection, + "DraftIssue": DraftIssue, + "ProjectV2ItemContent": ProjectV2ItemContent, + "ProjectV2ItemFieldDateValue": ProjectV2ItemFieldDateValue, + "ProjectV2ItemFieldIterationValue": ProjectV2ItemFieldIterationValue, + "IssueEdge": IssueEdge, + "IssueConnection": IssueConnection, + "Label": Label, + "LabelEdge": LabelEdge, + "LabelConnection": LabelConnection, + "ProjectV2ItemFieldLabelValue": ProjectV2ItemFieldLabelValue, + "Milestone": Milestone, + "ProjectV2ItemFieldMilestoneValue": ProjectV2ItemFieldMilestoneValue, + "ProjectV2ItemFieldNumberValue": ProjectV2ItemFieldNumberValue, + "ProjectV2ItemFieldPullRequestValue": ProjectV2ItemFieldPullRequestValue, + "ProjectV2ItemFieldRepositoryValue": ProjectV2ItemFieldRepositoryValue, + "RequestedReviewer": RequestedReviewer, + "RequestedReviewerEdge": RequestedReviewerEdge, + "RequestedReviewerConnection": RequestedReviewerConnection, + "ProjectV2ItemFieldReviewerValue": ProjectV2ItemFieldReviewerValue, + "ProjectV2ItemFieldSingleSelectValue": ProjectV2ItemFieldSingleSelectValue, + "ProjectV2ItemFieldTextValue": ProjectV2ItemFieldTextValue, + "ProjectV2ItemFieldUserValue": ProjectV2ItemFieldUserValue, + "ProjectV2ItemFieldValue": ProjectV2ItemFieldValue, + "ProjectV2ItemFieldValueEdge": ProjectV2ItemFieldValueEdge, + "ProjectV2ItemFieldValueConnection": ProjectV2ItemFieldValueConnection, + "ProjectV2Item": ProjectV2Item, + "ProjectV2ItemEdge": ProjectV2ItemEdge, + "ProjectV2ItemConnection": ProjectV2ItemConnection, + "ProjectV2Owner": ProjectV2Owner, + "RepositoryEdge": RepositoryEdge, + "RepositoryConnection": RepositoryConnection, + "ProjectV2FieldEdge": ProjectV2FieldEdge, + "ProjectV2FieldConnection": ProjectV2FieldConnection, + "ProjectV2SortBy": ProjectV2SortBy, + "ProjectV2SortByEdge": ProjectV2SortByEdge, + "ProjectV2SortByConnection": ProjectV2SortByConnection, + "ProjectV2SortByField": ProjectV2SortByField, + "ProjectV2SortByFieldEdge": ProjectV2SortByFieldEdge, + "ProjectV2SortByFieldConnection": ProjectV2SortByFieldConnection, + "ProjectV2View": ProjectV2View, + "ProjectV2ViewEdge": ProjectV2ViewEdge, + "ProjectV2ViewConnection": ProjectV2ViewConnection, + "ProjectV2Workflow": ProjectV2Workflow, + "ProjectV2WorkflowEdge": ProjectV2WorkflowEdge, + "ProjectV2WorkflowConnection": ProjectV2WorkflowConnection, + "ProjectV2": ProjectV2, + "TeamRepositoryEdge": TeamRepositoryEdge, + "TeamRepositoryConnection": TeamRepositoryConnection, + "Team": Team, + "PermissionGranter": PermissionGranter, + "PermissionSource": PermissionSource, + "RepositoryCollaboratorEdge": RepositoryCollaboratorEdge, + "RepositoryCollaboratorConnection": RepositoryCollaboratorConnection, + "DependencyGraphDependency": DependencyGraphDependency, + "DependencyGraphDependencyEdge": DependencyGraphDependencyEdge, + "DependencyGraphDependencyConnection": DependencyGraphDependencyConnection, + "DependencyGraphManifest": DependencyGraphManifest, + "DependencyGraphManifestEdge": DependencyGraphManifestEdge, + "DependencyGraphManifestConnection": DependencyGraphManifestConnection, + "DeployKeyEdge": DeployKeyEdge, + "DeployKeyConnection": DeployKeyConnection, + "DeploymentStatus": DeploymentStatus, + "DeploymentStatusEdge": DeploymentStatusEdge, + "DeploymentStatusConnection": DeploymentStatusConnection, + "Deployment": Deployment, + "DeploymentEdge": DeploymentEdge, + "DeploymentConnection": DeploymentConnection, + "DiscussionCommentEdge": DiscussionCommentEdge, + "DiscussionCommentConnection": DiscussionCommentConnection, + "DiscussionComment": DiscussionComment, + "DiscussionCategory": DiscussionCategory, + "DiscussionPollOption": DiscussionPollOption, + "DiscussionPollOptionEdge": DiscussionPollOptionEdge, + "DiscussionPollOptionConnection": DiscussionPollOptionConnection, + "DiscussionPoll": DiscussionPoll, + "Discussion": Discussion, + "DiscussionCategoryEdge": DiscussionCategoryEdge, + "DiscussionCategoryConnection": DiscussionCategoryConnection, + "DiscussionEdge": DiscussionEdge, + "DiscussionConnection": DiscussionConnection, + "DeploymentReviewer": DeploymentReviewer, + "DeploymentReviewerEdge": DeploymentReviewerEdge, + "DeploymentReviewerConnection": DeploymentReviewerConnection, + "DeploymentProtectionRule": DeploymentProtectionRule, + "DeploymentProtectionRuleEdge": DeploymentProtectionRuleEdge, + "DeploymentProtectionRuleConnection": DeploymentProtectionRuleConnection, + "Environment": Environment, + "EnvironmentEdge": EnvironmentEdge, + "EnvironmentConnection": EnvironmentConnection, + "IssueOrPullRequest": IssueOrPullRequest, + "IssueTemplate": IssueTemplate, + "LanguageEdge": LanguageEdge, + "LanguageConnection": LanguageConnection, + "ReleaseAsset": ReleaseAsset, + "ReleaseAssetEdge": ReleaseAssetEdge, + "ReleaseAssetConnection": ReleaseAssetConnection, + "Release": Release, + "License": License, + "MergeQueueEntry": MergeQueueEntry, + "MergeQueueEntryEdge": MergeQueueEntryEdge, + "MergeQueueEntryConnection": MergeQueueEntryConnection, + "MergeQueue": MergeQueue, + "MilestoneEdge": MilestoneEdge, + "MilestoneConnection": MilestoneConnection, + "GitObject": GitObject, + "RepositoryOwner": RepositoryOwner, + "PackageFile": PackageFile, + "PackageFileEdge": PackageFileEdge, + "PackageFileConnection": PackageFileConnection, + "PackageVersion": PackageVersion, + "PackageVersionEdge": PackageVersionEdge, + "PackageVersionConnection": PackageVersionConnection, + "Package": Package, + "PackageEdge": PackageEdge, + "PackageConnection": PackageConnection, + "PinnedDiscussion": PinnedDiscussion, + "PinnedDiscussionEdge": PinnedDiscussionEdge, + "PinnedDiscussionConnection": PinnedDiscussionConnection, + "PinnedIssue": PinnedIssue, + "PinnedIssueEdge": PinnedIssueEdge, + "PinnedIssueConnection": PinnedIssueConnection, + "ProjectCardItem": ProjectCardItem, + "ProjectCard": ProjectCard, + "ProjectCardEdge": ProjectCardEdge, + "ProjectCardConnection": ProjectCardConnection, + "ProjectColumn": ProjectColumn, + "ProjectColumnEdge": ProjectColumnEdge, + "ProjectColumnConnection": ProjectColumnConnection, + "ProjectEdge": ProjectEdge, + "ProjectConnection": ProjectConnection, + "ProjectOwner": ProjectOwner, + "Project": Project, + "PullRequestTemplate": PullRequestTemplate, + "RefEdge": RefEdge, + "RefConnection": RefConnection, + "ReleaseEdge": ReleaseEdge, + "ReleaseConnection": ReleaseConnection, + "StargazerEdge": StargazerEdge, + "StargazerConnection": StargazerConnection, + "Topic": Topic, + "RepositoryTopic": RepositoryTopic, + "RepositoryTopicEdge": RepositoryTopicEdge, + "RepositoryTopicConnection": RepositoryTopicConnection, + "BypassActor": BypassActor, + "RepositoryRulesetBypassActor": RepositoryRulesetBypassActor, + "RepositoryRulesetBypassActorEdge": RepositoryRulesetBypassActorEdge, + "RepositoryRulesetBypassActorConnection": RepositoryRulesetBypassActorConnection, + "RepositoryPropertyConditionTarget": RepositoryPropertyConditionTarget, + "RepositoryRuleConditions": RepositoryRuleConditions, + "RequiredStatusChecksParameters": RequiredStatusChecksParameters, + "WorkflowsParameters": WorkflowsParameters, + "RuleParameters": RuleParameters, + "RepositoryRule": RepositoryRule, + "RepositoryRuleEdge": RepositoryRuleEdge, + "RepositoryRuleConnection": RepositoryRuleConnection, + "RuleSource": RuleSource, + "RepositoryRuleset": RepositoryRuleset, + "RepositoryRulesetEdge": RepositoryRulesetEdge, + "RepositoryRulesetConnection": RepositoryRulesetConnection, + "SubmoduleEdge": SubmoduleEdge, + "SubmoduleConnection": SubmoduleConnection, + "DependabotUpdate": DependabotUpdate, + "CWEEdge": CWEEdge, + "CWEConnection": CWEConnection, + "SecurityVulnerability": SecurityVulnerability, + "SecurityVulnerabilityEdge": SecurityVulnerabilityEdge, + "SecurityVulnerabilityConnection": SecurityVulnerabilityConnection, + "SecurityAdvisory": SecurityAdvisory, + "RepositoryVulnerabilityAlert": RepositoryVulnerabilityAlert, + "RepositoryVulnerabilityAlertEdge": RepositoryVulnerabilityAlertEdge, + "RepositoryVulnerabilityAlertConnection": RepositoryVulnerabilityAlertConnection, + "Repository": Repository, + "OrgRestoreMemberMembershipRepositoryAuditEntryData": OrgRestoreMemberMembershipRepositoryAuditEntryData, + "OrgRestoreMemberMembershipTeamAuditEntryData": OrgRestoreMemberMembershipTeamAuditEntryData, + "OrgRestoreMemberAuditEntryMembership": OrgRestoreMemberAuditEntryMembership, + "OrgRestoreMemberAuditEntry": OrgRestoreMemberAuditEntry, + "OrgUnblockUserAuditEntry": OrgUnblockUserAuditEntry, + "OrgUpdateDefaultRepositoryPermissionAuditEntry": OrgUpdateDefaultRepositoryPermissionAuditEntry, + "OrgUpdateMemberAuditEntry": OrgUpdateMemberAuditEntry, + "OrgUpdateMemberRepositoryCreationPermissionAuditEntry": OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + "OrgUpdateMemberRepositoryInvitationPermissionAuditEntry": OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + "PrivateRepositoryForkingDisableAuditEntry": PrivateRepositoryForkingDisableAuditEntry, + "PrivateRepositoryForkingEnableAuditEntry": PrivateRepositoryForkingEnableAuditEntry, + "RepoAccessAuditEntry": RepoAccessAuditEntry, + "RepoAddMemberAuditEntry": RepoAddMemberAuditEntry, + "RepoAddTopicAuditEntry": RepoAddTopicAuditEntry, + "RepoArchivedAuditEntry": RepoArchivedAuditEntry, + "RepoChangeMergeSettingAuditEntry": RepoChangeMergeSettingAuditEntry, + "RepoConfigDisableAnonymousGitAccessAuditEntry": RepoConfigDisableAnonymousGitAccessAuditEntry, + "RepoConfigDisableCollaboratorsOnlyAuditEntry": RepoConfigDisableCollaboratorsOnlyAuditEntry, + "RepoConfigDisableContributorsOnlyAuditEntry": RepoConfigDisableContributorsOnlyAuditEntry, + "RepoConfigDisableSockpuppetDisallowedAuditEntry": RepoConfigDisableSockpuppetDisallowedAuditEntry, + "RepoConfigEnableAnonymousGitAccessAuditEntry": RepoConfigEnableAnonymousGitAccessAuditEntry, + "RepoConfigEnableCollaboratorsOnlyAuditEntry": RepoConfigEnableCollaboratorsOnlyAuditEntry, + "RepoConfigEnableContributorsOnlyAuditEntry": RepoConfigEnableContributorsOnlyAuditEntry, + "RepoConfigEnableSockpuppetDisallowedAuditEntry": RepoConfigEnableSockpuppetDisallowedAuditEntry, + "RepoConfigLockAnonymousGitAccessAuditEntry": RepoConfigLockAnonymousGitAccessAuditEntry, + "RepoConfigUnlockAnonymousGitAccessAuditEntry": RepoConfigUnlockAnonymousGitAccessAuditEntry, + "RepoCreateAuditEntry": RepoCreateAuditEntry, + "RepoDestroyAuditEntry": RepoDestroyAuditEntry, + "RepoRemoveMemberAuditEntry": RepoRemoveMemberAuditEntry, + "RepoRemoveTopicAuditEntry": RepoRemoveTopicAuditEntry, + "RepositoryVisibilityChangeDisableAuditEntry": RepositoryVisibilityChangeDisableAuditEntry, + "RepositoryVisibilityChangeEnableAuditEntry": RepositoryVisibilityChangeEnableAuditEntry, + "TeamAddMemberAuditEntry": TeamAddMemberAuditEntry, + "TeamAddRepositoryAuditEntry": TeamAddRepositoryAuditEntry, + "TeamChangeParentTeamAuditEntry": TeamChangeParentTeamAuditEntry, + "TeamRemoveMemberAuditEntry": TeamRemoveMemberAuditEntry, + "TeamRemoveRepositoryAuditEntry": TeamRemoveRepositoryAuditEntry, + "OrganizationAuditEntry": OrganizationAuditEntry, + "OrganizationAuditEntryEdge": OrganizationAuditEntryEdge, + "OrganizationAuditEntryConnection": OrganizationAuditEntryConnection, + "VerifiableDomainOwner": VerifiableDomainOwner, + "VerifiableDomain": VerifiableDomain, + "VerifiableDomainEdge": VerifiableDomainEdge, + "VerifiableDomainConnection": VerifiableDomainConnection, + "OrganizationEnterpriseOwnerEdge": OrganizationEnterpriseOwnerEdge, + "OrganizationEnterpriseOwnerConnection": OrganizationEnterpriseOwnerConnection, + "GistComment": GistComment, + "GistCommentEdge": GistCommentEdge, + "GistCommentConnection": GistCommentConnection, + "GistFile": GistFile, + "GistEdge": GistEdge, + "GistConnection": GistConnection, + "Gist": Gist, + "PinnableItem": PinnableItem, + "PinnableItemEdge": PinnableItemEdge, + "PinnableItemConnection": PinnableItemConnection, + "ProfileItemShowcase": ProfileItemShowcase, + "Sponsor": Sponsor, + "SponsorEdge": SponsorEdge, + "SponsorConnection": SponsorConnection, + "Sponsorship": Sponsorship, + "SponsorshipEdge": SponsorshipEdge, + "SponsorshipConnection": SponsorshipConnection, + "SponsorsTierAdminInfo": SponsorsTierAdminInfo, + "StripeConnectAccount": StripeConnectAccount, + "SponsorsListingFeatureableItem": SponsorsListingFeatureableItem, + "SponsorsListingFeaturedItem": SponsorsListingFeaturedItem, + "SponsorsTierEdge": SponsorsTierEdge, + "SponsorsTierConnection": SponsorsTierConnection, + "SponsorsListing": SponsorsListing, + "SponsorsTier": SponsorsTier, + "SponsorsActivity": SponsorsActivity, + "SponsorsActivityEdge": SponsorsActivityEdge, + "SponsorsActivityConnection": SponsorsActivityConnection, + "SponsorshipNewsletter": SponsorshipNewsletter, + "SponsorshipNewsletterEdge": SponsorshipNewsletterEdge, + "SponsorshipNewsletterConnection": SponsorshipNewsletterConnection, + "Sponsorable": Sponsorable, + "SponsorAndLifetimeValue": SponsorAndLifetimeValue, + "SponsorAndLifetimeValueEdge": SponsorAndLifetimeValueEdge, + "SponsorAndLifetimeValueConnection": SponsorAndLifetimeValueConnection, + "MannequinEdge": MannequinEdge, + "MannequinConnection": MannequinConnection, + "OrganizationMemberEdge": OrganizationMemberEdge, + "OrganizationMemberConnection": OrganizationMemberConnection, + "RepositoryMigration": RepositoryMigration, + "RepositoryMigrationEdge": RepositoryMigrationEdge, + "RepositoryMigrationConnection": RepositoryMigrationConnection, + "ExternalIdentitySamlAttributes": ExternalIdentitySamlAttributes, + "ExternalIdentityScimAttributes": ExternalIdentityScimAttributes, + "ExternalIdentity": ExternalIdentity, + "ExternalIdentityEdge": ExternalIdentityEdge, + "ExternalIdentityConnection": ExternalIdentityConnection, + "OrganizationIdentityProvider": OrganizationIdentityProvider, + "Organization": Organization, + "EnterpriseOrganizationMembershipEdge": EnterpriseOrganizationMembershipEdge, + "EnterpriseOrganizationMembershipConnection": EnterpriseOrganizationMembershipConnection, + "EnterpriseUserAccount": EnterpriseUserAccount, + "EnterpriseMember": EnterpriseMember, + "EnterpriseMemberEdge": EnterpriseMemberEdge, + "EnterpriseMemberConnection": EnterpriseMemberConnection, + "OrganizationEdge": OrganizationEdge, + "OrganizationConnection": OrganizationConnection, + "EnterpriseAdministratorEdge": EnterpriseAdministratorEdge, + "EnterpriseAdministratorConnection": EnterpriseAdministratorConnection, + "EnterpriseServerInstallationEdge": EnterpriseServerInstallationEdge, + "EnterpriseServerInstallationConnection": EnterpriseServerInstallationConnection, + "EnterpriseFailedInvitationEdge": EnterpriseFailedInvitationEdge, + "EnterpriseFailedInvitationConnection": EnterpriseFailedInvitationConnection, + "OIDCProvider": OIDCProvider, + "EnterpriseRepositoryInfoEdge": EnterpriseRepositoryInfoEdge, + "EnterpriseRepositoryInfoConnection": EnterpriseRepositoryInfoConnection, + "EnterpriseOutsideCollaboratorEdge": EnterpriseOutsideCollaboratorEdge, + "EnterpriseOutsideCollaboratorConnection": EnterpriseOutsideCollaboratorConnection, + "EnterpriseAdministratorInvitation": EnterpriseAdministratorInvitation, + "EnterpriseAdministratorInvitationEdge": EnterpriseAdministratorInvitationEdge, + "EnterpriseAdministratorInvitationConnection": EnterpriseAdministratorInvitationConnection, + "RepositoryInfo": RepositoryInfo, + "RepositoryInvitation": RepositoryInvitation, + "RepositoryInvitationEdge": RepositoryInvitationEdge, + "RepositoryInvitationConnection": RepositoryInvitationConnection, + "EnterprisePendingMemberInvitationEdge": EnterprisePendingMemberInvitationEdge, + "EnterprisePendingMemberInvitationConnection": EnterprisePendingMemberInvitationConnection, + "EnterpriseIdentityProvider": EnterpriseIdentityProvider, + "EnterpriseOwnerInfo": EnterpriseOwnerInfo, + "Enterprise": Enterprise, + "IpAllowListOwner": IpAllowListOwner, + "IpAllowListEntry": IpAllowListEntry, + "IpAllowListEntryEdge": IpAllowListEntryEdge, + "IpAllowListEntryConnection": IpAllowListEntryConnection, + "App": App, + "BranchActorAllowanceActor": BranchActorAllowanceActor, + "BypassForcePushAllowance": BypassForcePushAllowance, + "BypassForcePushAllowanceEdge": BypassForcePushAllowanceEdge, + "BypassForcePushAllowanceConnection": BypassForcePushAllowanceConnection, + "BypassPullRequestAllowance": BypassPullRequestAllowance, + "BypassPullRequestAllowanceEdge": BypassPullRequestAllowanceEdge, + "BypassPullRequestAllowanceConnection": BypassPullRequestAllowanceConnection, + "PushAllowanceActor": PushAllowanceActor, + "PushAllowance": PushAllowance, + "PushAllowanceEdge": PushAllowanceEdge, + "PushAllowanceConnection": PushAllowanceConnection, + "RequiredStatusCheckDescription": RequiredStatusCheckDescription, + "ReviewDismissalAllowanceActor": ReviewDismissalAllowanceActor, + "ReviewDismissalAllowance": ReviewDismissalAllowance, + "ReviewDismissalAllowanceEdge": ReviewDismissalAllowanceEdge, + "ReviewDismissalAllowanceConnection": ReviewDismissalAllowanceConnection, + "BranchProtectionRule": BranchProtectionRule, + "CommitEdge": CommitEdge, + "ComparisonCommitConnection": ComparisonCommitConnection, + "Comparison": Comparison, + "Ref": Ref, + "IssueCommentConnection": IssueCommentConnection, + "PullRequestCommit": PullRequestCommit, + "PullRequestCommitEdge": PullRequestCommitEdge, + "PullRequestCommitConnection": PullRequestCommitConnection, + "PullRequestChangedFileEdge": PullRequestChangedFileEdge, + "PullRequestChangedFileConnection": PullRequestChangedFileConnection, + "Hovercard": Hovercard, + "PullRequestReviewComment": PullRequestReviewComment, + "PullRequestReviewCommentEdge": PullRequestReviewCommentEdge, + "PullRequestReviewCommentConnection": PullRequestReviewCommentConnection, + "PullRequestReview": PullRequestReview, + "PullRequestReviewEdge": PullRequestReviewEdge, + "PullRequestReviewConnection": PullRequestReviewConnection, + "ReviewRequest": ReviewRequest, + "ReviewRequestEdge": ReviewRequestEdge, + "ReviewRequestConnection": ReviewRequestConnection, + "PullRequestReviewThread": PullRequestReviewThread, + "PullRequestReviewThreadEdge": PullRequestReviewThreadEdge, + "PullRequestReviewThreadConnection": PullRequestReviewThreadConnection, + "SuggestedReviewer": SuggestedReviewer, + "Assignable": Assignable, + "Assignee": Assignee, + "AssignedEvent": AssignedEvent, + "BaseRefDeletedEvent": BaseRefDeletedEvent, + "BaseRefForcePushedEvent": BaseRefForcePushedEvent, + "Closer": Closer, + "ClosedEvent": ClosedEvent, + "CommitCommentThread": CommitCommentThread, + "ReferencedSubject": ReferencedSubject, + "CrossReferencedEvent": CrossReferencedEvent, + "MilestoneItem": MilestoneItem, + "DemilestonedEvent": DemilestonedEvent, + "DeployedEvent": DeployedEvent, + "DeploymentEnvironmentChangedEvent": DeploymentEnvironmentChangedEvent, + "HeadRefDeletedEvent": HeadRefDeletedEvent, + "HeadRefForcePushedEvent": HeadRefForcePushedEvent, + "HeadRefRestoredEvent": HeadRefRestoredEvent, + "Labelable": Labelable, + "LabeledEvent": LabeledEvent, + "LockedEvent": LockedEvent, + "MergedEvent": MergedEvent, + "MilestonedEvent": MilestonedEvent, + "ReferencedEvent": ReferencedEvent, + "RenamedTitleSubject": RenamedTitleSubject, + "RenamedTitleEvent": RenamedTitleEvent, + "ReopenedEvent": ReopenedEvent, + "ReviewDismissedEvent": ReviewDismissedEvent, + "ReviewRequestRemovedEvent": ReviewRequestRemovedEvent, + "ReviewRequestedEvent": ReviewRequestedEvent, + "SubscribedEvent": SubscribedEvent, + "UnassignedEvent": UnassignedEvent, + "UnlabeledEvent": UnlabeledEvent, + "UnlockedEvent": UnlockedEvent, + "UnsubscribedEvent": UnsubscribedEvent, + "UserBlockedEvent": UserBlockedEvent, + "PullRequestTimelineItem": PullRequestTimelineItem, + "PullRequestTimelineItemEdge": PullRequestTimelineItemEdge, + "PullRequestTimelineConnection": PullRequestTimelineConnection, + "AddedToMergeQueueEvent": AddedToMergeQueueEvent, + "AddedToProjectEvent": AddedToProjectEvent, + "AutoMergeDisabledEvent": AutoMergeDisabledEvent, + "AutoMergeEnabledEvent": AutoMergeEnabledEvent, + "AutoRebaseEnabledEvent": AutoRebaseEnabledEvent, + "AutoSquashEnabledEvent": AutoSquashEnabledEvent, + "AutomaticBaseChangeFailedEvent": AutomaticBaseChangeFailedEvent, + "AutomaticBaseChangeSucceededEvent": AutomaticBaseChangeSucceededEvent, + "BaseRefChangedEvent": BaseRefChangedEvent, + "CommentDeletedEvent": CommentDeletedEvent, + "ConnectedEvent": ConnectedEvent, + "ConvertToDraftEvent": ConvertToDraftEvent, + "ConvertedNoteToIssueEvent": ConvertedNoteToIssueEvent, + "ConvertedToDiscussionEvent": ConvertedToDiscussionEvent, + "DisconnectedEvent": DisconnectedEvent, + "MarkedAsDuplicateEvent": MarkedAsDuplicateEvent, + "MentionedEvent": MentionedEvent, + "MovedColumnsInProjectEvent": MovedColumnsInProjectEvent, + "PinnedEvent": PinnedEvent, + "PullRequestCommitCommentThread": PullRequestCommitCommentThread, + "PullRequestRevisionMarker": PullRequestRevisionMarker, + "ReadyForReviewEvent": ReadyForReviewEvent, + "RemovedFromMergeQueueEvent": RemovedFromMergeQueueEvent, + "RemovedFromProjectEvent": RemovedFromProjectEvent, + "TransferredEvent": TransferredEvent, + "UnmarkedAsDuplicateEvent": UnmarkedAsDuplicateEvent, + "UnpinnedEvent": UnpinnedEvent, + "PullRequestTimelineItems": PullRequestTimelineItems, + "PullRequestTimelineItemsEdge": PullRequestTimelineItemsEdge, + "PullRequestTimelineItemsConnection": PullRequestTimelineItemsConnection, + "PullRequest": PullRequest, + "PullRequestEdge": PullRequestEdge, + "PullRequestConnection": PullRequestConnection, + "GitActor": GitActor, + "GitActorEdge": GitActorEdge, + "GitActorConnection": GitActorConnection, + "BlameRange": BlameRange, + "Blame": Blame, + "CheckAnnotationSpan": CheckAnnotationSpan, + "CheckAnnotation": CheckAnnotation, + "CheckAnnotationEdge": CheckAnnotationEdge, + "CheckAnnotationConnection": CheckAnnotationConnection, + "DeploymentRequest": DeploymentRequest, + "CheckStepEdge": CheckStepEdge, + "CheckStepConnection": CheckStepConnection, + "CheckRun": CheckRun, + "CheckRunEdge": CheckRunEdge, + "CheckRunConnection": CheckRunConnection, + "Push": Push, + "DeploymentReview": DeploymentReview, + "DeploymentReviewEdge": DeploymentReviewEdge, + "DeploymentReviewConnection": DeploymentReviewConnection, + "WorkflowRunFile": WorkflowRunFile, + "DeploymentRequestEdge": DeploymentRequestEdge, + "DeploymentRequestConnection": DeploymentRequestConnection, + "WorkflowRunEdge": WorkflowRunEdge, + "WorkflowRunConnection": WorkflowRunConnection, + "Workflow": Workflow, + "WorkflowRun": WorkflowRun, + "CheckSuite": CheckSuite, + "CheckSuiteEdge": CheckSuiteEdge, + "CheckSuiteConnection": CheckSuiteConnection, + "TreeEntry": TreeEntry, + "CommitHistoryConnection": CommitHistoryConnection, + "CommitConnection": CommitConnection, + "GitSignature": GitSignature, + "StatusContext": StatusContext, + "StatusCheckRollupContext": StatusCheckRollupContext, + "StatusCheckRollupContextEdge": StatusCheckRollupContextEdge, + "StatusCheckRollupContextConnection": StatusCheckRollupContextConnection, + "Status": Status, + "StatusCheckRollup": StatusCheckRollup, + "Tree": Tree, + "Commit": Commit, + "CommitComment": CommitComment, + "CommitCommentEdge": CommitCommentEdge, + "CommitCommentConnection": CommitCommentConnection, + "CreatedCommitContribution": CreatedCommitContribution, + "CreatedCommitContributionEdge": CreatedCommitContributionEdge, + "CreatedCommitContributionConnection": CreatedCommitContributionConnection, + "CommitContributionsByRepository": CommitContributionsByRepository, + "ContributionCalendarWeek": ContributionCalendarWeek, + "ContributionCalendar": ContributionCalendar, + "CreatedIssueContribution": CreatedIssueContribution, + "RestrictedContribution": RestrictedContribution, + "CreatedIssueOrRestrictedContribution": CreatedIssueOrRestrictedContribution, + "CreatedPullRequestContribution": CreatedPullRequestContribution, + "CreatedPullRequestOrRestrictedContribution": CreatedPullRequestOrRestrictedContribution, + "CreatedRepositoryContribution": CreatedRepositoryContribution, + "CreatedRepositoryOrRestrictedContribution": CreatedRepositoryOrRestrictedContribution, + "CreatedIssueContributionEdge": CreatedIssueContributionEdge, + "CreatedIssueContributionConnection": CreatedIssueContributionConnection, + "IssueContributionsByRepository": IssueContributionsByRepository, + "JoinedGitHubContribution": JoinedGitHubContribution, + "CreatedPullRequestContributionEdge": CreatedPullRequestContributionEdge, + "CreatedPullRequestContributionConnection": CreatedPullRequestContributionConnection, + "PullRequestContributionsByRepository": PullRequestContributionsByRepository, + "CreatedPullRequestReviewContribution": CreatedPullRequestReviewContribution, + "CreatedPullRequestReviewContributionEdge": CreatedPullRequestReviewContributionEdge, + "CreatedPullRequestReviewContributionConnection": CreatedPullRequestReviewContributionConnection, + "PullRequestReviewContributionsByRepository": PullRequestReviewContributionsByRepository, + "CreatedRepositoryContributionEdge": CreatedRepositoryContributionEdge, + "CreatedRepositoryContributionConnection": CreatedRepositoryContributionConnection, + "ContributionsCollection": ContributionsCollection, + "EnterpriseEdge": EnterpriseEdge, + "EnterpriseConnection": EnterpriseConnection, + "FollowerConnection": FollowerConnection, + "FollowingConnection": FollowingConnection, + "UserListItems": UserListItems, + "UserListItemsEdge": UserListItemsEdge, + "UserListItemsConnection": UserListItemsConnection, + "UserList": UserList, + "UserListEdge": UserListEdge, + "UserListConnection": UserListConnection, + "PublicKeyEdge": PublicKeyEdge, + "PublicKeyConnection": PublicKeyConnection, + "SavedReply": SavedReply, + "SavedReplyEdge": SavedReplyEdge, + "SavedReplyConnection": SavedReplyConnection, + "SocialAccountEdge": SocialAccountEdge, + "SocialAccountConnection": SocialAccountConnection, + "StarredRepositoryEdge": StarredRepositoryEdge, + "StarredRepositoryConnection": StarredRepositoryConnection, + "User": User, + "UserEdge": UserEdge, + "UserConnection": UserConnection, + "LinkedBranch": LinkedBranch, + "LinkedBranchEdge": LinkedBranchEdge, + "LinkedBranchConnection": LinkedBranchConnection, + "IssueTimelineItem": IssueTimelineItem, + "IssueTimelineItemEdge": IssueTimelineItemEdge, + "IssueTimelineConnection": IssueTimelineConnection, + "IssueTimelineItems": IssueTimelineItems, + "IssueTimelineItemsEdge": IssueTimelineItemsEdge, + "IssueTimelineItemsConnection": IssueTimelineItemsConnection, + "Issue": Issue, + "IssueComment": IssueComment, + "IssueCommentEdge": IssueCommentEdge, + "AddCommentPayload": AddCommentPayload, + "AddProjectCardPayload": AddProjectCardPayload, + "AddProjectColumnPayload": AddProjectColumnPayload, + "AddPullRequestReviewCommentPayload": AddPullRequestReviewCommentPayload, + "AddPullRequestReviewInput": AddPullRequestReviewInput, + "AddPullRequestReviewPayload": AddPullRequestReviewPayload, + "AddReactionPayload": AddReactionPayload, + "AuditEntry": AuditEntry, + "CheckAnnotationData": CheckAnnotationData, + "CheckRunOutput": CheckRunOutput, + "Claimable": Claimable, + "Comment": Comment, + "CreateAttributionInvitationPayload": CreateAttributionInvitationPayload, + "CreateCheckRunInput": CreateCheckRunInput, + "FileChanges": FileChanges, + "CreateCommitOnBranchInput": CreateCommitOnBranchInput, + "CreateCommitOnBranchPayload": CreateCommitOnBranchPayload, + "CreateEnterpriseOrganizationPayload": CreateEnterpriseOrganizationPayload, + "CreateLinkedBranchPayload": CreateLinkedBranchPayload, + "RepositoryPropertyConditionTargetInput": RepositoryPropertyConditionTargetInput, + "RepositoryRuleConditionsInput": RepositoryRuleConditionsInput, + "RequiredStatusChecksParametersInput": RequiredStatusChecksParametersInput, + "WorkflowsParametersInput": WorkflowsParametersInput, + "RuleParametersInput": RuleParametersInput, + "RepositoryRuleInput": RepositoryRuleInput, + "CreateRepositoryRulesetInput": CreateRepositoryRulesetInput, + "CreateUserListPayload": CreateUserListPayload, + "DeletePullRequestReviewCommentPayload": DeletePullRequestReviewCommentPayload, + "DisablePullRequestAutoMergePayload": DisablePullRequestAutoMergePayload, + "EnablePullRequestAutoMergePayload": EnablePullRequestAutoMergePayload, + "LinkRepositoryToProjectPayload": LinkRepositoryToProjectPayload, + "LockLockablePayload": LockLockablePayload, + "MarketplaceListing": MarketplaceListing, + "MarketplaceListingEdge": MarketplaceListingEdge, + "MarketplaceListingConnection": MarketplaceListingConnection, + "MergePullRequestPayload": MergePullRequestPayload, + "OrganizationOrUser": OrganizationOrUser, + "ProfileOwner": ProfileOwner, + "ProjectV2Actor": ProjectV2Actor, + "ProjectV2ActorEdge": ProjectV2ActorEdge, + "ProjectV2ActorConnection": ProjectV2ActorConnection, + "ProjectV2ItemFieldValueCommon": ProjectV2ItemFieldValueCommon, + "PullRequestThread": PullRequestThread, + "RemoveEnterpriseAdminPayload": RemoveEnterpriseAdminPayload, + "RemoveEnterpriseMemberPayload": RemoveEnterpriseMemberPayload, + "RemoveEnterpriseOrganizationPayload": RemoveEnterpriseOrganizationPayload, + "RemoveReactionPayload": RemoveReactionPayload, + "RequestReviewsPayload": RequestReviewsPayload, + "RevertPullRequestPayload": RevertPullRequestPayload, + "SearchResultItem": SearchResultItem, + "TextMatch": TextMatch, + "SearchResultItemEdge": SearchResultItemEdge, + "SearchResultItemConnection": SearchResultItemConnection, + "SecurityAdvisoryEdge": SecurityAdvisoryEdge, + "SecurityAdvisoryConnection": SecurityAdvisoryConnection, + "SponsorableItem": SponsorableItem, + "SponsorableItemEdge": SponsorableItemEdge, + "SponsorableItemConnection": SponsorableItemConnection, + "Tag": Tag, + "UnlinkRepositoryFromProjectPayload": UnlinkRepositoryFromProjectPayload, + "UnlockLockablePayload": UnlockLockablePayload, + "UpdateCheckRunInput": UpdateCheckRunInput, + "UpdateIssuePayload": UpdateIssuePayload, + "UpdatePullRequestPayload": UpdatePullRequestPayload, + "UpdateRepositoryRulesetInput": UpdateRepositoryRulesetInput, + "UpdateTeamsRepositoryPayload": UpdateTeamsRepositoryPayload, + "UpdateUserListsForItemPayload": UpdateUserListsForItemPayload, + "ViewerHovercardContext": ViewerHovercardContext, + "VerifyVerifiableDomainPayload": VerifyVerifiableDomainPayload, + "UpdateUserListPayload": UpdateUserListPayload, + "UpdateTopicsPayload": UpdateTopicsPayload, + "UpdateTeamReviewAssignmentPayload": UpdateTeamReviewAssignmentPayload, + "UpdateTeamDiscussionPayload": UpdateTeamDiscussionPayload, + "UpdateTeamDiscussionCommentPayload": UpdateTeamDiscussionCommentPayload, + "UpdateSubscriptionPayload": UpdateSubscriptionPayload, + "UpdateSponsorshipPreferencesPayload": UpdateSponsorshipPreferencesPayload, + "UpdateRepositoryWebCommitSignoffSettingPayload": UpdateRepositoryWebCommitSignoffSettingPayload, + "UpdateRepositoryRulesetPayload": UpdateRepositoryRulesetPayload, + "UpdateRepositoryPayload": UpdateRepositoryPayload, + "UpdateRefsInput": UpdateRefsInput, + "UpdateRefPayload": UpdateRefPayload, + "UpdatePullRequestReviewPayload": UpdatePullRequestReviewPayload, + "UpdatePullRequestReviewCommentPayload": UpdatePullRequestReviewCommentPayload, + "UpdatePullRequestBranchPayload": UpdatePullRequestBranchPayload, + "UpdateProjectV2Payload": UpdateProjectV2Payload, + "UpdateProjectV2ItemPositionPayload": UpdateProjectV2ItemPositionPayload, + "UpdateProjectV2ItemFieldValuePayload": UpdateProjectV2ItemFieldValuePayload, + "UpdateProjectV2ItemFieldValueInput": UpdateProjectV2ItemFieldValueInput, + "UpdateProjectV2DraftIssuePayload": UpdateProjectV2DraftIssuePayload, + "UpdateProjectV2CollaboratorsPayload": UpdateProjectV2CollaboratorsPayload, + "UpdateProjectV2CollaboratorsInput": UpdateProjectV2CollaboratorsInput, + "UpdateProjectPayload": UpdateProjectPayload, + "UpdateProjectColumnPayload": UpdateProjectColumnPayload, + "UpdateProjectCardPayload": UpdateProjectCardPayload, + "UpdatePatreonSponsorabilityPayload": UpdatePatreonSponsorabilityPayload, + "UpdateOrganizationWebCommitSignoffSettingPayload": UpdateOrganizationWebCommitSignoffSettingPayload, + "UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload": UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload, + "UpdateNotificationRestrictionSettingPayload": UpdateNotificationRestrictionSettingPayload, + "UpdateLabelPayload": UpdateLabelPayload, + "UpdateIssueCommentPayload": UpdateIssueCommentPayload, + "UpdateIpAllowListForInstalledAppsEnabledSettingPayload": UpdateIpAllowListForInstalledAppsEnabledSettingPayload, + "UpdateIpAllowListEntryPayload": UpdateIpAllowListEntryPayload, + "UpdateIpAllowListEnabledSettingPayload": UpdateIpAllowListEnabledSettingPayload, + "UpdateEnvironmentPayload": UpdateEnvironmentPayload, + "UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload": UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload, + "UpdateEnterpriseTeamDiscussionsSettingPayload": UpdateEnterpriseTeamDiscussionsSettingPayload, + "UpdateEnterpriseRepositoryProjectsSettingPayload": UpdateEnterpriseRepositoryProjectsSettingPayload, + "UpdateEnterpriseProfilePayload": UpdateEnterpriseProfilePayload, + "UpdateEnterpriseOrganizationProjectsSettingPayload": UpdateEnterpriseOrganizationProjectsSettingPayload, + "UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload": UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload, + "UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload": UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload, + "UpdateEnterpriseMembersCanMakePurchasesSettingPayload": UpdateEnterpriseMembersCanMakePurchasesSettingPayload, + "UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload": UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload, + "UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload": UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload, + "UpdateEnterpriseMembersCanDeleteIssuesSettingPayload": UpdateEnterpriseMembersCanDeleteIssuesSettingPayload, + "UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload": UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload, + "UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload": UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload, + "UpdateEnterpriseDefaultRepositoryPermissionSettingPayload": UpdateEnterpriseDefaultRepositoryPermissionSettingPayload, + "UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload": UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload, + "UpdateDiscussionPayload": UpdateDiscussionPayload, + "UpdateDiscussionCommentPayload": UpdateDiscussionCommentPayload, + "UpdateCheckSuitePreferencesPayload": UpdateCheckSuitePreferencesPayload, + "UpdateCheckSuitePreferencesInput": UpdateCheckSuitePreferencesInput, + "UpdateCheckRunPayload": UpdateCheckRunPayload, + "UpdateBranchProtectionRulePayload": UpdateBranchProtectionRulePayload, + "UpdateBranchProtectionRuleInput": UpdateBranchProtectionRuleInput, + "UnresolveReviewThreadPayload": UnresolveReviewThreadPayload, + "UnpinIssuePayload": UnpinIssuePayload, + "UnminimizeCommentPayload": UnminimizeCommentPayload, + "UnmarkProjectV2AsTemplatePayload": UnmarkProjectV2AsTemplatePayload, + "UnmarkIssueAsDuplicatePayload": UnmarkIssueAsDuplicatePayload, + "UnmarkFileAsViewedPayload": UnmarkFileAsViewedPayload, + "UnmarkDiscussionCommentAsAnswerPayload": UnmarkDiscussionCommentAsAnswerPayload, + "UnlinkProjectV2FromTeamPayload": UnlinkProjectV2FromTeamPayload, + "UnlinkProjectV2FromRepositoryPayload": UnlinkProjectV2FromRepositoryPayload, + "UnknownSignature": UnknownSignature, + "UnfollowUserPayload": UnfollowUserPayload, + "UnfollowOrganizationPayload": UnfollowOrganizationPayload, + "UnarchiveRepositoryPayload": UnarchiveRepositoryPayload, + "UnarchiveProjectV2ItemPayload": UnarchiveProjectV2ItemPayload, + "TransferIssuePayload": TransferIssuePayload, + "TransferEnterpriseOrganizationPayload": TransferEnterpriseOrganizationPayload, + "TopicAuditEntryData": TopicAuditEntryData, + "TeamAuditEntryData": TeamAuditEntryData, + "SubmitPullRequestReviewPayload": SubmitPullRequestReviewPayload, + "StartRepositoryMigrationPayload": StartRepositoryMigrationPayload, + "StartOrganizationMigrationPayload": StartOrganizationMigrationPayload, + "Starrable": Starrable, + "SshSignature": SshSignature, + "SmimeSignature": SmimeSignature, + "SetUserInteractionLimitPayload": SetUserInteractionLimitPayload, + "SetRepositoryInteractionLimitPayload": SetRepositoryInteractionLimitPayload, + "SetOrganizationInteractionLimitPayload": SetOrganizationInteractionLimitPayload, + "SetEnterpriseIdentityProviderPayload": SetEnterpriseIdentityProviderPayload, + "RevokeEnterpriseOrganizationsMigratorRolePayload": RevokeEnterpriseOrganizationsMigratorRolePayload, + "RetireSponsorsTierPayload": RetireSponsorsTierPayload, + "ResolveReviewThreadPayload": ResolveReviewThreadPayload, + "RerequestCheckSuitePayload": RerequestCheckSuitePayload, + "RepositoryNode": RepositoryNode, + "RepositoryDiscussionCommentAuthor": RepositoryDiscussionCommentAuthor, + "RepositoryDiscussionAuthor": RepositoryDiscussionAuthor, + "RepositoryAuditEntryData": RepositoryAuditEntryData, + "ReopenPullRequestPayload": ReopenPullRequestPayload, + "ReopenIssuePayload": ReopenIssuePayload, + "ReopenDiscussionPayload": ReopenDiscussionPayload, + "RemoveUpvotePayload": RemoveUpvotePayload, + "RemoveStarPayload": RemoveStarPayload, + "RemoveOutsideCollaboratorPayload": RemoveOutsideCollaboratorPayload, + "RemoveLabelsFromLabelablePayload": RemoveLabelsFromLabelablePayload, + "RemoveEnterpriseIdentityProviderPayload": RemoveEnterpriseIdentityProviderPayload, + "RemoveAssigneesFromAssignablePayload": RemoveAssigneesFromAssignablePayload, + "RejectDeploymentsPayload": RejectDeploymentsPayload, + "RegenerateEnterpriseIdentityProviderRecoveryCodesPayload": RegenerateEnterpriseIdentityProviderRecoveryCodesPayload, + "PublishSponsorsTierPayload": PublishSponsorsTierPayload, + "ProjectV2Recent": ProjectV2Recent, + "ProjectV2FieldCommon": ProjectV2FieldCommon, + "ProjectColumnImport": ProjectColumnImport, + "PinIssuePayload": PinIssuePayload, + "PackageTag": PackageTag, + "PackageOwner": PackageOwner, + "OrganizationsHovercardContext": OrganizationsHovercardContext, + "OrganizationTeamsHovercardContext": OrganizationTeamsHovercardContext, + "OrganizationAuditEntryData": OrganizationAuditEntryData, + "MoveProjectColumnPayload": MoveProjectColumnPayload, + "MoveProjectCardPayload": MoveProjectCardPayload, + "MinimizeCommentPayload": MinimizeCommentPayload, + "Migration": Migration, + "MergeBranchPayload": MergeBranchPayload, + "MemberStatusable": MemberStatusable, + "MarkPullRequestReadyForReviewPayload": MarkPullRequestReadyForReviewPayload, + "MarkProjectV2AsTemplatePayload": MarkProjectV2AsTemplatePayload, + "MarkNotificationAsDonePayload": MarkNotificationAsDonePayload, + "MarkFileAsViewedPayload": MarkFileAsViewedPayload, + "MarkDiscussionCommentAsAnswerPayload": MarkDiscussionCommentAsAnswerPayload, + "LinkProjectV2ToTeamPayload": LinkProjectV2ToTeamPayload, + "LinkProjectV2ToRepositoryPayload": LinkProjectV2ToRepositoryPayload, + "InviteEnterpriseAdminPayload": InviteEnterpriseAdminPayload, + "ImportProjectPayload": ImportProjectPayload, + "ImportProjectInput": ImportProjectInput, + "GrantEnterpriseOrganizationsMigratorRolePayload": GrantEnterpriseOrganizationsMigratorRolePayload, + "GpgSignature": GpgSignature, + "FollowUserPayload": FollowUserPayload, + "FollowOrganizationPayload": FollowOrganizationPayload, + "EnqueuePullRequestPayload": EnqueuePullRequestPayload, + "DismissRepositoryVulnerabilityAlertPayload": DismissRepositoryVulnerabilityAlertPayload, + "DismissPullRequestReviewPayload": DismissPullRequestReviewPayload, + "DequeuePullRequestPayload": DequeuePullRequestPayload, + "DeleteVerifiableDomainPayload": DeleteVerifiableDomainPayload, + "DeleteUserListPayload": DeleteUserListPayload, + "DeletePullRequestReviewPayload": DeletePullRequestReviewPayload, + "DeleteProjectV2WorkflowPayload": DeleteProjectV2WorkflowPayload, + "DeleteProjectV2Payload": DeleteProjectV2Payload, + "DeleteProjectV2FieldPayload": DeleteProjectV2FieldPayload, + "DeleteProjectPayload": DeleteProjectPayload, + "DeleteProjectColumnPayload": DeleteProjectColumnPayload, + "DeleteProjectCardPayload": DeleteProjectCardPayload, + "DeleteLinkedBranchPayload": DeleteLinkedBranchPayload, + "DeleteIssuePayload": DeleteIssuePayload, + "DeleteIpAllowListEntryPayload": DeleteIpAllowListEntryPayload, + "DeleteDiscussionPayload": DeleteDiscussionPayload, + "DeleteDiscussionCommentPayload": DeleteDiscussionCommentPayload, + "DeclineTopicSuggestionPayload": DeclineTopicSuggestionPayload, + "CreateTeamDiscussionPayload": CreateTeamDiscussionPayload, + "CreateTeamDiscussionCommentPayload": CreateTeamDiscussionCommentPayload, + "CreateSponsorshipsPayload": CreateSponsorshipsPayload, + "CreateSponsorshipsInput": CreateSponsorshipsInput, + "CreateSponsorshipPayload": CreateSponsorshipPayload, + "CreateSponsorsTierPayload": CreateSponsorsTierPayload, + "CreateSponsorsListingPayload": CreateSponsorsListingPayload, + "CreateRepositoryRulesetPayload": CreateRepositoryRulesetPayload, + "CreateRepositoryPayload": CreateRepositoryPayload, + "CreateRefPayload": CreateRefPayload, + "CreatePullRequestPayload": CreatePullRequestPayload, + "CreateProjectV2Payload": CreateProjectV2Payload, + "CreateProjectV2FieldPayload": CreateProjectV2FieldPayload, + "CreateProjectV2FieldInput": CreateProjectV2FieldInput, + "CreateProjectPayload": CreateProjectPayload, + "CreateMigrationSourcePayload": CreateMigrationSourcePayload, + "CreateLabelPayload": CreateLabelPayload, + "CreateIssuePayload": CreateIssuePayload, + "CreateIpAllowListEntryPayload": CreateIpAllowListEntryPayload, + "CreateEnvironmentPayload": CreateEnvironmentPayload, + "CreateDiscussionPayload": CreateDiscussionPayload, + "CreateDeploymentStatusPayload": CreateDeploymentStatusPayload, + "CreateDeploymentPayload": CreateDeploymentPayload, + "CreateCheckSuitePayload": CreateCheckSuitePayload, + "CreateCheckRunPayload": CreateCheckRunPayload, + "CreateBranchProtectionRulePayload": CreateBranchProtectionRulePayload, + "CreateBranchProtectionRuleInput": CreateBranchProtectionRuleInput, + "CopyProjectV2Payload": CopyProjectV2Payload, + "ConvertPullRequestToDraftPayload": ConvertPullRequestToDraftPayload, + "ConvertProjectCardNoteToIssuePayload": ConvertProjectCardNoteToIssuePayload, + "Contribution": Contribution, + "ClosePullRequestPayload": ClosePullRequestPayload, + "CloseIssuePayload": CloseIssuePayload, + "CloseDiscussionPayload": CloseDiscussionPayload, + "CloneTemplateRepositoryPayload": CloneTemplateRepositoryPayload, + "CloneProjectPayload": CloneProjectPayload, + "ClearProjectV2ItemFieldValuePayload": ClearProjectV2ItemFieldValuePayload, + "ClearLabelsFromLabelablePayload": ClearLabelsFromLabelablePayload, + "ChangeUserStatusPayload": ChangeUserStatusPayload, + "CancelSponsorshipPayload": CancelSponsorshipPayload, + "CancelEnterpriseAdminInvitationPayload": CancelEnterpriseAdminInvitationPayload, + "Blob": Blob, + "ArchiveRepositoryPayload": ArchiveRepositoryPayload, + "ArchiveProjectV2ItemPayload": ArchiveProjectV2ItemPayload, + "ApproveVerifiableDomainPayload": ApproveVerifiableDomainPayload, + "ApproveDeploymentsPayload": ApproveDeploymentsPayload, + "AddVerifiableDomainPayload": AddVerifiableDomainPayload, + "AddUpvotePayload": AddUpvotePayload, + "AddStarPayload": AddStarPayload, + "AddPullRequestReviewThreadReplyPayload": AddPullRequestReviewThreadReplyPayload, + "AddPullRequestReviewThreadPayload": AddPullRequestReviewThreadPayload, + "AddProjectV2ItemByIdPayload": AddProjectV2ItemByIdPayload, + "AddProjectV2DraftIssuePayload": AddProjectV2DraftIssuePayload, + "AddLabelsToLabelablePayload": AddLabelsToLabelablePayload, + "AddEnterpriseOrganizationMemberPayload": AddEnterpriseOrganizationMemberPayload, + "AddDiscussionPollVotePayload": AddDiscussionPollVotePayload, + "AddDiscussionCommentPayload": AddDiscussionCommentPayload, + "AddAssigneesToAssignablePayload": AddAssigneesToAssignablePayload, + "AcceptTopicSuggestionPayload": AcceptTopicSuggestionPayload, + "AcceptEnterpriseAdministratorInvitationPayload": AcceptEnterpriseAdministratorInvitationPayload, +} diff --git a/tests/output/github_nodesc/gql_simple_types.py b/tests/output/github_nodesc/gql_simple_types.py index fb529cb..65e17c5 100644 --- a/tests/output/github_nodesc/gql_simple_types.py +++ b/tests/output/github_nodesc/gql_simple_types.py @@ -1,1345 +1,1632 @@ -from typing import Generic, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from .enums import * -from .scalars import * -from .type_refs import * +from dataclasses import dataclass +from typing import Optional + +from .enums import ( + ActorType, + AuditLogOrderField, + CheckConclusionState, + CheckStatusState, + CommentCannotUpdateReason, + DeploymentStatusState, + DiscussionCloseReason, + DiscussionOrderField, + EnterpriseAdministratorInvitationOrderField, + EnterpriseAdministratorRole, + EnterpriseDefaultRepositoryPermissionSettingValue, + EnterpriseEnabledDisabledSettingValue, + EnterpriseMembersCanCreateRepositoriesSettingValue, + EnterpriseMembersCanMakePurchasesSettingValue, + EnterpriseOrderField, + EnterpriseServerInstallationOrderField, + EnterpriseServerUserAccountOrderField, + EnvironmentOrderField, + FileViewedState, + FundingPlatform, + GistOrderField, + IssueCommentOrderField, + IssueOrderField, + LockReason, + MannequinOrderField, + MergeQueueMergingStrategy, + MigrationSourceType, + MilestoneOrderField, + OrderDirection, + OrganizationMemberRole, + OrganizationMigrationState, + PackageFileOrderField, + PatchStatus, + ProjectOrderField, + ProjectV2ItemFieldValueOrderField, + ProjectV2Roles, + ProjectV2SingleSelectFieldOptionColor, + ProjectV2ViewOrderField, + PullRequestMergeMethod, + PullRequestReviewDecision, + PullRequestUpdateState, + RefOrderField, + ReportedContentClassifiers, + RepositoryInteractionLimit, + RepositoryInteractionLimitExpiry, + RepositoryInvitationOrderField, + RepositoryOrderField, + RepositoryPermission, + RepositoryRulesetBypassActorBypassMode, + RepositoryVisibility, + RoleInOrganization, + SamlDigestAlgorithm, + SamlSignatureAlgorithm, + SavedReplyOrderField, + SecurityAdvisoryEcosystem, + SecurityAdvisoryIdentifierType, + SocialAccountProvider, + SponsorOrderField, + SponsorsActivityOrderField, + SponsorsCountryOrRegionCode, + SponsorshipOrderField, + SponsorshipPrivacy, + SponsorsTierOrderField, + StatusState, + SubscriptionState, + TeamDiscussionOrderField, + TeamOrderField, + ThreadSubscriptionFormAction, + ThreadSubscriptionState, + UserStatusOrderField, + WorkflowRunOrderField, +) +from .scalars import ID, URI, Base64String, Date, DateTime, GitObjectID + + +@dataclass(kw_only=True) +class AbortQueuedMigrationsInput: + client_mutation_id: Optional[str] = None + owner_id: ID + + +@dataclass(kw_only=True) +class AbortRepositoryMigrationInput: + client_mutation_id: Optional[str] = None + migration_id: ID + + +@dataclass(kw_only=True) +class AcceptEnterpriseAdministratorInvitationInput: + client_mutation_id: Optional[str] = None + invitation_id: ID + + +@dataclass(kw_only=True) +class Actor: + avatar_url: URI + login: str + resource_path: URI + url: URI + + +@dataclass(kw_only=True) +class AddAssigneesToAssignableInput: + assignable_id: ID + assignee_ids: list[ID] + client_mutation_id: Optional[str] = None + + +@dataclass(kw_only=True) +class AddDiscussionCommentInput: + body: str + client_mutation_id: Optional[str] = None + discussion_id: ID + reply_to_id: Optional[ID] = None + + +@dataclass(kw_only=True) +class AddEnterpriseOrganizationMemberInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + organization_id: ID + role: Optional[OrganizationMemberRole] = None + user_ids: list[ID] + + +@dataclass(kw_only=True) +class AddEnterpriseSupportEntitlementPayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None + + +@dataclass(kw_only=True) +class AddProjectCardInput: + client_mutation_id: Optional[str] = None + content_id: Optional[ID] = None + note: Optional[str] = None + project_column_id: ID + + +@dataclass(kw_only=True) +class AddProjectV2DraftIssueInput: + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + project_id: ID + title: str + + +@dataclass(kw_only=True) +class AddPullRequestReviewCommentInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + commit_o_i_d: Optional[GitObjectID] = None + in_reply_to: Optional[ID] = None + path: Optional[str] = None + position: Optional[int] = None + pull_request_id: Optional[ID] = None + pull_request_review_id: Optional[ID] = None -class KISEW_anyPinnableItems_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - type: PinnableItemType - _args: boolArgs +@dataclass(kw_only=True) +class AddPullRequestReviewThreadReplyInput: + body: str + client_mutation_id: Optional[str] = None + pull_request_review_id: Optional[ID] = None + pull_request_review_thread_id: ID +@dataclass(kw_only=True) +class AddStarInput: + client_mutation_id: Optional[str] = None + starrable_id: ID -class KXYTK_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - _args: URIArgs +@dataclass(kw_only=True) +class AddVerifiableDomainInput: + client_mutation_id: Optional[str] = None + domain: URI + owner_id: ID +@dataclass(kw_only=True) +class ApproveDeploymentsInput: + client_mutation_id: Optional[str] = None + comment: Optional[str] = None + environment_ids: list[ID] + workflow_run_id: ID -class POFHR_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - _args: URIArgs +@dataclass(kw_only=True) +class ArchiveProjectV2ItemInput: + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID +@dataclass(kw_only=True) +class AuditLogOrder: + direction: Optional[OrderDirection] = None + field: Optional[AuditLogOrderField] = None -class HQOKI_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - _args: URIArgs +@dataclass(kw_only=True) +class BranchNamePatternParameters: + name: Optional[str] = None + negate: bool + operator: str + pattern: str +@dataclass(kw_only=True) +class BulkSponsorship: + amount: int + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None -class KFLRK_HTML_Field(ArguedStr): - class HTMLArgs(GQLArgsSet, GQLObject): - limit: int - _args: HTMLArgs +@dataclass(kw_only=True) +class CWE: + cwe_id: str + description: str + id: ID + name: str +@dataclass(kw_only=True) +class CancelSponsorshipInput: + client_mutation_id: Optional[str] = None + sponsor_id: Optional[ID] = None + sponsor_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None -class WAVPH_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - _args: URIArgs +@dataclass(kw_only=True) +class CheckAnnotationPosition: + column: Optional[int] = None + line: int +@dataclass(kw_only=True) +class CheckRunAction: + description: str + identifier: str + label: str -class QUYEZ_totalSponsorshipAmountAsSponsorInCents_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - since: DateTime - until: DateTime - sponsorableLogins: list[NonNull_str] - _args: intArgs +@dataclass(kw_only=True) +class CheckRunOutputImage: + alt: str + caption: Optional[str] = None + image_url: URI +@dataclass(kw_only=True) +class CheckStep: + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + external_id: Optional[str] = None + name: str + number: int + seconds_to_completion: Optional[int] = None + started_at: Optional[DateTime] = None + status: CheckStatusState -class ICQLW_isSponsoredBy_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - accountLogin: NonNull_str - _args: boolArgs +@dataclass(kw_only=True) +class CheckSuiteFilter: + app_id: Optional[int] = None + check_name: Optional[str] = None +@dataclass(kw_only=True) +class ClearProjectV2ItemFieldValueInput: + client_mutation_id: Optional[str] = None + field_id: ID + item_id: ID + project_id: ID -class WSHCQ_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - _args: URIArgs +@dataclass(kw_only=True) +class CloneTemplateRepositoryInput: + client_mutation_id: Optional[str] = None + description: Optional[str] = None + include_all_branches: Optional[bool] = None + name: str + owner_id: ID + repository_id: ID + visibility: RepositoryVisibility +@dataclass(kw_only=True) +class CloseDiscussionInput: + client_mutation_id: Optional[str] = None + discussion_id: ID + reason: Optional[DiscussionCloseReason] = None -class VEATV_anyPinnableItems_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - type: PinnableItemType - _args: boolArgs +@dataclass(kw_only=True) +class ClosePullRequestInput: + client_mutation_id: Optional[str] = None + pull_request_id: ID +@dataclass(kw_only=True) +class CommitAuthor: + emails: Optional[list[str]] = None + id: Optional[ID] = None -class HJMVV_totalSponsorshipAmountAsSponsorInCents_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - since: DateTime - until: DateTime - sponsorableLogins: list[NonNull_str] - _args: intArgs +@dataclass(kw_only=True) +class CommitAuthorEmailPatternParametersInput: + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str + + +@dataclass(kw_only=True) +class CommitMessage: + body: Optional[str] = None + headline: str +@dataclass(kw_only=True) +class CommitMessagePatternParametersInput: + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str -class YGKUA_organizationVerifiedDomainEmails_Field(ArguedStr): - class strArgs(GQLArgsSet, GQLObject): - login: NonNull_str - _args: strArgs +@dataclass(kw_only=True) +class CommitterEmailPatternParameters: + name: Optional[str] = None + negate: bool + operator: str + pattern: str + + +@dataclass(kw_only=True) +class ContributingGuidelines: + body: Optional[str] = None + resource_path: Optional[URI] = None + url: Optional[URI] = None + + +@dataclass(kw_only=True) +class ContributionCalendarMonth: + first_day: Date + name: str + total_weeks: int + year: int + + +@dataclass(kw_only=True) +class ConvertProjectCardNoteToIssueInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + project_card_id: ID + repository_id: ID + title: Optional[str] = None + + +@dataclass(kw_only=True) +class CopyProjectV2Input: + client_mutation_id: Optional[str] = None + include_draft_issues: Optional[bool] = None + owner_id: ID + project_id: ID + title: str + + +@dataclass(kw_only=True) +class CreateCheckSuiteInput: + client_mutation_id: Optional[str] = None + head_sha: GitObjectID + repository_id: ID + + +@dataclass(kw_only=True) +class CreateDeploymentStatusInput: + auto_inactive: Optional[bool] = None + client_mutation_id: Optional[str] = None + deployment_id: ID + description: Optional[str] = None + environment: Optional[str] = None + environment_url: Optional[str] = None + log_url: Optional[str] = None + state: DeploymentStatusState + + +@dataclass(kw_only=True) +class CreateEnterpriseOrganizationInput: + admin_logins: list[str] + billing_email: str + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str + profile_name: str + + +@dataclass(kw_only=True) +class CreateIpAllowListEntryInput: + allow_list_value: str + client_mutation_id: Optional[str] = None + is_active: bool + name: Optional[str] = None + owner_id: ID + + +@dataclass(kw_only=True) +class CreateLabelInput: + client_mutation_id: Optional[str] = None + color: str + description: Optional[str] = None + name: str + repository_id: ID + + +@dataclass(kw_only=True) +class CreateMigrationSourceInput: + access_token: Optional[str] = None + client_mutation_id: Optional[str] = None + github_pat: Optional[str] = None + name: str + owner_id: ID + type: MigrationSourceType + url: Optional[str] = None + + +@dataclass(kw_only=True) +class CreateProjectV2Input: + client_mutation_id: Optional[str] = None + owner_id: ID + repository_id: Optional[ID] = None + team_id: Optional[ID] = None + title: str +@dataclass(kw_only=True) +class CreateRefInput: + client_mutation_id: Optional[str] = None + name: str + oid: GitObjectID + repository_id: ID + + +@dataclass(kw_only=True) +class CreateSponsorsListingInput: + billing_country_or_region_code: Optional[SponsorsCountryOrRegionCode] = None + client_mutation_id: Optional[str] = None + contact_email: Optional[str] = None + fiscal_host_login: Optional[str] = None + fiscally_hosted_project_profile_url: Optional[str] = None + full_description: Optional[str] = None + residence_country_or_region_code: Optional[SponsorsCountryOrRegionCode] = None + sponsorable_login: Optional[str] = None + -class RLUJY_isSponsoredBy_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - accountLogin: NonNull_str +@dataclass(kw_only=True) +class CreateSponsorshipInput: + amount: Optional[int] = None + client_mutation_id: Optional[str] = None + is_recurring: Optional[bool] = None + privacy_level: Optional[SponsorshipPrivacy] = None + receive_emails: Optional[bool] = None + sponsor_id: Optional[ID] = None + sponsor_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None + tier_id: Optional[ID] = None - _args: boolArgs +@dataclass(kw_only=True) +class CreateTeamDiscussionInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + private: Optional[bool] = None + team_id: Optional[ID] = None + title: Optional[str] = None -class XNNAF_canReceiveOrganizationEmailsWhenNotificationsRestricted_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - login: NonNull_str +@dataclass(kw_only=True) +class DeclineTopicSuggestionInput: + client_mutation_id: Optional[str] = None + name: Optional[str] = None + reason: Optional[TopicSuggestionDeclineReason] = None + repository_id: Optional[ID] = None - _args: boolArgs +@dataclass(kw_only=True) +class DeleteBranchProtectionRuleInput: + branch_protection_rule_id: ID + client_mutation_id: Optional[str] = None -class FVDOD_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int +@dataclass(kw_only=True) +class DeleteDeploymentInput: + client_mutation_id: Optional[str] = None + id: ID - _args: URIArgs +@dataclass(kw_only=True) +class DeleteDiscussionCommentInput: + client_mutation_id: Optional[str] = None + id: ID -class KNSCJ_anyPinnableItems_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - type: PinnableItemType +@dataclass(kw_only=True) +class DeleteEnvironmentInput: + client_mutation_id: Optional[str] = None + id: ID - _args: boolArgs +@dataclass(kw_only=True) +class DeleteIpAllowListEntryInput: + client_mutation_id: Optional[str] = None + ip_allow_list_entry_id: ID -class FZWIV_totalSponsorshipAmountAsSponsorInCents_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - since: DateTime - until: DateTime - sponsorableLogins: list[NonNull_str] +@dataclass(kw_only=True) +class DeleteIssueCommentPayload: + client_mutation_id: Optional[str] = None - _args: intArgs +@dataclass(kw_only=True) +class DeleteLabelInput: + client_mutation_id: Optional[str] = None + id: ID -class VYVTZ_isSponsoredBy_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - accountLogin: NonNull_str +@dataclass(kw_only=True) +class DeleteLinkedBranchInput: + client_mutation_id: Optional[str] = None + linked_branch_id: ID - _args: boolArgs +@dataclass(kw_only=True) +class DeletePackageVersionPayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None -class ZKQVF_text_Field(ArguedStr): - class strArgs(GQLArgsSet, GQLObject): - truncate: int +@dataclass(kw_only=True) +class DeleteProjectColumnInput: + client_mutation_id: Optional[str] = None + column_id: ID - _args: strArgs +@dataclass(kw_only=True) +class DeleteProjectV2FieldInput: + client_mutation_id: Optional[str] = None + field_id: ID -class RESLG_totalRepositoryContributions_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - excludeFirst: bool +@dataclass(kw_only=True) +class DeleteProjectV2ItemInput: + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID - _args: intArgs +@dataclass(kw_only=True) +class DeleteProjectV2WorkflowInput: + client_mutation_id: Optional[str] = None + workflow_id: ID -class CLSWT_totalRepositoriesWithContributedPullRequests_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class DeletePullRequestReviewInput: + client_mutation_id: Optional[str] = None + pull_request_review_id: ID - _args: intArgs +@dataclass(kw_only=True) +class DeleteRefPayload: + client_mutation_id: Optional[str] = None -class AZLBL_totalRepositoriesWithContributedIssues_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class DeleteRepositoryRulesetPayload: + client_mutation_id: Optional[str] = None - _args: intArgs +@dataclass(kw_only=True) +class DeleteTeamDiscussionCommentPayload: + client_mutation_id: Optional[str] = None -class TDTJO_totalPullRequestContributions_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class DeleteTeamDiscussionPayload: + client_mutation_id: Optional[str] = None - _args: intArgs +@dataclass(kw_only=True) +class DeleteVerifiableDomainInput: + client_mutation_id: Optional[str] = None + id: ID -class QGEPN_totalIssueContributions_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class DeployKey: + created_at: DateTime + id: ID + key: str + read_only: bool + title: str + verified: bool - _args: intArgs +@dataclass(kw_only=True) +class DequeuePullRequestInput: + client_mutation_id: Optional[str] = None + id: ID -class IKYAO_isRequired_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - pullRequestId: ID - pullRequestNumber: int +@dataclass(kw_only=True) +class DiscussionOrder: + direction: OrderDirection + field: DiscussionOrderField - _args: boolArgs +@dataclass(kw_only=True) +class DismissPullRequestReviewInput: + client_mutation_id: Optional[str] = None + message: str + pull_request_review_id: ID -class QXSLW_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int +@dataclass(kw_only=True) +class DraftPullRequestReviewComment: + body: str + path: str + position: int - _args: URIArgs +@dataclass(kw_only=True) +class EnablePullRequestAutoMergeInput: + author_email: Optional[str] = None + client_mutation_id: Optional[str] = None + commit_body: Optional[str] = None + commit_headline: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + merge_method: Optional[PullRequestMergeMethod] = None + pull_request_id: ID -class ZJXHH_isRequired_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - pullRequestId: ID - pullRequestNumber: int +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitationOrder: + direction: OrderDirection + field: EnterpriseAdministratorInvitationOrderField - _args: boolArgs +@dataclass(kw_only=True) +class EnterpriseBillingInfo: + all_licensable_users_count: int + asset_packs: int + bandwidth_quota: float + bandwidth_usage: float + bandwidth_usage_percentage: int + storage_quota: float + storage_usage: float + storage_usage_percentage: int + total_available_licenses: int + total_licenses: int -class NOIEG_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int +@dataclass(kw_only=True) +class EnterpriseOrder: + direction: OrderDirection + field: EnterpriseOrderField - _args: URIArgs +@dataclass(kw_only=True) +class EnterpriseServerInstallationOrder: + direction: OrderDirection + field: EnterpriseServerInstallationOrderField -class PMXXT_viewerMergeHeadlineText_Field(ArguedStr): - class strArgs(GQLArgsSet, GQLObject): - mergeType: PullRequestMergeMethod +@dataclass(kw_only=True) +class EnterpriseServerUserAccountOrder: + direction: OrderDirection + field: EnterpriseServerUserAccountOrderField - _args: strArgs +@dataclass(kw_only=True) +class Environments: + direction: OrderDirection + field: EnvironmentOrderField -class SCKMP_viewerMergeBodyText_Field(ArguedStr): - class strArgs(GQLArgsSet, GQLObject): - mergeType: PullRequestMergeMethod +@dataclass(kw_only=True) +class FileAddition: + contents: Base64String + path: str - _args: strArgs +@dataclass(kw_only=True) +class FollowOrganizationInput: + client_mutation_id: Optional[str] = None + organization_id: ID -class GVDQD_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int +@dataclass(kw_only=True) +class FundingLink: + platform: FundingPlatform + url: URI - _args: URIArgs +@dataclass(kw_only=True) +class GistOrder: + direction: OrderDirection + field: GistOrderField -class JQEWT_trackedIssuesCount_Field(ArguedInt): - class intArgs(GQLArgsSet, GQLObject): - states: list[TrackedIssueStates] +@dataclass(kw_only=True) +class GrantEnterpriseOrganizationsMigratorRoleInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str - _args: intArgs +@dataclass(kw_only=True) +class GrantMigratorRolePayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None -class ADGTL_HTML_Field(ArguedStr): - class HTMLArgs(GQLArgsSet, GQLObject): - limit: int +@dataclass(kw_only=True) +class InviteEnterpriseAdminInput: + client_mutation_id: Optional[str] = None + email: Optional[str] = None + enterprise_id: ID + invitee: Optional[str] = None + role: Optional[EnterpriseAdministratorRole] = None - _args: HTMLArgs +@dataclass(kw_only=True) +class IssueCommentOrder: + direction: OrderDirection + field: IssueCommentOrderField -class AKNUG_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int +@dataclass(kw_only=True) +class IssueOrder: + direction: OrderDirection + field: IssueOrderField - _args: URIArgs +@dataclass(kw_only=True) +class Language: + color: Optional[str] = None + id: ID + name: str -class VNUPO_HTML_Field(ArguedStr): - class HTMLArgs(GQLArgsSet, GQLObject): - limit: int +@dataclass(kw_only=True) +class LicenseRule: + description: str + key: str + label: str - _args: HTMLArgs +@dataclass(kw_only=True) +class LinkProjectV2ToTeamInput: + client_mutation_id: Optional[str] = None + project_id: ID + team_id: ID -class VSLJM_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int +@dataclass(kw_only=True) +class LockLockableInput: + client_mutation_id: Optional[str] = None + lock_reason: Optional[LockReason] = None + lockable_id: ID - _args: URIArgs +@dataclass(kw_only=True) +class MannequinOrder: + direction: OrderDirection + field: MannequinOrderField -class WorkflowRunOrder(GQLObject): - field: WorkflowRunOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class MarkFileAsViewedInput: + client_mutation_id: Optional[str] = None + path: str + pull_request_id: ID -class VerifyVerifiableDomainInput(GQLObject): - id: ID - clientMutationId: str -class UserStatusOrder(GQLObject): - field: UserStatusOrderField - direction: OrderDirection +@dataclass(kw_only=True) +class MarkProjectV2AsTemplateInput: + client_mutation_id: Optional[str] = None + project_id: ID -class UpdateTopicsInput(GQLObject): - repositoryId: ID - topicNames: list[str] - clientMutationId: str -class UpdateTeamDiscussionInput(GQLObject): - id: ID - title: str - body: str - bodyVersion: str - pinned: bool - clientMutationId: str +@dataclass(kw_only=True) +class MarketplaceCategory: + description: Optional[str] = None + how_it_works: Optional[str] = None + id: ID + name: str + primary_listing_count: int + resource_path: URI + secondary_listing_count: int + slug: str + url: URI -class UpdateSubscriptionInput(GQLObject): - subscribableId: ID - state: SubscriptionState - clientMutationId: str -class UpdateRepositoryWebCommitSignoffSettingInput(GQLObject): - repositoryId: ID - webCommitSignoffRequired: bool - clientMutationId: str +@dataclass(kw_only=True) +class MergeBranchInput: + author_email: Optional[str] = None + base: str + client_mutation_id: Optional[str] = None + commit_message: Optional[str] = None + head: str + repository_id: ID -class UpdateRefInput(GQLObject): - refId: ID - oid: GitObjectID - force: bool - clientMutationId: str -class UpdatePullRequestReviewCommentInput(GQLObject): - pullRequestReviewCommentId: ID - body: str - clientMutationId: str +@dataclass(kw_only=True) +class MergeQueueConfiguration: + check_response_timeout: Optional[int] = None + maximum_entries_to_build: Optional[int] = None + maximum_entries_to_merge: Optional[int] = None + merge_method: Optional[PullRequestMergeMethod] = None + merging_strategy: Optional[MergeQueueMergingStrategy] = None + minimum_entries_to_merge: Optional[int] = None + minimum_entries_to_merge_wait_time: Optional[int] = None -class UpdatePullRequestBranchInput(GQLObject): - pullRequestId: ID - expectedHeadOid: GitObjectID - updateMethod: PullRequestBranchUpdateMethod - clientMutationId: str -class UpdateProjectV2Input(GQLObject): - projectId: ID - title: str - shortDescription: str - readme: str - closed: bool - public: bool - clientMutationId: str - -class UpdateProjectInput(GQLObject): - projectId: ID - name: str - body: str - state: ProjectState - public: bool - clientMutationId: str - -class UpdateProjectCardInput(GQLObject): - projectCardId: ID - isArchived: bool - note: str - clientMutationId: str - -class UpdateParameters(GQLObject): - updateAllowsFetchAndMerge: bool - -class UpdateOrganizationAllowPrivateRepositoryForkingSettingInput(GQLObject): - organizationId: ID - forkingEnabled: bool - clientMutationId: str - -class UpdateIssueInput(GQLObject): - id: ID - title: str - body: str - assigneeIds: list[ID] - milestoneId: ID - labelIds: list[ID] - state: IssueState - projectIds: list[ID] - clientMutationId: str - -class UpdateIpAllowListForInstalledAppsEnabledSettingInput(GQLObject): - ownerId: ID - settingValue: IpAllowListForInstalledAppsEnabledSettingValue - clientMutationId: str - -class UpdateIpAllowListEnabledSettingInput(GQLObject): - ownerId: ID - settingValue: IpAllowListEnabledSettingValue - clientMutationId: str - -class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledSettingValue - clientMutationId: str - -class UpdateEnterpriseRepositoryProjectsSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseOwnerOrganizationRolePayload(GQLObject): - clientMutationId: str - message: str - -class UpdateEnterpriseOrganizationProjectsSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanDeleteIssuesSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - policyValue: EnterpriseAllowPrivateRepositoryForkingPolicyValue - clientMutationId: str - -class UpdateEnterpriseAdministratorRoleInput(GQLObject): - enterpriseId: ID - login: str - role: EnterpriseAdministratorRole - clientMutationId: str - -class UpdateDiscussionCommentInput(GQLObject): - commentId: ID - body: str - clientMutationId: str - -class Updatable(GQLObject): - viewerCanUpdate: bool - -class UnpinIssueInput(GQLObject): - issueId: ID - clientMutationId: str - -class UnmarkProjectV2AsTemplateInput(GQLObject): - projectId: ID - clientMutationId: str - -class UnmarkFileAsViewedInput(GQLObject): - pullRequestId: ID - path: str - clientMutationId: str - -class UnlockLockableInput(GQLObject): - lockableId: ID - clientMutationId: str - -class UnlinkProjectV2FromTeamInput(GQLObject): - projectId: ID - teamId: ID - clientMutationId: str - -class UniformResourceLocatable(GQLObject): - resourcePath: URI - url: URI - -class UnfollowOrganizationInput(GQLObject): - organizationId: ID - clientMutationId: str - -class UnarchiveProjectV2ItemInput(GQLObject): - projectId: ID - itemId: ID - clientMutationId: str - -class TransferEnterpriseOrganizationInput(GQLObject): - organizationId: ID - destinationEnterpriseId: ID - clientMutationId: str - -class TeamRepositoryOrder(GQLObject): - field: TeamRepositoryOrderField - direction: OrderDirection - -class TeamMemberOrder(GQLObject): - field: TeamMemberOrderField - direction: OrderDirection - -class TeamDiscussionCommentOrder(GQLObject): - field: TeamDiscussionCommentOrderField - direction: OrderDirection - -class TagNamePatternParameters(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class Subscribable(GQLObject): - id: ID - viewerCanSubscribe: bool - viewerSubscription: SubscriptionState - -class SubmitPullRequestReviewInput(GQLObject): - pullRequestId: ID - pullRequestReviewId: ID - event: PullRequestReviewEvent - body: str - clientMutationId: str - -class StatusCheckConfigurationInput(GQLObject): - context: str - integrationId: int - -class StartRepositoryMigrationInput(GQLObject): - sourceId: ID - ownerId: ID - sourceRepositoryUrl: URI - repositoryName: str - continueOnError: bool - gitArchiveUrl: str - metadataArchiveUrl: str - accessToken: str - githubPat: str - skipReleases: bool - targetRepoVisibility: str - lockSource: bool - clientMutationId: str - -class StarOrder(GQLObject): - field: StarOrderField - direction: OrderDirection - -class SponsorshipNewsletterOrder(GQLObject): - field: SponsorshipNewsletterOrderField - direction: OrderDirection - -class SponsorsGoal(GQLObject): - description: str - kind: SponsorsGoalKind - percentComplete: int - targetValue: int - title: str - -class SponsorableOrder(GQLObject): - field: SponsorableOrderField - direction: OrderDirection - -class SocialAccount(GQLObject): - displayName: str - provider: SocialAccountProvider - url: URI - -class SetRepositoryInteractionLimitInput(GQLObject): - repositoryId: ID - limit: RepositoryInteractionLimit - expiry: RepositoryInteractionLimitExpiry - clientMutationId: str - -class SetEnterpriseIdentityProviderInput(GQLObject): - enterpriseId: ID - ssoUrl: URI - issuer: str - idpCertificate: str - signatureMethod: SamlSignatureAlgorithm - digestMethod: SamlDigestAlgorithm - clientMutationId: str - -class SecurityAdvisoryReference(GQLObject): - url: URI - -class SecurityAdvisoryPackage(GQLObject): - ecosystem: SecurityAdvisoryEcosystem - name: str - -class SecurityAdvisoryIdentifierFilter(GQLObject): - type: SecurityAdvisoryIdentifierType - value: str - -class SavedReplyOrder(GQLObject): - field: SavedReplyOrderField - direction: OrderDirection - -class RevokeMigratorRoleInput(GQLObject): - organizationId: ID - actor: str - actorType: ActorType - clientMutationId: str - -class ReviewStatusHovercardContext(GQLObject): - message: str - octicon: str - reviewDecision: PullRequestReviewDecision - -class RetireSponsorsTierInput(GQLObject): - tierId: ID - clientMutationId: str - -class RerequestCheckSuiteInput(GQLObject): - repositoryId: ID - checkSuiteId: ID - clientMutationId: str - -class RequiredDeploymentsParametersInput(GQLObject): - requiredDeploymentEnvironments: list[str] - -class FYIJK_isRequired_Field(ArguedBool): - class boolArgs(GQLArgsSet, GQLObject): - pullRequestId: ID - pullRequestNumber: int - - _args: boolArgs - - - -class RequestReviewsInput(GQLObject): - pullRequestId: ID - userIds: list[ID] - teamIds: list[ID] - union: bool - clientMutationId: str - -class RepositoryOrder(GQLObject): - field: RepositoryOrderField - direction: OrderDirection - -class RepositoryNameConditionTarget(GQLObject): - exclude: list[str] - include: list[str] - protected: bool - -class RepositoryInvitationOrder(GQLObject): - field: RepositoryInvitationOrderField - direction: OrderDirection - -class RepositoryIdConditionTargetInput(GQLObject): - repositoryIds: list[ID] - -class RepositoryContactLink(GQLObject): - about: str - name: str - url: URI - -class ReopenPullRequestInput(GQLObject): - pullRequestId: ID - clientMutationId: str - -class ReopenDiscussionInput(GQLObject): - discussionId: ID - clientMutationId: str - -class RemoveStarInput(GQLObject): - starrableId: ID - clientMutationId: str - -class RemoveOutsideCollaboratorInput(GQLObject): - userId: ID - organizationId: ID - clientMutationId: str - -class RemoveEnterpriseSupportEntitlementPayload(GQLObject): - clientMutationId: str - message: str - -class RemoveEnterpriseOrganizationInput(GQLObject): - enterpriseId: ID - organizationId: ID - clientMutationId: str - -class RemoveEnterpriseIdentityProviderInput(GQLObject): - enterpriseId: ID - clientMutationId: str - -class RemoveAssigneesFromAssignableInput(GQLObject): - assignableId: ID - assigneeIds: list[ID] - clientMutationId: str - -class RejectDeploymentsInput(GQLObject): - workflowRunId: ID - environmentIds: list[ID] - comment: str - clientMutationId: str - -class RegenerateVerifiableDomainTokenInput(GQLObject): - id: ID - clientMutationId: str - -class RefUpdateRule(GQLObject): - allowsDeletions: bool - allowsForcePushes: bool - blocksCreations: bool - pattern: str - requiredApprovingReviewCount: int - requiredStatusCheckContexts: list[str] - requiresCodeOwnerReviews: bool - requiresConversationResolution: bool - requiresLinearHistory: bool - requiresSignatures: bool - viewerAllowedToDismissReviews: bool - viewerCanPush: bool - -class RefNameConditionTargetInput(GQLObject): - exclude: list[str] - include: list[str] - -class ReactionOrder(GQLObject): - field: ReactionOrderField - direction: OrderDirection - -class PullRequestParametersInput(GQLObject): - dismissStaleReviewsOnPush: bool - requireCodeOwnerReview: bool - requireLastPushApproval: bool - requiredApprovingReviewCount: int - requiredReviewThreadResolution: bool - -class PullRequestOrder(GQLObject): - field: PullRequestOrderField - direction: OrderDirection - -class PublishSponsorsTierInput(GQLObject): - tierId: ID - clientMutationId: str - -class ProjectV2WorkflowOrder(GQLObject): - field: ProjectV2WorkflowsOrderField - direction: OrderDirection - -class ProjectV2SingleSelectFieldOptionInput(GQLObject): - name: str - color: ProjectV2SingleSelectFieldOptionColor - description: str - -class ProjectV2Order(GQLObject): - field: ProjectV2OrderField - direction: OrderDirection - -class ProjectV2ItemOrder(GQLObject): - field: ProjectV2ItemOrderField - direction: OrderDirection - -class ProjectV2Filters(GQLObject): - state: ProjectV2State - -class ProjectV2FieldOrder(GQLObject): - field: ProjectV2FieldOrderField - direction: OrderDirection - -class ProjectProgress(GQLObject): - doneCount: int - donePercentage: float - enabled: bool - inProgressCount: int - inProgressPercentage: float - todoCount: int - todoPercentage: float - -class PinIssueInput(GQLObject): - issueId: ID - clientMutationId: str - -class PackageVersionStatistics(GQLObject): - downloadsTotalCount: int - -class PackageStatistics(GQLObject): - downloadsTotalCount: int - -class PackageFileOrder(GQLObject): - field: PackageFileOrderField - direction: OrderDirection - -class OrganizationMigration(GQLObject): - createdAt: DateTime - databaseId: str - failureReason: str - id: ID - remainingRepositoriesCount: int - sourceOrgName: str - sourceOrgUrl: URI - state: OrganizationMigrationState - targetOrgName: str - totalRepositoriesCount: int - -class OauthApplicationAuditEntryData(GQLObject): - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - -class MoveProjectColumnInput(GQLObject): - columnId: ID - afterColumnId: ID - clientMutationId: str - -class MinimizeCommentInput(GQLObject): - subjectId: ID - classifier: ReportedContentClassifiers - clientMutationId: str - -class MilestoneOrder(GQLObject): - field: MilestoneOrderField - direction: OrderDirection - -class MergeQueueConfiguration(GQLObject): - checkResponseTimeout: int - maximumEntriesToBuild: int - maximumEntriesToMerge: int - mergeMethod: PullRequestMergeMethod - mergingStrategy: MergeQueueMergingStrategy - minimumEntriesToMerge: int - minimumEntriesToMergeWaitTime: int - -class MergeBranchInput(GQLObject): - repositoryId: ID - base: str - head: str - commitMessage: str - authorEmail: str - clientMutationId: str - -class MarkPullRequestReadyForReviewInput(GQLObject): - pullRequestId: ID - clientMutationId: str - -class MarkFileAsViewedInput(GQLObject): - pullRequestId: ID - path: str - clientMutationId: str - -class MannequinOrder(GQLObject): - field: MannequinOrderField - direction: OrderDirection - -class LockLockableInput(GQLObject): - lockableId: ID - lockReason: LockReason - clientMutationId: str - -class LinkProjectV2ToTeamInput(GQLObject): - projectId: ID - teamId: ID - clientMutationId: str - -class LicenseRule(GQLObject): - description: str - key: str - label: str - -class Language(GQLObject): - color: str - id: ID - name: str - -class IssueOrder(GQLObject): - field: IssueOrderField - direction: OrderDirection - -class IssueCommentOrder(GQLObject): - field: IssueCommentOrderField - direction: OrderDirection - -class InviteEnterpriseAdminInput(GQLObject): - enterpriseId: ID - invitee: str - email: str - role: EnterpriseAdministratorRole - clientMutationId: str - -class GrantMigratorRolePayload(GQLObject): - clientMutationId: str - success: bool - -class GrantEnterpriseOrganizationsMigratorRoleInput(GQLObject): - enterpriseId: ID - login: str - clientMutationId: str - -class GistOrder(GQLObject): - field: GistOrderField - direction: OrderDirection - -class FundingLink(GQLObject): - platform: FundingPlatform - url: URI - -class FollowOrganizationInput(GQLObject): - organizationId: ID - clientMutationId: str - -class FileAddition(GQLObject): - path: str - contents: Base64String - -class Environments(GQLObject): - field: EnvironmentOrderField - direction: OrderDirection - -class EnterpriseServerUserAccountOrder(GQLObject): - field: EnterpriseServerUserAccountOrderField - direction: OrderDirection - -class EnterpriseServerInstallationOrder(GQLObject): - field: EnterpriseServerInstallationOrderField - direction: OrderDirection - -class EnterpriseMemberOrder(GQLObject): - field: EnterpriseMemberOrderField - direction: OrderDirection - -class EnterpriseAuditEntryData(GQLObject): - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - -class EnqueuePullRequestInput(GQLObject): - pullRequestId: ID - jump: bool - expectedHeadOid: GitObjectID - clientMutationId: str - -class DraftPullRequestReviewThread(GQLObject): - path: str - line: int - side: DiffSide - startLine: int - startSide: DiffSide - body: str - -class DismissRepositoryVulnerabilityAlertInput(GQLObject): - repositoryVulnerabilityAlertId: ID - dismissReason: DismissReason - clientMutationId: str - -class DiscussionPollOptionOrder(GQLObject): - field: DiscussionPollOptionOrderField - direction: OrderDirection - -class DisablePullRequestAutoMergeInput(GQLObject): - pullRequestId: ID - clientMutationId: str - -class DeploymentOrder(GQLObject): - field: DeploymentOrderField - direction: OrderDirection - -class DependabotUpdateError(GQLObject): - body: str - errorType: str - title: str - -class DeleteTeamDiscussionPayload(GQLObject): - clientMutationId: str - -class DeleteTeamDiscussionCommentPayload(GQLObject): - clientMutationId: str - -class DeleteRepositoryRulesetPayload(GQLObject): - clientMutationId: str - -class DeleteRefPayload(GQLObject): - clientMutationId: str - -class DeletePullRequestReviewInput(GQLObject): - pullRequestReviewId: ID - clientMutationId: str - -class DeleteProjectV2WorkflowInput(GQLObject): - workflowId: ID - clientMutationId: str - -class DeleteProjectV2ItemInput(GQLObject): - projectId: ID - itemId: ID - clientMutationId: str - -class DeleteProjectV2FieldInput(GQLObject): - fieldId: ID - clientMutationId: str - -class DeleteProjectColumnInput(GQLObject): - columnId: ID - clientMutationId: str - -class DeleteLinkedBranchInput(GQLObject): - linkedBranchId: ID - clientMutationId: str - -class DeleteIssueCommentPayload(GQLObject): - clientMutationId: str - -class DeleteIpAllowListEntryInput(GQLObject): - ipAllowListEntryId: ID - clientMutationId: str - -class DeleteEnvironmentInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteDiscussionCommentInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteDeploymentInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteBranchProtectionRuleInput(GQLObject): - branchProtectionRuleId: ID - clientMutationId: str - -class DeclineTopicSuggestionInput(GQLObject): - repositoryId: ID - name: str - reason: TopicSuggestionDeclineReason - clientMutationId: str - -class CreateTeamDiscussionCommentInput(GQLObject): - discussionId: ID - body: str - clientMutationId: str - -class CreateSponsorsTierInput(GQLObject): - sponsorableId: ID - sponsorableLogin: str - amount: int - isRecurring: bool - repositoryId: ID - repositoryOwnerLogin: str - repositoryName: str - welcomeMessage: str - description: str - publish: bool - clientMutationId: str - -class CreateRepositoryInput(GQLObject): - name: str - ownerId: ID - description: str - visibility: RepositoryVisibility - template: bool - homepageUrl: URI - hasWikiEnabled: bool - hasIssuesEnabled: bool - teamId: ID - clientMutationId: str - -class CreatePullRequestInput(GQLObject): - repositoryId: ID - baseRefName: str - headRefName: str - headRepositoryId: ID - title: str - body: str - maintainerCanModify: bool - draft: bool - clientMutationId: str - -class CreateProjectInput(GQLObject): - ownerId: ID - name: str - body: str - template: ProjectTemplate - repositoryIds: list[ID] - clientMutationId: str - -class CreateLinkedBranchInput(GQLObject): - issueId: ID - oid: GitObjectID - name: str - repositoryId: ID - clientMutationId: str - -class CreateIpAllowListEntryInput(GQLObject): - ownerId: ID - allowListValue: str - name: str - isActive: bool - clientMutationId: str - -class CreateEnterpriseOrganizationInput(GQLObject): - enterpriseId: ID - login: str - profileName: str - billingEmail: str - adminLogins: list[str] - clientMutationId: str - -class CreateCheckSuiteInput(GQLObject): - repositoryId: ID - headSha: GitObjectID - clientMutationId: str - -class CopyProjectV2Input(GQLObject): - projectId: ID - ownerId: ID - title: str - includeDraftIssues: bool - clientMutationId: str - -class ConvertProjectCardNoteToIssueInput(GQLObject): - projectCardId: ID - repositoryId: ID - title: str - body: str - clientMutationId: str - -class ContributionCalendarMonth(GQLObject): - firstDay: Date - name: str - totalWeeks: int - year: int - -class CommitterEmailPatternParametersInput(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class CommittableBranch(GQLObject): - id: ID - repositoryNameWithOwner: str - branchName: str - -class CommitMessagePatternParameters(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class CommitContributionOrder(GQLObject): - field: CommitContributionOrderField - direction: OrderDirection - -class CommitAuthorEmailPatternParameters(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class CodeOfConduct(GQLObject): - body: str - id: ID - key: str - name: str - resourcePath: URI - url: URI - -class CloseIssueInput(GQLObject): - issueId: ID - stateReason: IssueClosedStateReason - clientMutationId: str - -class Closable(GQLObject): - closed: bool - closedAt: DateTime - viewerCanClose: bool - viewerCanReopen: bool - -class CloneProjectInput(GQLObject): - targetOwnerId: ID - sourceId: ID - includeWorkflows: bool - name: str - body: str - public: bool - clientMutationId: str - -class ClearLabelsFromLabelableInput(GQLObject): - labelableId: ID - clientMutationId: str - -class CheckSuiteAutoTriggerPreference(GQLObject): - appId: ID - setting: bool - -class CheckRunStateCount(GQLObject): - count: int - state: CheckRunState - -class CheckRunFilter(GQLObject): - checkType: CheckRunType - appId: int - checkName: str - status: CheckStatusState - statuses: list[CheckStatusState] - conclusions: list[CheckConclusionState] - -class CheckAnnotationRange(GQLObject): - startLine: int - startColumn: int - endLine: int - endColumn: int - -class ChangeUserStatusInput(GQLObject): - emoji: str - message: str - organizationId: ID - limitedAvailability: bool - expiresAt: DateTime - clientMutationId: str - -class CancelEnterpriseAdminInvitationInput(GQLObject): - invitationId: ID - clientMutationId: str - -class CVSS(GQLObject): - score: float - vectorString: str - -class BranchNamePatternParametersInput(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class NVXRV_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - - _args: URIArgs - - - -class AuditLogOrder(GQLObject): - field: AuditLogOrderField - direction: OrderDirection - -class ArchiveProjectV2ItemInput(GQLObject): - projectId: ID - itemId: ID - clientMutationId: str - -class ApproveDeploymentsInput(GQLObject): - workflowRunId: ID - environmentIds: list[ID] - comment: str - clientMutationId: str - -class AddVerifiableDomainInput(GQLObject): - ownerId: ID - domain: URI - clientMutationId: str - -class AddStarInput(GQLObject): - starrableId: ID - clientMutationId: str - -class AddPullRequestReviewThreadReplyInput(GQLObject): - pullRequestReviewId: ID - pullRequestReviewThreadId: ID - body: str - clientMutationId: str - -class AddPullRequestReviewCommentInput(GQLObject): - pullRequestId: ID - pullRequestReviewId: ID - commitOID: GitObjectID - body: str - path: str - position: int - inReplyTo: ID - clientMutationId: str - -class AddProjectV2DraftIssueInput(GQLObject): - projectId: ID - title: str - body: str - assigneeIds: list[ID] - clientMutationId: str - -class AddProjectCardInput(GQLObject): - projectColumnId: ID - contentId: ID - note: str - clientMutationId: str - -class AddEnterpriseSupportEntitlementPayload(GQLObject): - clientMutationId: str - message: str - -class AddEnterpriseOrganizationMemberInput(GQLObject): - enterpriseId: ID - organizationId: ID - userIds: list[ID] - role: OrganizationMemberRole - clientMutationId: str - -class AddDiscussionCommentInput(GQLObject): - discussionId: ID - replyToId: ID - body: str - clientMutationId: str - -class AddAssigneesToAssignableInput(GQLObject): - assignableId: ID - assigneeIds: list[ID] - clientMutationId: str - -class MJKUR_URI_Field(ArguedStr): - class URIArgs(GQLArgsSet, GQLObject): - size: int - - _args: URIArgs - - - -class AcceptTopicSuggestionInput(GQLObject): - repositoryId: ID - name: str - clientMutationId: str - -class AbortQueuedMigrationsPayload(GQLObject): - clientMutationId: str - success: bool +@dataclass(kw_only=True) +class MilestoneOrder: + direction: OrderDirection + field: MilestoneOrderField + + +@dataclass(kw_only=True) +class MinimizeCommentInput: + classifier: ReportedContentClassifiers + client_mutation_id: Optional[str] = None + subject_id: ID + + +@dataclass(kw_only=True) +class MoveProjectColumnInput: + after_column_id: Optional[ID] = None + client_mutation_id: Optional[str] = None + column_id: ID + + +@dataclass(kw_only=True) +class OauthApplicationAuditEntryData: + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrganizationMigration: + created_at: DateTime + database_id: Optional[str] = None + failure_reason: Optional[str] = None + id: ID + remaining_repositories_count: Optional[int] = None + source_org_name: str + source_org_url: URI + state: OrganizationMigrationState + target_org_name: str + total_repositories_count: Optional[int] = None + + +@dataclass(kw_only=True) +class PackageFileOrder: + direction: Optional[OrderDirection] = None + field: Optional[PackageFileOrderField] = None + + +@dataclass(kw_only=True) +class PackageStatistics: + downloads_total_count: int + + +@dataclass(kw_only=True) +class PackageVersionStatistics: + downloads_total_count: int + + +@dataclass(kw_only=True) +class PinIssueInput: + client_mutation_id: Optional[str] = None + issue_id: ID + + +@dataclass(kw_only=True) +class ProjectOrder: + direction: OrderDirection + field: ProjectOrderField + + +@dataclass(kw_only=True) +class ProjectV2Collaborator: + role: ProjectV2Roles + team_id: Optional[ID] = None + user_id: Optional[ID] = None + + +@dataclass(kw_only=True) +class ProjectV2FieldValue: + date: Optional[Date] = None + iteration_id: Optional[str] = None + number: Optional[float] = None + single_select_option_id: Optional[str] = None + text: Optional[str] = None + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueOrder: + direction: OrderDirection + field: ProjectV2ItemFieldValueOrderField + + +@dataclass(kw_only=True) +class ProjectV2IterationFieldIteration: + duration: int + id: str + start_date: Date + title: str + title_h_t_m_l: str + + +@dataclass(kw_only=True) +class ProjectV2SingleSelectFieldOption: + color: ProjectV2SingleSelectFieldOptionColor + description: str + description_h_t_m_l: str + id: str + name: str + name_h_t_m_l: str + + +@dataclass(kw_only=True) +class ProjectV2ViewOrder: + direction: OrderDirection + field: ProjectV2ViewOrderField + + +@dataclass(kw_only=True) +class PropertyTargetDefinition: + name: str + property_values: list[str] + + +@dataclass(kw_only=True) +class PublicKey: + accessed_at: Optional[DateTime] = None + created_at: Optional[DateTime] = None + fingerprint: str + id: ID + is_read_only: Optional[bool] = None + key: str + updated_at: Optional[DateTime] = None + + +@dataclass(kw_only=True) +class PullRequestChangedFile: + additions: int + change_type: PatchStatus + deletions: int + path: str + viewer_viewed_state: FileViewedState + + +@dataclass(kw_only=True) +class PullRequestParameters: + 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 + + +@dataclass(kw_only=True) +class RateLimit: + cost: int + limit: int + node_count: int + remaining: int + reset_at: DateTime + used: int + + +@dataclass(kw_only=True) +class RefNameConditionTarget: + exclude: list[str] + include: list[str] + + +@dataclass(kw_only=True) +class RefOrder: + direction: OrderDirection + field: RefOrderField + + +@dataclass(kw_only=True) +class RefUpdateRule: + allows_deletions: bool + allows_force_pushes: bool + blocks_creations: bool + pattern: str + required_approving_review_count: Optional[int] = None + required_status_check_contexts: Optional[list[str]] = None + requires_code_owner_reviews: bool + requires_conversation_resolution: bool + requires_linear_history: bool + requires_signatures: bool + viewer_allowed_to_dismiss_reviews: bool + viewer_can_push: bool + + +@dataclass(kw_only=True) +class RegenerateVerifiableDomainTokenInput: + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class RejectDeploymentsInput: + client_mutation_id: Optional[str] = None + comment: Optional[str] = None + environment_ids: list[ID] + workflow_run_id: ID + + +@dataclass(kw_only=True) +class RemoveAssigneesFromAssignableInput: + assignable_id: ID + assignee_ids: list[ID] + client_mutation_id: Optional[str] = None + + +@dataclass(kw_only=True) +class RemoveEnterpriseIdentityProviderInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + + +@dataclass(kw_only=True) +class RemoveEnterpriseOrganizationInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + organization_id: ID + + +@dataclass(kw_only=True) +class RemoveEnterpriseSupportEntitlementPayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None + + +@dataclass(kw_only=True) +class RemoveOutsideCollaboratorInput: + client_mutation_id: Optional[str] = None + organization_id: ID + user_id: ID + + +@dataclass(kw_only=True) +class RemoveStarInput: + client_mutation_id: Optional[str] = None + starrable_id: ID + + +@dataclass(kw_only=True) +class ReopenDiscussionInput: + client_mutation_id: Optional[str] = None + discussion_id: ID + + +@dataclass(kw_only=True) +class ReopenPullRequestInput: + client_mutation_id: Optional[str] = None + pull_request_id: ID + + +@dataclass(kw_only=True) +class RepositoryContactLink: + about: str + name: str + url: URI + + +@dataclass(kw_only=True) +class RepositoryIdConditionTargetInput: + repository_ids: list[ID] + + +@dataclass(kw_only=True) +class RepositoryInvitationOrder: + direction: OrderDirection + field: RepositoryInvitationOrderField + + +@dataclass(kw_only=True) +class RepositoryNameConditionTarget: + exclude: list[str] + include: list[str] + protected: bool + + +@dataclass(kw_only=True) +class RepositoryOrder: + direction: OrderDirection + field: RepositoryOrderField + + +@dataclass(kw_only=True) +class RepositoryRulesetBypassActorInput: + actor_id: Optional[ID] = None + bypass_mode: RepositoryRulesetBypassActorBypassMode + organization_admin: Optional[bool] = None + repository_role_database_id: Optional[int] = None + + +@dataclass(kw_only=True) +class RequirableByPullRequest: + is_required: bool + + +@dataclass(kw_only=True) +class RequiredDeploymentsParametersInput: + required_deployment_environments: list[str] + + +@dataclass(kw_only=True) +class RerequestCheckSuiteInput: + check_suite_id: ID + client_mutation_id: Optional[str] = None + repository_id: ID + + +@dataclass(kw_only=True) +class RetireSponsorsTierInput: + client_mutation_id: Optional[str] = None + tier_id: ID + + +@dataclass(kw_only=True) +class ReviewStatusHovercardContext: + message: str + octicon: str + review_decision: Optional[PullRequestReviewDecision] = None + + +@dataclass(kw_only=True) +class RevokeMigratorRoleInput: + actor: str + actor_type: ActorType + client_mutation_id: Optional[str] = None + organization_id: ID + + +@dataclass(kw_only=True) +class SavedReplyOrder: + direction: OrderDirection + field: SavedReplyOrderField + + +@dataclass(kw_only=True) +class SecurityAdvisoryIdentifierFilter: + type: SecurityAdvisoryIdentifierType + value: str + + +@dataclass(kw_only=True) +class SecurityAdvisoryPackage: + ecosystem: SecurityAdvisoryEcosystem + name: str + + +@dataclass(kw_only=True) +class SecurityAdvisoryReference: + url: URI + + +@dataclass(kw_only=True) +class SetEnterpriseIdentityProviderInput: + client_mutation_id: Optional[str] = None + digest_method: SamlDigestAlgorithm + enterprise_id: ID + idp_certificate: str + issuer: Optional[str] = None + signature_method: SamlSignatureAlgorithm + sso_url: URI + + +@dataclass(kw_only=True) +class SetRepositoryInteractionLimitInput: + client_mutation_id: Optional[str] = None + expiry: Optional[RepositoryInteractionLimitExpiry] = None + limit: RepositoryInteractionLimit + repository_id: ID + + +@dataclass(kw_only=True) +class SocialAccount: + display_name: str + provider: SocialAccountProvider + url: URI + + +@dataclass(kw_only=True) +class SponsorOrder: + direction: OrderDirection + field: SponsorOrderField + + +@dataclass(kw_only=True) +class SponsorsActivityOrder: + direction: OrderDirection + field: SponsorsActivityOrderField + + +@dataclass(kw_only=True) +class SponsorsTierOrder: + direction: OrderDirection + field: SponsorsTierOrderField + + +@dataclass(kw_only=True) +class SponsorshipOrder: + direction: OrderDirection + field: SponsorshipOrderField + + +@dataclass(kw_only=True) +class StartOrganizationMigrationInput: + client_mutation_id: Optional[str] = None + source_access_token: str + source_org_url: URI + target_enterprise_id: ID + target_org_name: str + + +@dataclass(kw_only=True) +class StatusCheckConfiguration: + context: str + integration_id: Optional[int] = None + + +@dataclass(kw_only=True) +class StatusContextStateCount: + count: int + state: StatusState + + +@dataclass(kw_only=True) +class Submodule: + branch: Optional[str] = None + git_url: URI + name: str + name_raw: Base64String + path: str + path_raw: Base64String + subproject_commit_oid: Optional[GitObjectID] = None + + +@dataclass(kw_only=True) +class SubscribableThread: + id: ID + viewer_thread_subscription_form_action: Optional[ + ThreadSubscriptionFormAction + ] = None + viewer_thread_subscription_status: Optional[ThreadSubscriptionState] = None + + +@dataclass(kw_only=True) +class TagNamePatternParametersInput: + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str + + +@dataclass(kw_only=True) +class TeamDiscussionOrder: + direction: OrderDirection + field: TeamDiscussionOrderField + + +@dataclass(kw_only=True) +class TeamOrder: + direction: OrderDirection + field: TeamOrderField + + +@dataclass(kw_only=True) +class TextMatchHighlight: + begin_indice: int + end_indice: int + text: str + + +@dataclass(kw_only=True) +class TransferIssueInput: + client_mutation_id: Optional[str] = None + create_labels_if_missing: Optional[bool] = None + issue_id: ID + repository_id: ID + + +@dataclass(kw_only=True) +class UnarchiveRepositoryInput: + client_mutation_id: Optional[str] = None + repository_id: ID + + +@dataclass(kw_only=True) +class UnfollowUserInput: + client_mutation_id: Optional[str] = None + user_id: ID + + +@dataclass(kw_only=True) +class UnlinkProjectV2FromRepositoryInput: + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID + + +@dataclass(kw_only=True) +class UnlinkRepositoryFromProjectInput: + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID + + +@dataclass(kw_only=True) +class UnmarkDiscussionCommentAsAnswerInput: + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class UnmarkIssueAsDuplicateInput: + canonical_id: ID + client_mutation_id: Optional[str] = None + duplicate_id: ID + + +@dataclass(kw_only=True) +class UnminimizeCommentInput: + client_mutation_id: Optional[str] = None + subject_id: ID + + +@dataclass(kw_only=True) +class UnresolveReviewThreadInput: + client_mutation_id: Optional[str] = None + thread_id: ID + + +@dataclass(kw_only=True) +class UnsubscribeFromNotificationsPayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + + +@dataclass(kw_only=True) +class UpdatableComment: + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + + +@dataclass(kw_only=True) +class UpdateDiscussionInput: + body: Optional[str] = None + category_id: Optional[ID] = None + client_mutation_id: Optional[str] = None + discussion_id: ID + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseAdministratorRolePayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseDefaultRepositoryPermissionSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseDefaultRepositoryPermissionSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanCreateRepositoriesSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + members_can_create_internal_repositories: Optional[bool] = None + members_can_create_private_repositories: Optional[bool] = None + members_can_create_public_repositories: Optional[bool] = None + members_can_create_repositories_policy_enabled: Optional[bool] = None + setting_value: Optional[EnterpriseMembersCanCreateRepositoriesSettingValue] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanMakePurchasesSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseMembersCanMakePurchasesSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue + + +@dataclass(kw_only=True) +class UpdateEnterpriseOwnerOrganizationRoleInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + organization_id: ID + organization_role: RoleInOrganization + + +@dataclass(kw_only=True) +class UpdateEnterpriseProfileInput: + client_mutation_id: Optional[str] = None + description: Optional[str] = None + enterprise_id: ID + location: Optional[str] = None + name: Optional[str] = None + website_url: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateEnterpriseTeamDiscussionsSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue + + +@dataclass(kw_only=True) +class UpdateEnvironmentInput: + client_mutation_id: Optional[str] = None + environment_id: ID + prevent_self_review: Optional[bool] = None + reviewers: Optional[list[ID]] = None + wait_timer: Optional[int] = None + + +@dataclass(kw_only=True) +class UpdateIpAllowListEntryInput: + allow_list_value: str + client_mutation_id: Optional[str] = None + ip_allow_list_entry_id: ID + is_active: bool + name: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateIssueCommentInput: + body: str + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class UpdateLabelInput: + client_mutation_id: Optional[str] = None + color: Optional[str] = None + description: Optional[str] = None + id: ID + name: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateOrganizationAllowPrivateRepositoryForkingSettingInput: + client_mutation_id: Optional[str] = None + forking_enabled: bool + organization_id: ID + + +@dataclass(kw_only=True) +class UpdateParameters: + update_allows_fetch_and_merge: bool + + +@dataclass(kw_only=True) +class UpdatePatreonSponsorabilityInput: + client_mutation_id: Optional[str] = None + enable_patreon_sponsorships: bool + sponsorable_login: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateProjectColumnInput: + client_mutation_id: Optional[str] = None + name: str + project_column_id: ID + + +@dataclass(kw_only=True) +class UpdateProjectV2DraftIssueInput: + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + draft_issue_id: ID + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateProjectV2ItemPositionInput: + after_id: Optional[ID] = None + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID + + +@dataclass(kw_only=True) +class UpdatePullRequestInput: + assignee_ids: Optional[list[ID]] = None + base_ref_name: Optional[str] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + label_ids: Optional[list[ID]] = None + maintainer_can_modify: Optional[bool] = None + milestone_id: Optional[ID] = None + project_ids: Optional[list[ID]] = None + pull_request_id: ID + state: Optional[PullRequestUpdateState] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdatePullRequestReviewInput: + body: str + client_mutation_id: Optional[str] = None + pull_request_review_id: ID + + +@dataclass(kw_only=True) +class UpdateRefsPayload: + client_mutation_id: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateRepositoryWebCommitSignoffSettingInput: + client_mutation_id: Optional[str] = None + repository_id: ID + web_commit_signoff_required: bool + + +@dataclass(kw_only=True) +class UpdateSubscriptionInput: + client_mutation_id: Optional[str] = None + state: SubscriptionState + subscribable_id: ID + + +@dataclass(kw_only=True) +class UpdateTeamDiscussionInput: + body: Optional[str] = None + body_version: Optional[str] = None + client_mutation_id: Optional[str] = None + id: ID + pinned: Optional[bool] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateTeamsRepositoryInput: + client_mutation_id: Optional[str] = None + permission: RepositoryPermission + repository_id: ID + team_ids: list[ID] + + +@dataclass(kw_only=True) +class UpdateUserListInput: + client_mutation_id: Optional[str] = None + description: Optional[str] = None + is_private: Optional[bool] = None + list_id: ID + name: Optional[str] = None + + +@dataclass(kw_only=True) +class UserEmailMetadata: + primary: Optional[bool] = None + type: Optional[str] = None + value: str + + +@dataclass(kw_only=True) +class UserStatusOrder: + direction: OrderDirection + field: UserStatusOrderField + + +@dataclass(kw_only=True) +class VerifyVerifiableDomainInput: + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class WorkflowFileReference: + path: str + ref: Optional[str] = None + repository_id: int + sha: Optional[str] = None + + +@dataclass(kw_only=True) +class WorkflowRunOrder: + direction: OrderDirection + field: WorkflowRunOrderField diff --git a/tests/output/github_nodesc/gql_types.py b/tests/output/github_nodesc/gql_types.py index 7dbc326..6d88749 100644 --- a/tests/output/github_nodesc/gql_types.py +++ b/tests/output/github_nodesc/gql_types.py @@ -1,13211 +1,9432 @@ -from typing import Generic, Union, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from typing import NewType -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class Votable(GQLObject): - upvoteCount: int - viewerCanUpvote: bool - viewerHasUpvoted: bool - -class VerifiableDomainOrder(GQLObject): - field: VerifiableDomainOrderField - direction: OrderDirection - -class UserEmailMetadata(GQLObject): - primary: bool - type: str - value: str - -class UpdateTeamsRepositoryInput(GQLObject): - repositoryId: ID - teamIds: list[ID] - permission: RepositoryPermission - clientMutationId: str - -class UpdateTeamDiscussionCommentInput(GQLObject): - id: ID - body: str - bodyVersion: str - clientMutationId: str - -class UpdateSponsorshipPreferencesInput(GQLObject): - sponsorId: ID - sponsorLogin: str - sponsorableId: ID - sponsorableLogin: str - receiveEmails: bool - privacyLevel: SponsorshipPrivacy - clientMutationId: str - -class UpdateRepositoryInput(GQLObject): - repositoryId: ID - name: str - description: str - template: bool - homepageUrl: URI - hasWikiEnabled: bool - hasIssuesEnabled: bool - hasProjectsEnabled: bool - hasDiscussionsEnabled: bool - clientMutationId: str - -class UpdatePullRequestReviewInput(GQLObject): - pullRequestReviewId: ID - body: str - clientMutationId: str - -class UpdatePullRequestInput(GQLObject): - pullRequestId: ID - baseRefName: str - title: str - body: str - state: PullRequestUpdateState - maintainerCanModify: bool - assigneeIds: list[ID] - milestoneId: ID - labelIds: list[ID] - projectIds: list[ID] - clientMutationId: str - -class UpdateProjectV2ItemPositionInput(GQLObject): - projectId: ID - itemId: ID - afterId: ID - clientMutationId: str - -class UpdateProjectV2DraftIssueInput(GQLObject): - draftIssueId: ID - title: str - body: str - assigneeIds: list[ID] - clientMutationId: str - -class UpdateProjectColumnInput(GQLObject): - projectColumnId: ID - name: str - clientMutationId: str - -class UpdateParametersInput(GQLObject): - updateAllowsFetchAndMerge: bool - -class UpdateOrganizationWebCommitSignoffSettingInput(GQLObject): - organizationId: ID - webCommitSignoffRequired: bool - clientMutationId: str - -class UpdateNotificationRestrictionSettingInput(GQLObject): - ownerId: ID - settingValue: NotificationRestrictionSettingValue - clientMutationId: str - -class UpdateIssueCommentInput(GQLObject): - id: ID - body: str - clientMutationId: str - -class UpdateIpAllowListEntryInput(GQLObject): - ipAllowListEntryId: ID - allowListValue: str - name: str - isActive: bool - clientMutationId: str - -class UpdateEnvironmentInput(GQLObject): - environmentId: ID - waitTimer: int - reviewers: list[ID] - clientMutationId: str - -class UpdateEnterpriseTeamDiscussionsSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseProfileInput(GQLObject): - enterpriseId: ID - name: str - description: str - websiteUrl: str - location: str - clientMutationId: str - -class UpdateEnterpriseOwnerOrganizationRoleInput(GQLObject): - enterpriseId: ID - organizationId: ID - organizationRole: RoleInOrganization - clientMutationId: str - -class UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanMakePurchasesSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseMembersCanMakePurchasesSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseEnabledDisabledSettingValue - clientMutationId: str - -class UpdateEnterpriseMembersCanCreateRepositoriesSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseMembersCanCreateRepositoriesSettingValue - membersCanCreateRepositoriesPolicyEnabled: bool - membersCanCreatePublicRepositories: bool - membersCanCreatePrivateRepositories: bool - membersCanCreateInternalRepositories: bool - clientMutationId: str - -class UpdateEnterpriseDefaultRepositoryPermissionSettingInput(GQLObject): - enterpriseId: ID - settingValue: EnterpriseDefaultRepositoryPermissionSettingValue - clientMutationId: str - -class UpdateEnterpriseAdministratorRolePayload(GQLObject): - clientMutationId: str - message: str - -class UpdateDiscussionInput(GQLObject): - discussionId: ID - title: str - body: str - categoryId: ID - clientMutationId: str - -class UpdatableComment(GQLObject): - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - -class UnresolveReviewThreadInput(GQLObject): - threadId: ID - clientMutationId: str - -class UnminimizeCommentInput(GQLObject): - subjectId: ID - clientMutationId: str - -class UnmarkIssueAsDuplicateInput(GQLObject): - duplicateId: ID - canonicalId: ID - clientMutationId: str - -class UnmarkDiscussionCommentAsAnswerInput(GQLObject): - id: ID - clientMutationId: str - -class UnlinkRepositoryFromProjectInput(GQLObject): - projectId: ID - repositoryId: ID - clientMutationId: str - -class UnlinkProjectV2FromRepositoryInput(GQLObject): - projectId: ID - repositoryId: ID - clientMutationId: str - -class UnfollowUserInput(GQLObject): - userId: ID - clientMutationId: str - -class UnarchiveRepositoryInput(GQLObject): - repositoryId: ID - clientMutationId: str - -class TransferIssueInput(GQLObject): - issueId: ID - repositoryId: ID - createLabelsIfMissing: bool - clientMutationId: str - -class TextMatchHighlight(GQLObject): - beginIndice: int - endIndice: int - text: str - -class TeamOrder(GQLObject): - field: TeamOrderField - direction: OrderDirection - -class TeamDiscussionOrder(GQLObject): - field: TeamDiscussionOrderField - direction: OrderDirection - -class TagNamePatternParametersInput(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class SubscribableThread(GQLObject): - id: ID - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction - viewerThreadSubscriptionStatus: ThreadSubscriptionState - -class Submodule(GQLObject): - branch: str - gitUrl: URI - name: str - nameRaw: Base64String - path: str - pathRaw: Base64String - subprojectCommitOid: GitObjectID - -class StatusContextStateCount(GQLObject): - count: int - state: StatusState - -class StatusCheckConfiguration(GQLObject): - context: str - integrationId: int - -class StartOrganizationMigrationInput(GQLObject): - sourceOrgUrl: URI - targetOrgName: str - targetEnterpriseId: ID - sourceAccessToken: str - clientMutationId: str - -class SponsorshipOrder(GQLObject): - field: SponsorshipOrderField - direction: OrderDirection - -class SponsorsTierOrder(GQLObject): - field: SponsorsTierOrderField - direction: OrderDirection - -class SponsorsActivityOrder(GQLObject): - field: SponsorsActivityOrderField - direction: OrderDirection - -class SponsorOrder(GQLObject): - field: SponsorOrderField - direction: OrderDirection - -class SetUserInteractionLimitInput(GQLObject): - userId: ID - limit: RepositoryInteractionLimit - expiry: RepositoryInteractionLimitExpiry - clientMutationId: str - -class SetOrganizationInteractionLimitInput(GQLObject): - organizationId: ID - limit: RepositoryInteractionLimit - expiry: RepositoryInteractionLimitExpiry - clientMutationId: str - -class SecurityVulnerabilityOrder(GQLObject): - field: SecurityVulnerabilityOrderField - direction: OrderDirection - -class SecurityAdvisoryPackageVersion(GQLObject): - identifier: str - -class SecurityAdvisoryOrder(GQLObject): - field: SecurityAdvisoryOrderField - direction: OrderDirection - -class SecurityAdvisoryIdentifier(GQLObject): - type: str - value: str - -class RevokeMigratorRolePayload(GQLObject): - clientMutationId: str - success: bool - -class RevokeEnterpriseOrganizationsMigratorRoleInput(GQLObject): - enterpriseId: ID - login: str - clientMutationId: str - -class RevertPullRequestInput(GQLObject): - pullRequestId: ID - title: str - body: str - draft: bool - clientMutationId: str - -class ResolveReviewThreadInput(GQLObject): - threadId: ID - clientMutationId: str - -class RequiredStatusCheckInput(GQLObject): - context: str - appId: ID - -class RequiredDeploymentsParameters(GQLObject): - requiredDeploymentEnvironments: list[str] - -class RequirableByPullRequest(GQLObject): - isRequired: FYIJK_isRequired_Field - -class RepositoryRulesetBypassActorInput(GQLObject): - actorId: ID - repositoryRoleDatabaseId: int - organizationAdmin: bool - bypassMode: RepositoryRulesetBypassActorBypassMode - -class RepositoryNameConditionTargetInput(GQLObject): - exclude: list[str] - include: list[str] - protected: bool - -class RepositoryMigrationOrder(GQLObject): - field: RepositoryMigrationOrderField - direction: RepositoryMigrationOrderDirection - -class RepositoryInteractionAbility(GQLObject): - expiresAt: DateTime - limit: RepositoryInteractionLimit - origin: RepositoryInteractionLimitOrigin - -class RepositoryIdConditionTarget(GQLObject): - repositoryIds: list[ID] - -class RepositoryCodeownersError(GQLObject): - column: int - kind: str - line: int - message: str - path: str - source: str - suggestion: str - -class ReopenIssueInput(GQLObject): - issueId: ID - clientMutationId: str - -class RemoveUpvoteInput(GQLObject): - subjectId: ID - clientMutationId: str - -class RemoveReactionInput(GQLObject): - subjectId: ID - content: ReactionContent - clientMutationId: str - -class RemoveLabelsFromLabelableInput(GQLObject): - labelableId: ID - labelIds: list[ID] - clientMutationId: str - -class RemoveEnterpriseSupportEntitlementInput(GQLObject): - enterpriseId: ID - login: str - clientMutationId: str - -class RemoveEnterpriseMemberInput(GQLObject): - enterpriseId: ID - userId: ID - clientMutationId: str - -class RemoveEnterpriseAdminInput(GQLObject): - enterpriseId: ID - login: str - clientMutationId: str - -class ReleaseOrder(GQLObject): - field: ReleaseOrderField - direction: OrderDirection - -class RegenerateVerifiableDomainTokenPayload(GQLObject): - clientMutationId: str - verificationToken: str - -class RegenerateEnterpriseIdentityProviderRecoveryCodesInput(GQLObject): - enterpriseId: ID - clientMutationId: str - -class RefOrder(GQLObject): - field: RefOrderField - direction: OrderDirection - -class RefNameConditionTarget(GQLObject): - exclude: list[str] - include: list[str] - -class RateLimit(GQLObject): - cost: int - limit: int - nodeCount: int - remaining: int - resetAt: DateTime - used: int - -class PullRequestParameters(GQLObject): - dismissStaleReviewsOnPush: bool - requireCodeOwnerReview: bool - requireLastPushApproval: bool - requiredApprovingReviewCount: int - requiredReviewThreadResolution: bool - -class PullRequestChangedFile(GQLObject): - additions: int - changeType: PatchStatus - deletions: int - path: str - viewerViewedState: FileViewedState - -class PublicKey(GQLObject): - accessedAt: DateTime - createdAt: DateTime - fingerprint: str - id: ID - isReadOnly: bool - key: str - updatedAt: DateTime - -class ProjectV2ViewOrder(GQLObject): - field: ProjectV2ViewOrderField - direction: OrderDirection - -class ProjectV2SingleSelectFieldOption(GQLObject): - color: ProjectV2SingleSelectFieldOptionColor - description: str - descriptionHTML: str - id: str - name: str - nameHTML: str - -class ProjectV2IterationFieldIteration(GQLObject): - duration: int - id: str - startDate: Date - title: str - titleHTML: str - -class ProjectV2ItemFieldValueOrder(GQLObject): - field: ProjectV2ItemFieldValueOrderField - direction: OrderDirection - -class ProjectV2FieldValue(GQLObject): - text: str - number: float - date: Date - singleSelectOptionId: str - iterationId: str - -class ProjectV2Collaborator(GQLObject): - userId: ID - teamId: ID - role: ProjectV2Roles - -class ProjectOrder(GQLObject): - field: ProjectOrderField - direction: OrderDirection - -class PageInfo(GQLObject): - endCursor: str - hasNextPage: bool - hasPreviousPage: bool - startCursor: str - -class PackageVersionOrder(GQLObject): - field: PackageVersionOrderField - direction: OrderDirection - -class PackageOrder(GQLObject): - field: PackageOrderField - direction: OrderDirection - -class OrganizationOrder(GQLObject): - field: OrganizationOrderField - direction: OrderDirection - -class OrgEnterpriseOwnerOrder(GQLObject): - field: OrgEnterpriseOwnerOrderField - direction: OrderDirection - -class Node(GQLObject): - id: ID - -class MoveProjectCardInput(GQLObject): - cardId: ID - columnId: ID - afterCardId: ID - clientMutationId: str - -class Minimizable(GQLObject): - isMinimized: bool - minimizedReason: str - viewerCanMinimize: bool - -class MigrationSource(GQLObject): - id: ID - name: str - type: MigrationSourceType - url: URI - -class MergePullRequestInput(GQLObject): - pullRequestId: ID - commitHeadline: str - commitBody: str - expectedHeadOid: GitObjectID - mergeMethod: PullRequestMergeMethod - authorEmail: str - clientMutationId: str - -class MarketplaceCategory(GQLObject): - description: str - howItWorks: str - id: ID - name: str - primaryListingCount: int - resourcePath: URI - secondaryListingCount: int - slug: str - url: URI - -class MarkProjectV2AsTemplateInput(GQLObject): - projectId: ID - clientMutationId: str - -class MarkDiscussionCommentAsAnswerInput(GQLObject): - id: ID - clientMutationId: str - -class Lockable(GQLObject): - activeLockReason: LockReason - locked: bool - -class LinkRepositoryToProjectInput(GQLObject): - projectId: ID - repositoryId: ID - clientMutationId: str - -class LinkProjectV2ToRepositoryInput(GQLObject): - projectId: ID - repositoryId: ID - clientMutationId: str - -class LanguageOrder(GQLObject): - field: LanguageOrderField - direction: OrderDirection - -class LabelOrder(GQLObject): - field: LabelOrderField - direction: OrderDirection - -class IssueFilters(GQLObject): - assignee: str - createdBy: str - labels: list[str] - mentioned: str - milestone: str - milestoneNumber: str - since: DateTime - states: list[IssueState] - viewerSubscribed: bool - -class IpAllowListEntryOrder(GQLObject): - field: IpAllowListEntryOrderField - direction: OrderDirection - -class HovercardContext(GQLObject): - message: str - octicon: str - -class GrantMigratorRoleInput(GQLObject): - organizationId: ID - actor: str - actorType: ActorType - clientMutationId: str - -class GitHubMetadata(GQLObject): - gitHubServicesSha: GitObjectID - gitIpAddresses: list[str] - githubEnterpriseImporterIpAddresses: list[str] - hookIpAddresses: list[str] - importerIpAddresses: list[str] - isPasswordAuthenticationVerifiable: bool - pagesIpAddresses: list[str] - -class GenericHovercardContext(GQLObject): - message: str - octicon: str - -class FollowUserInput(GQLObject): - userId: ID - clientMutationId: str - -class FileDeletion(GQLObject): - path: str - -class ExternalIdentityAttribute(GQLObject): - metadata: str - name: str - value: str - -class EnterpriseServerUserAccountsUploadOrder(GQLObject): - field: EnterpriseServerUserAccountsUploadOrderField - direction: OrderDirection - -class EnterpriseServerUserAccountEmailOrder(GQLObject): - field: EnterpriseServerUserAccountEmailOrderField - direction: OrderDirection - -class EnterpriseRepositoryInfo(GQLObject): - id: ID - isPrivate: bool - name: str - nameWithOwner: str - -class EnterpriseBillingInfo(GQLObject): - allLicensableUsersCount: int - assetPacks: int - bandwidthQuota: float - bandwidthUsage: float - bandwidthUsagePercentage: int - storageQuota: float - storageUsage: float - storageUsagePercentage: int - totalAvailableLicenses: int - totalLicenses: int - -class EnterpriseAdministratorInvitationOrder(GQLObject): - field: EnterpriseAdministratorInvitationOrderField - direction: OrderDirection - -class EnablePullRequestAutoMergeInput(GQLObject): - pullRequestId: ID - commitHeadline: str - commitBody: str - mergeMethod: PullRequestMergeMethod - authorEmail: str - expectedHeadOid: GitObjectID - clientMutationId: str - -class DraftPullRequestReviewComment(GQLObject): - path: str - position: int - body: str - -class DismissPullRequestReviewInput(GQLObject): - pullRequestReviewId: ID - message: str - clientMutationId: str - -class DiscussionOrder(GQLObject): - field: DiscussionOrderField - direction: OrderDirection - -class DequeuePullRequestInput(GQLObject): - id: ID - clientMutationId: str - -class DeployKey(GQLObject): - createdAt: DateTime - id: ID - key: str - readOnly: bool - title: str - verified: bool - -class DeleteVerifiableDomainInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteTeamDiscussionInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteTeamDiscussionCommentInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteRepositoryRulesetInput(GQLObject): - repositoryRulesetId: ID - clientMutationId: str - -class DeleteRefInput(GQLObject): - refId: ID - clientMutationId: str - -class DeletePullRequestReviewCommentInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteProjectV2ItemPayload(GQLObject): - clientMutationId: str - deletedItemId: ID - -class DeleteProjectV2Input(GQLObject): - projectId: ID - clientMutationId: str - -class DeleteProjectInput(GQLObject): - projectId: ID - clientMutationId: str - -class DeleteProjectCardInput(GQLObject): - cardId: ID - clientMutationId: str - -class DeleteIssueInput(GQLObject): - issueId: ID - clientMutationId: str - -class DeleteIssueCommentInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteEnvironmentPayload(GQLObject): - clientMutationId: str - -class DeleteDiscussionInput(GQLObject): - id: ID - clientMutationId: str - -class DeleteDeploymentPayload(GQLObject): - clientMutationId: str - -class DeleteBranchProtectionRulePayload(GQLObject): - clientMutationId: str - -class Deletable(GQLObject): - viewerCanDelete: bool - -class CreateTeamDiscussionInput(GQLObject): - teamId: ID - title: str - body: str - private: bool - clientMutationId: str - -class CreateSponsorshipInput(GQLObject): - sponsorId: ID - sponsorLogin: str - sponsorableId: ID - sponsorableLogin: str - tierId: ID - amount: int - isRecurring: bool - receiveEmails: bool - privacyLevel: SponsorshipPrivacy - clientMutationId: str - -class CreateSponsorsListingInput(GQLObject): - sponsorableLogin: str - fiscalHostLogin: str - fiscallyHostedProjectProfileUrl: str - billingCountryOrRegionCode: SponsorsCountryOrRegionCode - residenceCountryOrRegionCode: SponsorsCountryOrRegionCode - contactEmail: str - fullDescription: str - clientMutationId: str - -class CreateRefInput(GQLObject): - repositoryId: ID - name: str - oid: GitObjectID - clientMutationId: str - -class CreateProjectV2Input(GQLObject): - ownerId: ID - title: str - repositoryId: ID - teamId: ID - clientMutationId: str - -class CreateMigrationSourceInput(GQLObject): - name: str - url: str - accessToken: str - type: MigrationSourceType - ownerId: ID - githubPat: str - clientMutationId: str - -class CreateIssueInput(GQLObject): - repositoryId: ID - title: str - body: str - assigneeIds: list[ID] - milestoneId: ID - labelIds: list[ID] - projectIds: list[ID] - issueTemplate: str - clientMutationId: str - -class CreateEnvironmentInput(GQLObject): - repositoryId: ID - name: str - clientMutationId: str - -class CreateDiscussionInput(GQLObject): - repositoryId: ID - title: str - body: str - categoryId: ID - clientMutationId: str - -class CreateAttributionInvitationInput(GQLObject): - ownerId: ID - sourceId: ID - targetId: ID - clientMutationId: str - -class ConvertPullRequestToDraftInput(GQLObject): - pullRequestId: ID - clientMutationId: str - -class ContributionOrder(GQLObject): - direction: OrderDirection - -class ContributionCalendarDay(GQLObject): - color: str - contributionCount: int - contributionLevel: ContributionLevel - date: Date - weekday: int - -class CommitterEmailPatternParameters(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class CommitMessagePatternParametersInput(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class CommitMessage(GQLObject): - headline: str - body: str - -class CommitAuthorEmailPatternParametersInput(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class CommitAuthor(GQLObject): - id: ID - emails: list[str] - -class ClosePullRequestInput(GQLObject): - pullRequestId: ID - clientMutationId: str - -class CloseDiscussionInput(GQLObject): - discussionId: ID - reason: DiscussionCloseReason - clientMutationId: str - -class CloneTemplateRepositoryInput(GQLObject): - repositoryId: ID - name: str - ownerId: ID - description: str - visibility: RepositoryVisibility - includeAllBranches: bool - clientMutationId: str - -class ClearProjectV2ItemFieldValueInput(GQLObject): - projectId: ID - itemId: ID - fieldId: ID - clientMutationId: str - -class CheckSuiteFilter(GQLObject): - appId: int - checkName: str - -class CheckStep(GQLObject): - completedAt: DateTime - conclusion: CheckConclusionState - externalId: str - name: str - number: int - secondsToCompletion: int - startedAt: DateTime - status: CheckStatusState - -class CheckRunOutputImage(GQLObject): - alt: str - imageUrl: URI - caption: str - -class CheckRunAction(GQLObject): - label: str - description: str - identifier: str - -class CheckAnnotationPosition(GQLObject): - column: int - line: int - -class CancelSponsorshipInput(GQLObject): - sponsorId: ID - sponsorLogin: str - sponsorableId: ID - sponsorableLogin: str - clientMutationId: str - -class CWE(GQLObject): - cweId: str - description: str - id: ID - name: str - -class BulkSponsorship(GQLObject): - sponsorableId: ID - sponsorableLogin: str - amount: int - -class BranchNamePatternParameters(GQLObject): - name: str - negate: bool - operator: str - pattern: str - -class Bot(GQLObject): - avatarUrl: NVXRV_URI_Field - createdAt: DateTime - databaseId: int - id: ID - login: str - resourcePath: URI - updatedAt: DateTime - url: URI - -class ArchiveRepositoryInput(GQLObject): - repositoryId: ID - clientMutationId: str - -class ApproveVerifiableDomainInput(GQLObject): - id: ID - clientMutationId: str - -class AnnouncementBanner(GQLObject): - announcement: str - announcementExpiresAt: DateTime - announcementUserDismissible: bool - -class AddUpvoteInput(GQLObject): - subjectId: ID - clientMutationId: str - -class AddReactionInput(GQLObject): - subjectId: ID - content: ReactionContent - clientMutationId: str - -class AddPullRequestReviewThreadInput(GQLObject): - path: str - body: str - pullRequestId: ID - pullRequestReviewId: ID - line: int - side: DiffSide - startLine: int - startSide: DiffSide - subjectType: PullRequestReviewThreadSubjectType - clientMutationId: str - -class AddProjectV2ItemByIdInput(GQLObject): - projectId: ID - contentId: ID - clientMutationId: str - -class AddProjectColumnInput(GQLObject): - projectId: ID - name: str - clientMutationId: str - -class AddLabelsToLabelableInput(GQLObject): - labelableId: ID - labelIds: list[ID] - clientMutationId: str - -class AddEnterpriseSupportEntitlementInput(GQLObject): - enterpriseId: ID - login: str - clientMutationId: str - -class AddDiscussionPollVoteInput(GQLObject): - pollOptionId: ID - clientMutationId: str - -class AddCommentInput(GQLObject): - subjectId: ID - body: str - clientMutationId: str - -class ActorLocation(GQLObject): - city: str - country: str - countryCode: str - region: str - regionCode: str - -class Actor(GQLObject): - avatarUrl: MJKUR_URI_Field - login: str - resourcePath: URI - url: URI - -class AcceptEnterpriseAdministratorInvitationInput(GQLObject): - invitationId: ID - clientMutationId: str - -class AbortQueuedMigrationsInput(GQLObject): - ownerId: ID - clientMutationId: str - -class EnterpriseServerUserAccountEmail(GQLObject): - createdAt: DateTime - email: str - id: ID - isPrimary: bool - updatedAt: DateTime - userAccount: NewType('EnterpriseServerUserAccount', GQLObject) ## Circular Reference for EnterpriseServerUserAccount - -class EnterpriseServerUserAccountEmailEdge(GQLObject): - cursor: str - node: EnterpriseServerUserAccountEmail - -class list_EnterpriseServerUserAccountEmailEdge(list, EnterpriseServerUserAccountEmailEdge): pass - -class list_EnterpriseServerUserAccountEmail(list, EnterpriseServerUserAccountEmail): pass - -class EnterpriseServerUserAccountEmailConnection(GQLObject): - edges: list_EnterpriseServerUserAccountEmailEdge[EnterpriseServerUserAccountEmailEdge] - nodes: list_EnterpriseServerUserAccountEmail[EnterpriseServerUserAccountEmail] - pageInfo: PageInfo - totalCount: int - -class OOVLC_EnterpriseServerUserAccountEmailConnection_Field(EnterpriseServerUserAccountEmailConnection): - class EnterpriseServerUserAccountEmailConnectionArgs(GQLArgsSet, GQLObject): - orderBy: EnterpriseServerUserAccountEmailOrder - after: str - before: str - first: int - last: int - - _args: EnterpriseServerUserAccountEmailConnectionArgs - - - -class EnterpriseServerUserAccount(GQLObject): - createdAt: DateTime - emails: OOVLC_EnterpriseServerUserAccountEmailConnection_Field - enterpriseServerInstallation: NewType('EnterpriseServerInstallation', GQLObject) ## Circular Reference for EnterpriseServerInstallation - id: ID - isSiteAdmin: bool - login: str - profileName: str - remoteCreatedAt: DateTime - remoteUserId: int - updatedAt: DateTime - -class EnterpriseServerUserAccountEdge(GQLObject): - cursor: str - node: EnterpriseServerUserAccount - -class list_EnterpriseServerUserAccountEdge(list, EnterpriseServerUserAccountEdge): pass - -class list_EnterpriseServerUserAccount(list, EnterpriseServerUserAccount): pass - -class EnterpriseServerUserAccountConnection(GQLObject): - edges: list_EnterpriseServerUserAccountEdge[EnterpriseServerUserAccountEdge] - nodes: list_EnterpriseServerUserAccount[EnterpriseServerUserAccount] - pageInfo: PageInfo - totalCount: int - -class EnterpriseServerUserAccountsUpload(GQLObject): - createdAt: DateTime - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - enterpriseServerInstallation: NewType('EnterpriseServerInstallation', GQLObject) ## Circular Reference for EnterpriseServerInstallation - id: ID - name: str - syncState: EnterpriseServerUserAccountsUploadSyncState - updatedAt: DateTime - -class EnterpriseServerUserAccountsUploadEdge(GQLObject): - cursor: str - node: EnterpriseServerUserAccountsUpload - -class list_EnterpriseServerUserAccountsUploadEdge(list, EnterpriseServerUserAccountsUploadEdge): pass - -class list_EnterpriseServerUserAccountsUpload(list, EnterpriseServerUserAccountsUpload): pass - -class EnterpriseServerUserAccountsUploadConnection(GQLObject): - edges: list_EnterpriseServerUserAccountsUploadEdge[EnterpriseServerUserAccountsUploadEdge] - nodes: list_EnterpriseServerUserAccountsUpload[EnterpriseServerUserAccountsUpload] - pageInfo: PageInfo - totalCount: int - -class UXAXT_EnterpriseServerUserAccountConnection_Field(EnterpriseServerUserAccountConnection): - class EnterpriseServerUserAccountConnectionArgs(GQLArgsSet, GQLObject): - orderBy: EnterpriseServerUserAccountOrder - after: str - before: str - first: int - last: int - - _args: EnterpriseServerUserAccountConnectionArgs - - - -class WFRJC_EnterpriseServerUserAccountsUploadConnection_Field(EnterpriseServerUserAccountsUploadConnection): - class EnterpriseServerUserAccountsUploadConnectionArgs(GQLArgsSet, GQLObject): - orderBy: EnterpriseServerUserAccountsUploadOrder - after: str - before: str - first: int - last: int - - _args: EnterpriseServerUserAccountsUploadConnectionArgs - - - -class EnterpriseServerInstallation(GQLObject): - createdAt: DateTime - customerName: str - hostName: str - id: ID - isConnected: bool - updatedAt: DateTime - userAccounts: UXAXT_EnterpriseServerUserAccountConnection_Field - userAccountsUploads: WFRJC_EnterpriseServerUserAccountsUploadConnection_Field - -class EnterpriseServerInstallationMembershipEdge(GQLObject): - cursor: str - node: EnterpriseServerInstallation - role: EnterpriseUserAccountMembershipRole - -class list_EnterpriseServerInstallationMembershipEdge(list, EnterpriseServerInstallationMembershipEdge): pass - -class list_EnterpriseServerInstallation(list, EnterpriseServerInstallation): pass - -class EnterpriseServerInstallationMembershipConnection(GQLObject): - edges: list_EnterpriseServerInstallationMembershipEdge[EnterpriseServerInstallationMembershipEdge] - nodes: list_EnterpriseServerInstallation[EnterpriseServerInstallation] - pageInfo: PageInfo - totalCount: int - -class UserEdge(GQLObject): - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - -class list_UserEdge(list, UserEdge): pass - -class list_GQLObject(list, GQLObject): pass - -class UserConnection(GQLObject): - edges: list_UserEdge[UserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int - -class AutoMergeRequest(GQLObject): - authorEmail: str - commitBody: str - commitHeadline: str - enabledAt: DateTime - enabledBy: Actor - mergeMethod: PullRequestMergeMethod - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class BranchProtectionRuleConflict(GQLObject): - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - conflictingBranchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - ref: NewType('Ref', GQLObject) ## Circular Reference for Ref - -class BranchProtectionRuleConflictEdge(GQLObject): - cursor: str - node: BranchProtectionRuleConflict - -class list_BranchProtectionRuleConflictEdge(list, BranchProtectionRuleConflictEdge): pass - -class list_BranchProtectionRuleConflict(list, BranchProtectionRuleConflict): pass - -class BranchProtectionRuleConflictConnection(GQLObject): - edges: list_BranchProtectionRuleConflictEdge[BranchProtectionRuleConflictEdge] - nodes: list_BranchProtectionRuleConflict[BranchProtectionRuleConflict] - pageInfo: PageInfo - totalCount: int - -class TeamEdge(GQLObject): - cursor: str - node: NewType('Team', GQLObject) ## Circular Reference for Team - -class list_TeamEdge(list, TeamEdge): pass - -class TeamConnection(GQLObject): - edges: list_TeamEdge[TeamEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Team - pageInfo: PageInfo - totalCount: int - -class Mannequin(GQLObject): - avatarUrl: VSLJM_URI_Field - claimant: NewType('User', GQLObject) ## Circular Reference for User - createdAt: DateTime - databaseId: int - email: str - id: ID - login: str - resourcePath: URI - updatedAt: DateTime - url: URI - -class Reactor(GQLObject): - pass - -class ReactorEdge(GQLObject): - cursor: str - node: Reactor - reactedAt: DateTime - -class list_ReactorEdge(list, ReactorEdge): pass - -class list_Reactor(list, Reactor): pass - -class ReactorConnection(GQLObject): - edges: list_ReactorEdge[ReactorEdge] - nodes: list_Reactor[Reactor] - pageInfo: PageInfo - totalCount: int - -class Reaction(GQLObject): - content: ReactionContent - createdAt: DateTime - databaseId: int - id: ID - reactable: NewType('Reactable', GQLObject) ## Circular Reference for Reactable - user: NewType('User', GQLObject) ## Circular Reference for User - -class ReactionEdge(GQLObject): - cursor: str - node: Reaction - -class list_ReactionEdge(list, ReactionEdge): pass - -class list_Reaction(list, Reaction): pass - -class ReactionConnection(GQLObject): - edges: list_ReactionEdge[ReactionEdge] - nodes: list_Reaction[Reaction] - pageInfo: PageInfo - totalCount: int - viewerHasReacted: bool - -class SZBNV_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class Reactable(GQLObject): - databaseId: int - id: ID - reactionGroups: list_GQLObject[GQLObject] ## Circular Reference for ReactionGroup - reactions: SZBNV_ReactionConnection_Field - viewerCanReact: bool - -class ReactingUserEdge(GQLObject): - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - reactedAt: DateTime - -class list_ReactingUserEdge(list, ReactingUserEdge): pass - -class ReactingUserConnection(GQLObject): - edges: list_ReactingUserEdge[ReactingUserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int - -class IQCRX_ReactorConnection_Field(ReactorConnection): - class ReactorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ReactorConnectionArgs - - - -class ReactionGroup(GQLObject): - content: ReactionContent - createdAt: DateTime - reactors: IQCRX_ReactorConnection_Field - subject: Reactable - viewerHasReacted: bool - -class UserContentEdit(GQLObject): - createdAt: DateTime - deletedAt: DateTime - deletedBy: Actor - diff: str - editedAt: DateTime - editor: Actor - id: ID - updatedAt: DateTime - -class UserContentEditEdge(GQLObject): - cursor: str - node: UserContentEdit - -class list_UserContentEditEdge(list, UserContentEditEdge): pass - -class list_UserContentEdit(list, UserContentEdit): pass - -class UserContentEditConnection(GQLObject): - edges: list_UserContentEditEdge[UserContentEditEdge] - nodes: list_UserContentEdit[UserContentEdit] - pageInfo: PageInfo - totalCount: int - -class list_ReactionGroup(list, ReactionGroup): pass - -class XFDWP_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class JZOQZ_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class TeamDiscussionComment(GQLObject): - author: Actor - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: XFDWP_ReactionConnection_Field - updatedAt: DateTime - userContentEdits: JZOQZ_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - -class TeamDiscussionCommentEdge(GQLObject): - cursor: str - node: TeamDiscussionComment - -class list_TeamDiscussionCommentEdge(list, TeamDiscussionCommentEdge): pass - -class list_TeamDiscussionComment(list, TeamDiscussionComment): pass - -class TeamDiscussionCommentConnection(GQLObject): - edges: list_TeamDiscussionCommentEdge[TeamDiscussionCommentEdge] - nodes: list_TeamDiscussionComment[TeamDiscussionComment] - pageInfo: PageInfo - totalCount: int - -class BOUQZ_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class VKPRB_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class TeamDiscussion(GQLObject): - author: Actor - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: BOUQZ_ReactionConnection_Field - updatedAt: DateTime - userContentEdits: VKPRB_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanReact: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerSubscription: SubscriptionState - -class TeamDiscussionEdge(GQLObject): - cursor: str - node: TeamDiscussion - -class list_TeamDiscussionEdge(list, TeamDiscussionEdge): pass - -class list_TeamDiscussion(list, TeamDiscussion): pass - -class TeamDiscussionConnection(GQLObject): - edges: list_TeamDiscussionEdge[TeamDiscussionEdge] - nodes: list_TeamDiscussion[TeamDiscussion] - pageInfo: PageInfo - totalCount: int - -class OrganizationInvitation(GQLObject): - createdAt: DateTime - email: str - id: ID - invitationSource: OrganizationInvitationSource - invitationType: OrganizationInvitationType - invitee: NewType('User', GQLObject) ## Circular Reference for User - inviter: NewType('User', GQLObject) ## Circular Reference for User - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - role: OrganizationInvitationRole - -class OrganizationInvitationEdge(GQLObject): - cursor: str - node: OrganizationInvitation - -class list_OrganizationInvitationEdge(list, OrganizationInvitationEdge): pass - -class list_OrganizationInvitation(list, OrganizationInvitation): pass - -class OrganizationInvitationConnection(GQLObject): - edges: list_OrganizationInvitationEdge[OrganizationInvitationEdge] - nodes: list_OrganizationInvitation[OrganizationInvitation] - pageInfo: PageInfo - totalCount: int - -class UserStatus(GQLObject): - createdAt: DateTime - emoji: str - emojiHTML: HTML - expiresAt: DateTime - id: ID - indicatesLimitedAvailability: bool - message: str - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - updatedAt: DateTime - user: NewType('User', GQLObject) ## Circular Reference for User - -class UserStatusEdge(GQLObject): - cursor: str - node: UserStatus - -class list_UserStatusEdge(list, UserStatusEdge): pass - -class list_UserStatus(list, UserStatus): pass - -class UserStatusConnection(GQLObject): - edges: list_UserStatusEdge[UserStatusEdge] - nodes: list_UserStatus[UserStatus] - pageInfo: PageInfo - totalCount: int - -class TeamMemberEdge(GQLObject): - cursor: str - memberAccessResourcePath: URI - memberAccessUrl: URI - node: NewType('User', GQLObject) ## Circular Reference for User - role: TeamMemberRole - -class list_TeamMemberEdge(list, TeamMemberEdge): pass - -class TeamMemberConnection(GQLObject): - edges: list_TeamMemberEdge[TeamMemberEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int - -class ProjectV2Field(GQLObject): - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime - -class list_ProjectV2IterationFieldIteration(list, ProjectV2IterationFieldIteration): pass - -class ProjectV2IterationFieldConfiguration(GQLObject): - completedIterations: list_ProjectV2IterationFieldIteration[ProjectV2IterationFieldIteration] - duration: int - iterations: list_ProjectV2IterationFieldIteration[ProjectV2IterationFieldIteration] - startDay: int - -class ProjectV2IterationField(GQLObject): - configuration: ProjectV2IterationFieldConfiguration - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime - -class CAUUH_ProjectV2SingleSelectFieldOption_Field(ProjectV2SingleSelectFieldOption): - class ProjectV2SingleSelectFieldOptionArgs(GQLArgsSet, GQLObject): - names: list[NonNull_str] - - _args: ProjectV2SingleSelectFieldOptionArgs - - - -class list_ProjectV2SingleSelectFieldOption(list, ProjectV2SingleSelectFieldOption): pass - -class ProjectV2SingleSelectField(GQLObject): - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - options: CAUUH_ProjectV2SingleSelectFieldOption_Field - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + ActorType, + CheckAnnotationLevel, + CheckConclusionState, + CheckRunState, + CheckRunType, + CheckStatusState, + CommentAuthorAssociation, + CommentCannotUpdateReason, + CommitContributionOrderField, + ComparisonStatus, + ContributionLevel, + DefaultRepositoryPermissionField, + DeploymentOrderField, + DeploymentProtectionRuleType, + DeploymentReviewState, + DeploymentStatusState, + DiffSide, + DiscussionPollOptionOrderField, + DismissReason, + EnterpriseAdministratorRole, + EnterpriseAllowPrivateRepositoryForkingPolicyValue, + EnterpriseDefaultRepositoryPermissionSettingValue, + EnterpriseEnabledDisabledSettingValue, + EnterpriseEnabledSettingValue, + EnterpriseMemberOrderField, + EnterpriseMembersCanCreateRepositoriesSettingValue, + EnterpriseMembersCanMakePurchasesSettingValue, + EnterpriseServerUserAccountEmailOrderField, + EnterpriseServerUserAccountsUploadOrderField, + EnterpriseServerUserAccountsUploadSyncState, + EnterpriseUserAccountMembershipRole, + GitSignatureState, + IpAllowListEnabledSettingValue, + IpAllowListEntryOrderField, + IpAllowListForInstalledAppsEnabledSettingValue, + IssueClosedStateReason, + IssueState, + IssueStateReason, + LabelOrderField, + LanguageOrderField, + LockReason, + MergeQueueEntryState, + MigrationSourceType, + MigrationState, + MilestoneState, + NotificationRestrictionSettingValue, + OauthApplicationCreateAuditEntryState, + OIDCProviderType, + OperationType, + OrderDirection, + OrgAddMemberAuditEntryPermission, + OrganizationInvitationRole, + OrganizationInvitationSource, + OrganizationInvitationType, + OrganizationMemberRole, + OrganizationOrderField, + OrgCreateAuditEntryBillingPlan, + OrgEnterpriseOwnerOrderField, + OrgRemoveBillingManagerAuditEntryReason, + OrgRemoveMemberAuditEntryMembershipType, + OrgRemoveMemberAuditEntryReason, + OrgRemoveOutsideCollaboratorAuditEntryMembershipType, + OrgRemoveOutsideCollaboratorAuditEntryReason, + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission, + OrgUpdateMemberAuditEntryPermission, + OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility, + PackageOrderField, + PackageVersionOrderField, + PinnedDiscussionGradient, + PinnedDiscussionPattern, + ProjectCardState, + ProjectState, + ProjectTemplate, + ProjectV2CustomFieldType, + ProjectV2FieldOrderField, + ProjectV2FieldType, + ProjectV2ItemOrderField, + ProjectV2OrderField, + ProjectV2SingleSelectFieldOptionColor, + ProjectV2State, + ProjectV2ViewLayout, + ProjectV2WorkflowsOrderField, + PullRequestBranchUpdateMethod, + PullRequestMergeMethod, + PullRequestOrderField, + PullRequestReviewEvent, + PullRequestReviewState, + PullRequestReviewThreadSubjectType, + ReactionContent, + ReactionOrderField, + ReleaseOrderField, + RepoAccessAuditEntryVisibility, + RepoAddMemberAuditEntryVisibility, + RepoArchivedAuditEntryVisibility, + RepoChangeMergeSettingAuditEntryMergeType, + RepoCreateAuditEntryVisibility, + RepoDestroyAuditEntryVisibility, + RepoRemoveMemberAuditEntryVisibility, + RepositoryInteractionLimit, + RepositoryInteractionLimitExpiry, + RepositoryInteractionLimitOrigin, + RepositoryLockReason, + RepositoryMigrationOrderDirection, + RepositoryMigrationOrderField, + RepositoryPermission, + RepositoryRuleOrderField, + RepositoryRulesetBypassActorBypassMode, + RepositoryRulesetTarget, + RepositoryRuleType, + RepositoryVisibility, + RepositoryVulnerabilityAlertDependencyScope, + RepositoryVulnerabilityAlertState, + RequestableCheckStatusState, + RoleInOrganization, + RuleEnforcement, + SamlDigestAlgorithm, + SamlSignatureAlgorithm, + SecurityAdvisoryOrderField, + SecurityAdvisorySeverity, + SecurityVulnerabilityOrderField, + SponsorableOrderField, + SponsorAndLifetimeValueOrderField, + SponsorsActivityAction, + SponsorsGoalKind, + SponsorshipNewsletterOrderField, + SponsorshipPaymentSource, + SponsorshipPrivacy, + StarOrderField, + StatusState, + SubscriptionState, + TeamDiscussionCommentOrderField, + TeamMemberOrderField, + TeamMemberRole, + TeamRepositoryOrderField, + TeamReviewAssignmentAlgorithm, + UserBlockDuration, + VerifiableDomainOrderField, + WorkflowState, +) +from .gql_simple_types import ( + CWE, + Actor, + BulkSponsorship, + CheckAnnotationPosition, + CheckRunAction, + CheckRunOutputImage, + CheckStep, + CommitAuthorEmailPatternParametersInput, + CommitMessage, + CommitMessagePatternParametersInput, + ContributionCalendarMonth, + DeployKey, + DraftPullRequestReviewComment, + FileAddition, + Language, + LicenseRule, + MarketplaceCategory, + OrganizationMigration, + ProjectV2Collaborator, + ProjectV2FieldValue, + ProjectV2IterationFieldIteration, + ProjectV2SingleSelectFieldOption, + PropertyTargetDefinition, + PublicKey, + PullRequestChangedFile, + RefNameConditionTarget, + RepositoryIdConditionTargetInput, + RepositoryNameConditionTarget, + RepositoryRulesetBypassActorInput, + RequiredDeploymentsParametersInput, + SecurityAdvisoryPackage, + SocialAccount, + StatusCheckConfiguration, + StatusContextStateCount, + Submodule, + TagNamePatternParametersInput, + TextMatchHighlight, + UserEmailMetadata, + WorkflowFileReference, +) +from .scalars import ( + HTML, + ID, + URI, + Base64String, + BigInt, + Date, + DateTime, + GitObjectID, + GitRefname, + GitTimestamp, + PreciseDateTime, + X509Certificate, +) + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .pull_request import PullRequest + from .pull_request_connection import PullRequestConnection + from .branch_protection_rule import BranchProtectionRule + from .ref import Ref + from .app import App + from .enterprise import Enterprise + from .enterprise_server_user_account import EnterpriseServerUserAccount + from .enterprise_server_installation import EnterpriseServerInstallation + from .organization import Organization + from .user import User + from .repository import Repository + from .team import Team + from .team_discussion import TeamDiscussion + from .reaction_group import ReactionGroup + from .reactable import Reactable + from .project_v2 import ProjectV2 + from .project_v2_item_connection import ProjectV2ItemConnection + from .issue import Issue + from .project_v2_item import ProjectV2Item + from .commit_comment_connection import CommitCommentConnection + from .commit import Commit + from .deployment import Deployment + from .discussion import Discussion + from .discussion_comment import DiscussionComment + from .discussion_poll import DiscussionPoll + from .release import Release + from .merge_queue import MergeQueue + from .package_version import PackageVersion + from .package import Package + from .project_column import ProjectColumn + from .project import Project + from .topic import Topic + from .repository_ruleset import RepositoryRuleset + from .security_advisory import SecurityAdvisory + from .ip_allow_list_entry_connection import IpAllowListEntryConnection + from .gist import Gist + from .sponsorable import Sponsorable + from .sponsors_tier import SponsorsTier + from .sponsors_listing import SponsorsListing + from .issue_comment_edge import IssueCommentEdge + from .issue_comment import IssueComment + from .pull_request_review import PullRequestReview + from .pull_request_review_comment import PullRequestReviewComment + from .check_suite import CheckSuite + from .workflow_run import WorkflowRun + from .user_edge import UserEdge + from .gql_unions import AuditEntryActor + from .gql_unions import Reactor + from .gql_unions import ProjectV2FieldConfiguration + from .gql_unions import RequestedReviewer + from .gql_unions import ProjectV2ItemFieldValue + from .gql_unions import PermissionGranter + from .gql_unions import DeploymentReviewer + from .gql_unions import IssueOrPullRequest + from .gql_unions import ProjectCardItem + from .gql_unions import BypassActor + from .gql_unions import RuleParameters + from .gql_unions import OrgRestoreMemberAuditEntryMembership + from .gql_unions import OrganizationAuditEntry + from .gql_unions import VerifiableDomainOwner + from .gql_unions import PinnableItem + from .gql_unions import Sponsor + from .gql_unions import SponsorsListingFeatureableItem + from .gql_unions import EnterpriseMember + from .gql_unions import IpAllowListOwner + from .gql_unions import BranchActorAllowanceActor + from .gql_unions import PushAllowanceActor + from .gql_unions import ReviewDismissalAllowanceActor + from .gql_unions import Assignee + from .gql_unions import Closer + from .gql_unions import ReferencedSubject + from .gql_unions import MilestoneItem + from .gql_unions import RenamedTitleSubject + from .gql_unions import PullRequestTimelineItem + from .gql_unions import PullRequestTimelineItems + from .gql_unions import StatusCheckRollupContext + from .gql_unions import UserListItems + from .gql_unions import IssueTimelineItem + from .gql_unions import IssueTimelineItems + from .gql_unions import Claimable + from .gql_unions import ProjectV2Actor + from .gql_unions import SearchResultItem + from .gql_unions import SponsorableItem + + +@dataclass(kw_only=True) +class AbortQueuedMigrationsPayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + + +@dataclass(kw_only=True) +class AbortRepositoryMigrationPayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + + +@dataclass(kw_only=True) +class AcceptTopicSuggestionInput: + client_mutation_id: Optional[str] = None + name: Optional[str] = None + repository_id: Optional[ID] = None + + +@dataclass(kw_only=True) +class ActorLocation: + city: Optional[str] = None + country: Optional[str] = None + country_code: Optional[str] = None + region: Optional[str] = None + region_code: Optional[str] = None + + +@dataclass(kw_only=True) +class AddCommentInput: + body: str + client_mutation_id: Optional[str] = None + subject_id: ID + + +@dataclass(kw_only=True) +class AddDiscussionPollVoteInput: + client_mutation_id: Optional[str] = None + poll_option_id: ID + + +@dataclass(kw_only=True) +class AddEnterpriseSupportEntitlementInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str + + +@dataclass(kw_only=True) +class AddLabelsToLabelableInput: + client_mutation_id: Optional[str] = None + label_ids: list[ID] + labelable_id: ID + + +@dataclass(kw_only=True) +class AddProjectColumnInput: + client_mutation_id: Optional[str] = None + name: str + project_id: ID + + +@dataclass(kw_only=True) +class AddProjectV2ItemByIdInput: + client_mutation_id: Optional[str] = None + content_id: ID + project_id: ID + + +@dataclass(kw_only=True) +class AddPullRequestReviewThreadInput: + body: str + client_mutation_id: Optional[str] = None + line: Optional[int] = None + path: str + pull_request_id: Optional[ID] = None + pull_request_review_id: Optional[ID] = None + side: Optional[DiffSide] = None + start_line: Optional[int] = None + start_side: Optional[DiffSide] = None + subject_type: Optional[PullRequestReviewThreadSubjectType] = None -class ProjectV2FieldConfiguration(GQLObject): - pass -class ProjectV2FieldConfigurationEdge(GQLObject): - cursor: str - node: ProjectV2FieldConfiguration - -class list_ProjectV2FieldConfigurationEdge(list, ProjectV2FieldConfigurationEdge): pass - -class list_ProjectV2FieldConfiguration(list, ProjectV2FieldConfiguration): pass +@dataclass(kw_only=True) +class AddReactionInput: + client_mutation_id: Optional[str] = None + content: ReactionContent + subject_id: ID -class ProjectV2FieldConfigurationConnection(GQLObject): - edges: list_ProjectV2FieldConfigurationEdge[ProjectV2FieldConfigurationEdge] - nodes: list_ProjectV2FieldConfiguration[ProjectV2FieldConfiguration] - pageInfo: PageInfo - totalCount: int -class ProjectV2Edge(GQLObject): - cursor: str - node: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 +@dataclass(kw_only=True) +class AddUpvoteInput: + client_mutation_id: Optional[str] = None + subject_id: ID -class list_ProjectV2Edge(list, ProjectV2Edge): pass -class ProjectV2Connection(GQLObject): - edges: list_ProjectV2Edge[ProjectV2Edge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for ProjectV2 - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class AnnouncementBanner: + announcement: Optional[str] = None + announcement_expires_at: Optional[DateTime] = None + announcement_user_dismissible: Optional[bool] = None -class FGZAW_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class ApproveVerifiableDomainInput: + client_mutation_id: Optional[str] = None + id: ID - -class FCVOW_ProjectV2ItemConnection_Field(Generic[ProjectV2ItemConnection]): - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ProjectV2ItemConnectionArgs +@dataclass(kw_only=True) +class ArchiveRepositoryInput: + client_mutation_id: Optional[str] = None + repository_id: ID +@dataclass(kw_only=True) +class Bot: + avatar_url: URI + created_at: DateTime + database_id: Optional[int] = None + id: ID + login: str + resource_path: URI + updated_at: DateTime + url: URI -class VQJIB_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class BranchNamePatternParametersInput: + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str +@dataclass(kw_only=True) +class CVSS: + score: float + vector_string: Optional[str] = None -class DraftIssue(GQLObject): - assignees: FGZAW_UserConnection_Field - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - creator: Actor - id: ID - projectV2Items: FCVOW_ProjectV2ItemConnection_Field ## Circular Reference for ProjectV2ItemConnection - projectsV2: VQJIB_ProjectV2Connection_Field - title: str - updatedAt: DateTime -class BranchProtectionRuleEdge(GQLObject): - cursor: str - node: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule +@dataclass(kw_only=True) +class CancelEnterpriseAdminInvitationInput: + client_mutation_id: Optional[str] = None + invitation_id: ID -class list_BranchProtectionRuleEdge(list, BranchProtectionRuleEdge): pass -class BranchProtectionRuleConnection(GQLObject): - edges: list_BranchProtectionRuleEdge[BranchProtectionRuleEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for BranchProtectionRule - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class ChangeUserStatusInput: + client_mutation_id: Optional[str] = None + emoji: Optional[str] = None + expires_at: Optional[DateTime] = None + limited_availability: Optional[bool] = None + message: Optional[str] = None + organization_id: Optional[ID] = None -class list_RepositoryCodeownersError(list, RepositoryCodeownersError): pass - -class RepositoryCodeowners(GQLObject): - errors: list_RepositoryCodeownersError[RepositoryCodeownersError] - -class PermissionGranter(GQLObject): - pass -class PermissionSource(GQLObject): - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - permission: DefaultRepositoryPermissionField - source: PermissionGranter +@dataclass(kw_only=True) +class CheckAnnotationRange: + end_column: Optional[int] = None + end_line: int + start_column: Optional[int] = None + start_line: int -class list_PermissionSource(list, PermissionSource): pass -class RepositoryCollaboratorEdge(GQLObject): - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - permission: RepositoryPermission - permissionSources: list_PermissionSource[PermissionSource] +@dataclass(kw_only=True) +class CheckRunFilter: + app_id: Optional[int] = None + check_name: Optional[str] = None + check_type: Optional[CheckRunType] = None + conclusions: Optional[list[CheckConclusionState]] = None + status: Optional[CheckStatusState] = None + statuses: Optional[list[CheckStatusState]] = None -class list_RepositoryCollaboratorEdge(list, RepositoryCollaboratorEdge): pass - -class RepositoryCollaboratorConnection(GQLObject): - edges: list_RepositoryCollaboratorEdge[RepositoryCollaboratorEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int - -class DeployKeyEdge(GQLObject): - cursor: str - node: DeployKey - -class list_DeployKeyEdge(list, DeployKeyEdge): pass - -class list_DeployKey(list, DeployKey): pass - -class DeployKeyConnection(GQLObject): - edges: list_DeployKeyEdge[DeployKeyEdge] - nodes: list_DeployKey[DeployKey] - pageInfo: PageInfo - totalCount: int - -class DeploymentStatus(GQLObject): - createdAt: DateTime - creator: Actor - deployment: NewType('Deployment', GQLObject) ## Circular Reference for Deployment - description: str - environmentUrl: URI - id: ID - logUrl: URI - state: DeploymentStatusState - updatedAt: DateTime - -class DeploymentStatusEdge(GQLObject): - cursor: str - node: DeploymentStatus -class list_DeploymentStatusEdge(list, DeploymentStatusEdge): pass +@dataclass(kw_only=True) +class CheckRunStateCount: + count: int + state: CheckRunState -class list_DeploymentStatus(list, DeploymentStatus): pass -class DeploymentStatusConnection(GQLObject): - edges: list_DeploymentStatusEdge[DeploymentStatusEdge] - nodes: list_DeploymentStatus[DeploymentStatus] - pageInfo: PageInfo - totalCount: int - -class WBVRH_DeploymentStatusConnection_Field(DeploymentStatusConnection): - class DeploymentStatusConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DeploymentStatusConnectionArgs - - - -class Deployment(GQLObject): - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - commitOid: str - createdAt: DateTime - creator: Actor - databaseId: int - description: str - environment: str - id: ID - latestEnvironment: str - latestStatus: DeploymentStatus - originalEnvironment: str - payload: str - ref: NewType('Ref', GQLObject) ## Circular Reference for Ref - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - state: DeploymentState - statuses: WBVRH_DeploymentStatusConnection_Field - task: str - updatedAt: DateTime - -class DeploymentEdge(GQLObject): - cursor: str - node: Deployment - -class list_DeploymentEdge(list, DeploymentEdge): pass - -class list_Deployment(list, Deployment): pass - -class DeploymentConnection(GQLObject): - edges: list_DeploymentEdge[DeploymentEdge] - nodes: list_Deployment[Deployment] - pageInfo: PageInfo - totalCount: int - -class DiscussionCommentEdge(GQLObject): - cursor: str - node: NewType('DiscussionComment', GQLObject) ## Circular Reference for DiscussionComment - -class list_DiscussionCommentEdge(list, DiscussionCommentEdge): pass - -class DiscussionCommentConnection(GQLObject): - edges: list_DiscussionCommentEdge[DiscussionCommentEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for DiscussionComment - pageInfo: PageInfo - totalCount: int - -class JNUNZ_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class CYKLE_DiscussionCommentConnection_Field(DiscussionCommentConnection): - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DiscussionCommentConnectionArgs - - - -class GZDEU_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class DiscussionComment(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - deletedAt: DateTime - discussion: NewType('Discussion', GQLObject) ## Circular Reference for Discussion - editor: Actor - id: ID - includesCreatedEdit: bool - isAnswer: bool - isMinimized: bool - lastEditedAt: DateTime - minimizedReason: str - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: JNUNZ_ReactionConnection_Field - replies: CYKLE_DiscussionCommentConnection_Field - replyTo: NewType('DiscussionComment', GQLObject) ## Circular Reference for DiscussionComment - resourcePath: URI - updatedAt: DateTime - upvoteCount: int - url: URI - userContentEdits: GZDEU_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMarkAsAnswer: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUnmarkAsAnswer: bool - viewerCanUpdate: bool - viewerCanUpvote: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerHasUpvoted: bool - -class DiscussionCategory(GQLObject): - createdAt: DateTime - description: str - emoji: str - emojiHTML: HTML - id: ID - isAnswerable: bool - name: str - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - slug: str - updatedAt: DateTime - -class IssueEdge(GQLObject): - cursor: str - node: NewType('Issue', GQLObject) ## Circular Reference for Issue - -class list_IssueEdge(list, IssueEdge): pass - -class IssueConnection(GQLObject): - edges: list_IssueEdge[IssueEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Issue - pageInfo: PageInfo - totalCount: int - -class NonNull_IssueState(GQLObject): pass - -class ISHTX_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int - - _args: IssueConnectionArgs - - - -class NonNull_PullRequestState(GQLObject): pass - -class CAROI_PullRequestConnection_Field(Generic[PullRequestConnection]): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int - - _args: PullRequestConnectionArgs - - - -class Label(GQLObject): - color: str - createdAt: DateTime - description: str - id: ID - isDefault: bool - issues: ISHTX_IssueConnection_Field - name: str - pullRequests: CAROI_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - updatedAt: DateTime - url: URI - -class LabelEdge(GQLObject): - cursor: str - node: Label - -class list_LabelEdge(list, LabelEdge): pass - -class list_Label(list, Label): pass - -class LabelConnection(GQLObject): - edges: list_LabelEdge[LabelEdge] - nodes: list_Label[Label] - pageInfo: PageInfo - totalCount: int - -class DiscussionPollOption(GQLObject): - id: ID - option: str - poll: NewType('DiscussionPoll', GQLObject) ## Circular Reference for DiscussionPoll - totalVoteCount: int - viewerHasVoted: bool - -class DiscussionPollOptionEdge(GQLObject): - cursor: str - node: DiscussionPollOption - -class list_DiscussionPollOptionEdge(list, DiscussionPollOptionEdge): pass - -class list_DiscussionPollOption(list, DiscussionPollOption): pass - -class DiscussionPollOptionConnection(GQLObject): - edges: list_DiscussionPollOptionEdge[DiscussionPollOptionEdge] - nodes: list_DiscussionPollOption[DiscussionPollOption] - pageInfo: PageInfo - totalCount: int - -class JFUZG_DiscussionPollOptionConnection_Field(DiscussionPollOptionConnection): - class DiscussionPollOptionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: DiscussionPollOptionOrder - - _args: DiscussionPollOptionConnectionArgs - - - -class DiscussionPoll(GQLObject): - discussion: NewType('Discussion', GQLObject) ## Circular Reference for Discussion - id: ID - options: JFUZG_DiscussionPollOptionConnection_Field - question: str - totalVoteCount: int - viewerCanVote: bool - viewerHasVoted: bool - -class ZLIAG_DiscussionCommentConnection_Field(DiscussionCommentConnection): - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DiscussionCommentConnectionArgs - - - -class UMRVU_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - orderBy: LabelOrder - after: str - before: str - first: int - last: int - - _args: LabelConnectionArgs - - - -class VGDFR_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class URRBX_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class Discussion(GQLObject): - activeLockReason: LockReason - answer: DiscussionComment - answerChosenAt: DateTime - answerChosenBy: Actor - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - category: DiscussionCategory - closed: bool - closedAt: DateTime - comments: ZLIAG_DiscussionCommentConnection_Field - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - labels: UMRVU_LabelConnection_Field - lastEditedAt: DateTime - locked: bool - number: int - poll: DiscussionPoll - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: VGDFR_ReactionConnection_Field - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - stateReason: DiscussionStateReason - title: str - updatedAt: DateTime - upvoteCount: int - url: URI - userContentEdits: URRBX_UserContentEditConnection_Field - viewerCanClose: bool - viewerCanDelete: bool - viewerCanReact: bool - viewerCanReopen: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCanUpvote: bool - viewerDidAuthor: bool - viewerHasUpvoted: bool - viewerSubscription: SubscriptionState - -class DiscussionCategoryEdge(GQLObject): - cursor: str - node: DiscussionCategory - -class list_DiscussionCategoryEdge(list, DiscussionCategoryEdge): pass - -class list_DiscussionCategory(list, DiscussionCategory): pass - -class DiscussionCategoryConnection(GQLObject): - edges: list_DiscussionCategoryEdge[DiscussionCategoryEdge] - nodes: list_DiscussionCategory[DiscussionCategory] - pageInfo: PageInfo - totalCount: int - -class DiscussionEdge(GQLObject): - cursor: str - node: Discussion - -class list_DiscussionEdge(list, DiscussionEdge): pass - -class list_Discussion(list, Discussion): pass - -class DiscussionConnection(GQLObject): - edges: list_DiscussionEdge[DiscussionEdge] - nodes: list_Discussion[Discussion] - pageInfo: PageInfo - totalCount: int - -class DeploymentReviewer(GQLObject): - pass - -class DeploymentReviewerEdge(GQLObject): - cursor: str - node: DeploymentReviewer - -class list_DeploymentReviewerEdge(list, DeploymentReviewerEdge): pass - -class list_DeploymentReviewer(list, DeploymentReviewer): pass - -class DeploymentReviewerConnection(GQLObject): - edges: list_DeploymentReviewerEdge[DeploymentReviewerEdge] - nodes: list_DeploymentReviewer[DeploymentReviewer] - pageInfo: PageInfo - totalCount: int - -class VQOPU_DeploymentReviewerConnection_Field(DeploymentReviewerConnection): - class DeploymentReviewerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DeploymentReviewerConnectionArgs - - - -class DeploymentProtectionRule(GQLObject): - databaseId: int - reviewers: VQOPU_DeploymentReviewerConnection_Field - timeout: int - type: DeploymentProtectionRuleType - -class DeploymentProtectionRuleEdge(GQLObject): - cursor: str - node: DeploymentProtectionRule - -class list_DeploymentProtectionRuleEdge(list, DeploymentProtectionRuleEdge): pass - -class list_DeploymentProtectionRule(list, DeploymentProtectionRule): pass - -class DeploymentProtectionRuleConnection(GQLObject): - edges: list_DeploymentProtectionRuleEdge[DeploymentProtectionRuleEdge] - nodes: list_DeploymentProtectionRule[DeploymentProtectionRule] - pageInfo: PageInfo - totalCount: int - -class WEVJL_DeploymentProtectionRuleConnection_Field(DeploymentProtectionRuleConnection): - class DeploymentProtectionRuleConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DeploymentProtectionRuleConnectionArgs +@dataclass(kw_only=True) +class CheckSuiteAutoTriggerPreference: + app_id: ID + setting: bool +@dataclass(kw_only=True) +class ClearLabelsFromLabelableInput: + client_mutation_id: Optional[str] = None + labelable_id: ID -class Environment(GQLObject): - databaseId: int - id: ID - name: str - protectionRules: WEVJL_DeploymentProtectionRuleConnection_Field -class EnvironmentEdge(GQLObject): - cursor: str - node: Environment +@dataclass(kw_only=True) +class CloneProjectInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + include_workflows: bool + name: str + public: Optional[bool] = None + source_id: ID + target_owner_id: ID -class list_EnvironmentEdge(list, EnvironmentEdge): pass -class list_Environment(list, Environment): pass +@dataclass(kw_only=True) +class Closable: + closed: bool + closed_at: Optional[DateTime] = None + viewer_can_close: bool + viewer_can_reopen: bool -class EnvironmentConnection(GQLObject): - edges: list_EnvironmentEdge[EnvironmentEdge] - nodes: list_Environment[Environment] - pageInfo: PageInfo - totalCount: int -class RepositoryEdge(GQLObject): - cursor: str - node: NewType('Repository', GQLObject) ## Circular Reference for Repository +@dataclass(kw_only=True) +class CloseIssueInput: + client_mutation_id: Optional[str] = None + issue_id: ID + state_reason: Optional[IssueClosedStateReason] = None -class list_RepositoryEdge(list, RepositoryEdge): pass -class RepositoryConnection(GQLObject): - edges: list_RepositoryEdge[RepositoryEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Repository - pageInfo: PageInfo - totalCount: int - totalDiskUsage: int +@dataclass(kw_only=True) +class CodeOfConduct: + body: Optional[str] = None + id: ID + key: str + name: str + resource_path: Optional[URI] = None + url: Optional[URI] = None -class IssueOrPullRequest(GQLObject): - pass -class QJHGW_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class CommitAuthorEmailPatternParameters: + name: Optional[str] = None + negate: bool + operator: str + pattern: str - _args: UserConnectionArgs + +@dataclass(kw_only=True) +class CommitContributionOrder: + direction: OrderDirection + field: CommitContributionOrderField + + +@dataclass(kw_only=True) +class CommitMessagePatternParameters: + name: Optional[str] = None + negate: bool + operator: str + pattern: str + + +@dataclass(kw_only=True) +class CommittableBranch: + branch_name: Optional[str] = None + id: Optional[ID] = None + repository_name_with_owner: Optional[str] = None + + +@dataclass(kw_only=True) +class CommitterEmailPatternParametersInput: + name: Optional[str] = None + negate: Optional[bool] = None + operator: str + pattern: str + + +@dataclass(kw_only=True) +class ContributionCalendarDay: + color: str + contribution_count: int + contribution_level: ContributionLevel + date: Date + weekday: int + + +@dataclass(kw_only=True) +class ContributionOrder: + direction: OrderDirection + + +@dataclass(kw_only=True) +class ConvertPullRequestToDraftInput: + client_mutation_id: Optional[str] = None + pull_request_id: ID + + +@dataclass(kw_only=True) +class CreateAttributionInvitationInput: + client_mutation_id: Optional[str] = None + owner_id: ID + source_id: ID + target_id: ID + + +@dataclass(kw_only=True) +class CreateDeploymentInput: + auto_merge: Optional[bool] = None + client_mutation_id: Optional[str] = None + description: Optional[str] = None + environment: Optional[str] = None + payload: Optional[str] = None + ref_id: ID + repository_id: ID + required_contexts: Optional[list[str]] = None + task: Optional[str] = None + + +@dataclass(kw_only=True) +class CreateDiscussionInput: + body: str + category_id: ID + client_mutation_id: Optional[str] = None + repository_id: ID + title: str + + +@dataclass(kw_only=True) +class CreateEnvironmentInput: + client_mutation_id: Optional[str] = None + name: str + repository_id: ID + + +@dataclass(kw_only=True) +class CreateIssueInput: + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + issue_template: Optional[str] = None + label_ids: Optional[list[ID]] = None + milestone_id: Optional[ID] = None + project_ids: Optional[list[ID]] = None + repository_id: ID + title: str + + +@dataclass(kw_only=True) +class CreateLinkedBranchInput: + client_mutation_id: Optional[str] = None + issue_id: ID + name: Optional[str] = None + oid: GitObjectID + repository_id: Optional[ID] = None + + +@dataclass(kw_only=True) +class CreateProjectInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + name: str + owner_id: ID + repository_ids: Optional[list[ID]] = None + template: Optional[ProjectTemplate] = None +@dataclass(kw_only=True) +class CreatePullRequestInput: + base_ref_name: str + body: Optional[str] = None + client_mutation_id: Optional[str] = None + draft: Optional[bool] = None + head_ref_name: str + head_repository_id: Optional[ID] = None + maintainer_can_modify: Optional[bool] = None + repository_id: ID + title: str -class BRDBV_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - orderBy: LabelOrder - after: str - before: str - first: int - last: int - _args: LabelConnectionArgs +@dataclass(kw_only=True) +class CreateRepositoryInput: + client_mutation_id: Optional[str] = None + description: Optional[str] = None + has_issues_enabled: Optional[bool] = None + has_wiki_enabled: Optional[bool] = None + homepage_url: Optional[URI] = None + name: str + owner_id: Optional[ID] = None + team_id: Optional[ID] = None + template: Optional[bool] = None + visibility: RepositoryVisibility +@dataclass(kw_only=True) +class CreateSponsorsTierInput: + amount: int + client_mutation_id: Optional[str] = None + description: str + is_recurring: Optional[bool] = None + publish: Optional[bool] = None + repository_id: Optional[ID] = None + repository_name: Optional[str] = None + repository_owner_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None + welcome_message: Optional[str] = None -class IssueTemplate(GQLObject): - about: str - assignees: QJHGW_UserConnection_Field - body: str - filename: str - labels: BRDBV_LabelConnection_Field - name: str - title: str -class LanguageEdge(GQLObject): - cursor: str - node: Language - size: int - -class list_LanguageEdge(list, LanguageEdge): pass +@dataclass(kw_only=True) +class CreateTeamDiscussionCommentInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + discussion_id: Optional[ID] = None -class list_Language(list, Language): pass - -class LanguageConnection(GQLObject): - edges: list_LanguageEdge[LanguageEdge] - nodes: list_Language[Language] - pageInfo: PageInfo - totalCount: int - totalSize: int - -class ReleaseAsset(GQLObject): - contentType: str - createdAt: DateTime - downloadCount: int - downloadUrl: URI - id: ID - name: str - release: NewType('Release', GQLObject) ## Circular Reference for Release - size: int - updatedAt: DateTime - uploadedBy: NewType('User', GQLObject) ## Circular Reference for User - url: URI - -class ReleaseAssetEdge(GQLObject): - cursor: str - node: ReleaseAsset - -class list_ReleaseAssetEdge(list, ReleaseAssetEdge): pass - -class list_ReleaseAsset(list, ReleaseAsset): pass - -class ReleaseAssetConnection(GQLObject): - edges: list_ReleaseAssetEdge[ReleaseAssetEdge] - nodes: list_ReleaseAsset[ReleaseAsset] - pageInfo: PageInfo - totalCount: int - -class AJFZR_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserConnectionArgs - - - -class ZVKOM_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class PHHKJ_ReleaseAssetConnection_Field(ReleaseAssetConnection): - class ReleaseAssetConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - name: str - - _args: ReleaseAssetConnectionArgs - - - -class Release(GQLObject): - author: NewType('User', GQLObject) ## Circular Reference for User - createdAt: DateTime - databaseId: int - description: str - descriptionHTML: HTML - id: ID - isDraft: bool - isLatest: bool - isPrerelease: bool - mentions: AJFZR_UserConnection_Field - name: str - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: ZVKOM_ReactionConnection_Field - releaseAssets: PHHKJ_ReleaseAssetConnection_Field - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - shortDescriptionHTML: VNUPO_HTML_Field - tag: NewType('Ref', GQLObject) ## Circular Reference for Ref - tagCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - tagName: str - updatedAt: DateTime - url: URI - viewerCanReact: bool - -class list_LicenseRule(list, LicenseRule): pass - -class License(GQLObject): - body: str - conditions: list_LicenseRule[LicenseRule] - description: str - featured: bool - hidden: bool - id: ID - implementation: str - key: str - limitations: list_LicenseRule[LicenseRule] - name: str - nickname: str - permissions: list_LicenseRule[LicenseRule] - pseudoLicense: bool - spdxId: str - url: URI - -class MergeQueueEntry(GQLObject): - baseCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - enqueuedAt: DateTime - enqueuer: Actor - estimatedTimeToMerge: int - headCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - jump: bool - mergeQueue: NewType('MergeQueue', GQLObject) ## Circular Reference for MergeQueue - position: int - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - solo: bool - state: MergeQueueEntryState - -class MergeQueueEntryEdge(GQLObject): - cursor: str - node: MergeQueueEntry - -class list_MergeQueueEntryEdge(list, MergeQueueEntryEdge): pass - -class list_MergeQueueEntry(list, MergeQueueEntry): pass - -class MergeQueueEntryConnection(GQLObject): - edges: list_MergeQueueEntryEdge[MergeQueueEntryEdge] - nodes: list_MergeQueueEntry[MergeQueueEntry] - pageInfo: PageInfo - totalCount: int - -class CNKBP_MergeQueueEntryConnection_Field(MergeQueueEntryConnection): - class MergeQueueEntryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: MergeQueueEntryConnectionArgs - - - -class MergeQueue(GQLObject): - configuration: MergeQueueConfiguration - entries: CNKBP_MergeQueueEntryConnection_Field - id: ID - nextEntryEstimatedTimeToMerge: int - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - url: URI - -class UDTUX_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int - - _args: IssueConnectionArgs - - - -class VNSHA_PullRequestConnection_Field(Generic[PullRequestConnection]): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int - - _args: PullRequestConnectionArgs - - - -class Milestone(GQLObject): - closed: bool - closedAt: DateTime - createdAt: DateTime - creator: Actor - description: str - dueOn: DateTime - id: ID - issues: UDTUX_IssueConnection_Field - number: int - progressPercentage: float - pullRequests: VNSHA_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - resourcePath: URI - state: MilestoneState - title: str - updatedAt: DateTime - url: URI - viewerCanClose: bool - viewerCanReopen: bool - -class MilestoneEdge(GQLObject): - cursor: str - node: Milestone - -class list_MilestoneEdge(list, MilestoneEdge): pass - -class list_Milestone(list, Milestone): pass - -class MilestoneConnection(GQLObject): - edges: list_MilestoneEdge[MilestoneEdge] - nodes: list_Milestone[Milestone] - pageInfo: PageInfo - totalCount: int - -class GitObject(GQLObject): - abbreviatedOid: str - commitResourcePath: URI - commitUrl: URI - id: ID - oid: GitObjectID - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - -class ZNLHA_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - isArchived: bool - isFork: bool - - _args: RepositoryConnectionArgs - - - -class LSJGQ_Repository_Field(Generic[Repository]): - class RepositoryArgs(GQLArgsSet, GQLObject): - name: NonNull_str - followRenames: bool - - _args: RepositoryArgs - - - -class RepositoryOwner(GQLObject): - avatarUrl: AKNUG_URI_Field - id: ID - login: str - repositories: ZNLHA_RepositoryConnection_Field - repository: LSJGQ_Repository_Field ## Circular Reference for Repository - resourcePath: URI - url: URI - -class PackageFile(GQLObject): - id: ID - md5: str - name: str - packageVersion: NewType('PackageVersion', GQLObject) ## Circular Reference for PackageVersion - sha1: str - sha256: str - size: int - updatedAt: DateTime - url: URI - -class PackageFileEdge(GQLObject): - cursor: str - node: PackageFile - -class list_PackageFileEdge(list, PackageFileEdge): pass - -class list_PackageFile(list, PackageFile): pass - -class PackageFileConnection(GQLObject): - edges: list_PackageFileEdge[PackageFileEdge] - nodes: list_PackageFile[PackageFile] - pageInfo: PageInfo - totalCount: int - -class EPDUZ_PackageFileConnection_Field(PackageFileConnection): - class PackageFileConnectionArgs(GQLArgsSet, GQLObject): - orderBy: PackageFileOrder - after: str - before: str - first: int - last: int - - _args: PackageFileConnectionArgs - - - -class PackageVersion(GQLObject): - files: EPDUZ_PackageFileConnection_Field - id: ID - package: NewType('Package', GQLObject) ## Circular Reference for Package - platform: str - preRelease: bool - readme: str - release: Release - statistics: PackageVersionStatistics - summary: str - version: str - -class PackageVersionEdge(GQLObject): - cursor: str - node: PackageVersion - -class list_PackageVersionEdge(list, PackageVersionEdge): pass - -class list_PackageVersion(list, PackageVersion): pass - -class PackageVersionConnection(GQLObject): - edges: list_PackageVersionEdge[PackageVersionEdge] - nodes: list_PackageVersion[PackageVersion] - pageInfo: PageInfo - totalCount: int - -class FXHVM_PackageVersion_Field(PackageVersion): - class PackageVersionArgs(GQLArgsSet, GQLObject): - version: NonNull_str - - _args: PackageVersionArgs - - - -class TQHVF_PackageVersionConnection_Field(PackageVersionConnection): - class PackageVersionConnectionArgs(GQLArgsSet, GQLObject): - orderBy: PackageVersionOrder - after: str - before: str - first: int - last: int - - _args: PackageVersionConnectionArgs - - - -class Package(GQLObject): - id: ID - latestVersion: PackageVersion - name: str - packageType: PackageType - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - statistics: PackageStatistics - version: FXHVM_PackageVersion_Field - versions: TQHVF_PackageVersionConnection_Field - -class PackageEdge(GQLObject): - cursor: str - node: Package - -class list_PackageEdge(list, PackageEdge): pass - -class list_Package(list, Package): pass - -class PackageConnection(GQLObject): - edges: list_PackageEdge[PackageEdge] - nodes: list_Package[Package] - pageInfo: PageInfo - totalCount: int - -class PinnedDiscussion(GQLObject): - createdAt: DateTime - databaseId: int - discussion: Discussion - gradientStopColors: list[str] - id: ID - pattern: PinnedDiscussionPattern - pinnedBy: Actor - preconfiguredGradient: PinnedDiscussionGradient - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - updatedAt: DateTime - -class PinnedDiscussionEdge(GQLObject): - cursor: str - node: PinnedDiscussion - -class list_PinnedDiscussionEdge(list, PinnedDiscussionEdge): pass - -class list_PinnedDiscussion(list, PinnedDiscussion): pass - -class PinnedDiscussionConnection(GQLObject): - edges: list_PinnedDiscussionEdge[PinnedDiscussionEdge] - nodes: list_PinnedDiscussion[PinnedDiscussion] - pageInfo: PageInfo - totalCount: int - -class PinnedIssue(GQLObject): - databaseId: int - fullDatabaseId: BigInt - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - pinnedBy: Actor - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - -class PinnedIssueEdge(GQLObject): - cursor: str - node: PinnedIssue -class list_PinnedIssueEdge(list, PinnedIssueEdge): pass +@dataclass(kw_only=True) +class CreateUserListInput: + client_mutation_id: Optional[str] = None + description: Optional[str] = None + is_private: Optional[bool] = None + name: str -class list_PinnedIssue(list, PinnedIssue): pass -class PinnedIssueConnection(GQLObject): - edges: list_PinnedIssueEdge[PinnedIssueEdge] - nodes: list_PinnedIssue[PinnedIssue] - pageInfo: PageInfo - totalCount: int - -class ProjectCardItem(GQLObject): - pass - -class ProjectCard(GQLObject): - column: NewType('ProjectColumn', GQLObject) ## Circular Reference for ProjectColumn - content: ProjectCardItem - createdAt: DateTime - creator: Actor - databaseId: int - id: ID - isArchived: bool - note: str - project: NewType('Project', GQLObject) ## Circular Reference for Project - resourcePath: URI - state: ProjectCardState - updatedAt: DateTime - url: URI - -class ProjectCardEdge(GQLObject): - cursor: str - node: ProjectCard - -class list_ProjectCardEdge(list, ProjectCardEdge): pass +@dataclass(kw_only=True) +class Deletable: + viewer_can_delete: bool -class list_ProjectCard(list, ProjectCard): pass -class ProjectCardConnection(GQLObject): - edges: list_ProjectCardEdge[ProjectCardEdge] - nodes: list_ProjectCard[ProjectCard] - pageInfo: PageInfo - totalCount: int - -class LVTHM_ProjectCardConnection_Field(ProjectCardConnection): - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] +@dataclass(kw_only=True) +class DeleteBranchProtectionRulePayload: + client_mutation_id: Optional[str] = None - _args: ProjectCardConnectionArgs +@dataclass(kw_only=True) +class DeleteDeploymentPayload: + client_mutation_id: Optional[str] = None -class ProjectColumn(GQLObject): - cards: LVTHM_ProjectCardConnection_Field - createdAt: DateTime - databaseId: int - id: ID - name: str - project: NewType('Project', GQLObject) ## Circular Reference for Project - purpose: ProjectColumnPurpose - resourcePath: URI - updatedAt: DateTime - url: URI - -class ProjectColumnEdge(GQLObject): - cursor: str - node: ProjectColumn - -class list_ProjectColumnEdge(list, ProjectColumnEdge): pass - -class list_ProjectColumn(list, ProjectColumn): pass - -class ProjectColumnConnection(GQLObject): - edges: list_ProjectColumnEdge[ProjectColumnEdge] - nodes: list_ProjectColumn[ProjectColumn] - pageInfo: PageInfo - totalCount: int - -class ProjectEdge(GQLObject): - cursor: str - node: NewType('Project', GQLObject) ## Circular Reference for Project - -class list_ProjectEdge(list, ProjectEdge): pass - -class ProjectConnection(GQLObject): - edges: list_ProjectEdge[ProjectEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Project - pageInfo: PageInfo - totalCount: int - -class SDDHQ_Project_Field(Generic[Project]): - class ProjectArgs(GQLArgsSet, GQLObject): - number: NonNull_int - - _args: ProjectArgs - - - -class NonNull_ProjectState(GQLObject): pass - -class PBAGQ_ProjectConnection_Field(ProjectConnection): - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int - - _args: ProjectConnectionArgs - - - -class ProjectOwner(GQLObject): - id: ID - project: SDDHQ_Project_Field ## Circular Reference for Project - projects: PBAGQ_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - viewerCanCreateProjects: bool - -class DHSSG_ProjectColumnConnection_Field(ProjectColumnConnection): - class ProjectColumnConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ProjectColumnConnectionArgs - - - -class BOJBP_ProjectCardConnection_Field(ProjectCardConnection): - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] +@dataclass(kw_only=True) +class DeleteDiscussionInput: + client_mutation_id: Optional[str] = None + id: ID - _args: ProjectCardConnectionArgs +@dataclass(kw_only=True) +class DeleteEnvironmentPayload: + client_mutation_id: Optional[str] = None -class Project(GQLObject): - body: str - bodyHTML: HTML - closed: bool - closedAt: DateTime - columns: DHSSG_ProjectColumnConnection_Field - createdAt: DateTime - creator: Actor - databaseId: int - id: ID - name: str - number: int - owner: ProjectOwner - pendingCards: BOJBP_ProjectCardConnection_Field - progress: ProjectProgress - resourcePath: URI - state: ProjectState - updatedAt: DateTime - url: URI - viewerCanClose: bool - viewerCanReopen: bool - viewerCanUpdate: bool +@dataclass(kw_only=True) +class DeleteIssueCommentInput: + client_mutation_id: Optional[str] = None + id: ID -class PullRequestTemplate(GQLObject): - body: str - filename: str - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository -class RefEdge(GQLObject): - cursor: str - node: NewType('Ref', GQLObject) ## Circular Reference for Ref +@dataclass(kw_only=True) +class DeleteIssueInput: + client_mutation_id: Optional[str] = None + issue_id: ID -class list_RefEdge(list, RefEdge): pass -class RefConnection(GQLObject): - edges: list_RefEdge[RefEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Ref - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class DeleteLabelPayload: + client_mutation_id: Optional[str] = None -class ReleaseEdge(GQLObject): - cursor: str - node: Release -class list_ReleaseEdge(list, ReleaseEdge): pass +@dataclass(kw_only=True) +class DeletePackageVersionInput: + client_mutation_id: Optional[str] = None + package_version_id: ID -class list_Release(list, Release): pass -class ReleaseConnection(GQLObject): - edges: list_ReleaseEdge[ReleaseEdge] - nodes: list_Release[Release] - pageInfo: PageInfo - totalCount: int - -class StargazerEdge(GQLObject): - cursor: str - node: NewType('User', GQLObject) ## Circular Reference for User - starredAt: DateTime - -class list_StargazerEdge(list, StargazerEdge): pass - -class StargazerConnection(GQLObject): - edges: list_StargazerEdge[StargazerEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class DeleteProjectCardInput: + card_id: ID + client_mutation_id: Optional[str] = None -class POPBF_Topic_Field(Generic[Topic]): - class TopicArgs(GQLArgsSet, GQLObject): - first: int - - _args: TopicArgs - - - -class OSRYG_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - sponsorableOnly: bool - - _args: RepositoryConnectionArgs - - - -class WVGDA_StargazerConnection_Field(StargazerConnection): - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: StarOrder - - _args: StargazerConnectionArgs - - - -class Topic(GQLObject): - id: ID - name: str - relatedTopics: POPBF_Topic_Field ## Circular Reference for Topic - repositories: OSRYG_RepositoryConnection_Field - stargazerCount: int - stargazers: WVGDA_StargazerConnection_Field - viewerHasStarred: bool -class RepositoryTopic(GQLObject): - id: ID - resourcePath: URI - topic: Topic - url: URI +@dataclass(kw_only=True) +class DeleteProjectInput: + client_mutation_id: Optional[str] = None + project_id: ID -class RepositoryTopicEdge(GQLObject): - cursor: str - node: RepositoryTopic -class list_RepositoryTopicEdge(list, RepositoryTopicEdge): pass +@dataclass(kw_only=True) +class DeleteProjectV2Input: + client_mutation_id: Optional[str] = None + project_id: ID -class list_RepositoryTopic(list, RepositoryTopic): pass -class RepositoryTopicConnection(GQLObject): - edges: list_RepositoryTopicEdge[RepositoryTopicEdge] - nodes: list_RepositoryTopic[RepositoryTopic] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class DeleteProjectV2ItemPayload: + client_mutation_id: Optional[str] = None + deleted_item_id: Optional[ID] = None -class BypassActor(GQLObject): - pass -class RepositoryRulesetBypassActor(GQLObject): - actor: BypassActor - bypassMode: RepositoryRulesetBypassActorBypassMode - id: ID - organizationAdmin: bool - repositoryRoleDatabaseId: int - repositoryRoleName: str - repositoryRuleset: NewType('RepositoryRuleset', GQLObject) ## Circular Reference for RepositoryRuleset +@dataclass(kw_only=True) +class DeletePullRequestReviewCommentInput: + client_mutation_id: Optional[str] = None + id: ID -class RepositoryRulesetBypassActorEdge(GQLObject): - cursor: str - node: RepositoryRulesetBypassActor -class list_RepositoryRulesetBypassActorEdge(list, RepositoryRulesetBypassActorEdge): pass +@dataclass(kw_only=True) +class DeleteRefInput: + client_mutation_id: Optional[str] = None + ref_id: ID -class list_RepositoryRulesetBypassActor(list, RepositoryRulesetBypassActor): pass -class RepositoryRulesetBypassActorConnection(GQLObject): - edges: list_RepositoryRulesetBypassActorEdge[RepositoryRulesetBypassActorEdge] - nodes: list_RepositoryRulesetBypassActor[RepositoryRulesetBypassActor] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class DeleteRepositoryRulesetInput: + client_mutation_id: Optional[str] = None + repository_ruleset_id: ID -class RepositoryRuleConditions(GQLObject): - refName: RefNameConditionTarget - repositoryId: RepositoryIdConditionTarget - repositoryName: RepositoryNameConditionTarget -class list_StatusCheckConfiguration(list, StatusCheckConfiguration): pass +@dataclass(kw_only=True) +class DeleteTeamDiscussionCommentInput: + client_mutation_id: Optional[str] = None + id: ID -class RequiredStatusChecksParameters(GQLObject): - requiredStatusChecks: list_StatusCheckConfiguration[StatusCheckConfiguration] - strictRequiredStatusChecksPolicy: bool -class RuleParameters(GQLObject): - pass +@dataclass(kw_only=True) +class DeleteTeamDiscussionInput: + client_mutation_id: Optional[str] = None + id: ID -class RepositoryRule(GQLObject): - id: ID - parameters: RuleParameters - type: RepositoryRuleType -class RepositoryRuleEdge(GQLObject): - cursor: str - node: RepositoryRule +@dataclass(kw_only=True) +class DeleteUserListInput: + client_mutation_id: Optional[str] = None + list_id: ID -class list_RepositoryRuleEdge(list, RepositoryRuleEdge): pass -class list_RepositoryRule(list, RepositoryRule): pass +@dataclass(kw_only=True) +class DependabotUpdateError: + body: str + error_type: str + title: str -class RepositoryRuleConnection(GQLObject): - edges: list_RepositoryRuleEdge[RepositoryRuleEdge] - nodes: list_RepositoryRule[RepositoryRule] - pageInfo: PageInfo - totalCount: int -class RuleSource(GQLObject): - pass +@dataclass(kw_only=True) +class DeploymentOrder: + direction: OrderDirection + field: DeploymentOrderField -class CVJDI_RepositoryRulesetBypassActorConnection_Field(RepositoryRulesetBypassActorConnection): - class RepositoryRulesetBypassActorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: RepositoryRulesetBypassActorConnectionArgs +@dataclass(kw_only=True) +class DisablePullRequestAutoMergeInput: + client_mutation_id: Optional[str] = None + pull_request_id: ID - -class AYOMR_RepositoryRuleConnection_Field(RepositoryRuleConnection): - class RepositoryRuleConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - type: RepositoryRuleType - - _args: RepositoryRuleConnectionArgs +@dataclass(kw_only=True) +class DiscussionPollOptionOrder: + direction: OrderDirection + field: DiscussionPollOptionOrderField +@dataclass(kw_only=True) +class DismissRepositoryVulnerabilityAlertInput: + client_mutation_id: Optional[str] = None + dismiss_reason: DismissReason + repository_vulnerability_alert_id: ID -class RepositoryRuleset(GQLObject): - bypassActors: CVJDI_RepositoryRulesetBypassActorConnection_Field - conditions: RepositoryRuleConditions - createdAt: DateTime - databaseId: int - enforcement: RuleEnforcement - id: ID - name: str - rules: AYOMR_RepositoryRuleConnection_Field - source: RuleSource - target: RepositoryRulesetTarget - updatedAt: DateTime -class RepositoryRulesetEdge(GQLObject): - cursor: str - node: RepositoryRuleset +@dataclass(kw_only=True) +class DraftPullRequestReviewThread: + body: str + line: int + path: str + side: Optional[DiffSide] = None + start_line: Optional[int] = None + start_side: Optional[DiffSide] = None -class list_RepositoryRulesetEdge(list, RepositoryRulesetEdge): pass -class list_RepositoryRuleset(list, RepositoryRuleset): pass +@dataclass(kw_only=True) +class EnqueuePullRequestInput: + client_mutation_id: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + jump: Optional[bool] = None + pull_request_id: ID -class RepositoryRulesetConnection(GQLObject): - edges: list_RepositoryRulesetEdge[RepositoryRulesetEdge] - nodes: list_RepositoryRuleset[RepositoryRuleset] - pageInfo: PageInfo - totalCount: int -class SubmoduleEdge(GQLObject): - cursor: str - node: Submodule +@dataclass(kw_only=True) +class EnterpriseAuditEntryData: + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None -class list_SubmoduleEdge(list, SubmoduleEdge): pass -class list_Submodule(list, Submodule): pass +@dataclass(kw_only=True) +class EnterpriseMemberOrder: + direction: OrderDirection + field: EnterpriseMemberOrderField -class SubmoduleConnection(GQLObject): - edges: list_SubmoduleEdge[SubmoduleEdge] - nodes: list_Submodule[Submodule] - pageInfo: PageInfo - totalCount: int -class DependabotUpdate(GQLObject): - error: DependabotUpdateError - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository +@dataclass(kw_only=True) +class EnterpriseRepositoryInfo: + id: ID + is_private: bool + name: str + name_with_owner: str -class CWEEdge(GQLObject): - cursor: str - node: CWE - -class list_CWEEdge(list, CWEEdge): pass - -class list_CWE(list, CWE): pass - -class CWEConnection(GQLObject): - edges: list_CWEEdge[CWEEdge] - nodes: list_CWE[CWE] - pageInfo: PageInfo - totalCount: int - -class SecurityVulnerability(GQLObject): - advisory: NewType('SecurityAdvisory', GQLObject) ## Circular Reference for SecurityAdvisory - firstPatchedVersion: SecurityAdvisoryPackageVersion - package: SecurityAdvisoryPackage - severity: SecurityAdvisorySeverity - updatedAt: DateTime - vulnerableVersionRange: str - -class SecurityVulnerabilityEdge(GQLObject): - cursor: str - node: SecurityVulnerability - -class list_SecurityVulnerabilityEdge(list, SecurityVulnerabilityEdge): pass - -class list_SecurityVulnerability(list, SecurityVulnerability): pass - -class SecurityVulnerabilityConnection(GQLObject): - edges: list_SecurityVulnerabilityEdge[SecurityVulnerabilityEdge] - nodes: list_SecurityVulnerability[SecurityVulnerability] - pageInfo: PageInfo - totalCount: int - -class ENNEW_CWEConnection_Field(CWEConnection): - class CWEConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: CWEConnectionArgs - - - -class list_SecurityAdvisoryIdentifier(list, SecurityAdvisoryIdentifier): pass - -class list_SecurityAdvisoryReference(list, SecurityAdvisoryReference): pass - -class NonNull_SecurityAdvisorySeverity(GQLObject): pass - -class NonNull_SecurityAdvisoryClassification(GQLObject): pass - -class THQIY_SecurityVulnerabilityConnection_Field(SecurityVulnerabilityConnection): - class SecurityVulnerabilityConnectionArgs(GQLArgsSet, GQLObject): - orderBy: SecurityVulnerabilityOrder - ecosystem: SecurityAdvisoryEcosystem - package: str - severities: list[NonNull_SecurityAdvisorySeverity] - classifications: list[NonNull_SecurityAdvisoryClassification] - after: str - before: str - first: int - last: int - _args: SecurityVulnerabilityConnectionArgs +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmailOrder: + direction: OrderDirection + field: EnterpriseServerUserAccountEmailOrderField +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUploadOrder: + direction: OrderDirection + field: EnterpriseServerUserAccountsUploadOrderField -class SecurityAdvisory(GQLObject): - classification: SecurityAdvisoryClassification - cvss: CVSS - cwes: ENNEW_CWEConnection_Field - databaseId: int - description: str - ghsaId: str - id: ID - identifiers: list_SecurityAdvisoryIdentifier[SecurityAdvisoryIdentifier] - notificationsPermalink: URI - origin: str - permalink: URI - publishedAt: DateTime - references: list_SecurityAdvisoryReference[SecurityAdvisoryReference] - severity: SecurityAdvisorySeverity - summary: str - updatedAt: DateTime - vulnerabilities: THQIY_SecurityVulnerabilityConnection_Field - withdrawnAt: DateTime -class RepositoryVulnerabilityAlert(GQLObject): - autoDismissedAt: DateTime - createdAt: DateTime - dependabotUpdate: DependabotUpdate - dependencyScope: RepositoryVulnerabilityAlertDependencyScope - dismissComment: str - dismissReason: str - dismissedAt: DateTime - dismisser: NewType('User', GQLObject) ## Circular Reference for User - fixedAt: DateTime - id: ID - number: int - repository: NewType('Repository', GQLObject) ## Circular Reference for Repository - securityAdvisory: SecurityAdvisory - securityVulnerability: SecurityVulnerability - state: RepositoryVulnerabilityAlertState - vulnerableManifestFilename: str - vulnerableManifestPath: str - vulnerableRequirements: str +@dataclass(kw_only=True) +class ExternalIdentityAttribute: + metadata: Optional[str] = None + name: str + value: str -class RepositoryVulnerabilityAlertEdge(GQLObject): - cursor: str - node: RepositoryVulnerabilityAlert -class list_RepositoryVulnerabilityAlertEdge(list, RepositoryVulnerabilityAlertEdge): pass +@dataclass(kw_only=True) +class FileDeletion: + path: str -class list_RepositoryVulnerabilityAlert(list, RepositoryVulnerabilityAlert): pass -class RepositoryVulnerabilityAlertConnection(GQLObject): - edges: list_RepositoryVulnerabilityAlertEdge[RepositoryVulnerabilityAlertEdge] - nodes: list_RepositoryVulnerabilityAlert[RepositoryVulnerabilityAlert] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class FollowUserInput: + client_mutation_id: Optional[str] = None + user_id: ID -class UPXBC_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - query: str - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class GenericHovercardContext: + message: str + octicon: str +@dataclass(kw_only=True) +class GitHubMetadata: + git_hub_services_sha: GitObjectID + git_ip_addresses: Optional[list[str]] = None + github_enterprise_importer_ip_addresses: Optional[list[str]] = None + hook_ip_addresses: Optional[list[str]] = None + importer_ip_addresses: Optional[list[str]] = None + is_password_authentication_verifiable: bool + pages_ip_addresses: Optional[list[str]] = None -class YSHOJ_BranchProtectionRuleConnection_Field(BranchProtectionRuleConnection): - class BranchProtectionRuleConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: BranchProtectionRuleConnectionArgs +@dataclass(kw_only=True) +class GrantMigratorRoleInput: + actor: str + actor_type: ActorType + client_mutation_id: Optional[str] = None + organization_id: ID +@dataclass(kw_only=True) +class HovercardContext: + message: str + octicon: str -class HJUVA_RepositoryCodeowners_Field(RepositoryCodeowners): - class RepositoryCodeownersArgs(GQLArgsSet, GQLObject): - refName: str - _args: RepositoryCodeownersArgs +@dataclass(kw_only=True) +class IpAllowListEntryOrder: + direction: OrderDirection + field: IpAllowListEntryOrderField +@dataclass(kw_only=True) +class IssueFilters: + assignee: Optional[str] = None + created_by: Optional[str] = None + labels: Optional[list[str]] = None + mentioned: Optional[str] = None + milestone: Optional[str] = None + milestone_number: Optional[str] = None + since: Optional[DateTime] = None + states: Optional[list[IssueState]] = None + viewer_subscribed: Optional[bool] = None -class AACLB_RepositoryCollaboratorConnection_Field(RepositoryCollaboratorConnection): - class RepositoryCollaboratorConnectionArgs(GQLArgsSet, GQLObject): - affiliation: CollaboratorAffiliation - login: str - query: str - after: str - before: str - first: int - last: int - _args: RepositoryCollaboratorConnectionArgs +@dataclass(kw_only=True) +class LabelOrder: + direction: OrderDirection + field: LabelOrderField +@dataclass(kw_only=True) +class LanguageOrder: + direction: OrderDirection + field: LanguageOrderField -class BCJQJ_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: CommitCommentConnectionArgs +@dataclass(kw_only=True) +class LinkProjectV2ToRepositoryInput: + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID +@dataclass(kw_only=True) +class LinkRepositoryToProjectInput: + client_mutation_id: Optional[str] = None + project_id: ID + repository_id: ID -class list_RepositoryContactLink(list, RepositoryContactLink): pass -class XWMWZ_DeployKeyConnection_Field(DeployKeyConnection): - class DeployKeyConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class Lockable: + active_lock_reason: Optional[LockReason] = None + locked: bool - _args: DeployKeyConnectionArgs +@dataclass(kw_only=True) +class MarkDiscussionCommentAsAnswerInput: + client_mutation_id: Optional[str] = None + id: ID -class DDQMY_DeploymentConnection_Field(DeploymentConnection): - class DeploymentConnectionArgs(GQLArgsSet, GQLObject): - environments: list[NonNull_str] - orderBy: DeploymentOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class MarkNotificationAsDoneInput: + client_mutation_id: Optional[str] = None + id: ID - _args: DeploymentConnectionArgs +@dataclass(kw_only=True) +class MarkPullRequestReadyForReviewInput: + client_mutation_id: Optional[str] = None + pull_request_id: ID -class BFEND_Discussion_Field(Discussion): - class DiscussionArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class MemberFeatureRequestNotification: + body: str + id: ID + title: str + updated_at: DateTime - _args: DiscussionArgs +@dataclass(kw_only=True) +class MergePullRequestInput: + author_email: Optional[str] = None + client_mutation_id: Optional[str] = None + commit_body: Optional[str] = None + commit_headline: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + merge_method: Optional[PullRequestMergeMethod] = None + pull_request_id: ID -class AANJP_DiscussionCategoryConnection_Field(DiscussionCategoryConnection): - class DiscussionCategoryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - filterByAssignable: bool +@dataclass(kw_only=True) +class MigrationSource: + id: ID + name: str + type: MigrationSourceType + url: URI - _args: DiscussionCategoryConnectionArgs +@dataclass(kw_only=True) +class Minimizable: + is_minimized: bool + minimized_reason: Optional[str] = None + viewer_can_minimize: bool -class KFYYY_DiscussionCategory_Field(DiscussionCategory): - class DiscussionCategoryArgs(GQLArgsSet, GQLObject): - slug: NonNull_str +@dataclass(kw_only=True) +class MoveProjectCardInput: + after_card_id: Optional[ID] = None + card_id: ID + client_mutation_id: Optional[str] = None + column_id: ID - _args: DiscussionCategoryArgs +@dataclass(kw_only=True) +class Node: + id: ID -class NonNull_DiscussionState(GQLObject): pass +@dataclass(kw_only=True) +class OrgEnterpriseOwnerOrder: + direction: OrderDirection + field: OrgEnterpriseOwnerOrderField -class JSPTL_DiscussionConnection_Field(DiscussionConnection): - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - categoryId: ID - states: list[NonNull_DiscussionState] - orderBy: DiscussionOrder - _args: DiscussionConnectionArgs +@dataclass(kw_only=True) +class OrganizationOrder: + direction: OrderDirection + field: OrganizationOrderField +@dataclass(kw_only=True) +class PackageOrder: + direction: Optional[OrderDirection] = None + field: Optional[PackageOrderField] = None -class YYBNN_Environment_Field(Environment): - class EnvironmentArgs(GQLArgsSet, GQLObject): - name: NonNull_str - _args: EnvironmentArgs +@dataclass(kw_only=True) +class PackageVersionOrder: + direction: Optional[OrderDirection] = None + field: Optional[PackageVersionOrderField] = None +@dataclass(kw_only=True) +class PageInfo: + end_cursor: Optional[str] = None + has_next_page: bool + has_previous_page: bool + start_cursor: Optional[str] = None -class SOFZK_EnvironmentConnection_Field(EnvironmentConnection): - class EnvironmentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: Environments - _args: EnvironmentConnectionArgs +@dataclass(kw_only=True) +class ProjectCardImport: + number: int + repository: str +@dataclass(kw_only=True) +class ProjectProgress: + done_count: int + done_percentage: float + enabled: bool + in_progress_count: int + in_progress_percentage: float + todo_count: int + todo_percentage: float -class MBZLL_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - _args: RepositoryConnectionArgs +@dataclass(kw_only=True) +class ProjectV2FieldOrder: + direction: OrderDirection + field: ProjectV2FieldOrderField +@dataclass(kw_only=True) +class ProjectV2Filters: + state: Optional[ProjectV2State] = None -class list_FundingLink(list, FundingLink): pass -class STLEW_Issue_Field(Generic[Issue]): - class IssueArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class ProjectV2ItemOrder: + direction: OrderDirection + field: ProjectV2ItemOrderField - _args: IssueArgs +@dataclass(kw_only=True) +class ProjectV2Order: + direction: OrderDirection + field: ProjectV2OrderField -class YOHBQ_IssueOrPullRequest_Field(IssueOrPullRequest): - class IssueOrPullRequestArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class ProjectV2SingleSelectFieldOptionInput: + color: ProjectV2SingleSelectFieldOptionColor + description: str + name: str - _args: IssueOrPullRequestArgs +@dataclass(kw_only=True) +class ProjectV2WorkflowOrder: + direction: OrderDirection + field: ProjectV2WorkflowsOrderField -class list_IssueTemplate(list, IssueTemplate): pass +@dataclass(kw_only=True) +class PropertyTargetDefinitionInput: + name: str + property_values: list[str] -class WHHMT_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int - _args: IssueConnectionArgs +@dataclass(kw_only=True) +class PublishSponsorsTierInput: + client_mutation_id: Optional[str] = None + tier_id: ID +@dataclass(kw_only=True) +class PullRequestOrder: + direction: OrderDirection + field: PullRequestOrderField -class MZSIB_Label_Field(Label): - class LabelArgs(GQLArgsSet, GQLObject): - name: NonNull_str - _args: LabelArgs +@dataclass(kw_only=True) +class PullRequestParametersInput: + 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 +@dataclass(kw_only=True) +class ReactionOrder: + direction: OrderDirection + field: ReactionOrderField -class TNBTX_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - orderBy: LabelOrder - after: str - before: str - first: int - last: int - query: str - _args: LabelConnectionArgs +@dataclass(kw_only=True) +class RefNameConditionTargetInput: + exclude: list[str] + include: list[str] +@dataclass(kw_only=True) +class RefUpdate: + after_oid: GitObjectID + before_oid: Optional[GitObjectID] = None + force: Optional[bool] = None + name: GitRefname -class SXOUA_LanguageConnection_Field(LanguageConnection): - class LanguageConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: LanguageOrder - _args: LanguageConnectionArgs +@dataclass(kw_only=True) +class RegenerateEnterpriseIdentityProviderRecoveryCodesInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID +@dataclass(kw_only=True) +class RegenerateVerifiableDomainTokenPayload: + client_mutation_id: Optional[str] = None + verification_token: Optional[str] = None -class YOEEG_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - query: str - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class ReleaseOrder: + direction: OrderDirection + field: ReleaseOrderField +@dataclass(kw_only=True) +class RemoveEnterpriseAdminInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str -class MWJET_MergeQueue_Field(MergeQueue): - class MergeQueueArgs(GQLArgsSet, GQLObject): - branch: str - _args: MergeQueueArgs +@dataclass(kw_only=True) +class RemoveEnterpriseMemberInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + user_id: ID +@dataclass(kw_only=True) +class RemoveEnterpriseSupportEntitlementInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str -class ZMOMX_Milestone_Field(Milestone): - class MilestoneArgs(GQLArgsSet, GQLObject): - number: NonNull_int - _args: MilestoneArgs +@dataclass(kw_only=True) +class RemoveLabelsFromLabelableInput: + client_mutation_id: Optional[str] = None + label_ids: list[ID] + labelable_id: ID +@dataclass(kw_only=True) +class RemoveReactionInput: + client_mutation_id: Optional[str] = None + content: ReactionContent + subject_id: ID -class NonNull_MilestoneState(GQLObject): pass -class KVHXW_MilestoneConnection_Field(MilestoneConnection): - class MilestoneConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - states: list[NonNull_MilestoneState] - orderBy: MilestoneOrder - query: str +@dataclass(kw_only=True) +class RemoveUpvoteInput: + client_mutation_id: Optional[str] = None + subject_id: ID - _args: MilestoneConnectionArgs +@dataclass(kw_only=True) +class ReopenIssueInput: + client_mutation_id: Optional[str] = None + issue_id: ID -class IWPWK_GitObject_Field(GitObject): - class GitObjectArgs(GQLArgsSet, GQLObject): - oid: GitObjectID - expression: str +@dataclass(kw_only=True) +class RepositoryCodeownersError: + column: int + kind: str + line: int + message: str + path: str + source: str + suggestion: Optional[str] = None - _args: GitObjectArgs +@dataclass(kw_only=True) +class RepositoryIdConditionTarget: + repository_ids: list[ID] -class NSDSF_PackageConnection_Field(PackageConnection): - class PackageConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder +@dataclass(kw_only=True) +class RepositoryInteractionAbility: + expires_at: Optional[DateTime] = None + limit: RepositoryInteractionLimit + origin: RepositoryInteractionLimitOrigin - _args: PackageConnectionArgs +@dataclass(kw_only=True) +class RepositoryMigrationOrder: + direction: RepositoryMigrationOrderDirection + field: RepositoryMigrationOrderField -class RTAYW_PinnedDiscussionConnection_Field(PinnedDiscussionConnection): - class PinnedDiscussionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class RepositoryNameConditionTargetInput: + exclude: list[str] + include: list[str] + protected: Optional[bool] = None - _args: PinnedDiscussionConnectionArgs +@dataclass(kw_only=True) +class RepositoryRuleOrder: + direction: OrderDirection + field: RepositoryRuleOrderField -class LAQDG_PinnedIssueConnection_Field(PinnedIssueConnection): - class PinnedIssueConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class RequestReviewsInput: + client_mutation_id: Optional[str] = None + pull_request_id: ID + team_ids: Optional[list[ID]] = None + union: Optional[bool] = None + user_ids: Optional[list[ID]] = None - _args: PinnedIssueConnectionArgs +@dataclass(kw_only=True) +class RequiredDeploymentsParameters: + required_deployment_environments: list[str] -class QKXAP_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class RequiredStatusCheckInput: + app_id: Optional[ID] = None + context: str - _args: ProjectArgs +@dataclass(kw_only=True) +class ResolveReviewThreadInput: + client_mutation_id: Optional[str] = None + thread_id: ID -class LRARV_ProjectV2_Field(Generic[ProjectV2]): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class RevertPullRequestInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + draft: Optional[bool] = None + pull_request_id: ID + title: Optional[str] = None - _args: ProjectV2Args +@dataclass(kw_only=True) +class RevokeEnterpriseOrganizationsMigratorRoleInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str -class QBLDW_ProjectConnection_Field(ProjectConnection): - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class RevokeMigratorRolePayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None - _args: ProjectConnectionArgs +@dataclass(kw_only=True) +class SecurityAdvisoryIdentifier: + type: str + value: str -class JGZMB_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - query: str - orderBy: ProjectV2Order +@dataclass(kw_only=True) +class SecurityAdvisoryOrder: + direction: OrderDirection + field: SecurityAdvisoryOrderField - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class SecurityAdvisoryPackageVersion: + identifier: str -class JRFVA_PullRequest_Field(Generic[PullRequest]): - class PullRequestArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class SecurityVulnerabilityOrder: + direction: OrderDirection + field: SecurityVulnerabilityOrderField - _args: PullRequestArgs +@dataclass(kw_only=True) +class SetOrganizationInteractionLimitInput: + client_mutation_id: Optional[str] = None + expiry: Optional[RepositoryInteractionLimitExpiry] = None + limit: RepositoryInteractionLimit + organization_id: ID -class list_PullRequestTemplate(list, PullRequestTemplate): pass +@dataclass(kw_only=True) +class SetUserInteractionLimitInput: + client_mutation_id: Optional[str] = None + expiry: Optional[RepositoryInteractionLimitExpiry] = None + limit: RepositoryInteractionLimit + user_id: ID -class SAZIB_PullRequestConnection_Field(Generic[PullRequestConnection]): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int - _args: PullRequestConnectionArgs +@dataclass(kw_only=True) +class SponsorAndLifetimeValueOrder: + direction: OrderDirection + field: SponsorAndLifetimeValueOrderField +@dataclass(kw_only=True) +class SponsorableOrder: + direction: OrderDirection + field: SponsorableOrderField -class MNKKL_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class SponsorsGoal: + description: Optional[str] = None + kind: SponsorsGoalKind + percent_complete: int + target_value: int + title: str +@dataclass(kw_only=True) +class SponsorshipNewsletterOrder: + direction: OrderDirection + field: SponsorshipNewsletterOrderField -class ZHVSO_Ref_Field(Generic[Ref]): - class RefArgs(GQLArgsSet, GQLObject): - qualifiedName: NonNull_str - _args: RefArgs +@dataclass(kw_only=True) +class StarOrder: + direction: OrderDirection + field: StarOrderField +@dataclass(kw_only=True) +class StartRepositoryMigrationInput: + access_token: Optional[str] = None + client_mutation_id: Optional[str] = None + continue_on_error: Optional[bool] = None + git_archive_url: Optional[str] = None + github_pat: Optional[str] = None + lock_source: Optional[bool] = None + metadata_archive_url: Optional[str] = None + owner_id: ID + repository_name: str + skip_releases: Optional[bool] = None + source_id: ID + source_repository_url: Optional[URI] = None + target_repo_visibility: Optional[str] = None -class YHVYN_RefConnection_Field(RefConnection): - class RefConnectionArgs(GQLArgsSet, GQLObject): - query: str - after: str - before: str - first: int - last: int - refPrefix: NonNull_str - direction: OrderDirection - orderBy: RefOrder - _args: RefConnectionArgs +@dataclass(kw_only=True) +class StatusCheckConfigurationInput: + context: str + integration_id: Optional[int] = None +@dataclass(kw_only=True) +class SubmitPullRequestReviewInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + event: PullRequestReviewEvent + pull_request_id: Optional[ID] = None + pull_request_review_id: Optional[ID] = None -class DSPVY_Release_Field(Release): - class ReleaseArgs(GQLArgsSet, GQLObject): - tagName: NonNull_str - _args: ReleaseArgs +@dataclass(kw_only=True) +class Subscribable: + id: ID + viewer_can_subscribe: bool + viewer_subscription: Optional[SubscriptionState] = None +@dataclass(kw_only=True) +class TagNamePatternParameters: + name: Optional[str] = None + negate: bool + operator: str + pattern: str -class KLALJ_ReleaseConnection_Field(ReleaseConnection): - class ReleaseConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ReleaseOrder - _args: ReleaseConnectionArgs +@dataclass(kw_only=True) +class TeamDiscussionCommentOrder: + direction: OrderDirection + field: TeamDiscussionCommentOrderField +@dataclass(kw_only=True) +class TeamMemberOrder: + direction: OrderDirection + field: TeamMemberOrderField -class IPZSM_RepositoryTopicConnection_Field(RepositoryTopicConnection): - class RepositoryTopicConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: RepositoryTopicConnectionArgs +@dataclass(kw_only=True) +class TeamRepositoryOrder: + direction: OrderDirection + field: TeamRepositoryOrderField +@dataclass(kw_only=True) +class TransferEnterpriseOrganizationInput: + client_mutation_id: Optional[str] = None + destination_enterprise_id: ID + organization_id: ID -class JRRMJ_RepositoryRuleset_Field(RepositoryRuleset): - class RepositoryRulesetArgs(GQLArgsSet, GQLObject): - includeParents: bool - databaseId: NonNull_int - _args: RepositoryRulesetArgs +@dataclass(kw_only=True) +class UnarchiveProjectV2ItemInput: + client_mutation_id: Optional[str] = None + item_id: ID + project_id: ID +@dataclass(kw_only=True) +class UnfollowOrganizationInput: + client_mutation_id: Optional[str] = None + organization_id: ID -class GQEAH_RepositoryRulesetConnection_Field(RepositoryRulesetConnection): - class RepositoryRulesetConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - includeParents: bool - _args: RepositoryRulesetConnectionArgs +@dataclass(kw_only=True) +class UniformResourceLocatable: + resource_path: URI + url: URI +@dataclass(kw_only=True) +class UnlinkProjectV2FromTeamInput: + client_mutation_id: Optional[str] = None + project_id: ID + team_id: ID -class EZIIW_StargazerConnection_Field(StargazerConnection): - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: StarOrder - _args: StargazerConnectionArgs +@dataclass(kw_only=True) +class UnlockLockableInput: + client_mutation_id: Optional[str] = None + lockable_id: ID +@dataclass(kw_only=True) +class UnmarkFileAsViewedInput: + client_mutation_id: Optional[str] = None + path: str + pull_request_id: ID -class BXNZQ_SubmoduleConnection_Field(SubmoduleConnection): - class SubmoduleConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: SubmoduleConnectionArgs +@dataclass(kw_only=True) +class UnmarkProjectV2AsTemplateInput: + client_mutation_id: Optional[str] = None + project_id: ID +@dataclass(kw_only=True) +class UnpinIssueInput: + client_mutation_id: Optional[str] = None + issue_id: ID -class XDADK_RepositoryVulnerabilityAlert_Field(RepositoryVulnerabilityAlert): - class RepositoryVulnerabilityAlertArgs(GQLArgsSet, GQLObject): - number: NonNull_int - _args: RepositoryVulnerabilityAlertArgs +@dataclass(kw_only=True) +class UnsubscribeFromNotificationsInput: + client_mutation_id: Optional[str] = None + ids: list[ID] +@dataclass(kw_only=True) +class Updatable: + viewer_can_update: bool -class NonNull_RepositoryVulnerabilityAlertState(GQLObject): pass - -class NonNull_RepositoryVulnerabilityAlertDependencyScope(GQLObject): pass - -class KPJZN_RepositoryVulnerabilityAlertConnection_Field(RepositoryVulnerabilityAlertConnection): - class RepositoryVulnerabilityAlertConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - states: list[NonNull_RepositoryVulnerabilityAlertState] - dependencyScopes: list[NonNull_RepositoryVulnerabilityAlertDependencyScope] - - _args: RepositoryVulnerabilityAlertConnectionArgs - - - -class UUMEC_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserConnectionArgs - - - -class Repository(GQLObject): - allowUpdateBranch: bool - archivedAt: DateTime - assignableUsers: UPXBC_UserConnection_Field - autoMergeAllowed: bool - branchProtectionRules: YSHOJ_BranchProtectionRuleConnection_Field - codeOfConduct: CodeOfConduct - codeowners: HJUVA_RepositoryCodeowners_Field - collaborators: AACLB_RepositoryCollaboratorConnection_Field - commitComments: BCJQJ_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - contactLinks: list_RepositoryContactLink[RepositoryContactLink] - createdAt: DateTime - databaseId: int - defaultBranchRef: NewType('Ref', GQLObject) ## Circular Reference for Ref - deleteBranchOnMerge: bool - deployKeys: XWMWZ_DeployKeyConnection_Field - deployments: DDQMY_DeploymentConnection_Field - description: str - descriptionHTML: HTML - discussion: BFEND_Discussion_Field - discussionCategories: AANJP_DiscussionCategoryConnection_Field - discussionCategory: KFYYY_DiscussionCategory_Field - discussions: JSPTL_DiscussionConnection_Field - diskUsage: int - environment: YYBNN_Environment_Field - environments: SOFZK_EnvironmentConnection_Field - forkCount: int - forkingAllowed: bool - forks: MBZLL_RepositoryConnection_Field - fundingLinks: list_FundingLink[FundingLink] - hasDiscussionsEnabled: bool - hasIssuesEnabled: bool - hasProjectsEnabled: bool - hasVulnerabilityAlertsEnabled: bool - hasWikiEnabled: bool - homepageUrl: URI - id: ID - interactionAbility: RepositoryInteractionAbility - isArchived: bool - isBlankIssuesEnabled: bool - isDisabled: bool - isEmpty: bool - isFork: bool - isInOrganization: bool - isLocked: bool - isMirror: bool - isPrivate: bool - isSecurityPolicyEnabled: bool - isTemplate: bool - isUserConfigurationRepository: bool - issue: STLEW_Issue_Field ## Circular Reference for Issue - issueOrPullRequest: YOHBQ_IssueOrPullRequest_Field - issueTemplates: list_IssueTemplate[IssueTemplate] - issues: WHHMT_IssueConnection_Field - label: MZSIB_Label_Field - labels: TNBTX_LabelConnection_Field - languages: SXOUA_LanguageConnection_Field - latestRelease: Release - licenseInfo: License - lockReason: RepositoryLockReason - mentionableUsers: YOEEG_UserConnection_Field - mergeCommitAllowed: bool - mergeCommitMessage: MergeCommitMessage - mergeCommitTitle: MergeCommitTitle - mergeQueue: MWJET_MergeQueue_Field - milestone: ZMOMX_Milestone_Field - milestones: KVHXW_MilestoneConnection_Field - mirrorUrl: URI - name: str - nameWithOwner: str - object: IWPWK_GitObject_Field - openGraphImageUrl: URI - owner: RepositoryOwner - packages: NSDSF_PackageConnection_Field - parent: NewType('Repository', GQLObject) ## Circular Reference for Repository - pinnedDiscussions: RTAYW_PinnedDiscussionConnection_Field - pinnedIssues: LAQDG_PinnedIssueConnection_Field - primaryLanguage: Language - project: QKXAP_Project_Field - projectV2: LRARV_ProjectV2_Field ## Circular Reference for ProjectV2 - projects: QBLDW_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - projectsV2: JGZMB_ProjectV2Connection_Field - pullRequest: JRFVA_PullRequest_Field ## Circular Reference for PullRequest - pullRequestTemplates: list_PullRequestTemplate[PullRequestTemplate] - pullRequests: SAZIB_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - pushedAt: DateTime - rebaseMergeAllowed: bool - recentProjects: MNKKL_ProjectV2Connection_Field - ref: ZHVSO_Ref_Field ## Circular Reference for Ref - refs: YHVYN_RefConnection_Field - release: DSPVY_Release_Field - releases: KLALJ_ReleaseConnection_Field - repositoryTopics: IPZSM_RepositoryTopicConnection_Field - resourcePath: URI - ruleset: JRRMJ_RepositoryRuleset_Field - rulesets: GQEAH_RepositoryRulesetConnection_Field - securityPolicyUrl: URI - shortDescriptionHTML: ADGTL_HTML_Field - squashMergeAllowed: bool - squashMergeCommitMessage: SquashMergeCommitMessage - squashMergeCommitTitle: SquashMergeCommitTitle - sshUrl: GitSSHRemote - stargazerCount: int - stargazers: EZIIW_StargazerConnection_Field - submodules: BXNZQ_SubmoduleConnection_Field - tempCloneToken: str - templateRepository: NewType('Repository', GQLObject) ## Circular Reference for Repository - updatedAt: DateTime - url: URI - usesCustomOpenGraphImage: bool - viewerCanAdminister: bool - viewerCanCreateProjects: bool - viewerCanSubscribe: bool - viewerCanUpdateTopics: bool - viewerDefaultCommitEmail: str - viewerDefaultMergeMethod: PullRequestMergeMethod - viewerHasStarred: bool - viewerPermission: RepositoryPermission - viewerPossibleCommitEmails: list[str] - viewerSubscription: SubscriptionState - visibility: RepositoryVisibility - vulnerabilityAlert: XDADK_RepositoryVulnerabilityAlert_Field - vulnerabilityAlerts: KPJZN_RepositoryVulnerabilityAlertConnection_Field - watchers: UUMEC_UserConnection_Field - webCommitSignoffRequired: bool - -class RMWHB_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class ZOCPG_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class IssueComment(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - fullDatabaseId: BigInt - id: ID - includesCreatedEdit: bool - isMinimized: bool - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - lastEditedAt: DateTime - minimizedReason: str - publishedAt: DateTime - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: RMWHB_ReactionConnection_Field - repository: Repository - resourcePath: URI - updatedAt: DateTime - url: URI - userContentEdits: ZOCPG_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - -class IssueCommentEdge(GQLObject): - cursor: str - node: IssueComment - -class list_IssueCommentEdge(list, IssueCommentEdge): pass - -class list_IssueComment(list, IssueComment): pass - -class IssueCommentConnection(GQLObject): - edges: list_IssueCommentEdge[IssueCommentEdge] - nodes: list_IssueComment[IssueComment] - pageInfo: PageInfo - totalCount: int - -class list_HovercardContext(list, HovercardContext): pass - -class Hovercard(GQLObject): - contexts: list_HovercardContext[HovercardContext] - -class LinkedBranch(GQLObject): - id: ID - ref: NewType('Ref', GQLObject) ## Circular Reference for Ref - -class LinkedBranchEdge(GQLObject): - cursor: str - node: LinkedBranch - -class list_LinkedBranchEdge(list, LinkedBranchEdge): pass - -class list_LinkedBranch(list, LinkedBranch): pass - -class LinkedBranchConnection(GQLObject): - edges: list_LinkedBranchEdge[LinkedBranchEdge] - nodes: list_LinkedBranch[LinkedBranch] - pageInfo: PageInfo - totalCount: int - -class RWBIL_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserConnectionArgs - - - -class Assignable(GQLObject): - assignees: RWBIL_UserConnection_Field - -class Assignee(GQLObject): - pass - -class AssignedEvent(GQLObject): - actor: Actor - assignable: Assignable - assignee: Assignee - createdAt: DateTime - id: ID - -class Closer(GQLObject): - pass - -class ClosedEvent(GQLObject): - actor: Actor - closable: Closable - closer: Closer - createdAt: DateTime - id: ID - resourcePath: URI - stateReason: IssueStateReason - url: URI - -class ReferencedSubject(GQLObject): - pass - -class CrossReferencedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - isCrossRepository: bool - referencedAt: DateTime - resourcePath: URI - source: ReferencedSubject - target: ReferencedSubject - url: URI - willCloseTarget: bool - -class MilestoneItem(GQLObject): - pass - -class DemilestonedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - milestoneTitle: str - subject: MilestoneItem - -class AZFGO_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - orderBy: LabelOrder - after: str - before: str - first: int - last: int - - _args: LabelConnectionArgs - - - -class Labelable(GQLObject): - labels: AZFGO_LabelConnection_Field - -class LabeledEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - label: Label - labelable: Labelable - -class LockedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - lockReason: LockReason - lockable: Lockable - -class MilestonedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - milestoneTitle: str - subject: MilestoneItem - -class ReferencedEvent(GQLObject): - actor: Actor - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - commitRepository: Repository - createdAt: DateTime - id: ID - isCrossRepository: bool - isDirectReference: bool - subject: ReferencedSubject - -class RenamedTitleSubject(GQLObject): - pass - -class RenamedTitleEvent(GQLObject): - actor: Actor - createdAt: DateTime - currentTitle: str - id: ID - previousTitle: str - subject: RenamedTitleSubject - -class ReopenedEvent(GQLObject): - actor: Actor - closable: Closable - createdAt: DateTime - id: ID - stateReason: IssueStateReason - -class SubscribedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - subscribable: Subscribable - -class TransferredEvent(GQLObject): - actor: Actor - createdAt: DateTime - fromRepository: Repository - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - -class UnassignedEvent(GQLObject): - actor: Actor - assignable: Assignable - assignee: Assignee - createdAt: DateTime - id: ID - -class UnlabeledEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - label: Label - labelable: Labelable - -class UnlockedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - lockable: Lockable - -class UnsubscribedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - subscribable: Subscribable - -class UserBlockedEvent(GQLObject): - actor: Actor - blockDuration: UserBlockDuration - createdAt: DateTime - id: ID - subject: NewType('User', GQLObject) ## Circular Reference for User - -class IssueTimelineItem(GQLObject): - pass - -class IssueTimelineItemEdge(GQLObject): - cursor: str - node: IssueTimelineItem - -class list_IssueTimelineItemEdge(list, IssueTimelineItemEdge): pass - -class list_IssueTimelineItem(list, IssueTimelineItem): pass - -class IssueTimelineConnection(GQLObject): - edges: list_IssueTimelineItemEdge[IssueTimelineItemEdge] - nodes: list_IssueTimelineItem[IssueTimelineItem] - pageInfo: PageInfo - totalCount: int - -class AddedToProjectEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - id: ID - -class CommentDeletedEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - deletedCommentAuthor: Actor - id: ID - -class ConnectedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - isCrossRepository: bool - source: ReferencedSubject - subject: ReferencedSubject - -class ConvertedNoteToIssueEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - id: ID - -class ConvertedToDiscussionEvent(GQLObject): - actor: Actor - createdAt: DateTime - discussion: Discussion - id: ID - -class DisconnectedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - isCrossRepository: bool - source: ReferencedSubject - subject: ReferencedSubject - -class MarkedAsDuplicateEvent(GQLObject): - actor: Actor - canonical: IssueOrPullRequest - createdAt: DateTime - duplicate: IssueOrPullRequest - id: ID - isCrossRepository: bool - -class MentionedEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - id: ID - -class MovedColumnsInProjectEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - id: ID - -class PinnedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - -class RemovedFromProjectEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - id: ID - -class UnmarkedAsDuplicateEvent(GQLObject): - actor: Actor - canonical: IssueOrPullRequest - createdAt: DateTime - duplicate: IssueOrPullRequest - id: ID - isCrossRepository: bool - -class UnpinnedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - issue: NewType('Issue', GQLObject) ## Circular Reference for Issue - -class IssueTimelineItems(GQLObject): - pass - -class IssueTimelineItemsEdge(GQLObject): - cursor: str - node: IssueTimelineItems -class list_IssueTimelineItemsEdge(list, IssueTimelineItemsEdge): pass +@dataclass(kw_only=True) +class UpdateDiscussionCommentInput: + body: str + client_mutation_id: Optional[str] = None + comment_id: ID -class list_IssueTimelineItems(list, IssueTimelineItems): pass -class IssueTimelineItemsConnection(GQLObject): - edges: list_IssueTimelineItemsEdge[IssueTimelineItemsEdge] - filteredCount: int - nodes: list_IssueTimelineItems[IssueTimelineItems] - pageCount: int - pageInfo: PageInfo - totalCount: int - updatedAt: DateTime +@dataclass(kw_only=True) +class UpdateEnterpriseAdministratorRoleInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + login: str + role: EnterpriseAdministratorRole -class PGHJO_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + policy_value: Optional[EnterpriseAllowPrivateRepositoryForkingPolicyValue] = None + setting_value: EnterpriseEnabledDisabledSettingValue +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue -class XXBRQ_IssueCommentConnection_Field(IssueCommentConnection): - class IssueCommentConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueCommentOrder - after: str - before: str - first: int - last: int - _args: IssueCommentConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteIssuesSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue -class EAJER_Hovercard_Field(Hovercard): - class HovercardArgs(GQLArgsSet, GQLObject): - includeNotificationContexts: bool - _args: HovercardArgs +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue +@dataclass(kw_only=True) +class UpdateEnterpriseOrganizationProjectsSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue -class UZABV_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - orderBy: LabelOrder - after: str - before: str - first: int - last: int - _args: LabelConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseOwnerOrganizationRolePayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None +@dataclass(kw_only=True) +class UpdateEnterpriseRepositoryProjectsSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledDisabledSettingValue -class ZGMUJ_LinkedBranchConnection_Field(LinkedBranchConnection): - class LinkedBranchConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: LinkedBranchConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput: + client_mutation_id: Optional[str] = None + enterprise_id: ID + setting_value: EnterpriseEnabledSettingValue +@dataclass(kw_only=True) +class UpdateIpAllowListEnabledSettingInput: + client_mutation_id: Optional[str] = None + owner_id: ID + setting_value: IpAllowListEnabledSettingValue -class EHHMW_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class UpdateIpAllowListForInstalledAppsEnabledSettingInput: + client_mutation_id: Optional[str] = None + owner_id: ID + setting_value: IpAllowListForInstalledAppsEnabledSettingValue +@dataclass(kw_only=True) +class UpdateIssueInput: + assignee_ids: Optional[list[ID]] = None + body: Optional[str] = None + client_mutation_id: Optional[str] = None + id: ID + label_ids: Optional[list[ID]] = None + milestone_id: Optional[ID] = None + project_ids: Optional[list[ID]] = None + state: Optional[IssueState] = None + title: Optional[str] = None -class YNKYW_ProjectCardConnection_Field(ProjectCardConnection): - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] - _args: ProjectCardConnectionArgs +@dataclass(kw_only=True) +class UpdateNotificationRestrictionSettingInput: + client_mutation_id: Optional[str] = None + owner_id: ID + setting_value: NotificationRestrictionSettingValue +@dataclass(kw_only=True) +class UpdateOrganizationWebCommitSignoffSettingInput: + client_mutation_id: Optional[str] = None + organization_id: ID + web_commit_signoff_required: bool + + +@dataclass(kw_only=True) +class UpdateParametersInput: + update_allows_fetch_and_merge: bool + + +@dataclass(kw_only=True) +class UpdateProjectCardInput: + client_mutation_id: Optional[str] = None + is_archived: Optional[bool] = None + note: Optional[str] = None + project_card_id: ID + + +@dataclass(kw_only=True) +class UpdateProjectInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + name: Optional[str] = None + project_id: ID + public: Optional[bool] = None + state: Optional[ProjectState] = None + + +@dataclass(kw_only=True) +class UpdateProjectV2Input: + client_mutation_id: Optional[str] = None + closed: Optional[bool] = None + project_id: ID + public: Optional[bool] = None + readme: Optional[str] = None + short_description: Optional[str] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdatePullRequestBranchInput: + client_mutation_id: Optional[str] = None + expected_head_oid: Optional[GitObjectID] = None + pull_request_id: ID + update_method: Optional[PullRequestBranchUpdateMethod] = None + + +@dataclass(kw_only=True) +class UpdatePullRequestReviewCommentInput: + body: str + client_mutation_id: Optional[str] = None + pull_request_review_comment_id: ID + + +@dataclass(kw_only=True) +class UpdateRefInput: + client_mutation_id: Optional[str] = None + force: Optional[bool] = None + oid: GitObjectID + ref_id: ID + + +@dataclass(kw_only=True) +class UpdateRepositoryInput: + client_mutation_id: Optional[str] = None + description: Optional[str] = None + has_discussions_enabled: Optional[bool] = None + has_issues_enabled: Optional[bool] = None + has_projects_enabled: Optional[bool] = None + has_sponsorships_enabled: Optional[bool] = None + has_wiki_enabled: Optional[bool] = None + homepage_url: Optional[URI] = None + name: Optional[str] = None + repository_id: ID + template: Optional[bool] = None + + +@dataclass(kw_only=True) +class UpdateSponsorshipPreferencesInput: + client_mutation_id: Optional[str] = None + privacy_level: Optional[SponsorshipPrivacy] = None + receive_emails: Optional[bool] = None + sponsor_id: Optional[ID] = None + sponsor_login: Optional[str] = None + sponsorable_id: Optional[ID] = None + sponsorable_login: Optional[str] = None + + +@dataclass(kw_only=True) +class UpdateTeamDiscussionCommentInput: + body: str + body_version: Optional[str] = None + client_mutation_id: Optional[str] = None + id: ID + + +@dataclass(kw_only=True) +class UpdateTeamReviewAssignmentInput: + algorithm: Optional[TeamReviewAssignmentAlgorithm] = None + client_mutation_id: Optional[str] = None + count_members_already_requested: Optional[bool] = None + enabled: bool + excluded_team_member_ids: Optional[list[ID]] = None + id: ID + include_child_team_members: Optional[bool] = None + notify_team: Optional[bool] = None + remove_team_request: Optional[bool] = None + team_member_count: Optional[int] = None + + +@dataclass(kw_only=True) +class UpdateTopicsInput: + client_mutation_id: Optional[str] = None + repository_id: ID + topic_names: list[str] + + +@dataclass(kw_only=True) +class UpdateUserListsForItemInput: + client_mutation_id: Optional[str] = None + item_id: ID + list_ids: list[ID] + suggested_list_ids: Optional[list[ID]] = None + + +@dataclass(kw_only=True) +class UserListSuggestion: + id: Optional[ID] = None + name: Optional[str] = None + + +@dataclass(kw_only=True) +class VerifiableDomainOrder: + direction: OrderDirection + field: VerifiableDomainOrderField + + +@dataclass(kw_only=True) +class Votable: + upvote_count: int + viewer_can_upvote: bool + viewer_has_upvoted: bool + + +@dataclass(kw_only=True) +class WorkflowFileReferenceInput: + path: str + ref: Optional[str] = None + repository_id: int + sha: Optional[str] = None + + +@dataclass(kw_only=True) +class AutoMergeRequest: + author_email: Optional[str] = None + commit_body: Optional[str] = None + commit_headline: Optional[str] = None + enabled_at: Optional[DateTime] = None + enabled_by: Optional[Actor] = None + merge_method: PullRequestMergeMethod + pull_request: PullRequest + + +@dataclass(kw_only=True) +class BranchProtectionRuleConflict: + branch_protection_rule: Optional[BranchProtectionRule] = None + conflicting_branch_protection_rule: Optional[BranchProtectionRule] = None + ref: Optional[Ref] = None + + +@dataclass(kw_only=True) +class BranchProtectionRuleConflictEdge: + cursor: str + node: Optional[BranchProtectionRuleConflict] = None + + +@dataclass(kw_only=True) +class BranchProtectionRuleConflictConnection: + edges: Optional[list[BranchProtectionRuleConflictEdge]] = None + nodes: Optional[list[BranchProtectionRuleConflict]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmail: + created_at: DateTime + email: str + id: ID + is_primary: bool + updated_at: DateTime + user_account: EnterpriseServerUserAccount + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmailEdge: + cursor: str + node: Optional[EnterpriseServerUserAccountEmail] = None + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEmailConnection: + edges: Optional[list[EnterpriseServerUserAccountEmailEdge]] = None + nodes: Optional[list[EnterpriseServerUserAccountEmail]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountEdge: + cursor: str + node: Optional[EnterpriseServerUserAccount] = None + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountConnection: + edges: Optional[list[EnterpriseServerUserAccountEdge]] = None + nodes: Optional[list[EnterpriseServerUserAccount]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUpload: + created_at: DateTime + enterprise: Enterprise + enterprise_server_installation: EnterpriseServerInstallation + id: ID + name: str + sync_state: EnterpriseServerUserAccountsUploadSyncState + updated_at: DateTime + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUploadEdge: + cursor: str + node: Optional[EnterpriseServerUserAccountsUpload] = None + + +@dataclass(kw_only=True) +class EnterpriseServerUserAccountsUploadConnection: + edges: Optional[list[EnterpriseServerUserAccountsUploadEdge]] = None + nodes: Optional[list[EnterpriseServerUserAccountsUpload]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseServerInstallationMembershipEdge: + cursor: str + node: Optional[EnterpriseServerInstallation] = None + role: EnterpriseUserAccountMembershipRole + + +@dataclass(kw_only=True) +class EnterpriseServerInstallationMembershipConnection: + edges: Optional[list[EnterpriseServerInstallationMembershipEdge]] = None + nodes: Optional[list[EnterpriseServerInstallation]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class MembersCanDeleteReposClearAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class MembersCanDeleteReposDisableAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class MembersCanDeleteReposEnableAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OauthApplicationCreateAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + application_url: Optional[URI] = None + callback_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + rate_limit: Optional[int] = None + state: Optional[OauthApplicationCreateAuditEntryState] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgAddBillingManagerAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + invitation_email: Optional[str] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgAddMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + permission: Optional[OrgAddMemberAuditEntryPermission] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgBlockUserAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + blocked_user: Optional[User] = None + blocked_user_name: Optional[str] = None + blocked_user_resource_path: Optional[URI] = None + blocked_user_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgConfigDisableCollaboratorsOnlyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgConfigEnableCollaboratorsOnlyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgCreateAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + billing_plan: Optional[OrgCreateAuditEntryBillingPlan] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgDisableOauthAppRestrictionsAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgDisableSamlAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + digest_method_url: Optional[URI] = None + id: ID + issuer_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + signature_method_url: Optional[URI] = None + single_sign_on_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgDisableTwoFactorRequirementAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgEnableOauthAppRestrictionsAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgEnableSamlAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + digest_method_url: Optional[URI] = None + id: ID + issuer_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + signature_method_url: Optional[URI] = None + single_sign_on_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgEnableTwoFactorRequirementAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrganizationInvitation: + created_at: DateTime + email: Optional[str] = None + id: ID + invitation_source: OrganizationInvitationSource + invitation_type: OrganizationInvitationType + invitee: Optional[User] = None + inviter_actor: Optional[User] = None + organization: Organization + role: OrganizationInvitationRole + + +@dataclass(kw_only=True) +class OrgInviteMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + email: Optional[str] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_invitation: Optional[OrganizationInvitation] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgInviteToBusinessAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgOauthAppAccessApprovedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgOauthAppAccessBlockedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgOauthAppAccessDeniedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgOauthAppAccessRequestedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgOauthAppAccessUnblockedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + oauth_application_name: Optional[str] = None + oauth_application_resource_path: Optional[URI] = None + oauth_application_url: Optional[URI] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgRemoveBillingManagerAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + reason: Optional[OrgRemoveBillingManagerAuditEntryReason] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgRemoveMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + membership_types: Optional[list[OrgRemoveMemberAuditEntryMembershipType]] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + reason: Optional[OrgRemoveMemberAuditEntryReason] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgRemoveOutsideCollaboratorAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + membership_types: Optional[ + list[OrgRemoveOutsideCollaboratorAuditEntryMembershipType] + ] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + reason: Optional[OrgRemoveOutsideCollaboratorAuditEntryReason] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgRestoreMemberMembershipOrganizationAuditEntryData: + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class BranchProtectionRuleEdge: + cursor: str + node: Optional[BranchProtectionRule] = None + + +@dataclass(kw_only=True) +class BranchProtectionRuleConnection: + edges: Optional[list[BranchProtectionRuleEdge]] = None + nodes: Optional[list[BranchProtectionRule]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class RepositoryCodeowners: + errors: list[RepositoryCodeownersError] + + +@dataclass(kw_only=True) +class TeamEdge: + cursor: str + node: Optional[Team] = None + + +@dataclass(kw_only=True) +class TeamConnection: + edges: Optional[list[TeamEdge]] = None + nodes: Optional[list[Team]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Mannequin: + avatar_url: URI + claimant: Optional[User] = None + created_at: DateTime + database_id: Optional[int] = None + email: Optional[str] = None + id: ID + login: str + resource_path: URI + updated_at: DateTime + url: URI + + +@dataclass(kw_only=True) +class ReactorEdge: + cursor: str + node: Reactor + reacted_at: DateTime + + +@dataclass(kw_only=True) +class ReactorConnection: + edges: Optional[list[ReactorEdge]] = None + nodes: Optional[list[Reactor]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Reaction: + content: ReactionContent + created_at: DateTime + database_id: Optional[int] = None + id: ID + reactable: Reactable + user: Optional[User] = None + + +@dataclass(kw_only=True) +class ReactionEdge: + cursor: str + node: Optional[Reaction] = None + + +@dataclass(kw_only=True) +class ReactionConnection: + edges: Optional[list[ReactionEdge]] = None + nodes: Optional[list[Reaction]] = None + page_info: PageInfo + total_count: int + viewer_has_reacted: bool + + +@dataclass(kw_only=True) +class ReactingUserEdge: + cursor: str + node: User + reacted_at: DateTime + + +@dataclass(kw_only=True) +class ReactingUserConnection: + edges: Optional[list[ReactingUserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class UserContentEdit: + created_at: DateTime + deleted_at: Optional[DateTime] = None + deleted_by: Optional[Actor] = None + diff: Optional[str] = None + edited_at: DateTime + editor: Optional[Actor] = None + id: ID + updated_at: DateTime + + +@dataclass(kw_only=True) +class UserContentEditEdge: + cursor: str + node: Optional[UserContentEdit] = None + + +@dataclass(kw_only=True) +class UserContentEditConnection: + edges: Optional[list[UserContentEditEdge]] = None + nodes: Optional[list[UserContentEdit]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class TeamDiscussionComment: + author: Optional[Actor] = None + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + last_edited_at: Optional[DateTime] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + + +@dataclass(kw_only=True) +class TeamDiscussionCommentEdge: + cursor: str + node: Optional[TeamDiscussionComment] = None + + +@dataclass(kw_only=True) +class TeamDiscussionCommentConnection: + edges: Optional[list[TeamDiscussionCommentEdge]] = None + nodes: Optional[list[TeamDiscussionComment]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class TeamDiscussionEdge: + cursor: str + node: Optional[TeamDiscussion] = None + + +@dataclass(kw_only=True) +class TeamDiscussionConnection: + edges: Optional[list[TeamDiscussionEdge]] = None + nodes: Optional[list[TeamDiscussion]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class OrganizationInvitationEdge: + cursor: str + node: Optional[OrganizationInvitation] = None + + +@dataclass(kw_only=True) +class OrganizationInvitationConnection: + edges: Optional[list[OrganizationInvitationEdge]] = None + nodes: Optional[list[OrganizationInvitation]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class UserStatus: + created_at: DateTime + emoji: Optional[str] = None + emoji_h_t_m_l: Optional[HTML] = None + expires_at: Optional[DateTime] = None + id: ID + indicates_limited_availability: bool + message: Optional[str] = None + organization: Optional[Organization] = None + updated_at: DateTime + user: User + + +@dataclass(kw_only=True) +class UserStatusEdge: + cursor: str + node: Optional[UserStatus] = None + + +@dataclass(kw_only=True) +class UserStatusConnection: + edges: Optional[list[UserStatusEdge]] = None + nodes: Optional[list[UserStatus]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class TeamMemberEdge: + cursor: str + member_access_resource_path: URI + member_access_url: URI + node: User + role: TeamMemberRole + + +@dataclass(kw_only=True) +class TeamMemberConnection: + edges: Optional[list[TeamMemberEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ProjectV2Field: + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + project: ProjectV2 + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2IterationFieldConfiguration: + completed_iterations: list[ProjectV2IterationFieldIteration] + duration: int + iterations: list[ProjectV2IterationFieldIteration] + start_day: int + + +@dataclass(kw_only=True) +class ProjectV2IterationField: + configuration: ProjectV2IterationFieldConfiguration + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + project: ProjectV2 + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2SingleSelectField: + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + options: list[ProjectV2SingleSelectFieldOption] + project: ProjectV2 + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2FieldConfigurationEdge: + cursor: str + node: Optional[ProjectV2FieldConfiguration] = None + + +@dataclass(kw_only=True) +class ProjectV2FieldConfigurationConnection: + edges: Optional[list[ProjectV2FieldConfigurationEdge]] = None + nodes: Optional[list[ProjectV2FieldConfiguration]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ProjectV2Edge: + cursor: str + node: Optional[ProjectV2] = None + + +@dataclass(kw_only=True) +class ProjectV2Connection: + edges: Optional[list[ProjectV2Edge]] = None + nodes: Optional[list[ProjectV2]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class DraftIssue: + assignees: UserConnection + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + creator: Optional[Actor] = None + id: ID + project_v2_items: ProjectV2ItemConnection + projects_v2: ProjectV2Connection + title: str + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldDateValue: + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + date: Optional[Date] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldIterationValue: + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + duration: int + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + iteration_id: str + start_date: Date + title: str + title_h_t_m_l: str + updated_at: DateTime + + +@dataclass(kw_only=True) +class IssueEdge: + cursor: str + node: Optional[Issue] = None + + +@dataclass(kw_only=True) +class IssueConnection: + edges: Optional[list[IssueEdge]] = None + nodes: Optional[list[Issue]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Label: + color: str + created_at: Optional[DateTime] = None + description: Optional[str] = None + id: ID + is_default: bool + issues: IssueConnection + name: str + pull_requests: PullRequestConnection + repository: Repository + resource_path: URI + updated_at: Optional[DateTime] = None + url: URI + + +@dataclass(kw_only=True) +class LabelEdge: + cursor: str + node: Optional[Label] = None + + +@dataclass(kw_only=True) +class LabelConnection: + edges: Optional[list[LabelEdge]] = None + nodes: Optional[list[Label]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldLabelValue: + field: ProjectV2FieldConfiguration + labels: Optional[LabelConnection] = None + + +@dataclass(kw_only=True) +class Milestone: + closed: bool + closed_at: Optional[DateTime] = None + created_at: DateTime + creator: Optional[Actor] = None + description: Optional[str] = None + due_on: Optional[DateTime] = None + id: ID + issues: IssueConnection + number: int + progress_percentage: float + pull_requests: PullRequestConnection + repository: Repository + resource_path: URI + state: MilestoneState + title: str + updated_at: DateTime + url: URI + viewer_can_close: bool + viewer_can_reopen: bool + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldMilestoneValue: + field: ProjectV2FieldConfiguration + milestone: Optional[Milestone] = None + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldNumberValue: + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + number: Optional[float] = None + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldPullRequestValue: + field: ProjectV2FieldConfiguration + pull_requests: Optional[PullRequestConnection] = None + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldRepositoryValue: + field: ProjectV2FieldConfiguration + repository: Optional[Repository] = None + + +@dataclass(kw_only=True) +class RequestedReviewerEdge: + cursor: str + node: Optional[RequestedReviewer] = None + + +@dataclass(kw_only=True) +class RequestedReviewerConnection: + edges: Optional[list[RequestedReviewerEdge]] = None + nodes: Optional[list[RequestedReviewer]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldReviewerValue: + field: ProjectV2FieldConfiguration + reviewers: Optional[RequestedReviewerConnection] = None + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldSingleSelectValue: + color: ProjectV2SingleSelectFieldOptionColor + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: Optional[str] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + name: Optional[str] = None + name_h_t_m_l: Optional[str] = None + option_id: Optional[str] = None + updated_at: DateTime + -class JRVGY_ProjectV2ItemConnection_Field(Generic[ProjectV2ItemConnection]): - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - includeArchived: bool - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class ProjectV2ItemFieldTextValue: + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + text: Optional[str] = None + updated_at: DateTime + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldUserValue: + field: ProjectV2FieldConfiguration + users: Optional[UserConnection] = None - _args: ProjectV2ItemConnectionArgs +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueEdge: + cursor: str + node: Optional[ProjectV2ItemFieldValue] = None -class NZJKK_ProjectV2_Field(Generic[ProjectV2]): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueConnection: + edges: Optional[list[ProjectV2ItemFieldValueEdge]] = None + nodes: Optional[list[ProjectV2ItemFieldValue]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2Args +@dataclass(kw_only=True) +class ProjectV2ItemEdge: + cursor: str + node: Optional[ProjectV2Item] = None -class SLBFT_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class ProjectV2Owner: + id: ID + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class RepositoryEdge: + cursor: str + node: Optional[Repository] = None -class ULLIK_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder +@dataclass(kw_only=True) +class RepositoryConnection: + edges: Optional[list[RepositoryEdge]] = None + nodes: Optional[list[Repository]] = None + page_info: PageInfo + total_count: int + total_disk_usage: int - _args: ReactionConnectionArgs +@dataclass(kw_only=True) +class ProjectV2FieldEdge: + cursor: str + node: Optional[ProjectV2Field] = None -class NonNull_IssueTimelineItemsItemType(GQLObject): pass +@dataclass(kw_only=True) +class ProjectV2FieldConnection: + edges: Optional[list[ProjectV2FieldEdge]] = None + nodes: Optional[list[ProjectV2Field]] = None + page_info: PageInfo + total_count: int -class ORYLZ_IssueTimelineItemsConnection_Field(IssueTimelineItemsConnection): - class IssueTimelineItemsConnectionArgs(GQLArgsSet, GQLObject): - since: DateTime - skip: int - itemTypes: list[NonNull_IssueTimelineItemsItemType] - after: str - before: str - first: int - last: int - _args: IssueTimelineItemsConnectionArgs +@dataclass(kw_only=True) +class ProjectV2SortBy: + direction: OrderDirection + field: ProjectV2Field +@dataclass(kw_only=True) +class ProjectV2SortByEdge: + cursor: str + node: Optional[ProjectV2SortBy] = None + -class TILHH_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: IssueConnectionArgs - - - -class UETKC_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: IssueConnectionArgs - - - -class FCEAN_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class Issue(GQLObject): - activeLockReason: LockReason - assignees: PGHJO_UserConnection_Field - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyResourcePath: URI - bodyText: str - bodyUrl: URI - closed: bool - closedAt: DateTime - comments: XXBRQ_IssueCommentConnection_Field - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - fullDatabaseId: BigInt - hovercard: EAJER_Hovercard_Field - id: ID - includesCreatedEdit: bool - isPinned: bool - isReadByViewer: bool - labels: UZABV_LabelConnection_Field - lastEditedAt: DateTime - linkedBranches: ZGMUJ_LinkedBranchConnection_Field - locked: bool - milestone: Milestone - number: int - participants: EHHMW_UserConnection_Field - projectCards: YNKYW_ProjectCardConnection_Field - projectItems: JRVGY_ProjectV2ItemConnection_Field ## Circular Reference for ProjectV2ItemConnection - projectV2: NZJKK_ProjectV2_Field ## Circular Reference for ProjectV2 - projectsV2: SLBFT_ProjectV2Connection_Field - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: ULLIK_ReactionConnection_Field - repository: Repository - resourcePath: URI - state: IssueState - stateReason: IssueStateReason - timelineItems: ORYLZ_IssueTimelineItemsConnection_Field - title: str - titleHTML: str - trackedInIssues: TILHH_IssueConnection_Field - trackedIssues: UETKC_IssueConnection_Field - trackedIssuesCount: JQEWT_trackedIssuesCount_Field - updatedAt: DateTime - url: URI - userContentEdits: FCEAN_UserContentEditConnection_Field - viewerCanClose: bool - viewerCanDelete: bool - viewerCanReact: bool - viewerCanReopen: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerSubscription: SubscriptionState - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction - viewerThreadSubscriptionStatus: ThreadSubscriptionState - -class ProjectV2ItemContent(GQLObject): - pass - -class ProjectV2ItemFieldDateValue(GQLObject): - createdAt: DateTime - creator: Actor - databaseId: int - date: Date - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - updatedAt: DateTime - -class ProjectV2ItemFieldIterationValue(GQLObject): - createdAt: DateTime - creator: Actor - databaseId: int - duration: int - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - iterationId: str - startDate: Date - title: str - titleHTML: str - updatedAt: DateTime - -class SRHIS_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: LabelConnectionArgs - - - -class ProjectV2ItemFieldLabelValue(GQLObject): - field: ProjectV2FieldConfiguration - labels: SRHIS_LabelConnection_Field - -class ProjectV2ItemFieldMilestoneValue(GQLObject): - field: ProjectV2FieldConfiguration - milestone: Milestone - -class ProjectV2ItemFieldNumberValue(GQLObject): - createdAt: DateTime - creator: Actor - databaseId: int - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - number: float - updatedAt: DateTime - -class NXHXB_PullRequestConnection_Field(Generic[PullRequestConnection]): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: PullRequestOrder - - _args: PullRequestConnectionArgs - - - -class ProjectV2ItemFieldPullRequestValue(GQLObject): - field: ProjectV2FieldConfiguration - pullRequests: NXHXB_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - -class ProjectV2ItemFieldRepositoryValue(GQLObject): - field: ProjectV2FieldConfiguration - repository: Repository - -class RequestedReviewer(GQLObject): - pass - -class RequestedReviewerEdge(GQLObject): - cursor: str - node: RequestedReviewer - -class list_RequestedReviewerEdge(list, RequestedReviewerEdge): pass - -class list_RequestedReviewer(list, RequestedReviewer): pass - -class RequestedReviewerConnection(GQLObject): - edges: list_RequestedReviewerEdge[RequestedReviewerEdge] - nodes: list_RequestedReviewer[RequestedReviewer] - pageInfo: PageInfo - totalCount: int - -class YKJZJ_RequestedReviewerConnection_Field(RequestedReviewerConnection): - class RequestedReviewerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: RequestedReviewerConnectionArgs - - - -class ProjectV2ItemFieldReviewerValue(GQLObject): - field: ProjectV2FieldConfiguration - reviewers: YKJZJ_RequestedReviewerConnection_Field - -class ProjectV2ItemFieldSingleSelectValue(GQLObject): - color: ProjectV2SingleSelectFieldOptionColor - createdAt: DateTime - creator: Actor - databaseId: int - description: str - descriptionHTML: str - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - name: str - nameHTML: str - optionId: str - updatedAt: DateTime +@dataclass(kw_only=True) +class ProjectV2SortByConnection: + edges: Optional[list[ProjectV2SortByEdge]] = None + nodes: Optional[list[ProjectV2SortBy]] = None + page_info: PageInfo + total_count: int -class ProjectV2ItemFieldTextValue(GQLObject): - createdAt: DateTime - creator: Actor - databaseId: int - field: ProjectV2FieldConfiguration - id: ID - item: NewType('ProjectV2Item', GQLObject) ## Circular Reference for ProjectV2Item - text: str - updatedAt: DateTime -class OTFNA_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class ProjectV2SortByField: + direction: OrderDirection + field: ProjectV2FieldConfiguration - _args: UserConnectionArgs +@dataclass(kw_only=True) +class ProjectV2SortByFieldEdge: + cursor: str + node: Optional[ProjectV2SortByField] = None -class ProjectV2ItemFieldUserValue(GQLObject): - field: ProjectV2FieldConfiguration - users: OTFNA_UserConnection_Field +@dataclass(kw_only=True) +class ProjectV2SortByFieldConnection: + edges: Optional[list[ProjectV2SortByFieldEdge]] = None + nodes: Optional[list[ProjectV2SortByField]] = None + page_info: PageInfo + total_count: int -class ProjectV2ItemFieldValue(GQLObject): - pass -class ProjectV2ItemFieldValueEdge(GQLObject): - cursor: str - node: ProjectV2ItemFieldValue +@dataclass(kw_only=True) +class ProjectV2View: + created_at: DateTime + database_id: Optional[int] = None + fields: Optional[ProjectV2FieldConfigurationConnection] = None + filter: Optional[str] = None + group_by_fields: Optional[ProjectV2FieldConfigurationConnection] = None + id: ID + layout: ProjectV2ViewLayout + name: str + number: int + project: ProjectV2 + sort_by_fields: Optional[ProjectV2SortByFieldConnection] = None + updated_at: DateTime + vertical_group_by_fields: Optional[ProjectV2FieldConfigurationConnection] = None -class list_ProjectV2ItemFieldValueEdge(list, ProjectV2ItemFieldValueEdge): pass -class list_ProjectV2ItemFieldValue(list, ProjectV2ItemFieldValue): pass +@dataclass(kw_only=True) +class ProjectV2ViewEdge: + cursor: str + node: Optional[ProjectV2View] = None -class ProjectV2ItemFieldValueConnection(GQLObject): - edges: list_ProjectV2ItemFieldValueEdge[ProjectV2ItemFieldValueEdge] - nodes: list_ProjectV2ItemFieldValue[ProjectV2ItemFieldValue] - pageInfo: PageInfo - totalCount: int -class SJUUS_ProjectV2ItemFieldValue_Field(ProjectV2ItemFieldValue): - class ProjectV2ItemFieldValueArgs(GQLArgsSet, GQLObject): - name: NonNull_str +@dataclass(kw_only=True) +class ProjectV2ViewConnection: + edges: Optional[list[ProjectV2ViewEdge]] = None + nodes: Optional[list[ProjectV2View]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2ItemFieldValueArgs +@dataclass(kw_only=True) +class ProjectV2Workflow: + created_at: DateTime + database_id: Optional[int] = None + enabled: bool + id: ID + name: str + number: int + project: ProjectV2 + updated_at: DateTime -class AWDBE_ProjectV2ItemFieldValueConnection_Field(ProjectV2ItemFieldValueConnection): - class ProjectV2ItemFieldValueConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2ItemFieldValueOrder +@dataclass(kw_only=True) +class ProjectV2WorkflowEdge: + cursor: str + node: Optional[ProjectV2Workflow] = None - _args: ProjectV2ItemFieldValueConnectionArgs +@dataclass(kw_only=True) +class ProjectV2WorkflowConnection: + edges: Optional[list[ProjectV2WorkflowEdge]] = None + nodes: Optional[list[ProjectV2Workflow]] = None + page_info: PageInfo + total_count: int -class ProjectV2Item(GQLObject): - content: ProjectV2ItemContent - createdAt: DateTime - creator: Actor - databaseId: int - fieldValueByName: SJUUS_ProjectV2ItemFieldValue_Field - fieldValues: AWDBE_ProjectV2ItemFieldValueConnection_Field - id: ID - isArchived: bool - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - type: ProjectV2ItemType - updatedAt: DateTime +@dataclass(kw_only=True) +class TeamRepositoryEdge: + cursor: str + node: Repository + permission: RepositoryPermission -class ProjectV2ItemEdge(GQLObject): - cursor: str - node: ProjectV2Item -class list_ProjectV2ItemEdge(list, ProjectV2ItemEdge): pass +@dataclass(kw_only=True) +class TeamRepositoryConnection: + edges: Optional[list[TeamRepositoryEdge]] = None + nodes: Optional[list[Repository]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PermissionSource: + organization: Organization + permission: DefaultRepositoryPermissionField + role_name: Optional[str] = None + source: PermissionGranter -class list_ProjectV2Item(list, ProjectV2Item): pass -class ProjectV2ItemConnection(GQLObject): - edges: list_ProjectV2ItemEdge[ProjectV2ItemEdge] - nodes: list_ProjectV2Item[ProjectV2Item] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class RepositoryCollaboratorEdge: + cursor: str + node: User + permission: RepositoryPermission + permission_sources: Optional[list[PermissionSource]] = None + + +@dataclass(kw_only=True) +class RepositoryCollaboratorConnection: + edges: Optional[list[RepositoryCollaboratorEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class DependencyGraphDependency: + has_dependencies: bool + package_manager: Optional[str] = None + package_name: str + repository: Optional[Repository] = None + requirements: str + + +@dataclass(kw_only=True) +class DependencyGraphDependencyEdge: + cursor: str + node: Optional[DependencyGraphDependency] = None + -class CMCOS_ProjectV2_Field(Generic[ProjectV2]): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class DependencyGraphDependencyConnection: + edges: Optional[list[DependencyGraphDependencyEdge]] = None + nodes: Optional[list[DependencyGraphDependency]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2Args +@dataclass(kw_only=True) +class DependencyGraphManifest: + blob_path: str + dependencies: Optional[DependencyGraphDependencyConnection] = None + dependencies_count: Optional[int] = None + exceeds_max_size: bool + filename: str + id: ID + parseable: bool + repository: Repository -class LDVXE_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class DependencyGraphManifestEdge: + cursor: str + node: Optional[DependencyGraphManifest] = None + + +@dataclass(kw_only=True) +class DependencyGraphManifestConnection: + edges: Optional[list[DependencyGraphManifestEdge]] = None + nodes: Optional[list[DependencyGraphManifest]] = None + page_info: PageInfo + total_count: int + - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class DeployKeyEdge: + cursor: str + node: Optional[DeployKey] = None + + +@dataclass(kw_only=True) +class DeployKeyConnection: + edges: Optional[list[DeployKeyEdge]] = None + nodes: Optional[list[DeployKey]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class DeploymentStatus: + created_at: DateTime + creator: Actor + deployment: Deployment + description: Optional[str] = None + environment: Optional[str] = None + environment_url: Optional[URI] = None + id: ID + log_url: Optional[URI] = None + state: DeploymentStatusState + updated_at: DateTime -class ProjectV2Owner(GQLObject): - id: ID - projectV2: CMCOS_ProjectV2_Field ## Circular Reference for ProjectV2 - projectsV2: LDVXE_ProjectV2Connection_Field -class ProjectV2FieldEdge(GQLObject): - cursor: str - node: ProjectV2Field +@dataclass(kw_only=True) +class DeploymentStatusEdge: + cursor: str + node: Optional[DeploymentStatus] = None -class list_ProjectV2FieldEdge(list, ProjectV2FieldEdge): pass -class list_ProjectV2Field(list, ProjectV2Field): pass +@dataclass(kw_only=True) +class DeploymentStatusConnection: + edges: Optional[list[DeploymentStatusEdge]] = None + nodes: Optional[list[DeploymentStatus]] = None + page_info: PageInfo + total_count: int -class ProjectV2FieldConnection(GQLObject): - edges: list_ProjectV2FieldEdge[ProjectV2FieldEdge] - nodes: list_ProjectV2Field[ProjectV2Field] - pageInfo: PageInfo - totalCount: int -class ProjectV2SortBy(GQLObject): - direction: OrderDirection - field: ProjectV2Field +@dataclass(kw_only=True) +class DeploymentEdge: + cursor: str + node: Optional[Deployment] = None -class ProjectV2SortByEdge(GQLObject): - cursor: str - node: ProjectV2SortBy -class list_ProjectV2SortByEdge(list, ProjectV2SortByEdge): pass +@dataclass(kw_only=True) +class DeploymentConnection: + edges: Optional[list[DeploymentEdge]] = None + nodes: Optional[list[Deployment]] = None + page_info: PageInfo + total_count: int -class list_ProjectV2SortBy(list, ProjectV2SortBy): pass -class ProjectV2SortByConnection(GQLObject): - edges: list_ProjectV2SortByEdge[ProjectV2SortByEdge] - nodes: list_ProjectV2SortBy[ProjectV2SortBy] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class DiscussionCommentEdge: + cursor: str + node: Optional[DiscussionComment] = None -class ProjectV2SortByField(GQLObject): - direction: OrderDirection - field: ProjectV2FieldConfiguration -class ProjectV2SortByFieldEdge(GQLObject): - cursor: str - node: ProjectV2SortByField +@dataclass(kw_only=True) +class DiscussionCommentConnection: + edges: Optional[list[DiscussionCommentEdge]] = None + nodes: Optional[list[DiscussionComment]] = None + page_info: PageInfo + total_count: int -class list_ProjectV2SortByFieldEdge(list, ProjectV2SortByFieldEdge): pass -class list_ProjectV2SortByField(list, ProjectV2SortByField): pass +@dataclass(kw_only=True) +class DiscussionCategory: + created_at: DateTime + description: Optional[str] = None + emoji: str + emoji_h_t_m_l: HTML + id: ID + is_answerable: bool + name: str + repository: Repository + slug: str + updated_at: DateTime -class ProjectV2SortByFieldConnection(GQLObject): - edges: list_ProjectV2SortByFieldEdge[ProjectV2SortByFieldEdge] - nodes: list_ProjectV2SortByField[ProjectV2SortByField] - pageInfo: PageInfo - totalCount: int -class OCUZZ_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder +@dataclass(kw_only=True) +class DiscussionPollOption: + id: ID + option: str + poll: Optional[DiscussionPoll] = None + total_vote_count: int + viewer_has_voted: bool - _args: ProjectV2FieldConfigurationConnectionArgs +@dataclass(kw_only=True) +class DiscussionPollOptionEdge: + cursor: str + node: Optional[DiscussionPollOption] = None -class TRTNJ_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder +@dataclass(kw_only=True) +class DiscussionPollOptionConnection: + edges: Optional[list[DiscussionPollOptionEdge]] = None + nodes: Optional[list[DiscussionPollOption]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2FieldConfigurationConnectionArgs +@dataclass(kw_only=True) +class DiscussionCategoryEdge: + cursor: str + node: Optional[DiscussionCategory] = None -class ZLQTN_ProjectV2SortByFieldConnection_Field(ProjectV2SortByFieldConnection): - class ProjectV2SortByFieldConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class DiscussionCategoryConnection: + edges: Optional[list[DiscussionCategoryEdge]] = None + nodes: Optional[list[DiscussionCategory]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2SortByFieldConnectionArgs +@dataclass(kw_only=True) +class DiscussionEdge: + cursor: str + node: Optional[Discussion] = None -class IDGHB_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder +@dataclass(kw_only=True) +class DiscussionConnection: + edges: Optional[list[DiscussionEdge]] = None + nodes: Optional[list[Discussion]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class DeploymentReviewerEdge: + cursor: str + node: Optional[DeploymentReviewer] = None - _args: ProjectV2FieldConfigurationConnectionArgs +@dataclass(kw_only=True) +class DeploymentReviewerConnection: + edges: Optional[list[DeploymentReviewerEdge]] = None + nodes: Optional[list[DeploymentReviewer]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class DeploymentProtectionRule: + database_id: Optional[int] = None + prevent_self_review: Optional[bool] = None + reviewers: DeploymentReviewerConnection + timeout: int + type: DeploymentProtectionRuleType + + +@dataclass(kw_only=True) +class DeploymentProtectionRuleEdge: + cursor: str + node: Optional[DeploymentProtectionRule] = None + + +@dataclass(kw_only=True) +class DeploymentProtectionRuleConnection: + edges: Optional[list[DeploymentProtectionRuleEdge]] = None + nodes: Optional[list[DeploymentProtectionRule]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Environment: + database_id: Optional[int] = None + id: ID + name: str + protection_rules: DeploymentProtectionRuleConnection + + +@dataclass(kw_only=True) +class EnvironmentEdge: + cursor: str + node: Optional[Environment] = None + + +@dataclass(kw_only=True) +class EnvironmentConnection: + edges: Optional[list[EnvironmentEdge]] = None + nodes: Optional[list[Environment]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class IssueTemplate: + about: Optional[str] = None + assignees: UserConnection + body: Optional[str] = None + filename: str + labels: Optional[LabelConnection] = None + name: str + title: Optional[str] = None + + +@dataclass(kw_only=True) +class LanguageEdge: + cursor: str + node: Language + size: int + + +@dataclass(kw_only=True) +class LanguageConnection: + edges: Optional[list[LanguageEdge]] = None + nodes: Optional[list[Language]] = None + page_info: PageInfo + total_count: int + total_size: int + + +@dataclass(kw_only=True) +class ReleaseAsset: + content_type: str + created_at: DateTime + download_count: int + download_url: URI + id: ID + name: str + release: Optional[Release] = None + size: int + updated_at: DateTime + uploaded_by: User + url: URI + + +@dataclass(kw_only=True) +class ReleaseAssetEdge: + cursor: str + node: Optional[ReleaseAsset] = None + + +@dataclass(kw_only=True) +class ReleaseAssetConnection: + edges: Optional[list[ReleaseAssetEdge]] = None + nodes: Optional[list[ReleaseAsset]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class License: + body: str + conditions: list[LicenseRule] + description: Optional[str] = None + featured: bool + hidden: bool + id: ID + implementation: Optional[str] = None + key: str + limitations: list[LicenseRule] + name: str + nickname: Optional[str] = None + permissions: list[LicenseRule] + pseudo_license: bool + spdx_id: Optional[str] = None + url: Optional[URI] = None + + +@dataclass(kw_only=True) +class MergeQueueEntry: + base_commit: Optional[Commit] = None + enqueued_at: DateTime + enqueuer: Actor + estimated_time_to_merge: Optional[int] = None + head_commit: Optional[Commit] = None + id: ID + jump: bool + merge_queue: Optional[MergeQueue] = None + position: int + pull_request: Optional[PullRequest] = None + solo: bool + state: MergeQueueEntryState + + +@dataclass(kw_only=True) +class MergeQueueEntryEdge: + cursor: str + node: Optional[MergeQueueEntry] = None + + +@dataclass(kw_only=True) +class MergeQueueEntryConnection: + edges: Optional[list[MergeQueueEntryEdge]] = None + nodes: Optional[list[MergeQueueEntry]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class MilestoneEdge: + cursor: str + node: Optional[Milestone] = None + + +@dataclass(kw_only=True) +class MilestoneConnection: + edges: Optional[list[MilestoneEdge]] = None + nodes: Optional[list[Milestone]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class GitObject: + abbreviated_oid: str + commit_resource_path: URI + commit_url: URI + id: ID + oid: GitObjectID + repository: Repository + + +@dataclass(kw_only=True) +class RepositoryOwner: + avatar_url: URI + id: ID + login: str + repositories: RepositoryConnection + repository: Optional[Repository] = None + resource_path: URI + url: URI + + +@dataclass(kw_only=True) +class PackageFile: + id: ID + md5: Optional[str] = None + name: str + package_version: Optional[PackageVersion] = None + sha1: Optional[str] = None + sha256: Optional[str] = None + size: Optional[int] = None + updated_at: DateTime + url: Optional[URI] = None + + +@dataclass(kw_only=True) +class PackageFileEdge: + cursor: str + node: Optional[PackageFile] = None + + +@dataclass(kw_only=True) +class PackageFileConnection: + edges: Optional[list[PackageFileEdge]] = None + nodes: Optional[list[PackageFile]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PackageVersionEdge: + cursor: str + node: Optional[PackageVersion] = None + + +@dataclass(kw_only=True) +class PackageVersionConnection: + edges: Optional[list[PackageVersionEdge]] = None + nodes: Optional[list[PackageVersion]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PackageEdge: + cursor: str + node: Optional[Package] = None + + +@dataclass(kw_only=True) +class PackageConnection: + edges: Optional[list[PackageEdge]] = None + nodes: Optional[list[Package]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PinnedDiscussion: + created_at: DateTime + database_id: Optional[int] = None + discussion: Discussion + gradient_stop_colors: list[str] + id: ID + pattern: PinnedDiscussionPattern + pinned_by: Actor + preconfigured_gradient: Optional[PinnedDiscussionGradient] = None + repository: Repository + updated_at: DateTime + + +@dataclass(kw_only=True) +class PinnedDiscussionEdge: + cursor: str + node: Optional[PinnedDiscussion] = None + + +@dataclass(kw_only=True) +class PinnedDiscussionConnection: + edges: Optional[list[PinnedDiscussionEdge]] = None + nodes: Optional[list[PinnedDiscussion]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PinnedIssue: + database_id: Optional[int] = None + full_database_id: Optional[BigInt] = None + id: ID + issue: Issue + pinned_by: Actor + repository: Repository + + +@dataclass(kw_only=True) +class PinnedIssueEdge: + cursor: str + node: Optional[PinnedIssue] = None -class ProjectV2View(GQLObject): - createdAt: DateTime - databaseId: int - fields: OCUZZ_ProjectV2FieldConfigurationConnection_Field - filter: str - groupByFields: TRTNJ_ProjectV2FieldConfigurationConnection_Field - id: ID - layout: ProjectV2ViewLayout - name: str - number: int - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - sortByFields: ZLQTN_ProjectV2SortByFieldConnection_Field - updatedAt: DateTime - verticalGroupByFields: IDGHB_ProjectV2FieldConfigurationConnection_Field +@dataclass(kw_only=True) +class PinnedIssueConnection: + edges: Optional[list[PinnedIssueEdge]] = None + nodes: Optional[list[PinnedIssue]] = None + page_info: PageInfo + total_count: int -class ProjectV2ViewEdge(GQLObject): - cursor: str - node: ProjectV2View -class list_ProjectV2ViewEdge(list, ProjectV2ViewEdge): pass +@dataclass(kw_only=True) +class ProjectCard: + column: Optional[ProjectColumn] = None + content: Optional[ProjectCardItem] = None + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + id: ID + is_archived: bool + note: Optional[str] = None + project: Project + resource_path: URI + state: Optional[ProjectCardState] = None + updated_at: DateTime + url: URI -class list_ProjectV2View(list, ProjectV2View): pass -class ProjectV2ViewConnection(GQLObject): - edges: list_ProjectV2ViewEdge[ProjectV2ViewEdge] - nodes: list_ProjectV2View[ProjectV2View] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class ProjectCardEdge: + cursor: str + node: Optional[ProjectCard] = None -class ProjectV2Workflow(GQLObject): - createdAt: DateTime - databaseId: int - enabled: bool - id: ID - name: str - number: int - project: NewType('ProjectV2', GQLObject) ## Circular Reference for ProjectV2 - updatedAt: DateTime -class ProjectV2WorkflowEdge(GQLObject): - cursor: str - node: ProjectV2Workflow +@dataclass(kw_only=True) +class ProjectCardConnection: + edges: Optional[list[ProjectCardEdge]] = None + nodes: Optional[list[ProjectCard]] = None + page_info: PageInfo + total_count: int -class list_ProjectV2WorkflowEdge(list, ProjectV2WorkflowEdge): pass -class list_ProjectV2Workflow(list, ProjectV2Workflow): pass +@dataclass(kw_only=True) +class ProjectColumnEdge: + cursor: str + node: Optional[ProjectColumn] = None -class ProjectV2WorkflowConnection(GQLObject): - edges: list_ProjectV2WorkflowEdge[ProjectV2WorkflowEdge] - nodes: list_ProjectV2Workflow[ProjectV2Workflow] - pageInfo: PageInfo - totalCount: int -class AFDMY_ProjectV2FieldConfiguration_Field(ProjectV2FieldConfiguration): - class ProjectV2FieldConfigurationArgs(GQLArgsSet, GQLObject): - name: NonNull_str +@dataclass(kw_only=True) +class ProjectColumnConnection: + edges: Optional[list[ProjectColumnEdge]] = None + nodes: Optional[list[ProjectColumn]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2FieldConfigurationArgs +@dataclass(kw_only=True) +class ProjectEdge: + cursor: str + node: Optional[Project] = None + + +@dataclass(kw_only=True) +class ProjectConnection: + edges: Optional[list[ProjectEdge]] = None + nodes: Optional[list[Project]] = None + page_info: PageInfo + total_count: int -class KYBVP_ProjectV2FieldConfigurationConnection_Field(ProjectV2FieldConfigurationConnection): - class ProjectV2FieldConfigurationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2FieldOrder +@dataclass(kw_only=True) +class ProjectOwner: + id: ID + project: Optional[Project] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + viewer_can_create_projects: bool - _args: ProjectV2FieldConfigurationConnectionArgs +@dataclass(kw_only=True) +class PullRequestTemplate: + body: Optional[str] = None + filename: Optional[str] = None + repository: Repository -class PQDPA_ProjectV2ItemConnection_Field(ProjectV2ItemConnection): - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2ItemOrder +@dataclass(kw_only=True) +class RefEdge: + cursor: str + node: Optional[Ref] = None - _args: ProjectV2ItemConnectionArgs +@dataclass(kw_only=True) +class RefConnection: + edges: Optional[list[RefEdge]] = None + nodes: Optional[list[Ref]] = None + page_info: PageInfo + total_count: int -class WHOHC_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: RepositoryOrder +@dataclass(kw_only=True) +class ReleaseEdge: + cursor: str + node: Optional[Release] = None - _args: RepositoryConnectionArgs +@dataclass(kw_only=True) +class ReleaseConnection: + edges: Optional[list[ReleaseEdge]] = None + nodes: Optional[list[Release]] = None + page_info: PageInfo + total_count: int -class OWPFA_TeamConnection_Field(TeamConnection): - class TeamConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: TeamOrder +@dataclass(kw_only=True) +class StargazerEdge: + cursor: str + node: User + starred_at: DateTime - _args: TeamConnectionArgs +@dataclass(kw_only=True) +class StargazerConnection: + edges: Optional[list[StargazerEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int -class QTOLE_ProjectV2View_Field(ProjectV2View): - class ProjectV2ViewArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class RepositoryTopic: + id: ID + resource_path: URI + topic: Topic + url: URI - _args: ProjectV2ViewArgs +@dataclass(kw_only=True) +class RepositoryTopicEdge: + cursor: str + node: Optional[RepositoryTopic] = None -class OJMLM_ProjectV2ViewConnection_Field(ProjectV2ViewConnection): - class ProjectV2ViewConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2ViewOrder +@dataclass(kw_only=True) +class RepositoryTopicConnection: + edges: Optional[list[RepositoryTopicEdge]] = None + nodes: Optional[list[RepositoryTopic]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2ViewConnectionArgs +@dataclass(kw_only=True) +class RepositoryRulesetBypassActor: + actor: Optional[BypassActor] = None + bypass_mode: Optional[RepositoryRulesetBypassActorBypassMode] = None + id: ID + organization_admin: bool + repository_role_database_id: Optional[int] = None + repository_role_name: Optional[str] = None + repository_ruleset: Optional[RepositoryRuleset] = None -class MHPZP_ProjectV2Workflow_Field(ProjectV2Workflow): - class ProjectV2WorkflowArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class RepositoryRulesetBypassActorEdge: + cursor: str + node: Optional[RepositoryRulesetBypassActor] = None - _args: ProjectV2WorkflowArgs +@dataclass(kw_only=True) +class RepositoryRulesetBypassActorConnection: + edges: Optional[list[RepositoryRulesetBypassActorEdge]] = None + nodes: Optional[list[RepositoryRulesetBypassActor]] = None + page_info: PageInfo + total_count: int -class HMDGD_ProjectV2WorkflowConnection_Field(ProjectV2WorkflowConnection): - class ProjectV2WorkflowConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2WorkflowOrder +@dataclass(kw_only=True) +class RepositoryPropertyConditionTarget: + exclude: list[PropertyTargetDefinition] + include: list[PropertyTargetDefinition] - _args: ProjectV2WorkflowConnectionArgs +@dataclass(kw_only=True) +class RepositoryRuleConditions: + ref_name: Optional[RefNameConditionTarget] = None + repository_id: Optional[RepositoryIdConditionTarget] = None + repository_name: Optional[RepositoryNameConditionTarget] = None + repository_property: Optional[RepositoryPropertyConditionTarget] = None -class ProjectV2(GQLObject): - closed: bool - closedAt: DateTime - createdAt: DateTime - creator: Actor - databaseId: int - field: AFDMY_ProjectV2FieldConfiguration_Field - fields: KYBVP_ProjectV2FieldConfigurationConnection_Field - id: ID - items: PQDPA_ProjectV2ItemConnection_Field - number: int - owner: ProjectV2Owner - public: bool - readme: str - repositories: WHOHC_RepositoryConnection_Field - resourcePath: URI - shortDescription: str - teams: OWPFA_TeamConnection_Field - template: bool - title: str - updatedAt: DateTime - url: URI - view: QTOLE_ProjectV2View_Field - viewerCanClose: bool - viewerCanReopen: bool - viewerCanUpdate: bool - views: OJMLM_ProjectV2ViewConnection_Field - workflow: MHPZP_ProjectV2Workflow_Field - workflows: HMDGD_ProjectV2WorkflowConnection_Field +@dataclass(kw_only=True) +class RequiredStatusChecksParameters: + required_status_checks: list[StatusCheckConfiguration] + strict_required_status_checks_policy: bool -class TeamRepositoryEdge(GQLObject): - cursor: str - node: Repository - permission: RepositoryPermission -class list_TeamRepositoryEdge(list, TeamRepositoryEdge): pass +@dataclass(kw_only=True) +class WorkflowsParameters: + workflows: list[WorkflowFileReference] -class list_Repository(list, Repository): pass -class TeamRepositoryConnection(GQLObject): - edges: list_TeamRepositoryEdge[TeamRepositoryEdge] - nodes: list_Repository[Repository] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class RepositoryRule: + id: ID + parameters: Optional[RuleParameters] = None + repository_ruleset: Optional[RepositoryRuleset] = None + type: RepositoryRuleType -class JRXGY_TeamConnection_Field(TeamConnection): - class TeamConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: TeamConnectionArgs +@dataclass(kw_only=True) +class RepositoryRuleEdge: + cursor: str + node: Optional[RepositoryRule] = None +@dataclass(kw_only=True) +class RepositoryRuleConnection: + edges: Optional[list[RepositoryRuleEdge]] = None + nodes: Optional[list[RepositoryRule]] = None + page_info: PageInfo + total_count: int -class AJELI_TeamConnection_Field(TeamConnection): - class TeamConnectionArgs(GQLArgsSet, GQLObject): - orderBy: TeamOrder - userLogins: list[NonNull_str] - immediateOnly: bool - after: str - before: str - first: int - last: int - _args: TeamConnectionArgs +@dataclass(kw_only=True) +class RepositoryRulesetEdge: + cursor: str + node: Optional[RepositoryRuleset] = None +@dataclass(kw_only=True) +class RepositoryRulesetConnection: + edges: Optional[list[RepositoryRulesetEdge]] = None + nodes: Optional[list[RepositoryRuleset]] = None + page_info: PageInfo + total_count: int -class NDUJX_TeamDiscussion_Field(TeamDiscussion): - class TeamDiscussionArgs(GQLArgsSet, GQLObject): - number: NonNull_int - _args: TeamDiscussionArgs +@dataclass(kw_only=True) +class SubmoduleEdge: + cursor: str + node: Optional[Submodule] = None +@dataclass(kw_only=True) +class SubmoduleConnection: + edges: Optional[list[SubmoduleEdge]] = None + nodes: Optional[list[Submodule]] = None + page_info: PageInfo + total_count: int -class WOPZN_TeamDiscussionConnection_Field(TeamDiscussionConnection): - class TeamDiscussionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - isPinned: bool - orderBy: TeamDiscussionOrder - _args: TeamDiscussionConnectionArgs - - - -class DJNTN_OrganizationInvitationConnection_Field(OrganizationInvitationConnection): - class OrganizationInvitationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: OrganizationInvitationConnectionArgs - - - -class MPYRU_UserStatusConnection_Field(UserStatusConnection): - class UserStatusConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: UserStatusOrder - - _args: UserStatusConnectionArgs - - - -class HSBRN_TeamMemberConnection_Field(TeamMemberConnection): - class TeamMemberConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - query: str - membership: TeamMembershipType - role: TeamMemberRole - orderBy: TeamMemberOrder +@dataclass(kw_only=True) +class DependabotUpdate: + error: Optional[DependabotUpdateError] = None + pull_request: Optional[PullRequest] = None + repository: Repository - _args: TeamMemberConnectionArgs +@dataclass(kw_only=True) +class CWEEdge: + cursor: str + node: Optional[CWE] = None + + +@dataclass(kw_only=True) +class CWEConnection: + edges: Optional[list[CWEEdge]] = None + nodes: Optional[list[CWE]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class SecurityVulnerability: + advisory: SecurityAdvisory + first_patched_version: Optional[SecurityAdvisoryPackageVersion] = None + package: SecurityAdvisoryPackage + severity: SecurityAdvisorySeverity + updated_at: DateTime + vulnerable_version_range: str + + +@dataclass(kw_only=True) +class SecurityVulnerabilityEdge: + cursor: str + node: Optional[SecurityVulnerability] = None + + +@dataclass(kw_only=True) +class SecurityVulnerabilityConnection: + edges: Optional[list[SecurityVulnerabilityEdge]] = None + nodes: Optional[list[SecurityVulnerability]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class RepositoryVulnerabilityAlert: + auto_dismissed_at: Optional[DateTime] = None + created_at: DateTime + dependabot_update: Optional[DependabotUpdate] = None + dependency_scope: Optional[RepositoryVulnerabilityAlertDependencyScope] = None + dismiss_comment: Optional[str] = None + dismiss_reason: Optional[str] = None + dismissed_at: Optional[DateTime] = None + dismisser: Optional[User] = None + fixed_at: Optional[DateTime] = None + id: ID + number: int + repository: Repository + security_advisory: Optional[SecurityAdvisory] = None + security_vulnerability: Optional[SecurityVulnerability] = None + state: RepositoryVulnerabilityAlertState + vulnerable_manifest_filename: str + vulnerable_manifest_path: str + vulnerable_requirements: Optional[str] = None + + +@dataclass(kw_only=True) +class RepositoryVulnerabilityAlertEdge: + cursor: str + node: Optional[RepositoryVulnerabilityAlert] = None + + +@dataclass(kw_only=True) +class RepositoryVulnerabilityAlertConnection: + edges: Optional[list[RepositoryVulnerabilityAlertEdge]] = None + nodes: Optional[list[RepositoryVulnerabilityAlert]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class OrgRestoreMemberMembershipRepositoryAuditEntryData: + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgRestoreMemberMembershipTeamAuditEntryData: + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgRestoreMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + restored_custom_email_routings_count: Optional[int] = None + restored_issue_assignments_count: Optional[int] = None + restored_memberships: Optional[list[OrgRestoreMemberAuditEntryMembership]] = None + restored_memberships_count: Optional[int] = None + restored_repositories_count: Optional[int] = None + restored_repository_stars_count: Optional[int] = None + restored_repository_watches_count: Optional[int] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgUnblockUserAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + blocked_user: Optional[User] = None + blocked_user_name: Optional[str] = None + blocked_user_resource_path: Optional[URI] = None + blocked_user_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgUpdateDefaultRepositoryPermissionAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + permission: Optional[ + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission + ] = None + permission_was: Optional[ + OrgUpdateDefaultRepositoryPermissionAuditEntryPermission + ] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgUpdateMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + permission: Optional[OrgUpdateMemberAuditEntryPermission] = None + permission_was: Optional[OrgUpdateMemberAuditEntryPermission] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrgUpdateMemberRepositoryCreationPermissionAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + can_create_repositories: Optional[bool] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[ + OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility + ] = None + + +@dataclass(kw_only=True) +class OrgUpdateMemberRepositoryInvitationPermissionAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + can_invite_outside_collaborators_to_repositories: Optional[bool] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class PrivateRepositoryForkingDisableAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class PrivateRepositoryForkingEnableAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoAccessAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoAccessAuditEntryVisibility] = None + + +@dataclass(kw_only=True) +class RepoAddMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoAddMemberAuditEntryVisibility] = None + + +@dataclass(kw_only=True) +class RepoAddTopicAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + topic: Optional[Topic] = None + topic_name: Optional[str] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoArchivedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoArchivedAuditEntryVisibility] = None + + +@dataclass(kw_only=True) +class RepoChangeMergeSettingAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_enabled: Optional[bool] = None + merge_type: Optional[RepoChangeMergeSettingAuditEntryMergeType] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigDisableAnonymousGitAccessAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigDisableCollaboratorsOnlyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigDisableContributorsOnlyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigDisableSockpuppetDisallowedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigEnableAnonymousGitAccessAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigEnableCollaboratorsOnlyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigEnableContributorsOnlyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigEnableSockpuppetDisallowedAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigLockAnonymousGitAccessAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoConfigUnlockAnonymousGitAccessAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepoCreateAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + fork_parent_name: Optional[str] = None + fork_source_name: Optional[str] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoCreateAuditEntryVisibility] = None + + +@dataclass(kw_only=True) +class RepoDestroyAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoDestroyAuditEntryVisibility] = None + + +@dataclass(kw_only=True) +class RepoRemoveMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + visibility: Optional[RepoRemoveMemberAuditEntryVisibility] = None + + +@dataclass(kw_only=True) +class RepoRemoveTopicAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + topic: Optional[Topic] = None + topic_name: Optional[str] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepositoryVisibilityChangeDisableAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class RepositoryVisibilityChangeEnableAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + enterprise_resource_path: Optional[URI] = None + enterprise_slug: Optional[str] = None + enterprise_url: Optional[URI] = None + id: ID + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class TeamAddMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class TeamAddRepositoryAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class TeamChangeParentTeamAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + parent_team: Optional[Team] = None + parent_team_name: Optional[str] = None + parent_team_name_was: Optional[str] = None + parent_team_resource_path: Optional[URI] = None + parent_team_url: Optional[URI] = None + parent_team_was: Optional[Team] = None + parent_team_was_resource_path: Optional[URI] = None + parent_team_was_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class TeamRemoveMemberAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class TeamRemoveRepositoryAuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + id: ID + is_ldap_mapped: Optional[bool] = None + operation_type: Optional[OperationType] = None + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class OrganizationAuditEntryEdge: + cursor: str + node: Optional[OrganizationAuditEntry] = None + + +@dataclass(kw_only=True) +class OrganizationAuditEntryConnection: + edges: Optional[list[OrganizationAuditEntryEdge]] = None + nodes: Optional[list[OrganizationAuditEntry]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class VerifiableDomain: + created_at: DateTime + database_id: Optional[int] = None + dns_host_name: Optional[URI] = None + domain: URI + has_found_host_name: bool + has_found_verification_token: bool + id: ID + is_approved: bool + is_required_for_policy_enforcement: bool + is_verified: bool + owner: VerifiableDomainOwner + punycode_encoded_domain: URI + token_expiration_time: Optional[DateTime] = None + updated_at: DateTime + verification_token: Optional[str] = None + + +@dataclass(kw_only=True) +class VerifiableDomainEdge: + cursor: str + node: Optional[VerifiableDomain] = None + + +@dataclass(kw_only=True) +class VerifiableDomainConnection: + edges: Optional[list[VerifiableDomainEdge]] = None + nodes: Optional[list[VerifiableDomain]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class OrganizationEnterpriseOwnerEdge: + cursor: str + node: Optional[User] = None + organization_role: RoleInOrganization + + +@dataclass(kw_only=True) +class OrganizationEnterpriseOwnerConnection: + edges: Optional[list[OrganizationEnterpriseOwnerEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class GistComment: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + gist: Gist + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + published_at: Optional[DateTime] = None + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + + +@dataclass(kw_only=True) +class GistCommentEdge: + cursor: str + node: Optional[GistComment] = None + + +@dataclass(kw_only=True) +class GistCommentConnection: + edges: Optional[list[GistCommentEdge]] = None + nodes: Optional[list[GistComment]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class GistFile: + encoded_name: Optional[str] = None + encoding: Optional[str] = None + extension: Optional[str] = None + is_image: bool + is_truncated: bool + language: Optional[Language] = None + name: Optional[str] = None + size: Optional[int] = None + text: Optional[str] = None + + +@dataclass(kw_only=True) +class GistEdge: + cursor: str + node: Optional[Gist] = None + + +@dataclass(kw_only=True) +class GistConnection: + edges: Optional[list[GistEdge]] = None + nodes: Optional[list[Gist]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PinnableItemEdge: + cursor: str + node: Optional[PinnableItem] = None + + +@dataclass(kw_only=True) +class PinnableItemConnection: + edges: Optional[list[PinnableItemEdge]] = None + nodes: Optional[list[PinnableItem]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ProfileItemShowcase: + has_pinned_items: bool + items: PinnableItemConnection + + +@dataclass(kw_only=True) +class SponsorEdge: + cursor: str + node: Optional[Sponsor] = None + + +@dataclass(kw_only=True) +class SponsorConnection: + edges: Optional[list[SponsorEdge]] = None + nodes: Optional[list[Sponsor]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Sponsorship: + created_at: DateTime + id: ID + is_active: bool + is_one_time_payment: bool + is_sponsor_opted_into_email: Optional[bool] = None + payment_source: Optional[SponsorshipPaymentSource] = None + privacy_level: SponsorshipPrivacy + sponsor_entity: Optional[Sponsor] = None + sponsorable: Sponsorable + tier: Optional[SponsorsTier] = None + tier_selected_at: Optional[DateTime] = None + + +@dataclass(kw_only=True) +class SponsorshipEdge: + cursor: str + node: Optional[Sponsorship] = None + + +@dataclass(kw_only=True) +class SponsorshipConnection: + edges: Optional[list[SponsorshipEdge]] = None + nodes: Optional[list[Sponsorship]] = None + page_info: PageInfo + total_count: int + total_recurring_monthly_price_in_cents: int + total_recurring_monthly_price_in_dollars: int + + +@dataclass(kw_only=True) +class SponsorsTierAdminInfo: + is_draft: bool + is_published: bool + is_retired: bool + sponsorships: SponsorshipConnection + + +@dataclass(kw_only=True) +class StripeConnectAccount: + account_id: str + billing_country_or_region: Optional[str] = None + country_or_region: Optional[str] = None + is_active: bool + sponsors_listing: SponsorsListing + stripe_dashboard_url: URI -class YGYUH_ProjectV2_Field(ProjectV2): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class SponsorsListingFeaturedItem: + created_at: DateTime + description: Optional[str] = None + featureable: SponsorsListingFeatureableItem + id: ID + position: int + sponsors_listing: SponsorsListing + updated_at: DateTime + + +@dataclass(kw_only=True) +class SponsorsTierEdge: + cursor: str + node: Optional[SponsorsTier] = None - _args: ProjectV2Args + +@dataclass(kw_only=True) +class SponsorsTierConnection: + edges: Optional[list[SponsorsTierEdge]] = None + nodes: Optional[list[SponsorsTier]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class SponsorsActivity: + action: SponsorsActivityAction + current_privacy_level: Optional[SponsorshipPrivacy] = None + id: ID + payment_source: Optional[SponsorshipPaymentSource] = None + previous_sponsors_tier: Optional[SponsorsTier] = None + sponsor: Optional[Sponsor] = None + sponsorable: Sponsorable + sponsors_tier: Optional[SponsorsTier] = None + timestamp: Optional[DateTime] = None + via_bulk_sponsorship: bool + + +@dataclass(kw_only=True) +class SponsorsActivityEdge: + cursor: str + node: Optional[SponsorsActivity] = None + + +@dataclass(kw_only=True) +class SponsorsActivityConnection: + edges: Optional[list[SponsorsActivityEdge]] = None + nodes: Optional[list[SponsorsActivity]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class SponsorshipNewsletter: + author: Optional[User] = None + body: str + created_at: DateTime + id: ID + is_published: bool + sponsorable: Sponsorable + subject: str + updated_at: DateTime + + +@dataclass(kw_only=True) +class SponsorshipNewsletterEdge: + cursor: str + node: Optional[SponsorshipNewsletter] = None + + +@dataclass(kw_only=True) +class SponsorshipNewsletterConnection: + edges: Optional[list[SponsorshipNewsletterEdge]] = None + nodes: Optional[list[SponsorshipNewsletter]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class SponsorAndLifetimeValue: + amount_in_cents: int + formatted_amount: str + sponsor: Sponsorable + sponsorable: Sponsorable + + +@dataclass(kw_only=True) +class SponsorAndLifetimeValueEdge: + cursor: str + node: Optional[SponsorAndLifetimeValue] = None + + +@dataclass(kw_only=True) +class MannequinEdge: + cursor: str + node: Optional[Mannequin] = None + + +@dataclass(kw_only=True) +class MannequinConnection: + edges: Optional[list[MannequinEdge]] = None + nodes: Optional[list[Mannequin]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class OrganizationMemberEdge: + cursor: str + has_two_factor_enabled: Optional[bool] = None + node: Optional[User] = None + role: Optional[OrganizationMemberRole] = None + + +@dataclass(kw_only=True) +class OrganizationMemberConnection: + edges: Optional[list[OrganizationMemberEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class RepositoryMigration: + continue_on_error: bool + created_at: DateTime + database_id: Optional[str] = None + failure_reason: Optional[str] = None + id: ID + migration_log_url: Optional[URI] = None + migration_source: MigrationSource + repository_name: str + source_url: URI + state: MigrationState + warnings_count: int + + +@dataclass(kw_only=True) +class RepositoryMigrationEdge: + cursor: str + node: Optional[RepositoryMigration] = None + + +@dataclass(kw_only=True) +class RepositoryMigrationConnection: + edges: Optional[list[RepositoryMigrationEdge]] = None + nodes: Optional[list[RepositoryMigration]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ExternalIdentitySamlAttributes: + attributes: list[ExternalIdentityAttribute] + emails: Optional[list[UserEmailMetadata]] = None + family_name: Optional[str] = None + given_name: Optional[str] = None + groups: Optional[list[str]] = None + name_id: Optional[str] = None + username: Optional[str] = None + + +@dataclass(kw_only=True) +class ExternalIdentityScimAttributes: + emails: Optional[list[UserEmailMetadata]] = None + family_name: Optional[str] = None + given_name: Optional[str] = None + groups: Optional[list[str]] = None + username: Optional[str] = None + + +@dataclass(kw_only=True) +class ExternalIdentity: + guid: str + id: ID + organization_invitation: Optional[OrganizationInvitation] = None + saml_identity: Optional[ExternalIdentitySamlAttributes] = None + scim_identity: Optional[ExternalIdentityScimAttributes] = None + user: Optional[User] = None + + +@dataclass(kw_only=True) +class ExternalIdentityEdge: + cursor: str + node: Optional[ExternalIdentity] = None + + +@dataclass(kw_only=True) +class ExternalIdentityConnection: + edges: Optional[list[ExternalIdentityEdge]] = None + nodes: Optional[list[ExternalIdentity]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class OrganizationIdentityProvider: + digest_method: Optional[URI] = None + external_identities: ExternalIdentityConnection + id: ID + idp_certificate: Optional[X509Certificate] = None + issuer: Optional[str] = None + organization: Optional[Organization] = None + signature_method: Optional[URI] = None + sso_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class EnterpriseOrganizationMembershipEdge: + cursor: str + node: Optional[Organization] = None + role: EnterpriseUserAccountMembershipRole + + +@dataclass(kw_only=True) +class EnterpriseOrganizationMembershipConnection: + edges: Optional[list[EnterpriseOrganizationMembershipEdge]] = None + nodes: Optional[list[Organization]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseUserAccount: + avatar_url: URI + created_at: DateTime + enterprise: Enterprise + enterprise_installations: EnterpriseServerInstallationMembershipConnection + id: ID + login: str + name: Optional[str] = None + organizations: EnterpriseOrganizationMembershipConnection + resource_path: URI + updated_at: DateTime + url: URI + user: Optional[User] = None + + +@dataclass(kw_only=True) +class EnterpriseMemberEdge: + cursor: str + node: Optional[EnterpriseMember] = None + + +@dataclass(kw_only=True) +class EnterpriseMemberConnection: + edges: Optional[list[EnterpriseMemberEdge]] = None + nodes: Optional[list[EnterpriseMember]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class OrganizationEdge: + cursor: str + node: Optional[Organization] = None + + +@dataclass(kw_only=True) +class OrganizationConnection: + edges: Optional[list[OrganizationEdge]] = None + nodes: Optional[list[Organization]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class EnterpriseAdministratorEdge: + cursor: str + node: Optional[User] = None + role: EnterpriseAdministratorRole + -class FHPWM_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ProjectV2Order - filterBy: ProjectV2Filters - query: str +@dataclass(kw_only=True) +class EnterpriseAdministratorConnection: + edges: Optional[list[EnterpriseAdministratorEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2ConnectionArgs + +@dataclass(kw_only=True) +class EnterpriseServerInstallationEdge: + cursor: str + node: Optional[EnterpriseServerInstallation] = None + + +@dataclass(kw_only=True) +class EnterpriseServerInstallationConnection: + edges: Optional[list[EnterpriseServerInstallationEdge]] = None + nodes: Optional[list[EnterpriseServerInstallation]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseFailedInvitationEdge: + cursor: str + node: Optional[OrganizationInvitation] = None + + +@dataclass(kw_only=True) +class EnterpriseFailedInvitationConnection: + edges: Optional[list[EnterpriseFailedInvitationEdge]] = None + nodes: Optional[list[OrganizationInvitation]] = None + page_info: PageInfo + total_count: int + total_unique_user_count: int + + +@dataclass(kw_only=True) +class OIDCProvider: + enterprise: Optional[Enterprise] = None + external_identities: ExternalIdentityConnection + id: ID + provider_type: OIDCProviderType + tenant_id: str + + +@dataclass(kw_only=True) +class EnterpriseRepositoryInfoEdge: + cursor: str + node: Optional[EnterpriseRepositoryInfo] = None + + +@dataclass(kw_only=True) +class EnterpriseRepositoryInfoConnection: + edges: Optional[list[EnterpriseRepositoryInfoEdge]] = None + nodes: Optional[list[EnterpriseRepositoryInfo]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseOutsideCollaboratorEdge: + cursor: str + node: Optional[User] = None + repositories: EnterpriseRepositoryInfoConnection + + +@dataclass(kw_only=True) +class EnterpriseOutsideCollaboratorConnection: + edges: Optional[list[EnterpriseOutsideCollaboratorEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitation: + created_at: DateTime + email: Optional[str] = None + enterprise: Enterprise + id: ID + invitee: Optional[User] = None + inviter: Optional[User] = None + role: EnterpriseAdministratorRole + + +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitationEdge: + cursor: str + node: Optional[EnterpriseAdministratorInvitation] = None + + +@dataclass(kw_only=True) +class EnterpriseAdministratorInvitationConnection: + edges: Optional[list[EnterpriseAdministratorInvitationEdge]] = None + nodes: Optional[list[EnterpriseAdministratorInvitation]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class RepositoryInfo: + archived_at: Optional[DateTime] = None + created_at: DateTime + description: Optional[str] = None + description_h_t_m_l: HTML + fork_count: int + has_discussions_enabled: bool + has_issues_enabled: bool + has_projects_enabled: bool + has_sponsorships_enabled: bool + has_wiki_enabled: bool + homepage_url: Optional[URI] = None + is_archived: bool + is_fork: bool + is_in_organization: bool + is_locked: bool + is_mirror: bool + is_private: bool + is_template: bool + license_info: Optional[License] = None + lock_reason: Optional[RepositoryLockReason] = None + mirror_url: Optional[URI] = None + name: str + name_with_owner: str + open_graph_image_url: URI + owner: RepositoryOwner + pushed_at: Optional[DateTime] = None + resource_path: URI + short_description_h_t_m_l: HTML + updated_at: DateTime + url: URI + uses_custom_open_graph_image: bool + visibility: RepositoryVisibility + + +@dataclass(kw_only=True) +class RepositoryInvitation: + email: Optional[str] = None + id: ID + invitee: Optional[User] = None + inviter: User + permalink: URI + permission: RepositoryPermission + repository: Optional[RepositoryInfo] = None + + +@dataclass(kw_only=True) +class RepositoryInvitationEdge: + cursor: str + node: Optional[RepositoryInvitation] = None + + +@dataclass(kw_only=True) +class RepositoryInvitationConnection: + edges: Optional[list[RepositoryInvitationEdge]] = None + nodes: Optional[list[RepositoryInvitation]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class EnterprisePendingMemberInvitationEdge: + cursor: str + node: Optional[OrganizationInvitation] = None + + +@dataclass(kw_only=True) +class EnterprisePendingMemberInvitationConnection: + edges: Optional[list[EnterprisePendingMemberInvitationEdge]] = None + nodes: Optional[list[OrganizationInvitation]] = None + page_info: PageInfo + total_count: int + total_unique_user_count: int + + +@dataclass(kw_only=True) +class EnterpriseIdentityProvider: + digest_method: Optional[SamlDigestAlgorithm] = None + enterprise: Optional[Enterprise] = None + external_identities: ExternalIdentityConnection + id: ID + idp_certificate: Optional[X509Certificate] = None + issuer: Optional[str] = None + recovery_codes: Optional[list[str]] = None + signature_method: Optional[SamlSignatureAlgorithm] = None + sso_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class EnterpriseOwnerInfo: + admins: EnterpriseAdministratorConnection + affiliated_users_with_two_factor_disabled: UserConnection + affiliated_users_with_two_factor_disabled_exist: bool + allow_private_repository_forking_setting: EnterpriseEnabledDisabledSettingValue + allow_private_repository_forking_setting_organizations: OrganizationConnection + allow_private_repository_forking_setting_policy_value: Optional[ + EnterpriseAllowPrivateRepositoryForkingPolicyValue + ] = None + default_repository_permission_setting: EnterpriseDefaultRepositoryPermissionSettingValue + default_repository_permission_setting_organizations: OrganizationConnection + domains: VerifiableDomainConnection + enterprise_server_installations: EnterpriseServerInstallationConnection + failed_invitations: EnterpriseFailedInvitationConnection + ip_allow_list_enabled_setting: IpAllowListEnabledSettingValue + ip_allow_list_entries: IpAllowListEntryConnection + ip_allow_list_for_installed_apps_enabled_setting: IpAllowListForInstalledAppsEnabledSettingValue + is_updating_default_repository_permission: bool + is_updating_two_factor_requirement: bool + members_can_change_repository_visibility_setting: EnterpriseEnabledDisabledSettingValue + members_can_change_repository_visibility_setting_organizations: OrganizationConnection + members_can_create_internal_repositories_setting: Optional[bool] = None + members_can_create_private_repositories_setting: Optional[bool] = None + members_can_create_public_repositories_setting: Optional[bool] = None + members_can_create_repositories_setting: Optional[ + EnterpriseMembersCanCreateRepositoriesSettingValue + ] = None + members_can_create_repositories_setting_organizations: OrganizationConnection + members_can_delete_issues_setting: EnterpriseEnabledDisabledSettingValue + members_can_delete_issues_setting_organizations: OrganizationConnection + members_can_delete_repositories_setting: EnterpriseEnabledDisabledSettingValue + members_can_delete_repositories_setting_organizations: OrganizationConnection + members_can_invite_collaborators_setting: EnterpriseEnabledDisabledSettingValue + members_can_invite_collaborators_setting_organizations: OrganizationConnection + members_can_make_purchases_setting: EnterpriseMembersCanMakePurchasesSettingValue + members_can_update_protected_branches_setting: EnterpriseEnabledDisabledSettingValue + members_can_update_protected_branches_setting_organizations: OrganizationConnection + members_can_view_dependency_insights_setting: EnterpriseEnabledDisabledSettingValue + members_can_view_dependency_insights_setting_organizations: OrganizationConnection + notification_delivery_restriction_enabled_setting: NotificationRestrictionSettingValue + oidc_provider: Optional[OIDCProvider] = None + organization_projects_setting: EnterpriseEnabledDisabledSettingValue + organization_projects_setting_organizations: OrganizationConnection + outside_collaborators: EnterpriseOutsideCollaboratorConnection + pending_admin_invitations: EnterpriseAdministratorInvitationConnection + pending_collaborator_invitations: RepositoryInvitationConnection + pending_member_invitations: EnterprisePendingMemberInvitationConnection + repository_projects_setting: EnterpriseEnabledDisabledSettingValue + repository_projects_setting_organizations: OrganizationConnection + saml_identity_provider: Optional[EnterpriseIdentityProvider] = None + saml_identity_provider_setting_organizations: OrganizationConnection + support_entitlements: EnterpriseMemberConnection + team_discussions_setting: EnterpriseEnabledDisabledSettingValue + team_discussions_setting_organizations: OrganizationConnection + two_factor_required_setting: EnterpriseEnabledSettingValue + two_factor_required_setting_organizations: OrganizationConnection + + +@dataclass(kw_only=True) +class IpAllowListEntry: + allow_list_value: str + created_at: DateTime + id: ID + is_active: bool + name: Optional[str] = None + owner: IpAllowListOwner + updated_at: DateTime + + +@dataclass(kw_only=True) +class IpAllowListEntryEdge: + cursor: str + node: Optional[IpAllowListEntry] = None + + +@dataclass(kw_only=True) +class BypassForcePushAllowance: + actor: Optional[BranchActorAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID + + +@dataclass(kw_only=True) +class BypassForcePushAllowanceEdge: + cursor: str + node: Optional[BypassForcePushAllowance] = None + + +@dataclass(kw_only=True) +class BypassForcePushAllowanceConnection: + edges: Optional[list[BypassForcePushAllowanceEdge]] = None + nodes: Optional[list[BypassForcePushAllowance]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class BypassPullRequestAllowance: + actor: Optional[BranchActorAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID + + +@dataclass(kw_only=True) +class BypassPullRequestAllowanceEdge: + cursor: str + node: Optional[BypassPullRequestAllowance] = None + + +@dataclass(kw_only=True) +class BypassPullRequestAllowanceConnection: + edges: Optional[list[BypassPullRequestAllowanceEdge]] = None + nodes: Optional[list[BypassPullRequestAllowance]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PushAllowance: + actor: Optional[PushAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID + + +@dataclass(kw_only=True) +class PushAllowanceEdge: + cursor: str + node: Optional[PushAllowance] = None + + +@dataclass(kw_only=True) +class PushAllowanceConnection: + edges: Optional[list[PushAllowanceEdge]] = None + nodes: Optional[list[PushAllowance]] = None + page_info: PageInfo + total_count: int +@dataclass(kw_only=True) +class RequiredStatusCheckDescription: + app: Optional[App] = None + context: str -class DGUAG_TeamRepositoryConnection_Field(TeamRepositoryConnection): - class TeamRepositoryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - query: str - orderBy: TeamRepositoryOrder - _args: TeamRepositoryConnectionArgs +@dataclass(kw_only=True) +class ReviewDismissalAllowance: + actor: Optional[ReviewDismissalAllowanceActor] = None + branch_protection_rule: Optional[BranchProtectionRule] = None + id: ID +@dataclass(kw_only=True) +class ReviewDismissalAllowanceEdge: + cursor: str + node: Optional[ReviewDismissalAllowance] = None -class Team(GQLObject): - ancestors: JRXGY_TeamConnection_Field - avatarUrl: GVDQD_URI_Field - childTeams: AJELI_TeamConnection_Field - combinedSlug: str - createdAt: DateTime - databaseId: int - description: str - discussion: NDUJX_TeamDiscussion_Field - discussions: WOPZN_TeamDiscussionConnection_Field - discussionsResourcePath: URI - discussionsUrl: URI - editTeamResourcePath: URI - editTeamUrl: URI - id: ID - invitations: DJNTN_OrganizationInvitationConnection_Field - memberStatuses: MPYRU_UserStatusConnection_Field - members: HSBRN_TeamMemberConnection_Field - membersResourcePath: URI - membersUrl: URI - name: str - newTeamResourcePath: URI - newTeamUrl: URI - notificationSetting: TeamNotificationSetting - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - parentTeam: NewType('Team', GQLObject) ## Circular Reference for Team - privacy: TeamPrivacy - projectV2: YGYUH_ProjectV2_Field - projectsV2: FHPWM_ProjectV2Connection_Field - repositories: DGUAG_TeamRepositoryConnection_Field - repositoriesResourcePath: URI - repositoriesUrl: URI - resourcePath: URI - slug: str - teamsResourcePath: URI - teamsUrl: URI - updatedAt: DateTime - url: URI - viewerCanAdminister: bool - viewerCanSubscribe: bool - viewerSubscription: SubscriptionState - -class BranchActorAllowanceActor(GQLObject): - pass - -class BypassForcePushAllowance(GQLObject): - actor: BranchActorAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID - -class BypassForcePushAllowanceEdge(GQLObject): - cursor: str - node: BypassForcePushAllowance - -class list_BypassForcePushAllowanceEdge(list, BypassForcePushAllowanceEdge): pass - -class list_BypassForcePushAllowance(list, BypassForcePushAllowance): pass - -class BypassForcePushAllowanceConnection(GQLObject): - edges: list_BypassForcePushAllowanceEdge[BypassForcePushAllowanceEdge] - nodes: list_BypassForcePushAllowance[BypassForcePushAllowance] - pageInfo: PageInfo - totalCount: int -class BypassPullRequestAllowance(GQLObject): - actor: BranchActorAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID - -class BypassPullRequestAllowanceEdge(GQLObject): - cursor: str - node: BypassPullRequestAllowance - -class list_BypassPullRequestAllowanceEdge(list, BypassPullRequestAllowanceEdge): pass - -class list_BypassPullRequestAllowance(list, BypassPullRequestAllowance): pass - -class BypassPullRequestAllowanceConnection(GQLObject): - edges: list_BypassPullRequestAllowanceEdge[BypassPullRequestAllowanceEdge] - nodes: list_BypassPullRequestAllowance[BypassPullRequestAllowance] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class ReviewDismissalAllowanceConnection: + edges: Optional[list[ReviewDismissalAllowanceEdge]] = None + nodes: Optional[list[ReviewDismissalAllowance]] = None + page_info: PageInfo + total_count: int -class PushAllowanceActor(GQLObject): - pass -class PushAllowance(GQLObject): - actor: PushAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID +@dataclass(kw_only=True) +class CommitEdge: + cursor: str + node: Optional[Commit] = None -class PushAllowanceEdge(GQLObject): - cursor: str - node: PushAllowance -class list_PushAllowanceEdge(list, PushAllowanceEdge): pass +@dataclass(kw_only=True) +class ComparisonCommitConnection: + author_count: int + edges: Optional[list[CommitEdge]] = None + nodes: Optional[list[Commit]] = None + page_info: PageInfo + total_count: int -class list_PushAllowance(list, PushAllowance): pass -class PushAllowanceConnection(GQLObject): - edges: list_PushAllowanceEdge[PushAllowanceEdge] - nodes: list_PushAllowance[PushAllowance] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class Comparison: + ahead_by: int + base_target: GitObject + behind_by: int + commits: ComparisonCommitConnection + head_target: GitObject + id: ID + status: ComparisonStatus -class RequiredStatusCheckDescription(GQLObject): - app: NewType('App', GQLObject) ## Circular Reference for App - context: str -class ReviewDismissalAllowanceActor(GQLObject): - pass +@dataclass(kw_only=True) +class IssueCommentConnection: + edges: Optional[list[IssueCommentEdge]] = None + nodes: Optional[list[IssueComment]] = None + page_info: PageInfo + total_count: int -class ReviewDismissalAllowance(GQLObject): - actor: ReviewDismissalAllowanceActor - branchProtectionRule: NewType('BranchProtectionRule', GQLObject) ## Circular Reference for BranchProtectionRule - id: ID -class ReviewDismissalAllowanceEdge(GQLObject): - cursor: str - node: ReviewDismissalAllowance +@dataclass(kw_only=True) +class PullRequestCommit: + commit: Commit + id: ID + pull_request: PullRequest + resource_path: URI + url: URI -class list_ReviewDismissalAllowanceEdge(list, ReviewDismissalAllowanceEdge): pass -class list_ReviewDismissalAllowance(list, ReviewDismissalAllowance): pass +@dataclass(kw_only=True) +class PullRequestCommitEdge: + cursor: str + node: Optional[PullRequestCommit] = None -class ReviewDismissalAllowanceConnection(GQLObject): - edges: list_ReviewDismissalAllowanceEdge[ReviewDismissalAllowanceEdge] - nodes: list_ReviewDismissalAllowance[ReviewDismissalAllowance] - pageInfo: PageInfo - totalCount: int -class CYTFC_BranchProtectionRuleConflictConnection_Field(BranchProtectionRuleConflictConnection): - class BranchProtectionRuleConflictConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PullRequestCommitConnection: + edges: Optional[list[PullRequestCommitEdge]] = None + nodes: Optional[list[PullRequestCommit]] = None + page_info: PageInfo + total_count: int - _args: BranchProtectionRuleConflictConnectionArgs +@dataclass(kw_only=True) +class PullRequestChangedFileEdge: + cursor: str + node: Optional[PullRequestChangedFile] = None -class XCKGY_BypassForcePushAllowanceConnection_Field(BypassForcePushAllowanceConnection): - class BypassForcePushAllowanceConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PullRequestChangedFileConnection: + edges: Optional[list[PullRequestChangedFileEdge]] = None + nodes: Optional[list[PullRequestChangedFile]] = None + page_info: PageInfo + total_count: int - _args: BypassForcePushAllowanceConnectionArgs +@dataclass(kw_only=True) +class Hovercard: + contexts: list[HovercardContext] -class ECYEY_BypassPullRequestAllowanceConnection_Field(BypassPullRequestAllowanceConnection): - class BypassPullRequestAllowanceConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PullRequestReviewCommentEdge: + cursor: str + node: Optional[PullRequestReviewComment] = None - _args: BypassPullRequestAllowanceConnectionArgs +@dataclass(kw_only=True) +class PullRequestReviewCommentConnection: + edges: Optional[list[PullRequestReviewCommentEdge]] = None + nodes: Optional[list[PullRequestReviewComment]] = None + page_info: PageInfo + total_count: int -class TXATV_RefConnection_Field(RefConnection): - class RefConnectionArgs(GQLArgsSet, GQLObject): - query: str - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PullRequestReviewEdge: + cursor: str + node: Optional[PullRequestReview] = None - _args: RefConnectionArgs +@dataclass(kw_only=True) +class PullRequestReviewConnection: + edges: Optional[list[PullRequestReviewEdge]] = None + nodes: Optional[list[PullRequestReview]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ReviewRequest: + as_code_owner: bool + database_id: Optional[int] = None + id: ID + pull_request: PullRequest + requested_reviewer: Optional[RequestedReviewer] = None + + +@dataclass(kw_only=True) +class ReviewRequestEdge: + cursor: str + node: Optional[ReviewRequest] = None + + +@dataclass(kw_only=True) +class ReviewRequestConnection: + edges: Optional[list[ReviewRequestEdge]] = None + nodes: Optional[list[ReviewRequest]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class PullRequestReviewThread: + comments: PullRequestReviewCommentConnection + diff_side: DiffSide + id: ID + is_collapsed: bool + is_outdated: bool + is_resolved: bool + line: Optional[int] = None + original_line: Optional[int] = None + original_start_line: Optional[int] = None + path: str + pull_request: PullRequest + repository: Repository + resolved_by: Optional[User] = None + start_diff_side: Optional[DiffSide] = None + start_line: Optional[int] = None + subject_type: PullRequestReviewThreadSubjectType + viewer_can_reply: bool + viewer_can_resolve: bool + viewer_can_unresolve: bool + + +@dataclass(kw_only=True) +class PullRequestReviewThreadEdge: + cursor: str + node: Optional[PullRequestReviewThread] = None + + +@dataclass(kw_only=True) +class PullRequestReviewThreadConnection: + edges: Optional[list[PullRequestReviewThreadEdge]] = None + nodes: Optional[list[PullRequestReviewThread]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class SuggestedReviewer: + is_author: bool + is_commenter: bool + reviewer: User + + +@dataclass(kw_only=True) +class Assignable: + assignees: UserConnection + + +@dataclass(kw_only=True) +class AssignedEvent: + actor: Optional[Actor] = None + assignable: Assignable + assignee: Optional[Assignee] = None + created_at: DateTime + id: ID + + +@dataclass(kw_only=True) +class BaseRefDeletedEvent: + actor: Optional[Actor] = None + base_ref_name: Optional[str] = None + created_at: DateTime + id: ID + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class BaseRefForcePushedEvent: + actor: Optional[Actor] = None + after_commit: Optional[Commit] = None + before_commit: Optional[Commit] = None + created_at: DateTime + id: ID + pull_request: PullRequest + ref: Optional[Ref] = None + + +@dataclass(kw_only=True) +class ClosedEvent: + actor: Optional[Actor] = None + closable: Closable + closer: Optional[Closer] = None + created_at: DateTime + id: ID + resource_path: URI + state_reason: Optional[IssueStateReason] = None + url: URI + + +@dataclass(kw_only=True) +class CommitCommentThread: + comments: CommitCommentConnection + commit: Optional[Commit] = None + id: ID + path: Optional[str] = None + position: Optional[int] = None + repository: Repository + + +@dataclass(kw_only=True) +class CrossReferencedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + is_cross_repository: bool + referenced_at: DateTime + resource_path: URI + source: ReferencedSubject + target: ReferencedSubject + url: URI + will_close_target: bool + + +@dataclass(kw_only=True) +class DemilestonedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + milestone_title: str + subject: MilestoneItem + + +@dataclass(kw_only=True) +class DeployedEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + deployment: Deployment + id: ID + pull_request: PullRequest + ref: Optional[Ref] = None + + +@dataclass(kw_only=True) +class DeploymentEnvironmentChangedEvent: + actor: Optional[Actor] = None + created_at: DateTime + deployment_status: DeploymentStatus + id: ID + pull_request: PullRequest + + +@dataclass(kw_only=True) +class HeadRefDeletedEvent: + actor: Optional[Actor] = None + created_at: DateTime + head_ref: Optional[Ref] = None + head_ref_name: str + id: ID + pull_request: PullRequest + + +@dataclass(kw_only=True) +class HeadRefForcePushedEvent: + actor: Optional[Actor] = None + after_commit: Optional[Commit] = None + before_commit: Optional[Commit] = None + created_at: DateTime + id: ID + pull_request: PullRequest + ref: Optional[Ref] = None + + +@dataclass(kw_only=True) +class HeadRefRestoredEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + + +@dataclass(kw_only=True) +class Labelable: + labels: Optional[LabelConnection] = None + + +@dataclass(kw_only=True) +class LabeledEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + label: Label + labelable: Labelable + + +@dataclass(kw_only=True) +class LockedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + lock_reason: Optional[LockReason] = None + lockable: Lockable + + +@dataclass(kw_only=True) +class MergedEvent: + actor: Optional[Actor] = None + commit: Optional[Commit] = None + created_at: DateTime + id: ID + merge_ref: Optional[Ref] = None + merge_ref_name: str + pull_request: PullRequest + resource_path: URI + url: URI + + +@dataclass(kw_only=True) +class MilestonedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + milestone_title: str + subject: MilestoneItem + + +@dataclass(kw_only=True) +class ReferencedEvent: + actor: Optional[Actor] = None + commit: Optional[Commit] = None + commit_repository: Repository + created_at: DateTime + id: ID + is_cross_repository: bool + is_direct_reference: bool + subject: ReferencedSubject + + +@dataclass(kw_only=True) +class RenamedTitleEvent: + actor: Optional[Actor] = None + created_at: DateTime + current_title: str + id: ID + previous_title: str + subject: RenamedTitleSubject + + +@dataclass(kw_only=True) +class ReopenedEvent: + actor: Optional[Actor] = None + closable: Closable + created_at: DateTime + id: ID + state_reason: Optional[IssueStateReason] = None + + +@dataclass(kw_only=True) +class ReviewDismissedEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + dismissal_message: Optional[str] = None + dismissal_message_h_t_m_l: Optional[str] = None + id: ID + previous_review_state: PullRequestReviewState + pull_request: PullRequest + pull_request_commit: Optional[PullRequestCommit] = None + resource_path: URI + review: Optional[PullRequestReview] = None + url: URI + + +@dataclass(kw_only=True) +class ReviewRequestRemovedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + requested_reviewer: Optional[RequestedReviewer] = None + + +@dataclass(kw_only=True) +class ReviewRequestedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + requested_reviewer: Optional[RequestedReviewer] = None + + +@dataclass(kw_only=True) +class SubscribedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + subscribable: Subscribable + + +@dataclass(kw_only=True) +class UnassignedEvent: + actor: Optional[Actor] = None + assignable: Assignable + assignee: Optional[Assignee] = None + created_at: DateTime + id: ID + + +@dataclass(kw_only=True) +class UnlabeledEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + label: Label + labelable: Labelable + + +@dataclass(kw_only=True) +class UnlockedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + lockable: Lockable + + +@dataclass(kw_only=True) +class UnsubscribedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + subscribable: Subscribable + + +@dataclass(kw_only=True) +class UserBlockedEvent: + actor: Optional[Actor] = None + block_duration: UserBlockDuration + created_at: DateTime + id: ID + subject: Optional[User] = None + + +@dataclass(kw_only=True) +class PullRequestTimelineItemEdge: + cursor: str + node: Optional[PullRequestTimelineItem] = None + + +@dataclass(kw_only=True) +class PullRequestTimelineConnection: + edges: Optional[list[PullRequestTimelineItemEdge]] = None + nodes: Optional[list[PullRequestTimelineItem]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class AddedToMergeQueueEvent: + actor: Optional[Actor] = None + created_at: DateTime + enqueuer: Optional[User] = None + id: ID + merge_queue: Optional[MergeQueue] = None + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class AddedToProjectEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + project: Optional[Project] = None + project_card: Optional[ProjectCard] = None + project_column_name: str + + +@dataclass(kw_only=True) +class AutoMergeDisabledEvent: + actor: Optional[Actor] = None + created_at: DateTime + disabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None + reason: Optional[str] = None + reason_code: Optional[str] = None + + +@dataclass(kw_only=True) +class AutoMergeEnabledEvent: + actor: Optional[Actor] = None + created_at: DateTime + enabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class AutoRebaseEnabledEvent: + actor: Optional[Actor] = None + created_at: DateTime + enabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class AutoSquashEnabledEvent: + actor: Optional[Actor] = None + created_at: DateTime + enabler: Optional[User] = None + id: ID + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class AutomaticBaseChangeFailedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + new_base: str + old_base: str + pull_request: PullRequest + + +@dataclass(kw_only=True) +class AutomaticBaseChangeSucceededEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + new_base: str + old_base: str + pull_request: PullRequest + + +@dataclass(kw_only=True) +class BaseRefChangedEvent: + actor: Optional[Actor] = None + created_at: DateTime + current_ref_name: str + database_id: Optional[int] = None + id: ID + previous_ref_name: str + pull_request: PullRequest + + +@dataclass(kw_only=True) +class CommentDeletedEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + deleted_comment_author: Optional[Actor] = None + id: ID + + +@dataclass(kw_only=True) +class ConnectedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + is_cross_repository: bool + source: ReferencedSubject + subject: ReferencedSubject + + +@dataclass(kw_only=True) +class ConvertToDraftEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + resource_path: URI + url: URI + + +@dataclass(kw_only=True) +class ConvertedNoteToIssueEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + project: Optional[Project] = None + project_card: Optional[ProjectCard] = None + project_column_name: str + + +@dataclass(kw_only=True) +class ConvertedToDiscussionEvent: + actor: Optional[Actor] = None + created_at: DateTime + discussion: Optional[Discussion] = None + id: ID + + +@dataclass(kw_only=True) +class DisconnectedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + is_cross_repository: bool + source: ReferencedSubject + subject: ReferencedSubject + + +@dataclass(kw_only=True) +class MarkedAsDuplicateEvent: + actor: Optional[Actor] = None + canonical: Optional[IssueOrPullRequest] = None + created_at: DateTime + duplicate: Optional[IssueOrPullRequest] = None + id: ID + is_cross_repository: bool + + +@dataclass(kw_only=True) +class MentionedEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + + +@dataclass(kw_only=True) +class MovedColumnsInProjectEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + previous_project_column_name: str + project: Optional[Project] = None + project_card: Optional[ProjectCard] = None + project_column_name: str + + +@dataclass(kw_only=True) +class PinnedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + issue: Issue + + +@dataclass(kw_only=True) +class PullRequestCommitCommentThread: + comments: CommitCommentConnection + commit: Commit + id: ID + path: Optional[str] = None + position: Optional[int] = None + pull_request: PullRequest + repository: Repository + + +@dataclass(kw_only=True) +class PullRequestRevisionMarker: + created_at: DateTime + last_seen_commit: Commit + pull_request: PullRequest + + +@dataclass(kw_only=True) +class ReadyForReviewEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + pull_request: PullRequest + resource_path: URI + url: URI + + +@dataclass(kw_only=True) +class RemovedFromMergeQueueEvent: + actor: Optional[Actor] = None + before_commit: Optional[Commit] = None + created_at: DateTime + enqueuer: Optional[User] = None + id: ID + merge_queue: Optional[MergeQueue] = None + pull_request: Optional[PullRequest] = None + reason: Optional[str] = None + + +@dataclass(kw_only=True) +class RemovedFromProjectEvent: + actor: Optional[Actor] = None + created_at: DateTime + database_id: Optional[int] = None + id: ID + project: Optional[Project] = None + project_column_name: str + + +@dataclass(kw_only=True) +class TransferredEvent: + actor: Optional[Actor] = None + created_at: DateTime + from_repository: Optional[Repository] = None + id: ID + issue: Issue + + +@dataclass(kw_only=True) +class UnmarkedAsDuplicateEvent: + actor: Optional[Actor] = None + canonical: Optional[IssueOrPullRequest] = None + created_at: DateTime + duplicate: Optional[IssueOrPullRequest] = None + id: ID + is_cross_repository: bool + + +@dataclass(kw_only=True) +class UnpinnedEvent: + actor: Optional[Actor] = None + created_at: DateTime + id: ID + issue: Issue + + +@dataclass(kw_only=True) +class PullRequestTimelineItemsEdge: + cursor: str + node: Optional[PullRequestTimelineItems] = None + + +@dataclass(kw_only=True) +class PullRequestTimelineItemsConnection: + edges: Optional[list[PullRequestTimelineItemsEdge]] = None + filtered_count: int + nodes: Optional[list[PullRequestTimelineItems]] = None + page_count: int + page_info: PageInfo + total_count: int + updated_at: DateTime + + +@dataclass(kw_only=True) +class PullRequestEdge: + cursor: str + node: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class GitActor: + avatar_url: URI + date: Optional[GitTimestamp] = None + email: Optional[str] = None + name: Optional[str] = None + user: Optional[User] = None + + +@dataclass(kw_only=True) +class GitActorEdge: + cursor: str + node: Optional[GitActor] = None + + +@dataclass(kw_only=True) +class GitActorConnection: + edges: Optional[list[GitActorEdge]] = None + nodes: Optional[list[GitActor]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class BlameRange: + age: int + commit: Commit + ending_line: int + starting_line: int + + +@dataclass(kw_only=True) +class Blame: + ranges: list[BlameRange] + + +@dataclass(kw_only=True) +class CheckAnnotationSpan: + end: CheckAnnotationPosition + start: CheckAnnotationPosition + + +@dataclass(kw_only=True) +class CheckAnnotation: + annotation_level: Optional[CheckAnnotationLevel] = None + blob_url: URI + database_id: Optional[int] = None + location: CheckAnnotationSpan + message: str + path: str + raw_details: Optional[str] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class CheckAnnotationEdge: + cursor: str + node: Optional[CheckAnnotation] = None + + +@dataclass(kw_only=True) +class CheckAnnotationConnection: + edges: Optional[list[CheckAnnotationEdge]] = None + nodes: Optional[list[CheckAnnotation]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class DeploymentRequest: + current_user_can_approve: bool + environment: Environment + reviewers: DeploymentReviewerConnection + wait_timer: int + wait_timer_started_at: Optional[DateTime] = None + + +@dataclass(kw_only=True) +class CheckStepEdge: + cursor: str + node: Optional[CheckStep] = None + + +@dataclass(kw_only=True) +class CheckStepConnection: + edges: Optional[list[CheckStepEdge]] = None + nodes: Optional[list[CheckStep]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class CheckRun: + annotations: Optional[CheckAnnotationConnection] = None + check_suite: CheckSuite + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + database_id: Optional[int] = None + deployment: Optional[Deployment] = None + details_url: Optional[URI] = None + external_id: Optional[str] = None + id: ID + is_required: bool + name: str + pending_deployment_request: Optional[DeploymentRequest] = None + permalink: URI + repository: Repository + resource_path: URI + started_at: Optional[DateTime] = None + status: CheckStatusState + steps: Optional[CheckStepConnection] = None + summary: Optional[str] = None + text: Optional[str] = None + title: Optional[str] = None + url: URI + + +@dataclass(kw_only=True) +class CheckRunEdge: + cursor: str + node: Optional[CheckRun] = None + + +@dataclass(kw_only=True) +class CheckRunConnection: + edges: Optional[list[CheckRunEdge]] = None + nodes: Optional[list[CheckRun]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Push: + id: ID + next_sha: Optional[GitObjectID] = None + permalink: URI + previous_sha: Optional[GitObjectID] = None + pusher: Actor + repository: Repository + + +@dataclass(kw_only=True) +class DeploymentReview: + comment: str + database_id: Optional[int] = None + environments: EnvironmentConnection + id: ID + state: DeploymentReviewState + user: User + + +@dataclass(kw_only=True) +class DeploymentReviewEdge: + cursor: str + node: Optional[DeploymentReview] = None + + +@dataclass(kw_only=True) +class DeploymentReviewConnection: + edges: Optional[list[DeploymentReviewEdge]] = None + nodes: Optional[list[DeploymentReview]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class WorkflowRunFile: + id: ID + path: str + repository_file_url: URI + repository_name: URI + resource_path: URI + run: WorkflowRun + url: URI + viewer_can_push_repository: bool + viewer_can_read_repository: bool + + +@dataclass(kw_only=True) +class DeploymentRequestEdge: + cursor: str + node: Optional[DeploymentRequest] = None + + +@dataclass(kw_only=True) +class DeploymentRequestConnection: + edges: Optional[list[DeploymentRequestEdge]] = None + nodes: Optional[list[DeploymentRequest]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class WorkflowRunEdge: + cursor: str + node: Optional[WorkflowRun] = None + + +@dataclass(kw_only=True) +class WorkflowRunConnection: + edges: Optional[list[WorkflowRunEdge]] = None + nodes: Optional[list[WorkflowRun]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Workflow: + created_at: DateTime + database_id: Optional[int] = None + id: ID + name: str + resource_path: URI + runs: WorkflowRunConnection + state: WorkflowState + updated_at: DateTime + url: URI + + +@dataclass(kw_only=True) +class CheckSuiteEdge: + cursor: str + node: Optional[CheckSuite] = None + + +@dataclass(kw_only=True) +class CheckSuiteConnection: + edges: Optional[list[CheckSuiteEdge]] = None + nodes: Optional[list[CheckSuite]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class TreeEntry: + extension: Optional[str] = None + is_generated: bool + language: Optional[Language] = None + line_count: Optional[int] = None + mode: int + name: str + name_raw: Base64String + object: Optional[GitObject] = None + oid: GitObjectID + path: Optional[str] = None + path_raw: Optional[Base64String] = None + repository: Repository + size: int + submodule: Optional[Submodule] = None + type: str + + +@dataclass(kw_only=True) +class CommitHistoryConnection: + edges: Optional[list[CommitEdge]] = None + nodes: Optional[list[Commit]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class CommitConnection: + edges: Optional[list[CommitEdge]] = None + nodes: Optional[list[Commit]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class GitSignature: + email: str + is_valid: bool + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool + + +@dataclass(kw_only=True) +class StatusContext: + avatar_url: Optional[URI] = None + commit: Optional[Commit] = None + context: str + created_at: DateTime + creator: Optional[Actor] = None + description: Optional[str] = None + id: ID + is_required: bool + state: StatusState + target_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class StatusCheckRollupContextEdge: + cursor: str + node: Optional[StatusCheckRollupContext] = None + + +@dataclass(kw_only=True) +class StatusCheckRollupContextConnection: + check_run_count: int + check_run_counts_by_state: Optional[list[CheckRunStateCount]] = None + edges: Optional[list[StatusCheckRollupContextEdge]] = None + nodes: Optional[list[StatusCheckRollupContext]] = None + page_info: PageInfo + status_context_count: int + status_context_counts_by_state: Optional[list[StatusContextStateCount]] = None + total_count: int + + +@dataclass(kw_only=True) +class Status: + combined_contexts: StatusCheckRollupContextConnection + commit: Optional[Commit] = None + context: Optional[StatusContext] = None + contexts: list[StatusContext] + id: ID + state: StatusState + + +@dataclass(kw_only=True) +class StatusCheckRollup: + commit: Optional[Commit] = None + contexts: StatusCheckRollupContextConnection + id: ID + state: StatusState + + +@dataclass(kw_only=True) +class Tree: + abbreviated_oid: str + commit_resource_path: URI + commit_url: URI + entries: Optional[list[TreeEntry]] = None + id: ID + oid: GitObjectID + repository: Repository + + +@dataclass(kw_only=True) +class CommitComment: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + commit: Optional[Commit] = None + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + path: Optional[str] = None + position: Optional[int] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + + +@dataclass(kw_only=True) +class CommitCommentEdge: + cursor: str + node: Optional[CommitComment] = None + + +@dataclass(kw_only=True) +class CreatedCommitContribution: + commit_count: int + is_restricted: bool + occurred_at: DateTime + repository: Repository + resource_path: URI + url: URI + user: User + + +@dataclass(kw_only=True) +class CreatedCommitContributionEdge: + cursor: str + node: Optional[CreatedCommitContribution] = None + + +@dataclass(kw_only=True) +class CreatedCommitContributionConnection: + edges: Optional[list[CreatedCommitContributionEdge]] = None + nodes: Optional[list[CreatedCommitContribution]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class CommitContributionsByRepository: + contributions: CreatedCommitContributionConnection + repository: Repository + resource_path: URI + url: URI + + +@dataclass(kw_only=True) +class ContributionCalendarWeek: + contribution_days: list[ContributionCalendarDay] + first_day: Date + + +@dataclass(kw_only=True) +class ContributionCalendar: + colors: list[str] + is_halloween: bool + months: list[ContributionCalendarMonth] + total_contributions: int + weeks: list[ContributionCalendarWeek] + + +@dataclass(kw_only=True) +class CreatedIssueContribution: + is_restricted: bool + issue: Issue + occurred_at: DateTime + resource_path: URI + url: URI + user: User + + +@dataclass(kw_only=True) +class RestrictedContribution: + is_restricted: bool + occurred_at: DateTime + resource_path: URI + url: URI + user: User + + +@dataclass(kw_only=True) +class CreatedPullRequestContribution: + is_restricted: bool + occurred_at: DateTime + pull_request: PullRequest + resource_path: URI + url: URI + user: User + + +@dataclass(kw_only=True) +class CreatedRepositoryContribution: + is_restricted: bool + occurred_at: DateTime + repository: Repository + resource_path: URI + url: URI + user: User -class NECPY_PushAllowanceConnection_Field(PushAllowanceConnection): - class PushAllowanceConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: PushAllowanceConnectionArgs +@dataclass(kw_only=True) +class CreatedIssueContributionEdge: + cursor: str + node: Optional[CreatedIssueContribution] = None +@dataclass(kw_only=True) +class CreatedIssueContributionConnection: + edges: Optional[list[CreatedIssueContributionEdge]] = None + nodes: Optional[list[CreatedIssueContribution]] = None + page_info: PageInfo + total_count: int -class list_RequiredStatusCheckDescription(list, RequiredStatusCheckDescription): pass -class IGDHQ_ReviewDismissalAllowanceConnection_Field(ReviewDismissalAllowanceConnection): - class ReviewDismissalAllowanceConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class IssueContributionsByRepository: + contributions: CreatedIssueContributionConnection + repository: Repository - _args: ReviewDismissalAllowanceConnectionArgs +@dataclass(kw_only=True) +class JoinedGitHubContribution: + is_restricted: bool + occurred_at: DateTime + resource_path: URI + url: URI + user: User -class BranchProtectionRule(GQLObject): - allowsDeletions: bool - allowsForcePushes: bool - blocksCreations: bool - branchProtectionRuleConflicts: CYTFC_BranchProtectionRuleConflictConnection_Field - bypassForcePushAllowances: XCKGY_BypassForcePushAllowanceConnection_Field - bypassPullRequestAllowances: ECYEY_BypassPullRequestAllowanceConnection_Field - creator: Actor - databaseId: int - dismissesStaleReviews: bool - id: ID - isAdminEnforced: bool - lockAllowsFetchAndMerge: bool - lockBranch: bool - matchingRefs: TXATV_RefConnection_Field - pattern: str - pushAllowances: NECPY_PushAllowanceConnection_Field - repository: Repository - requireLastPushApproval: bool - requiredApprovingReviewCount: int - requiredDeploymentEnvironments: list[str] - requiredStatusCheckContexts: list[str] - requiredStatusChecks: list_RequiredStatusCheckDescription[RequiredStatusCheckDescription] - requiresApprovingReviews: bool - requiresCodeOwnerReviews: bool - requiresCommitSignatures: bool - requiresConversationResolution: bool - requiresDeployments: bool - requiresLinearHistory: bool - requiresStatusChecks: bool - requiresStrictStatusChecks: bool - restrictsPushes: bool - restrictsReviewDismissals: bool - reviewDismissalAllowances: IGDHQ_ReviewDismissalAllowanceConnection_Field +@dataclass(kw_only=True) +class CreatedPullRequestContributionEdge: + cursor: str + node: Optional[CreatedPullRequestContribution] = None -class CommitEdge(GQLObject): - cursor: str - node: NewType('Commit', GQLObject) ## Circular Reference for Commit -class list_CommitEdge(list, CommitEdge): pass +@dataclass(kw_only=True) +class CreatedPullRequestContributionConnection: + edges: Optional[list[CreatedPullRequestContributionEdge]] = None + nodes: Optional[list[CreatedPullRequestContribution]] = None + page_info: PageInfo + total_count: int -class ComparisonCommitConnection(GQLObject): - authorCount: int - edges: list_CommitEdge[CommitEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Commit - pageInfo: PageInfo - totalCount: int - -class KPYTB_ComparisonCommitConnection_Field(ComparisonCommitConnection): - class ComparisonCommitConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ComparisonCommitConnectionArgs - - - -class Comparison(GQLObject): - aheadBy: int - baseTarget: GitObject - behindBy: int - commits: KPYTB_ComparisonCommitConnection_Field - headTarget: GitObject - id: ID - status: ComparisonStatus - -class XJSBR_PullRequestConnection_Field(Generic[PullRequestConnection]): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int - - _args: PullRequestConnectionArgs - - - -class KKYMB_Comparison_Field(Comparison): - class ComparisonArgs(GQLArgsSet, GQLObject): - headRef: NonNull_str - - _args: ComparisonArgs - - - -class Ref(GQLObject): - associatedPullRequests: XJSBR_PullRequestConnection_Field ## Circular Reference for PullRequestConnection - branchProtectionRule: BranchProtectionRule - compare: KKYMB_Comparison_Field - id: ID - name: str - prefix: str - refUpdateRule: RefUpdateRule - repository: Repository - target: GitObject - -class PullRequestCommit(GQLObject): - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI - -class PullRequestCommitEdge(GQLObject): - cursor: str - node: PullRequestCommit - -class list_PullRequestCommitEdge(list, PullRequestCommitEdge): pass - -class list_PullRequestCommit(list, PullRequestCommit): pass - -class PullRequestCommitConnection(GQLObject): - edges: list_PullRequestCommitEdge[PullRequestCommitEdge] - nodes: list_PullRequestCommit[PullRequestCommit] - pageInfo: PageInfo - totalCount: int - -class PullRequestChangedFileEdge(GQLObject): - cursor: str - node: PullRequestChangedFile - -class list_PullRequestChangedFileEdge(list, PullRequestChangedFileEdge): pass - -class list_PullRequestChangedFile(list, PullRequestChangedFile): pass - -class PullRequestChangedFileConnection(GQLObject): - edges: list_PullRequestChangedFileEdge[PullRequestChangedFileEdge] - nodes: list_PullRequestChangedFile[PullRequestChangedFile] - pageInfo: PageInfo - totalCount: int - -class MTPMS_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class ASBHD_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class PullRequestReviewComment(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - createdViaEmail: bool - databaseId: int - diffHunk: str - draftedAt: DateTime - editor: Actor - id: ID - includesCreatedEdit: bool - isMinimized: bool - lastEditedAt: DateTime - line: int - minimizedReason: str - originalCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - originalLine: int - originalStartLine: int - outdated: bool - path: str - publishedAt: DateTime - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - pullRequestReview: NewType('PullRequestReview', GQLObject) ## Circular Reference for PullRequestReview - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: MTPMS_ReactionConnection_Field - replyTo: NewType('PullRequestReviewComment', GQLObject) ## Circular Reference for PullRequestReviewComment - repository: Repository - resourcePath: URI - startLine: int - state: PullRequestReviewCommentState - subjectType: PullRequestReviewThreadSubjectType - updatedAt: DateTime - url: URI - userContentEdits: ASBHD_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - -class PullRequestReviewCommentEdge(GQLObject): - cursor: str - node: PullRequestReviewComment - -class list_PullRequestReviewCommentEdge(list, PullRequestReviewCommentEdge): pass - -class list_PullRequestReviewComment(list, PullRequestReviewComment): pass - -class PullRequestReviewCommentConnection(GQLObject): - edges: list_PullRequestReviewCommentEdge[PullRequestReviewCommentEdge] - nodes: list_PullRequestReviewComment[PullRequestReviewComment] - pageInfo: PageInfo - totalCount: int - -class REYUS_PullRequestReviewCommentConnection_Field(PullRequestReviewCommentConnection): - class PullRequestReviewCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: PullRequestReviewCommentConnectionArgs - - - -class GYJSQ_TeamConnection_Field(TeamConnection): - class TeamConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: TeamConnectionArgs - - - -class HVFSP_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class MEIPU_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class PullRequestReview(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - authorCanPushToRepository: bool - body: str - bodyHTML: HTML - bodyText: str - comments: REYUS_PullRequestReviewCommentConnection_Field - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - onBehalfOf: GYJSQ_TeamConnection_Field - publishedAt: DateTime - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: HVFSP_ReactionConnection_Field - repository: Repository - resourcePath: URI - state: PullRequestReviewState - submittedAt: DateTime - updatedAt: DateTime - url: URI - userContentEdits: MEIPU_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - -class PullRequestReviewEdge(GQLObject): - cursor: str - node: PullRequestReview - -class list_PullRequestReviewEdge(list, PullRequestReviewEdge): pass - -class list_PullRequestReview(list, PullRequestReview): pass - -class PullRequestReviewConnection(GQLObject): - edges: list_PullRequestReviewEdge[PullRequestReviewEdge] - nodes: list_PullRequestReview[PullRequestReview] - pageInfo: PageInfo - totalCount: int - -class ReviewRequest(GQLObject): - asCodeOwner: bool - databaseId: int - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - requestedReviewer: RequestedReviewer - -class ReviewRequestEdge(GQLObject): - cursor: str - node: ReviewRequest - -class list_ReviewRequestEdge(list, ReviewRequestEdge): pass - -class list_ReviewRequest(list, ReviewRequest): pass - -class ReviewRequestConnection(GQLObject): - edges: list_ReviewRequestEdge[ReviewRequestEdge] - nodes: list_ReviewRequest[ReviewRequest] - pageInfo: PageInfo - totalCount: int - -class PVFYN_PullRequestReviewCommentConnection_Field(PullRequestReviewCommentConnection): - class PullRequestReviewCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - skip: int - - _args: PullRequestReviewCommentConnectionArgs - - - -class PullRequestReviewThread(GQLObject): - comments: PVFYN_PullRequestReviewCommentConnection_Field - diffSide: DiffSide - id: ID - isCollapsed: bool - isOutdated: bool - isResolved: bool - line: int - originalLine: int - originalStartLine: int - path: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - repository: Repository - resolvedBy: NewType('User', GQLObject) ## Circular Reference for User - startDiffSide: DiffSide - startLine: int - subjectType: PullRequestReviewThreadSubjectType - viewerCanReply: bool - viewerCanResolve: bool - viewerCanUnresolve: bool - -class PullRequestReviewThreadEdge(GQLObject): - cursor: str - node: PullRequestReviewThread - -class list_PullRequestReviewThreadEdge(list, PullRequestReviewThreadEdge): pass - -class list_PullRequestReviewThread(list, PullRequestReviewThread): pass - -class PullRequestReviewThreadConnection(GQLObject): - edges: list_PullRequestReviewThreadEdge[PullRequestReviewThreadEdge] - nodes: list_PullRequestReviewThread[PullRequestReviewThread] - pageInfo: PageInfo - totalCount: int - -class SuggestedReviewer(GQLObject): - isAuthor: bool - isCommenter: bool - reviewer: NewType('User', GQLObject) ## Circular Reference for User - -class BaseRefDeletedEvent(GQLObject): - actor: Actor - baseRefName: str - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class BaseRefForcePushedEvent(GQLObject): - actor: Actor - afterCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - beforeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - ref: Ref - -class FTNSZ_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: CommitCommentConnectionArgs - - - -class CommitCommentThread(GQLObject): - comments: FTNSZ_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - path: str - position: int - repository: Repository - -class DeployedEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - deployment: Deployment - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - ref: Ref - -class DeploymentEnvironmentChangedEvent(GQLObject): - actor: Actor - createdAt: DateTime - deploymentStatus: DeploymentStatus - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class HeadRefDeletedEvent(GQLObject): - actor: Actor - createdAt: DateTime - headRef: Ref - headRefName: str - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class HeadRefForcePushedEvent(GQLObject): - actor: Actor - afterCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - beforeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - ref: Ref - -class HeadRefRestoredEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class MergedEvent(GQLObject): - actor: Actor - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - id: ID - mergeRef: Ref - mergeRefName: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI - -class ReviewDismissedEvent(GQLObject): - actor: Actor - createdAt: DateTime - databaseId: int - dismissalMessage: str - dismissalMessageHTML: str - id: ID - previousReviewState: PullRequestReviewState - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - pullRequestCommit: PullRequestCommit - resourcePath: URI - review: PullRequestReview - url: URI - -class ReviewRequestRemovedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - requestedReviewer: RequestedReviewer - -class ReviewRequestedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - requestedReviewer: RequestedReviewer - -class PullRequestTimelineItem(GQLObject): - pass - -class PullRequestTimelineItemEdge(GQLObject): - cursor: str - node: PullRequestTimelineItem - -class list_PullRequestTimelineItemEdge(list, PullRequestTimelineItemEdge): pass - -class list_PullRequestTimelineItem(list, PullRequestTimelineItem): pass - -class PullRequestTimelineConnection(GQLObject): - edges: list_PullRequestTimelineItemEdge[PullRequestTimelineItemEdge] - nodes: list_PullRequestTimelineItem[PullRequestTimelineItem] - pageInfo: PageInfo - totalCount: int - -class AddedToMergeQueueEvent(GQLObject): - actor: Actor - createdAt: DateTime - enqueuer: NewType('User', GQLObject) ## Circular Reference for User - id: ID - mergeQueue: MergeQueue - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class AutoMergeDisabledEvent(GQLObject): - actor: Actor - createdAt: DateTime - disabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reason: str - reasonCode: str - -class AutoMergeEnabledEvent(GQLObject): - actor: Actor - createdAt: DateTime - enabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class AutoRebaseEnabledEvent(GQLObject): - actor: Actor - createdAt: DateTime - enabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class AutoSquashEnabledEvent(GQLObject): - actor: Actor - createdAt: DateTime - enabler: NewType('User', GQLObject) ## Circular Reference for User - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class AutomaticBaseChangeFailedEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - newBase: str - oldBase: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class AutomaticBaseChangeSucceededEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - newBase: str - oldBase: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class BaseRefChangedEvent(GQLObject): - actor: Actor - createdAt: DateTime - currentRefName: str - databaseId: int - id: ID - previousRefName: str - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class ConvertToDraftEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI - -class AIEEZ_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: CommitCommentConnectionArgs - - - -class PullRequestCommitCommentThread(GQLObject): - comments: AIEEZ_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - id: ID - path: str - position: int - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - repository: Repository - -class PullRequestRevisionMarker(GQLObject): - createdAt: DateTime - lastSeenCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - -class ReadyForReviewEvent(GQLObject): - actor: Actor - createdAt: DateTime - id: ID - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - resourcePath: URI - url: URI - -class RemovedFromMergeQueueEvent(GQLObject): - actor: Actor - beforeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - createdAt: DateTime - enqueuer: NewType('User', GQLObject) ## Circular Reference for User - id: ID - mergeQueue: MergeQueue - pullRequest: NewType('PullRequest', GQLObject) ## Circular Reference for PullRequest - reason: str - -class PullRequestTimelineItems(GQLObject): - pass - -class PullRequestTimelineItemsEdge(GQLObject): - cursor: str - node: PullRequestTimelineItems - -class list_PullRequestTimelineItemsEdge(list, PullRequestTimelineItemsEdge): pass -class list_PullRequestTimelineItems(list, PullRequestTimelineItems): pass +@dataclass(kw_only=True) +class PullRequestContributionsByRepository: + contributions: CreatedPullRequestContributionConnection + repository: Repository -class PullRequestTimelineItemsConnection(GQLObject): - edges: list_PullRequestTimelineItemsEdge[PullRequestTimelineItemsEdge] - filteredCount: int - nodes: list_PullRequestTimelineItems[PullRequestTimelineItems] - pageCount: int - pageInfo: PageInfo - totalCount: int - updatedAt: DateTime -class NSYAG_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class CreatedPullRequestReviewContribution: + is_restricted: bool + occurred_at: DateTime + pull_request: PullRequest + pull_request_review: PullRequestReview + repository: Repository + resource_path: URI + url: URI + user: User - _args: UserConnectionArgs +@dataclass(kw_only=True) +class CreatedPullRequestReviewContributionEdge: + cursor: str + node: Optional[CreatedPullRequestReviewContribution] = None -class MRHXN_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - userLinkedOnly: bool - after: str - before: str - first: int - last: int - orderBy: IssueOrder +@dataclass(kw_only=True) +class CreatedPullRequestReviewContributionConnection: + edges: Optional[list[CreatedPullRequestReviewContributionEdge]] = None + nodes: Optional[list[CreatedPullRequestReviewContribution]] = None + page_info: PageInfo + total_count: int - _args: IssueConnectionArgs +@dataclass(kw_only=True) +class PullRequestReviewContributionsByRepository: + contributions: CreatedPullRequestReviewContributionConnection + repository: Repository -class JGXEP_IssueCommentConnection_Field(IssueCommentConnection): - class IssueCommentConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueCommentOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class CreatedRepositoryContributionEdge: + cursor: str + node: Optional[CreatedRepositoryContribution] = None - _args: IssueCommentConnectionArgs +@dataclass(kw_only=True) +class CreatedRepositoryContributionConnection: + edges: Optional[list[CreatedRepositoryContributionEdge]] = None + nodes: Optional[list[CreatedRepositoryContribution]] = None + page_info: PageInfo + total_count: int -class XHVXV_PullRequestCommitConnection_Field(PullRequestCommitConnection): - class PullRequestCommitConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class EnterpriseEdge: + cursor: str + node: Optional[Enterprise] = None - _args: PullRequestCommitConnectionArgs +@dataclass(kw_only=True) +class EnterpriseConnection: + edges: Optional[list[EnterpriseEdge]] = None + nodes: Optional[list[Enterprise]] = None + page_info: PageInfo + total_count: int -class DWWQC_PullRequestChangedFileConnection_Field(PullRequestChangedFileConnection): - class PullRequestChangedFileConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class FollowerConnection: + edges: Optional[list[UserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int - _args: PullRequestChangedFileConnectionArgs +@dataclass(kw_only=True) +class FollowingConnection: + edges: Optional[list[UserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int -class PIAEK_Hovercard_Field(Hovercard): - class HovercardArgs(GQLArgsSet, GQLObject): - includeNotificationContexts: bool +@dataclass(kw_only=True) +class UserListItemsEdge: + cursor: str + node: Optional[UserListItems] = None - _args: HovercardArgs +@dataclass(kw_only=True) +class UserListItemsConnection: + edges: Optional[list[UserListItemsEdge]] = None + nodes: Optional[list[UserListItems]] = None + page_info: PageInfo + total_count: int -class MHXPX_LabelConnection_Field(LabelConnection): - class LabelConnectionArgs(GQLArgsSet, GQLObject): - orderBy: LabelOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class UserList: + created_at: DateTime + description: Optional[str] = None + id: ID + is_private: bool + items: UserListItemsConnection + last_added_at: DateTime + name: str + slug: str + updated_at: DateTime + user: User - _args: LabelConnectionArgs +@dataclass(kw_only=True) +class UserListEdge: + cursor: str + node: Optional[UserList] = None -class NPPCM_PullRequestReviewConnection_Field(PullRequestReviewConnection): - class PullRequestReviewConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - writersOnly: bool +@dataclass(kw_only=True) +class UserListConnection: + edges: Optional[list[UserListEdge]] = None + nodes: Optional[list[UserList]] = None + page_info: PageInfo + total_count: int - _args: PullRequestReviewConnectionArgs +@dataclass(kw_only=True) +class PublicKeyEdge: + cursor: str + node: Optional[PublicKey] = None -class SDLRD_PullRequestReviewConnection_Field(PullRequestReviewConnection): - class PullRequestReviewConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class PublicKeyConnection: + edges: Optional[list[PublicKeyEdge]] = None + nodes: Optional[list[PublicKey]] = None + page_info: PageInfo + total_count: int - _args: PullRequestReviewConnectionArgs +@dataclass(kw_only=True) +class SavedReply: + body: str + body_h_t_m_l: HTML + database_id: Optional[int] = None + id: ID + title: str + user: Optional[Actor] = None -class UPCOT_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class SavedReplyEdge: + cursor: str + node: Optional[SavedReply] = None - _args: UserConnectionArgs +@dataclass(kw_only=True) +class SavedReplyConnection: + edges: Optional[list[SavedReplyEdge]] = None + nodes: Optional[list[SavedReply]] = None + page_info: PageInfo + total_count: int -class QBTKI_ProjectCardConnection_Field(ProjectCardConnection): - class ProjectCardConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - archivedStates: list[ProjectCardArchivedState] +@dataclass(kw_only=True) +class SocialAccountEdge: + cursor: str + node: Optional[SocialAccount] = None - _args: ProjectCardConnectionArgs +@dataclass(kw_only=True) +class SocialAccountConnection: + edges: Optional[list[SocialAccountEdge]] = None + nodes: Optional[list[SocialAccount]] = None + page_info: PageInfo + total_count: int -class LHCDO_ProjectV2ItemConnection_Field(ProjectV2ItemConnection): - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - includeArchived: bool - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class StarredRepositoryEdge: + cursor: str + node: Repository + starred_at: DateTime - _args: ProjectV2ItemConnectionArgs +@dataclass(kw_only=True) +class StarredRepositoryConnection: + edges: Optional[list[StarredRepositoryEdge]] = None + is_over_limit: bool + nodes: Optional[list[Repository]] = None + page_info: PageInfo + total_count: int -class YCJTU_ProjectV2_Field(ProjectV2): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class LinkedBranch: + id: ID + ref: Optional[Ref] = None - _args: ProjectV2Args +@dataclass(kw_only=True) +class LinkedBranchEdge: + cursor: str + node: Optional[LinkedBranch] = None -class CRAKP_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class LinkedBranchConnection: + edges: Optional[list[LinkedBranchEdge]] = None + nodes: Optional[list[LinkedBranch]] = None + page_info: PageInfo + total_count: int - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class IssueTimelineItemEdge: + cursor: str + node: Optional[IssueTimelineItem] = None -class QDUNN_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder +@dataclass(kw_only=True) +class IssueTimelineConnection: + edges: Optional[list[IssueTimelineItemEdge]] = None + nodes: Optional[list[IssueTimelineItem]] = None + page_info: PageInfo + total_count: int - _args: ReactionConnectionArgs +@dataclass(kw_only=True) +class IssueTimelineItemsEdge: + cursor: str + node: Optional[IssueTimelineItems] = None + + +@dataclass(kw_only=True) +class IssueTimelineItemsConnection: + edges: Optional[list[IssueTimelineItemsEdge]] = None + filtered_count: int + nodes: Optional[list[IssueTimelineItems]] = None + page_count: int + page_info: PageInfo + total_count: int + updated_at: DateTime + + +@dataclass(kw_only=True) +class AddCommentPayload: + client_mutation_id: Optional[str] = None + comment_edge: Optional[IssueCommentEdge] = None + subject: Optional[Node] = None + timeline_edge: Optional[IssueTimelineItemEdge] = None + + +@dataclass(kw_only=True) +class AddProjectCardPayload: + card_edge: Optional[ProjectCardEdge] = None + client_mutation_id: Optional[str] = None + project_column: Optional[ProjectColumn] = None + + +@dataclass(kw_only=True) +class AddProjectColumnPayload: + client_mutation_id: Optional[str] = None + column_edge: Optional[ProjectColumnEdge] = None + project: Optional[Project] = None + + +@dataclass(kw_only=True) +class AddPullRequestReviewCommentPayload: + client_mutation_id: Optional[str] = None + comment: Optional[PullRequestReviewComment] = None + comment_edge: Optional[PullRequestReviewCommentEdge] = None + + +@dataclass(kw_only=True) +class AddPullRequestReviewInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + comments: Optional[list[DraftPullRequestReviewComment]] = None + commit_o_i_d: Optional[GitObjectID] = None + event: Optional[PullRequestReviewEvent] = None + pull_request_id: ID + threads: Optional[list[DraftPullRequestReviewThread]] = None + + +@dataclass(kw_only=True) +class AddPullRequestReviewPayload: + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None + review_edge: Optional[PullRequestReviewEdge] = None + + +@dataclass(kw_only=True) +class AddReactionPayload: + client_mutation_id: Optional[str] = None + reaction: Optional[Reaction] = None + reaction_groups: Optional[list[ReactionGroup]] = None + subject: Optional[Reactable] = None + + +@dataclass(kw_only=True) +class AuditEntry: + action: str + actor: Optional[AuditEntryActor] = None + actor_ip: Optional[str] = None + actor_location: Optional[ActorLocation] = None + actor_login: Optional[str] = None + actor_resource_path: Optional[URI] = None + actor_url: Optional[URI] = None + created_at: PreciseDateTime + operation_type: Optional[OperationType] = None + user: Optional[User] = None + user_login: Optional[str] = None + user_resource_path: Optional[URI] = None + user_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class CheckAnnotationData: + annotation_level: CheckAnnotationLevel + location: CheckAnnotationRange + message: str + path: str + raw_details: Optional[str] = None + title: Optional[str] = None + + +@dataclass(kw_only=True) +class CheckRunOutput: + annotations: Optional[list[CheckAnnotationData]] = None + images: Optional[list[CheckRunOutputImage]] = None + summary: str + text: Optional[str] = None + title: str + + +@dataclass(kw_only=True) +class Comment: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + last_edited_at: Optional[DateTime] = None + published_at: Optional[DateTime] = None + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_did_author: bool + + +@dataclass(kw_only=True) +class CreateAttributionInvitationPayload: + client_mutation_id: Optional[str] = None + owner: Optional[Organization] = None + source: Optional[Claimable] = None + target: Optional[Claimable] = None + + +@dataclass(kw_only=True) +class CreateCheckRunInput: + actions: Optional[list[CheckRunAction]] = None + client_mutation_id: Optional[str] = None + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + details_url: Optional[URI] = None + external_id: Optional[str] = None + head_sha: GitObjectID + name: str + output: Optional[CheckRunOutput] = None + repository_id: ID + started_at: Optional[DateTime] = None + status: Optional[RequestableCheckStatusState] = None + + +@dataclass(kw_only=True) +class FileChanges: + additions: Optional[list[FileAddition]] = None + deletions: Optional[list[FileDeletion]] = None + + +@dataclass(kw_only=True) +class CreateCommitOnBranchInput: + branch: CommittableBranch + client_mutation_id: Optional[str] = None + expected_head_oid: GitObjectID + file_changes: Optional[FileChanges] = None + message: CommitMessage + + +@dataclass(kw_only=True) +class CreateCommitOnBranchPayload: + client_mutation_id: Optional[str] = None + commit: Optional[Commit] = None + ref: Optional[Ref] = None + + +@dataclass(kw_only=True) +class CreateEnterpriseOrganizationPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + organization: Optional[Organization] = None + + +@dataclass(kw_only=True) +class CreateLinkedBranchPayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None + linked_branch: Optional[LinkedBranch] = None + + +@dataclass(kw_only=True) +class RepositoryPropertyConditionTargetInput: + exclude: list[PropertyTargetDefinitionInput] + include: list[PropertyTargetDefinitionInput] + + +@dataclass(kw_only=True) +class RepositoryRuleConditionsInput: + ref_name: Optional[RefNameConditionTargetInput] = None + repository_id: Optional[RepositoryIdConditionTargetInput] = None + repository_name: Optional[RepositoryNameConditionTargetInput] = None + repository_property: Optional[RepositoryPropertyConditionTargetInput] = None + + +@dataclass(kw_only=True) +class RequiredStatusChecksParametersInput: + required_status_checks: list[StatusCheckConfigurationInput] + strict_required_status_checks_policy: bool + + +@dataclass(kw_only=True) +class WorkflowsParametersInput: + workflows: list[WorkflowFileReferenceInput] + + +@dataclass(kw_only=True) +class RuleParametersInput: + branch_name_pattern: Optional[BranchNamePatternParametersInput] = None + commit_author_email_pattern: Optional[ + CommitAuthorEmailPatternParametersInput + ] = None + commit_message_pattern: Optional[CommitMessagePatternParametersInput] = None + committer_email_pattern: Optional[CommitterEmailPatternParametersInput] = None + pull_request: Optional[PullRequestParametersInput] = None + required_deployments: Optional[RequiredDeploymentsParametersInput] = None + required_status_checks: Optional[RequiredStatusChecksParametersInput] = None + tag_name_pattern: Optional[TagNamePatternParametersInput] = None + update: Optional[UpdateParametersInput] = None + workflows: Optional[WorkflowsParametersInput] = None + + +@dataclass(kw_only=True) +class RepositoryRuleInput: + id: Optional[ID] = None + parameters: Optional[RuleParametersInput] = None + type: RepositoryRuleType + + +@dataclass(kw_only=True) +class CreateRepositoryRulesetInput: + bypass_actors: Optional[list[RepositoryRulesetBypassActorInput]] = None + client_mutation_id: Optional[str] = None + conditions: RepositoryRuleConditionsInput + enforcement: RuleEnforcement + name: str + rules: Optional[list[RepositoryRuleInput]] = None + source_id: ID + target: Optional[RepositoryRulesetTarget] = None + + +@dataclass(kw_only=True) +class CreateUserListPayload: + client_mutation_id: Optional[str] = None + list: Optional[UserList] = None + viewer: Optional[User] = None + + +@dataclass(kw_only=True) +class DeletePullRequestReviewCommentPayload: + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None + pull_request_review_comment: Optional[PullRequestReviewComment] = None + + +@dataclass(kw_only=True) +class DisablePullRequestAutoMergePayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class EnablePullRequestAutoMergePayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class LinkRepositoryToProjectPayload: + client_mutation_id: Optional[str] = None + project: Optional[Project] = None + repository: Optional[Repository] = None + + +@dataclass(kw_only=True) +class LockLockablePayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + locked_record: Optional[Lockable] = None + + +@dataclass(kw_only=True) +class MarketplaceListing: + app: Optional[App] = None + company_url: Optional[URI] = None + configuration_resource_path: URI + configuration_url: URI + documentation_url: Optional[URI] = None + extended_description: Optional[str] = None + extended_description_h_t_m_l: HTML + full_description: str + full_description_h_t_m_l: HTML + has_published_free_trial_plans: bool + has_terms_of_service: bool + has_verified_owner: bool + how_it_works: Optional[str] = None + how_it_works_h_t_m_l: HTML + id: ID + installation_url: Optional[URI] = None + installed_for_viewer: bool + is_archived: bool + is_draft: bool + is_paid: bool + is_public: bool + is_rejected: bool + is_unverified: bool + is_unverified_pending: bool + is_verification_pending_from_draft: bool + is_verification_pending_from_unverified: bool + is_verified: bool + logo_background_color: str + logo_url: Optional[URI] = None + name: str + normalized_short_description: str + pricing_url: Optional[URI] = None + primary_category: MarketplaceCategory + privacy_policy_url: URI + resource_path: URI + screenshot_urls: list[str] + secondary_category: Optional[MarketplaceCategory] = None + short_description: str + slug: str + status_url: Optional[URI] = None + support_email: Optional[str] = None + support_url: URI + terms_of_service_url: Optional[URI] = None + url: URI + viewer_can_add_plans: bool + viewer_can_approve: bool + viewer_can_delist: bool + viewer_can_edit: bool + viewer_can_edit_categories: bool + viewer_can_edit_plans: bool + viewer_can_redraft: bool + viewer_can_reject: bool + viewer_can_request_approval: bool + viewer_has_purchased: bool + viewer_has_purchased_for_all_organizations: bool + viewer_is_listing_admin: bool + + +@dataclass(kw_only=True) +class MarketplaceListingEdge: + cursor: str + node: Optional[MarketplaceListing] = None + + +@dataclass(kw_only=True) +class MarketplaceListingConnection: + edges: Optional[list[MarketplaceListingEdge]] = None + nodes: Optional[list[MarketplaceListing]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class MergePullRequestPayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class ProfileOwner: + any_pinnable_items: bool + email: Optional[str] = None + id: ID + item_showcase: ProfileItemShowcase + location: Optional[str] = None + login: str + name: Optional[str] = None + pinnable_items: PinnableItemConnection + pinned_items: PinnableItemConnection + pinned_items_remaining: int + viewer_can_change_pinned_items: bool + website_url: Optional[URI] = None + + +@dataclass(kw_only=True) +class ProjectV2ActorEdge: + cursor: str + node: Optional[ProjectV2Actor] = None + + +@dataclass(kw_only=True) +class ProjectV2ActorConnection: + edges: Optional[list[ProjectV2ActorEdge]] = None + nodes: Optional[list[ProjectV2Actor]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class ProjectV2ItemFieldValueCommon: + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: ProjectV2FieldConfiguration + id: ID + item: ProjectV2Item + updated_at: DateTime + + +@dataclass(kw_only=True) +class PullRequestThread: + comments: PullRequestReviewCommentConnection + diff_side: DiffSide + id: ID + is_collapsed: bool + is_outdated: bool + is_resolved: bool + line: Optional[int] = None + path: str + pull_request: PullRequest + repository: Repository + resolved_by: Optional[User] = None + start_diff_side: Optional[DiffSide] = None + start_line: Optional[int] = None + subject_type: PullRequestReviewThreadSubjectType + viewer_can_reply: bool + viewer_can_resolve: bool + viewer_can_unresolve: bool + + +@dataclass(kw_only=True) +class RemoveEnterpriseAdminPayload: + admin: Optional[User] = None + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None + viewer: Optional[User] = None + + +@dataclass(kw_only=True) +class RemoveEnterpriseMemberPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + user: Optional[User] = None + viewer: Optional[User] = None + + +@dataclass(kw_only=True) +class RemoveEnterpriseOrganizationPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + organization: Optional[Organization] = None + viewer: Optional[User] = None + + +@dataclass(kw_only=True) +class RemoveReactionPayload: + client_mutation_id: Optional[str] = None + reaction: Optional[Reaction] = None + reaction_groups: Optional[list[ReactionGroup]] = None + subject: Optional[Reactable] = None + + +@dataclass(kw_only=True) +class RequestReviewsPayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + requested_reviewers_edge: Optional[UserEdge] = None + + +@dataclass(kw_only=True) +class RevertPullRequestPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None + revert_pull_request: Optional[PullRequest] = None + + +@dataclass(kw_only=True) +class TextMatch: + fragment: str + highlights: list[TextMatchHighlight] + property: str + + +@dataclass(kw_only=True) +class SearchResultItemEdge: + cursor: str + node: Optional[SearchResultItem] = None + text_matches: Optional[list[TextMatch]] = None + + +@dataclass(kw_only=True) +class SearchResultItemConnection: + code_count: int + discussion_count: int + edges: Optional[list[SearchResultItemEdge]] = None + issue_count: int + nodes: Optional[list[SearchResultItem]] = None + page_info: PageInfo + repository_count: int + user_count: int + wiki_count: int + + +@dataclass(kw_only=True) +class SecurityAdvisoryEdge: + cursor: str + node: Optional[SecurityAdvisory] = None + + +@dataclass(kw_only=True) +class SecurityAdvisoryConnection: + edges: Optional[list[SecurityAdvisoryEdge]] = None + nodes: Optional[list[SecurityAdvisory]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class SponsorableItemEdge: + cursor: str + node: Optional[SponsorableItem] = None + + +@dataclass(kw_only=True) +class SponsorableItemConnection: + edges: Optional[list[SponsorableItemEdge]] = None + nodes: Optional[list[SponsorableItem]] = None + page_info: PageInfo + total_count: int + + +@dataclass(kw_only=True) +class Tag: + abbreviated_oid: str + commit_resource_path: URI + commit_url: URI + id: ID + message: Optional[str] = None + name: str + oid: GitObjectID + repository: Repository + tagger: Optional[GitActor] = None + target: GitObject -class AFXMF_ReviewRequestConnection_Field(ReviewRequestConnection): - class ReviewRequestConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class UnlinkRepositoryFromProjectPayload: + client_mutation_id: Optional[str] = None + project: Optional[Project] = None + repository: Optional[Repository] = None + - _args: ReviewRequestConnectionArgs +@dataclass(kw_only=True) +class UnlockLockablePayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + unlocked_record: Optional[Lockable] = None +@dataclass(kw_only=True) +class UpdateCheckRunInput: + actions: Optional[list[CheckRunAction]] = None + check_run_id: ID + client_mutation_id: Optional[str] = None + completed_at: Optional[DateTime] = None + conclusion: Optional[CheckConclusionState] = None + details_url: Optional[URI] = None + external_id: Optional[str] = None + name: Optional[str] = None + output: Optional[CheckRunOutput] = None + repository_id: ID + started_at: Optional[DateTime] = None + status: Optional[RequestableCheckStatusState] = None -class NXFLO_PullRequestReviewThreadConnection_Field(PullRequestReviewThreadConnection): - class PullRequestReviewThreadConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: PullRequestReviewThreadConnectionArgs +@dataclass(kw_only=True) +class UpdateIssuePayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None +@dataclass(kw_only=True) +class UpdatePullRequestPayload: + actor: Optional[Actor] = None + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class NonNull_PullRequestReviewState(GQLObject): pass -class KJAEI_PullRequestReviewConnection_Field(PullRequestReviewConnection): - class PullRequestReviewConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - states: list[NonNull_PullRequestReviewState] - author: str - - _args: PullRequestReviewConnectionArgs - - - -class list_SuggestedReviewer(list, SuggestedReviewer): pass - -class NonNull_PullRequestTimelineItemsItemType(GQLObject): pass - -class JKCYY_PullRequestTimelineItemsConnection_Field(PullRequestTimelineItemsConnection): - class PullRequestTimelineItemsConnectionArgs(GQLArgsSet, GQLObject): - since: DateTime - skip: int - itemTypes: list[NonNull_PullRequestTimelineItemsItemType] - after: str - before: str - first: int - last: int - - _args: PullRequestTimelineItemsConnectionArgs - - - -class KBFMN_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class PullRequest(GQLObject): - activeLockReason: LockReason - additions: int - assignees: NSYAG_UserConnection_Field - author: Actor - authorAssociation: CommentAuthorAssociation - autoMergeRequest: AutoMergeRequest - baseRef: Ref - baseRefName: str - baseRefOid: GitObjectID - baseRepository: Repository - body: str - bodyHTML: HTML - bodyText: str - changedFiles: int - checksResourcePath: URI - checksUrl: URI - closed: bool - closedAt: DateTime - closingIssuesReferences: MRHXN_IssueConnection_Field - comments: JGXEP_IssueCommentConnection_Field - commits: XHVXV_PullRequestCommitConnection_Field - createdAt: DateTime - createdViaEmail: bool - databaseId: int - deletions: int - editor: Actor - files: DWWQC_PullRequestChangedFileConnection_Field - headRef: Ref - headRefName: str - headRefOid: GitObjectID - headRepository: Repository - headRepositoryOwner: RepositoryOwner - hovercard: PIAEK_Hovercard_Field - id: ID - includesCreatedEdit: bool - isCrossRepository: bool - isDraft: bool - isReadByViewer: bool - labels: MHXPX_LabelConnection_Field - lastEditedAt: DateTime - latestOpinionatedReviews: NPPCM_PullRequestReviewConnection_Field - latestReviews: SDLRD_PullRequestReviewConnection_Field - locked: bool - maintainerCanModify: bool - mergeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - mergeQueueEntry: MergeQueueEntry - mergeable: MergeableState - merged: bool - mergedAt: DateTime - mergedBy: Actor - milestone: Milestone - number: int - participants: UPCOT_UserConnection_Field - permalink: URI - potentialMergeCommit: NewType('Commit', GQLObject) ## Circular Reference for Commit - projectCards: QBTKI_ProjectCardConnection_Field - projectItems: LHCDO_ProjectV2ItemConnection_Field - projectV2: YCJTU_ProjectV2_Field - projectsV2: CRAKP_ProjectV2Connection_Field - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: QDUNN_ReactionConnection_Field - repository: Repository - resourcePath: URI - revertResourcePath: URI - revertUrl: URI - reviewDecision: PullRequestReviewDecision - reviewRequests: AFXMF_ReviewRequestConnection_Field - reviewThreads: NXFLO_PullRequestReviewThreadConnection_Field - reviews: KJAEI_PullRequestReviewConnection_Field - state: PullRequestState - suggestedReviewers: list_SuggestedReviewer[SuggestedReviewer] - timelineItems: JKCYY_PullRequestTimelineItemsConnection_Field - title: str - titleHTML: HTML - totalCommentsCount: int - updatedAt: DateTime - url: URI - userContentEdits: KBFMN_UserContentEditConnection_Field - viewerCanApplySuggestion: bool - viewerCanClose: bool - viewerCanDeleteHeadRef: bool - viewerCanDisableAutoMerge: bool - viewerCanEditFiles: bool - viewerCanEnableAutoMerge: bool - viewerCanMergeAsAdmin: bool - viewerCanReact: bool - viewerCanReopen: bool - viewerCanSubscribe: bool - viewerCanUpdate: bool - viewerCanUpdateBranch: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - viewerLatestReview: PullRequestReview - viewerLatestReviewRequest: ReviewRequest - viewerMergeBodyText: SCKMP_viewerMergeBodyText_Field - viewerMergeHeadlineText: PMXXT_viewerMergeHeadlineText_Field - viewerSubscription: SubscriptionState - -class PullRequestEdge(GQLObject): - cursor: str - node: PullRequest - -class list_PullRequestEdge(list, PullRequestEdge): pass - -class list_PullRequest(list, PullRequest): pass - -class PullRequestConnection(GQLObject): - edges: list_PullRequestEdge[PullRequestEdge] - nodes: list_PullRequest[PullRequest] - pageInfo: PageInfo - totalCount: int - -class GitActor(GQLObject): - avatarUrl: NOIEG_URI_Field - date: GitTimestamp - email: str - name: str - user: NewType('User', GQLObject) ## Circular Reference for User - -class GitActorEdge(GQLObject): - cursor: str - node: GitActor - -class list_GitActorEdge(list, GitActorEdge): pass - -class list_GitActor(list, GitActor): pass - -class GitActorConnection(GQLObject): - edges: list_GitActorEdge[GitActorEdge] - nodes: list_GitActor[GitActor] - pageInfo: PageInfo - totalCount: int - -class BlameRange(GQLObject): - age: int - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - endingLine: int - startingLine: int - -class list_BlameRange(list, BlameRange): pass - -class Blame(GQLObject): - ranges: list_BlameRange[BlameRange] - -class CheckSuiteEdge(GQLObject): - cursor: str - node: NewType('CheckSuite', GQLObject) ## Circular Reference for CheckSuite - -class list_CheckSuiteEdge(list, CheckSuiteEdge): pass - -class CheckSuiteConnection(GQLObject): - edges: list_CheckSuiteEdge[CheckSuiteEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for CheckSuite - pageInfo: PageInfo - totalCount: int - -class TreeEntry(GQLObject): - extension: str - isGenerated: bool - language: Language - lineCount: int - mode: int - name: str - nameRaw: Base64String - object: GitObject - oid: GitObjectID - path: str - pathRaw: Base64String - repository: Repository - size: int - submodule: Submodule - type: str - -class CommitHistoryConnection(GQLObject): - edges: list_CommitEdge[CommitEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Commit - pageInfo: PageInfo - totalCount: int - -class CommitConnection(GQLObject): - edges: list_CommitEdge[CommitEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Commit - pageInfo: PageInfo - totalCount: int - -class GitSignature(GQLObject): - email: str - isValid: bool - payload: str - signature: str - signer: NewType('User', GQLObject) ## Circular Reference for User - state: GitSignatureState - wasSignedByGitHub: bool - -class CheckAnnotationSpan(GQLObject): - end: CheckAnnotationPosition - start: CheckAnnotationPosition - -class CheckAnnotation(GQLObject): - annotationLevel: CheckAnnotationLevel - blobUrl: URI - databaseId: int - location: CheckAnnotationSpan - message: str - path: str - rawDetails: str - title: str - -class CheckAnnotationEdge(GQLObject): - cursor: str - node: CheckAnnotation - -class list_CheckAnnotationEdge(list, CheckAnnotationEdge): pass - -class list_CheckAnnotation(list, CheckAnnotation): pass - -class CheckAnnotationConnection(GQLObject): - edges: list_CheckAnnotationEdge[CheckAnnotationEdge] - nodes: list_CheckAnnotation[CheckAnnotation] - pageInfo: PageInfo - totalCount: int - -class QKTVX_DeploymentReviewerConnection_Field(DeploymentReviewerConnection): - class DeploymentReviewerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DeploymentReviewerConnectionArgs - - - -class DeploymentRequest(GQLObject): - currentUserCanApprove: bool - environment: Environment - reviewers: QKTVX_DeploymentReviewerConnection_Field - waitTimer: int - waitTimerStartedAt: DateTime - -class CheckStepEdge(GQLObject): - cursor: str - node: CheckStep - -class list_CheckStepEdge(list, CheckStepEdge): pass - -class list_CheckStep(list, CheckStep): pass - -class CheckStepConnection(GQLObject): - edges: list_CheckStepEdge[CheckStepEdge] - nodes: list_CheckStep[CheckStep] - pageInfo: PageInfo - totalCount: int - -class TNOOO_CheckAnnotationConnection_Field(CheckAnnotationConnection): - class CheckAnnotationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: CheckAnnotationConnectionArgs - - - -class OKJDT_CheckStepConnection_Field(CheckStepConnection): - class CheckStepConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - number: int - - _args: CheckStepConnectionArgs - - - -class CheckRun(GQLObject): - annotations: TNOOO_CheckAnnotationConnection_Field - checkSuite: NewType('CheckSuite', GQLObject) ## Circular Reference for CheckSuite - completedAt: DateTime - conclusion: CheckConclusionState - databaseId: int - deployment: Deployment - detailsUrl: URI - externalId: str - id: ID - isRequired: ZJXHH_isRequired_Field - name: str - pendingDeploymentRequest: DeploymentRequest - permalink: URI - repository: Repository - resourcePath: URI - startedAt: DateTime - status: CheckStatusState - steps: OKJDT_CheckStepConnection_Field - summary: str - text: str - title: str - url: URI - -class StatusContext(GQLObject): - avatarUrl: QXSLW_URI_Field - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - context: str - createdAt: DateTime - creator: Actor - description: str - id: ID - isRequired: IKYAO_isRequired_Field - state: StatusState - targetUrl: URI +@dataclass(kw_only=True) +class UpdateRepositoryRulesetInput: + bypass_actors: Optional[list[RepositoryRulesetBypassActorInput]] = None + client_mutation_id: Optional[str] = None + conditions: Optional[RepositoryRuleConditionsInput] = None + enforcement: Optional[RuleEnforcement] = None + name: Optional[str] = None + repository_ruleset_id: ID + rules: Optional[list[RepositoryRuleInput]] = None + target: Optional[RepositoryRulesetTarget] = None -class StatusCheckRollupContext(GQLObject): - pass -class StatusCheckRollupContextEdge(GQLObject): - cursor: str - node: StatusCheckRollupContext +@dataclass(kw_only=True) +class UpdateTeamsRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None + teams: Optional[list[Team]] = None -class list_CheckRunStateCount(list, CheckRunStateCount): pass -class list_StatusCheckRollupContextEdge(list, StatusCheckRollupContextEdge): pass +@dataclass(kw_only=True) +class UpdateUserListsForItemPayload: + client_mutation_id: Optional[str] = None + item: Optional[UserListItems] = None + lists: Optional[list[UserList]] = None + user: Optional[User] = None -class list_StatusCheckRollupContext(list, StatusCheckRollupContext): pass -class list_StatusContextStateCount(list, StatusContextStateCount): pass +@dataclass(kw_only=True) +class ViewerHovercardContext: + message: str + octicon: str + viewer: User -class StatusCheckRollupContextConnection(GQLObject): - checkRunCount: int - checkRunCountsByState: list_CheckRunStateCount[CheckRunStateCount] - edges: list_StatusCheckRollupContextEdge[StatusCheckRollupContextEdge] - nodes: list_StatusCheckRollupContext[StatusCheckRollupContext] - pageInfo: PageInfo - statusContextCount: int - statusContextCountsByState: list_StatusContextStateCount[StatusContextStateCount] - totalCount: int -class SAOOS_StatusCheckRollupContextConnection_Field(StatusCheckRollupContextConnection): - class StatusCheckRollupContextConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class VerifyVerifiableDomainPayload: + client_mutation_id: Optional[str] = None + domain: Optional[VerifiableDomain] = None - _args: StatusCheckRollupContextConnectionArgs +@dataclass(kw_only=True) +class UpdateUserListPayload: + client_mutation_id: Optional[str] = None + list: Optional[UserList] = None -class MNKQO_StatusContext_Field(StatusContext): - class StatusContextArgs(GQLArgsSet, GQLObject): - name: NonNull_str +@dataclass(kw_only=True) +class UpdateTopicsPayload: + client_mutation_id: Optional[str] = None + invalid_topic_names: Optional[list[str]] = None + repository: Optional[Repository] = None - _args: StatusContextArgs +@dataclass(kw_only=True) +class UpdateTeamReviewAssignmentPayload: + client_mutation_id: Optional[str] = None + team: Optional[Team] = None -class list_StatusContext(list, StatusContext): pass +@dataclass(kw_only=True) +class UpdateTeamDiscussionPayload: + client_mutation_id: Optional[str] = None + team_discussion: Optional[TeamDiscussion] = None -class Status(GQLObject): - combinedContexts: SAOOS_StatusCheckRollupContextConnection_Field - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - context: MNKQO_StatusContext_Field - contexts: list_StatusContext[StatusContext] - id: ID - state: StatusState -class WQZFN_StatusCheckRollupContextConnection_Field(StatusCheckRollupContextConnection): - class StatusCheckRollupContextConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class UpdateTeamDiscussionCommentPayload: + client_mutation_id: Optional[str] = None + team_discussion_comment: Optional[TeamDiscussionComment] = None - _args: StatusCheckRollupContextConnectionArgs +@dataclass(kw_only=True) +class UpdateSubscriptionPayload: + client_mutation_id: Optional[str] = None + subscribable: Optional[Subscribable] = None -class StatusCheckRollup(GQLObject): - commit: NewType('Commit', GQLObject) ## Circular Reference for Commit - contexts: WQZFN_StatusCheckRollupContextConnection_Field - id: ID - state: StatusState +@dataclass(kw_only=True) +class UpdateSponsorshipPreferencesPayload: + client_mutation_id: Optional[str] = None + sponsorship: Optional[Sponsorship] = None -class list_TreeEntry(list, TreeEntry): pass -class Tree(GQLObject): - abbreviatedOid: str - commitResourcePath: URI - commitUrl: URI - entries: list_TreeEntry[TreeEntry] - id: ID - oid: GitObjectID - repository: Repository +@dataclass(kw_only=True) +class UpdateRepositoryWebCommitSignoffSettingPayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None + repository: Optional[Repository] = None -class AFHBT_PullRequestConnection_Field(PullRequestConnection): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: PullRequestOrder - _args: PullRequestConnectionArgs +@dataclass(kw_only=True) +class UpdateRepositoryRulesetPayload: + client_mutation_id: Optional[str] = None + ruleset: Optional[RepositoryRuleset] = None +@dataclass(kw_only=True) +class UpdateRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class VEKGU_GitActorConnection_Field(GitActorConnection): - class GitActorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: GitActorConnectionArgs +@dataclass(kw_only=True) +class UpdateRefsInput: + client_mutation_id: Optional[str] = None + ref_updates: list[RefUpdate] + repository_id: ID +@dataclass(kw_only=True) +class UpdateRefPayload: + client_mutation_id: Optional[str] = None + ref: Optional[Ref] = None -class LWJVV_Blame_Field(Blame): - class BlameArgs(GQLArgsSet, GQLObject): - path: NonNull_str - _args: BlameArgs +@dataclass(kw_only=True) +class UpdatePullRequestReviewPayload: + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None +@dataclass(kw_only=True) +class UpdatePullRequestReviewCommentPayload: + client_mutation_id: Optional[str] = None + pull_request_review_comment: Optional[PullRequestReviewComment] = None -class NAHIJ_CheckSuiteConnection_Field(CheckSuiteConnection): - class CheckSuiteConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - filterBy: CheckSuiteFilter - _args: CheckSuiteConnectionArgs +@dataclass(kw_only=True) +class UpdatePullRequestBranchPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None +@dataclass(kw_only=True) +class UpdateProjectV2Payload: + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None -class MXKAT_CommitCommentConnection_Field(Generic[CommitCommentConnection]): - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: CommitCommentConnectionArgs +@dataclass(kw_only=True) +class UpdateProjectV2ItemPositionPayload: + client_mutation_id: Optional[str] = None + items: Optional[ProjectV2ItemConnection] = None +@dataclass(kw_only=True) +class UpdateProjectV2ItemFieldValuePayload: + client_mutation_id: Optional[str] = None + project_v2_item: Optional[ProjectV2Item] = None -class HRGTQ_DeploymentConnection_Field(DeploymentConnection): - class DeploymentConnectionArgs(GQLArgsSet, GQLObject): - environments: list[NonNull_str] - orderBy: DeploymentOrder - after: str - before: str - first: int - last: int - - _args: DeploymentConnectionArgs +@dataclass(kw_only=True) +class UpdateProjectV2ItemFieldValueInput: + client_mutation_id: Optional[str] = None + field_id: ID + item_id: ID + project_id: ID + value: ProjectV2FieldValue -class FYSWE_TreeEntry_Field(TreeEntry): - class TreeEntryArgs(GQLArgsSet, GQLObject): - path: NonNull_str +@dataclass(kw_only=True) +class UpdateProjectV2DraftIssuePayload: + client_mutation_id: Optional[str] = None + draft_issue: Optional[DraftIssue] = None - _args: TreeEntryArgs +@dataclass(kw_only=True) +class UpdateProjectV2CollaboratorsPayload: + client_mutation_id: Optional[str] = None + collaborators: Optional[ProjectV2ActorConnection] = None -class UICWA_CommitHistoryConnection_Field(CommitHistoryConnection): - class CommitHistoryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - path: str - author: CommitAuthor - since: GitTimestamp - until: GitTimestamp +@dataclass(kw_only=True) +class UpdateProjectV2CollaboratorsInput: + client_mutation_id: Optional[str] = None + collaborators: list[ProjectV2Collaborator] + project_id: ID - _args: CommitHistoryConnectionArgs +@dataclass(kw_only=True) +class UpdateProjectPayload: + client_mutation_id: Optional[str] = None + project: Optional[Project] = None -class LPISZ_CommitConnection_Field(CommitConnection): - class CommitConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class UpdateProjectColumnPayload: + client_mutation_id: Optional[str] = None + project_column: Optional[ProjectColumn] = None - _args: CommitConnectionArgs +@dataclass(kw_only=True) +class UpdateProjectCardPayload: + client_mutation_id: Optional[str] = None + project_card: Optional[ProjectCard] = None -class JSPFT_SubmoduleConnection_Field(SubmoduleConnection): - class SubmoduleConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: SubmoduleConnectionArgs - - - -class Commit(GQLObject): - abbreviatedOid: str - additions: int - associatedPullRequests: AFHBT_PullRequestConnection_Field - author: GitActor - authoredByCommitter: bool - authoredDate: DateTime - authors: VEKGU_GitActorConnection_Field - blame: LWJVV_Blame_Field - changedFilesIfAvailable: int - checkSuites: NAHIJ_CheckSuiteConnection_Field - comments: MXKAT_CommitCommentConnection_Field ## Circular Reference for CommitCommentConnection - commitResourcePath: URI - commitUrl: URI - committedDate: DateTime - committedViaWeb: bool - committer: GitActor - deletions: int - deployments: HRGTQ_DeploymentConnection_Field - file: FYSWE_TreeEntry_Field - history: UICWA_CommitHistoryConnection_Field - id: ID - message: str - messageBody: str - messageBodyHTML: HTML - messageHeadline: str - messageHeadlineHTML: HTML - oid: GitObjectID - onBehalfOf: NewType('Organization', GQLObject) ## Circular Reference for Organization - parents: LPISZ_CommitConnection_Field - repository: Repository - resourcePath: URI - signature: GitSignature - status: Status - statusCheckRollup: StatusCheckRollup - submodules: JSPFT_SubmoduleConnection_Field - tarballUrl: URI - tree: Tree - treeResourcePath: URI - treeUrl: URI - url: URI - viewerCanSubscribe: bool - viewerSubscription: SubscriptionState - zipballUrl: URI - -class RPYZG_ReactionConnection_Field(ReactionConnection): - class ReactionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - content: ReactionContent - orderBy: ReactionOrder - - _args: ReactionConnectionArgs - - - -class QLNMA_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class CommitComment(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - commit: Commit - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - id: ID - includesCreatedEdit: bool - isMinimized: bool - lastEditedAt: DateTime - minimizedReason: str - path: str - position: int - publishedAt: DateTime - reactionGroups: list_ReactionGroup[ReactionGroup] - reactions: RPYZG_ReactionConnection_Field - repository: Repository - resourcePath: URI - updatedAt: DateTime - url: URI - userContentEdits: QLNMA_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanReact: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - -class CommitCommentEdge(GQLObject): - cursor: str - node: CommitComment - -class list_CommitCommentEdge(list, CommitCommentEdge): pass - -class list_CommitComment(list, CommitComment): pass - -class CommitCommentConnection(GQLObject): - edges: list_CommitCommentEdge[CommitCommentEdge] - nodes: list_CommitComment[CommitComment] - pageInfo: PageInfo - totalCount: int - -class CreatedCommitContribution(GQLObject): - commitCount: int - isRestricted: bool - occurredAt: DateTime - repository: Repository - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User - -class CreatedCommitContributionEdge(GQLObject): - cursor: str - node: CreatedCommitContribution - -class list_CreatedCommitContributionEdge(list, CreatedCommitContributionEdge): pass - -class list_CreatedCommitContribution(list, CreatedCommitContribution): pass - -class CreatedCommitContributionConnection(GQLObject): - edges: list_CreatedCommitContributionEdge[CreatedCommitContributionEdge] - nodes: list_CreatedCommitContribution[CreatedCommitContribution] - pageInfo: PageInfo - totalCount: int - -class BTUIE_CreatedCommitContributionConnection_Field(CreatedCommitContributionConnection): - class CreatedCommitContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: CommitContributionOrder - - _args: CreatedCommitContributionConnectionArgs - - - -class CommitContributionsByRepository(GQLObject): - contributions: BTUIE_CreatedCommitContributionConnection_Field - repository: Repository - resourcePath: URI - url: URI - -class list_ContributionCalendarDay(list, ContributionCalendarDay): pass - -class ContributionCalendarWeek(GQLObject): - contributionDays: list_ContributionCalendarDay[ContributionCalendarDay] - firstDay: Date - -class list_ContributionCalendarMonth(list, ContributionCalendarMonth): pass - -class list_ContributionCalendarWeek(list, ContributionCalendarWeek): pass - -class ContributionCalendar(GQLObject): - colors: list[str] - isHalloween: bool - months: list_ContributionCalendarMonth[ContributionCalendarMonth] - totalContributions: int - weeks: list_ContributionCalendarWeek[ContributionCalendarWeek] - -class CreatedIssueContribution(GQLObject): - isRestricted: bool - issue: Issue - occurredAt: DateTime - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User - -class RestrictedContribution(GQLObject): - isRestricted: bool - occurredAt: DateTime - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User - -class CreatedIssueOrRestrictedContribution(GQLObject): - pass - -class CreatedPullRequestContribution(GQLObject): - isRestricted: bool - occurredAt: DateTime - pullRequest: PullRequest - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User - -class CreatedPullRequestOrRestrictedContribution(GQLObject): - pass - -class CreatedRepositoryContribution(GQLObject): - isRestricted: bool - occurredAt: DateTime - repository: Repository - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User - -class CreatedRepositoryOrRestrictedContribution(GQLObject): - pass - -class CreatedIssueContributionEdge(GQLObject): - cursor: str - node: CreatedIssueContribution +@dataclass(kw_only=True) +class UpdatePatreonSponsorabilityPayload: + client_mutation_id: Optional[str] = None + sponsors_listing: Optional[SponsorsListing] = None -class list_CreatedIssueContributionEdge(list, CreatedIssueContributionEdge): pass -class list_CreatedIssueContribution(list, CreatedIssueContribution): pass +@dataclass(kw_only=True) +class UpdateOrganizationWebCommitSignoffSettingPayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None + organization: Optional[Organization] = None -class CreatedIssueContributionConnection(GQLObject): - edges: list_CreatedIssueContributionEdge[CreatedIssueContributionEdge] - nodes: list_CreatedIssueContribution[CreatedIssueContribution] - pageInfo: PageInfo - totalCount: int -class JJERK_CreatedIssueContributionConnection_Field(CreatedIssueContributionConnection): - class CreatedIssueContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ContributionOrder +@dataclass(kw_only=True) +class UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload: + client_mutation_id: Optional[str] = None + message: Optional[str] = None + organization: Optional[Organization] = None - _args: CreatedIssueContributionConnectionArgs +@dataclass(kw_only=True) +class UpdateNotificationRestrictionSettingPayload: + client_mutation_id: Optional[str] = None + owner: Optional[VerifiableDomainOwner] = None -class IssueContributionsByRepository(GQLObject): - contributions: JJERK_CreatedIssueContributionConnection_Field - repository: Repository +@dataclass(kw_only=True) +class UpdateLabelPayload: + client_mutation_id: Optional[str] = None + label: Optional[Label] = None -class JoinedGitHubContribution(GQLObject): - isRestricted: bool - occurredAt: DateTime - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User -class CreatedPullRequestContributionEdge(GQLObject): - cursor: str - node: CreatedPullRequestContribution +@dataclass(kw_only=True) +class UpdateIssueCommentPayload: + client_mutation_id: Optional[str] = None + issue_comment: Optional[IssueComment] = None -class list_CreatedPullRequestContributionEdge(list, CreatedPullRequestContributionEdge): pass -class list_CreatedPullRequestContribution(list, CreatedPullRequestContribution): pass +@dataclass(kw_only=True) +class UpdateIpAllowListForInstalledAppsEnabledSettingPayload: + client_mutation_id: Optional[str] = None + owner: Optional[IpAllowListOwner] = None -class CreatedPullRequestContributionConnection(GQLObject): - edges: list_CreatedPullRequestContributionEdge[CreatedPullRequestContributionEdge] - nodes: list_CreatedPullRequestContribution[CreatedPullRequestContribution] - pageInfo: PageInfo - totalCount: int -class BXFMO_CreatedPullRequestContributionConnection_Field(CreatedPullRequestContributionConnection): - class CreatedPullRequestContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ContributionOrder +@dataclass(kw_only=True) +class UpdateIpAllowListEntryPayload: + client_mutation_id: Optional[str] = None + ip_allow_list_entry: Optional[IpAllowListEntry] = None - _args: CreatedPullRequestContributionConnectionArgs +@dataclass(kw_only=True) +class UpdateIpAllowListEnabledSettingPayload: + client_mutation_id: Optional[str] = None + owner: Optional[IpAllowListOwner] = None -class PullRequestContributionsByRepository(GQLObject): - contributions: BXFMO_CreatedPullRequestContributionConnection_Field - repository: Repository +@dataclass(kw_only=True) +class UpdateEnvironmentPayload: + client_mutation_id: Optional[str] = None + environment: Optional[Environment] = None -class CreatedPullRequestReviewContribution(GQLObject): - isRestricted: bool - occurredAt: DateTime - pullRequest: PullRequest - pullRequestReview: PullRequestReview - repository: Repository - resourcePath: URI - url: URI - user: NewType('User', GQLObject) ## Circular Reference for User -class CreatedPullRequestReviewContributionEdge(GQLObject): - cursor: str - node: CreatedPullRequestReviewContribution +@dataclass(kw_only=True) +class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class list_CreatedPullRequestReviewContributionEdge(list, CreatedPullRequestReviewContributionEdge): pass -class list_CreatedPullRequestReviewContribution(list, CreatedPullRequestReviewContribution): pass +@dataclass(kw_only=True) +class UpdateEnterpriseTeamDiscussionsSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class CreatedPullRequestReviewContributionConnection(GQLObject): - edges: list_CreatedPullRequestReviewContributionEdge[CreatedPullRequestReviewContributionEdge] - nodes: list_CreatedPullRequestReviewContribution[CreatedPullRequestReviewContribution] - pageInfo: PageInfo - totalCount: int -class MQDUP_CreatedPullRequestReviewContributionConnection_Field(CreatedPullRequestReviewContributionConnection): - class CreatedPullRequestReviewContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ContributionOrder +@dataclass(kw_only=True) +class UpdateEnterpriseRepositoryProjectsSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - _args: CreatedPullRequestReviewContributionConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseProfilePayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None -class PullRequestReviewContributionsByRepository(GQLObject): - contributions: MQDUP_CreatedPullRequestReviewContributionConnection_Field - repository: Repository +@dataclass(kw_only=True) +class UpdateEnterpriseOrganizationProjectsSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class CreatedRepositoryContributionEdge(GQLObject): - cursor: str - node: CreatedRepositoryContribution -class list_CreatedRepositoryContributionEdge(list, CreatedRepositoryContributionEdge): pass +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class list_CreatedRepositoryContribution(list, CreatedRepositoryContribution): pass -class CreatedRepositoryContributionConnection(GQLObject): - edges: list_CreatedRepositoryContributionEdge[CreatedRepositoryContributionEdge] - nodes: list_CreatedRepositoryContribution[CreatedRepositoryContribution] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class ZOCII_CommitContributionsByRepository_Field(CommitContributionsByRepository): - class CommitContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - maxRepositories: int - _args: CommitContributionsByRepositoryArgs +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanMakePurchasesSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class list_CommitContributionsByRepository(list, CommitContributionsByRepository): pass -class DEJGI_CreatedIssueContributionConnection_Field(CreatedIssueContributionConnection): - class CreatedIssueContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - excludeFirst: bool - excludePopular: bool - orderBy: ContributionOrder +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - _args: CreatedIssueContributionConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanDeleteIssuesSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class UVBZB_IssueContributionsByRepository_Field(IssueContributionsByRepository): - class IssueContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - maxRepositories: int - excludeFirst: bool - excludePopular: bool +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None - _args: IssueContributionsByRepositoryArgs +@dataclass(kw_only=True) +class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class list_IssueContributionsByRepository(list, IssueContributionsByRepository): pass +@dataclass(kw_only=True) +class UpdateEnterpriseDefaultRepositoryPermissionSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None -class INNKA_CreatedPullRequestContributionConnection_Field(CreatedPullRequestContributionConnection): - class CreatedPullRequestContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - excludeFirst: bool - excludePopular: bool - orderBy: ContributionOrder - _args: CreatedPullRequestContributionConnectionArgs +@dataclass(kw_only=True) +class UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload: + client_mutation_id: Optional[str] = None + enterprise: Optional[Enterprise] = None + message: Optional[str] = None +@dataclass(kw_only=True) +class UpdateDiscussionPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class CZUFM_PullRequestContributionsByRepository_Field(PullRequestContributionsByRepository): - class PullRequestContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - maxRepositories: int - excludeFirst: bool - excludePopular: bool - _args: PullRequestContributionsByRepositoryArgs +@dataclass(kw_only=True) +class UpdateDiscussionCommentPayload: + client_mutation_id: Optional[str] = None + comment: Optional[DiscussionComment] = None +@dataclass(kw_only=True) +class UpdateCheckSuitePreferencesPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class list_PullRequestContributionsByRepository(list, PullRequestContributionsByRepository): pass -class YGUFP_CreatedPullRequestReviewContributionConnection_Field(CreatedPullRequestReviewContributionConnection): - class CreatedPullRequestReviewContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: ContributionOrder +@dataclass(kw_only=True) +class UpdateCheckSuitePreferencesInput: + auto_trigger_preferences: list[CheckSuiteAutoTriggerPreference] + client_mutation_id: Optional[str] = None + repository_id: ID - _args: CreatedPullRequestReviewContributionConnectionArgs +@dataclass(kw_only=True) +class UpdateCheckRunPayload: + check_run: Optional[CheckRun] = None + client_mutation_id: Optional[str] = None -class EKBPL_PullRequestReviewContributionsByRepository_Field(PullRequestReviewContributionsByRepository): - class PullRequestReviewContributionsByRepositoryArgs(GQLArgsSet, GQLObject): - maxRepositories: int +@dataclass(kw_only=True) +class UpdateBranchProtectionRulePayload: + branch_protection_rule: Optional[BranchProtectionRule] = None + client_mutation_id: Optional[str] = None - _args: PullRequestReviewContributionsByRepositoryArgs +@dataclass(kw_only=True) +class UpdateBranchProtectionRuleInput: + allows_deletions: Optional[bool] = None + allows_force_pushes: Optional[bool] = None + blocks_creations: Optional[bool] = None + branch_protection_rule_id: ID + bypass_force_push_actor_ids: Optional[list[ID]] = None + bypass_pull_request_actor_ids: Optional[list[ID]] = None + client_mutation_id: Optional[str] = None + dismisses_stale_reviews: Optional[bool] = None + is_admin_enforced: Optional[bool] = None + lock_allows_fetch_and_merge: Optional[bool] = None + lock_branch: Optional[bool] = None + pattern: Optional[str] = None + push_actor_ids: Optional[list[ID]] = None + require_last_push_approval: Optional[bool] = None + required_approving_review_count: Optional[int] = None + required_deployment_environments: Optional[list[str]] = None + required_status_check_contexts: Optional[list[str]] = None + required_status_checks: Optional[list[RequiredStatusCheckInput]] = None + requires_approving_reviews: Optional[bool] = None + requires_code_owner_reviews: Optional[bool] = None + requires_commit_signatures: Optional[bool] = None + requires_conversation_resolution: Optional[bool] = None + requires_deployments: Optional[bool] = None + requires_linear_history: Optional[bool] = None + requires_status_checks: Optional[bool] = None + requires_strict_status_checks: Optional[bool] = None + restricts_pushes: Optional[bool] = None + restricts_review_dismissals: Optional[bool] = None + review_dismissal_actor_ids: Optional[list[ID]] = None -class list_PullRequestReviewContributionsByRepository(list, PullRequestReviewContributionsByRepository): pass - -class DHZBW_CreatedRepositoryContributionConnection_Field(CreatedRepositoryContributionConnection): - class CreatedRepositoryContributionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - excludeFirst: bool - orderBy: ContributionOrder - - _args: CreatedRepositoryContributionConnectionArgs - - - -class ContributionsCollection(GQLObject): - commitContributionsByRepository: ZOCII_CommitContributionsByRepository_Field - contributionCalendar: ContributionCalendar - contributionYears: list[int] - doesEndInCurrentMonth: bool - earliestRestrictedContributionDate: Date - endedAt: DateTime - firstIssueContribution: CreatedIssueOrRestrictedContribution - firstPullRequestContribution: CreatedPullRequestOrRestrictedContribution - firstRepositoryContribution: CreatedRepositoryOrRestrictedContribution - hasActivityInThePast: bool - hasAnyContributions: bool - hasAnyRestrictedContributions: bool - isSingleDay: bool - issueContributions: DEJGI_CreatedIssueContributionConnection_Field - issueContributionsByRepository: UVBZB_IssueContributionsByRepository_Field - joinedGitHubContribution: JoinedGitHubContribution - latestRestrictedContributionDate: Date - mostRecentCollectionWithActivity: NewType('ContributionsCollection', GQLObject) ## Circular Reference for ContributionsCollection - mostRecentCollectionWithoutActivity: NewType('ContributionsCollection', GQLObject) ## Circular Reference for ContributionsCollection - popularIssueContribution: CreatedIssueContribution - popularPullRequestContribution: CreatedPullRequestContribution - pullRequestContributions: INNKA_CreatedPullRequestContributionConnection_Field - pullRequestContributionsByRepository: CZUFM_PullRequestContributionsByRepository_Field - pullRequestReviewContributions: YGUFP_CreatedPullRequestReviewContributionConnection_Field - pullRequestReviewContributionsByRepository: EKBPL_PullRequestReviewContributionsByRepository_Field - repositoryContributions: DHZBW_CreatedRepositoryContributionConnection_Field - restrictedContributionsCount: int - startedAt: DateTime - totalCommitContributions: int - totalIssueContributions: QGEPN_totalIssueContributions_Field - totalPullRequestContributions: TDTJO_totalPullRequestContributions_Field - totalPullRequestReviewContributions: int - totalRepositoriesWithContributedCommits: int - totalRepositoriesWithContributedIssues: AZLBL_totalRepositoriesWithContributedIssues_Field - totalRepositoriesWithContributedPullRequestReviews: int - totalRepositoriesWithContributedPullRequests: CLSWT_totalRepositoriesWithContributedPullRequests_Field - totalRepositoryContributions: RESLG_totalRepositoryContributions_Field - user: NewType('User', GQLObject) ## Circular Reference for User - -class FollowerConnection(GQLObject): - edges: list_UserEdge[UserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int - -class FollowingConnection(GQLObject): - edges: list_UserEdge[UserEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for User - pageInfo: PageInfo - totalCount: int - -class XMCKY_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class GistComment(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - databaseId: int - editor: Actor - gist: NewType('Gist', GQLObject) ## Circular Reference for Gist - id: ID - includesCreatedEdit: bool - isMinimized: bool - lastEditedAt: DateTime - minimizedReason: str - publishedAt: DateTime - updatedAt: DateTime - userContentEdits: XMCKY_UserContentEditConnection_Field - viewerCanDelete: bool - viewerCanMinimize: bool - viewerCanUpdate: bool - viewerCannotUpdateReasons: list[CommentCannotUpdateReason] - viewerDidAuthor: bool - -class GistCommentEdge(GQLObject): - cursor: str - node: GistComment - -class list_GistCommentEdge(list, GistCommentEdge): pass - -class list_GistComment(list, GistComment): pass - -class GistCommentConnection(GQLObject): - edges: list_GistCommentEdge[GistCommentEdge] - nodes: list_GistComment[GistComment] - pageInfo: PageInfo - totalCount: int - -class GistFile(GQLObject): - encodedName: str - encoding: str - extension: str - isImage: bool - isTruncated: bool - language: Language - name: str - size: int - text: ZKQVF_text_Field - -class GistEdge(GQLObject): - cursor: str - node: NewType('Gist', GQLObject) ## Circular Reference for Gist - -class list_GistEdge(list, GistEdge): pass - -class GistConnection(GQLObject): - edges: list_GistEdge[GistEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Gist - pageInfo: PageInfo - totalCount: int - -class KURCB_GistCommentConnection_Field(GistCommentConnection): - class GistCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: GistCommentConnectionArgs - - - -class AJBXP_GistFile_Field(GistFile): - class GistFileArgs(GQLArgsSet, GQLObject): - limit: int - oid: GitObjectID - - _args: GistFileArgs - - - -class list_GistFile(list, GistFile): pass - -class OKNYQ_GistConnection_Field(GistConnection): - class GistConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: GistOrder - - _args: GistConnectionArgs - - - -class UAKSI_StargazerConnection_Field(StargazerConnection): - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: StarOrder - - _args: StargazerConnectionArgs - - - -class Gist(GQLObject): - comments: KURCB_GistCommentConnection_Field - createdAt: DateTime - description: str - files: AJBXP_GistFile_Field - forks: OKNYQ_GistConnection_Field - id: ID - isFork: bool - isPublic: bool - name: str - owner: RepositoryOwner - pushedAt: DateTime - resourcePath: URI - stargazerCount: int - stargazers: UAKSI_StargazerConnection_Field - updatedAt: DateTime - url: URI - viewerHasStarred: bool - -class PinnableItem(GQLObject): - pass +@dataclass(kw_only=True) +class UnresolveReviewThreadPayload: + client_mutation_id: Optional[str] = None + thread: Optional[PullRequestReviewThread] = None -class PinnableItemEdge(GQLObject): - cursor: str - node: PinnableItem -class list_PinnableItemEdge(list, PinnableItemEdge): pass +@dataclass(kw_only=True) +class UnpinIssuePayload: + client_mutation_id: Optional[str] = None + id: Optional[ID] = None + issue: Optional[Issue] = None -class list_PinnableItem(list, PinnableItem): pass -class PinnableItemConnection(GQLObject): - edges: list_PinnableItemEdge[PinnableItemEdge] - nodes: list_PinnableItem[PinnableItem] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UnminimizeCommentPayload: + client_mutation_id: Optional[str] = None + unminimized_comment: Optional[Minimizable] = None -class AJGZE_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: PinnableItemConnectionArgs +@dataclass(kw_only=True) +class UnmarkProjectV2AsTemplatePayload: + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None +@dataclass(kw_only=True) +class UnmarkIssueAsDuplicatePayload: + client_mutation_id: Optional[str] = None + duplicate: Optional[IssueOrPullRequest] = None -class ProfileItemShowcase(GQLObject): - hasPinnedItems: bool - items: AJGZE_PinnableItemConnection_Field -class OrganizationEdge(GQLObject): - cursor: str - node: NewType('Organization', GQLObject) ## Circular Reference for Organization +@dataclass(kw_only=True) +class UnmarkFileAsViewedPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class list_OrganizationEdge(list, OrganizationEdge): pass -class OrganizationConnection(GQLObject): - edges: list_OrganizationEdge[OrganizationEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for Organization - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UnmarkDiscussionCommentAsAnswerPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class PublicKeyEdge(GQLObject): - cursor: str - node: PublicKey -class list_PublicKeyEdge(list, PublicKeyEdge): pass +@dataclass(kw_only=True) +class UnlinkProjectV2FromTeamPayload: + client_mutation_id: Optional[str] = None + team: Optional[Team] = None -class list_PublicKey(list, PublicKey): pass -class PublicKeyConnection(GQLObject): - edges: list_PublicKeyEdge[PublicKeyEdge] - nodes: list_PublicKey[PublicKey] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UnlinkProjectV2FromRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class SavedReply(GQLObject): - body: str - bodyHTML: HTML - databaseId: int - id: ID - title: str - user: Actor -class SavedReplyEdge(GQLObject): - cursor: str - node: SavedReply +@dataclass(kw_only=True) +class UnknownSignature: + email: str + is_valid: bool + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool -class list_SavedReplyEdge(list, SavedReplyEdge): pass -class list_SavedReply(list, SavedReply): pass +@dataclass(kw_only=True) +class UnfollowUserPayload: + client_mutation_id: Optional[str] = None + user: Optional[User] = None -class SavedReplyConnection(GQLObject): - edges: list_SavedReplyEdge[SavedReplyEdge] - nodes: list_SavedReply[SavedReply] - pageInfo: PageInfo - totalCount: int -class SocialAccountEdge(GQLObject): - cursor: str - node: SocialAccount - -class list_SocialAccountEdge(list, SocialAccountEdge): pass - -class list_SocialAccount(list, SocialAccount): pass - -class SocialAccountConnection(GQLObject): - edges: list_SocialAccountEdge[SocialAccountEdge] - nodes: list_SocialAccount[SocialAccount] - pageInfo: PageInfo - totalCount: int - -class Sponsor(GQLObject): - pass - -class SponsorEdge(GQLObject): - cursor: str - node: Sponsor - -class list_SponsorEdge(list, SponsorEdge): pass - -class list_Sponsor(list, Sponsor): pass - -class SponsorConnection(GQLObject): - edges: list_SponsorEdge[SponsorEdge] - nodes: list_Sponsor[Sponsor] - pageInfo: PageInfo - totalCount: int - -class StripeConnectAccount(GQLObject): - accountId: str - billingCountryOrRegion: str - countryOrRegion: str - isActive: bool - sponsorsListing: NewType('SponsorsListing', GQLObject) ## Circular Reference for SponsorsListing - stripeDashboardUrl: URI - -class SponsorsListingFeatureableItem(GQLObject): - pass - -class SponsorsListingFeaturedItem(GQLObject): - createdAt: DateTime - description: str - featureable: SponsorsListingFeatureableItem - id: ID - position: int - sponsorsListing: NewType('SponsorsListing', GQLObject) ## Circular Reference for SponsorsListing - updatedAt: DateTime - -class SponsorsTierEdge(GQLObject): - cursor: str - node: NewType('SponsorsTier', GQLObject) ## Circular Reference for SponsorsTier - -class list_SponsorsTierEdge(list, SponsorsTierEdge): pass - -class SponsorsTierConnection(GQLObject): - edges: list_SponsorsTierEdge[SponsorsTierEdge] - nodes: list_GQLObject[GQLObject] ## Circular Reference for SponsorsTier - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class UnfollowOrganizationPayload: + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None -class NonNull_SponsorsListingFeaturedItemFeatureableType(GQLObject): pass - -class BFUQT_SponsorsListingFeaturedItem_Field(SponsorsListingFeaturedItem): - class SponsorsListingFeaturedItemArgs(GQLArgsSet, GQLObject): - featureableTypes: list[NonNull_SponsorsListingFeaturedItemFeatureableType] - - _args: SponsorsListingFeaturedItemArgs - - - -class list_SponsorsListingFeaturedItem(list, SponsorsListingFeaturedItem): pass - -class ZNCAJ_SponsorsTierConnection_Field(SponsorsTierConnection): - class SponsorsTierConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorsTierOrder - includeUnpublished: bool - - _args: SponsorsTierConnectionArgs +@dataclass(kw_only=True) +class UnarchiveRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class SponsorsListing(GQLObject): - activeGoal: SponsorsGoal - activeStripeConnectAccount: StripeConnectAccount - billingCountryOrRegion: str - contactEmailAddress: str - createdAt: DateTime - dashboardResourcePath: URI - dashboardUrl: URI - featuredItems: BFUQT_SponsorsListingFeaturedItem_Field - fiscalHost: NewType('Organization', GQLObject) ## Circular Reference for Organization - fullDescription: str - fullDescriptionHTML: HTML - id: ID - isPublic: bool - name: str - nextPayoutDate: Date - residenceCountryOrRegion: str - resourcePath: URI - shortDescription: str - slug: str - sponsorable: NewType('Sponsorable', GQLObject) ## Circular Reference for Sponsorable - tiers: ZNCAJ_SponsorsTierConnection_Field - url: URI +@dataclass(kw_only=True) +class UnarchiveProjectV2ItemPayload: + client_mutation_id: Optional[str] = None + item: Optional[ProjectV2Item] = None -class SponsorshipNewsletter(GQLObject): - author: NewType('User', GQLObject) ## Circular Reference for User - body: str - createdAt: DateTime - id: ID - isPublished: bool - sponsorable: NewType('Sponsorable', GQLObject) ## Circular Reference for Sponsorable - subject: str - updatedAt: DateTime -class SponsorshipNewsletterEdge(GQLObject): - cursor: str - node: SponsorshipNewsletter +@dataclass(kw_only=True) +class TransferIssuePayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None -class list_SponsorshipNewsletterEdge(list, SponsorshipNewsletterEdge): pass -class list_SponsorshipNewsletter(list, SponsorshipNewsletter): pass +@dataclass(kw_only=True) +class TransferEnterpriseOrganizationPayload: + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None -class SponsorshipNewsletterConnection(GQLObject): - edges: list_SponsorshipNewsletterEdge[SponsorshipNewsletterEdge] - nodes: list_SponsorshipNewsletter[SponsorshipNewsletter] - pageInfo: PageInfo - totalCount: int -class VQCBY_SponsorConnection_Field(SponsorConnection): - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorOrder +@dataclass(kw_only=True) +class TopicAuditEntryData: + topic: Optional[Topic] = None + topic_name: Optional[str] = None - _args: SponsorConnectionArgs +@dataclass(kw_only=True) +class TeamAuditEntryData: + team: Optional[Team] = None + team_name: Optional[str] = None + team_resource_path: Optional[URI] = None + team_url: Optional[URI] = None -class DANZE_SponsorConnection_Field(SponsorConnection): - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - tierId: ID - orderBy: SponsorOrder +@dataclass(kw_only=True) +class SubmitPullRequestReviewPayload: + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - _args: SponsorConnectionArgs +@dataclass(kw_only=True) +class StartRepositoryMigrationPayload: + client_mutation_id: Optional[str] = None + repository_migration: Optional[RepositoryMigration] = None -class NonNull_SponsorsActivityAction(GQLObject): pass +@dataclass(kw_only=True) +class StartOrganizationMigrationPayload: + client_mutation_id: Optional[str] = None + org_migration: Optional[OrganizationMigration] = None -class DENEN_SponsorsActivityConnection_Field(Generic[SponsorsActivityConnection]): - class SponsorsActivityConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - period: SponsorsActivityPeriod - since: DateTime - until: DateTime - orderBy: SponsorsActivityOrder - actions: list[NonNull_SponsorsActivityAction] - includeAsSponsor: bool - includePrivate: bool - - _args: SponsorsActivityConnectionArgs - - - -class DKCDZ_Sponsorship_Field(Generic[Sponsorship]): - class SponsorshipArgs(GQLArgsSet, GQLObject): - activeOnly: bool - - _args: SponsorshipArgs - - - -class YJHYS_Sponsorship_Field(Generic[Sponsorship]): - class SponsorshipArgs(GQLArgsSet, GQLObject): - activeOnly: bool - - _args: SponsorshipArgs - - - -class AZCVN_SponsorshipNewsletterConnection_Field(SponsorshipNewsletterConnection): - class SponsorshipNewsletterConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorshipNewsletterOrder - _args: SponsorshipNewsletterConnectionArgs +@dataclass(kw_only=True) +class Starrable: + id: ID + stargazer_count: int + stargazers: StargazerConnection + viewer_has_starred: bool +@dataclass(kw_only=True) +class SshSignature: + email: str + is_valid: bool + key_fingerprint: Optional[str] = None + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool -class JBIAM_SponsorshipConnection_Field(Generic[SponsorshipConnection]): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - activeOnly: bool - _args: SponsorshipConnectionArgs +@dataclass(kw_only=True) +class SmimeSignature: + email: str + is_valid: bool + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool +@dataclass(kw_only=True) +class SetUserInteractionLimitPayload: + client_mutation_id: Optional[str] = None + user: Optional[User] = None -class QFOJG_SponsorshipConnection_Field(Generic[SponsorshipConnection]): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorshipOrder - maintainerLogins: list[NonNull_str] - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class Sponsorable(GQLObject): - estimatedNextSponsorsPayoutInCents: int - hasSponsorsListing: bool - isSponsoredBy: VYVTZ_isSponsoredBy_Field - isSponsoringViewer: bool - monthlyEstimatedSponsorsIncomeInCents: int - sponsoring: VQCBY_SponsorConnection_Field - sponsors: DANZE_SponsorConnection_Field - sponsorsActivities: DENEN_SponsorsActivityConnection_Field ## Circular Reference for SponsorsActivityConnection - sponsorsListing: SponsorsListing - sponsorshipForViewerAsSponsor: DKCDZ_Sponsorship_Field ## Circular Reference for Sponsorship - sponsorshipForViewerAsSponsorable: YJHYS_Sponsorship_Field ## Circular Reference for Sponsorship - sponsorshipNewsletters: AZCVN_SponsorshipNewsletterConnection_Field - sponsorshipsAsMaintainer: JBIAM_SponsorshipConnection_Field ## Circular Reference for SponsorshipConnection - sponsorshipsAsSponsor: QFOJG_SponsorshipConnection_Field ## Circular Reference for SponsorshipConnection - totalSponsorshipAmountAsSponsorInCents: FZWIV_totalSponsorshipAmountAsSponsorInCents_Field - viewerCanSponsor: bool - viewerIsSponsoring: bool - -class Sponsorship(GQLObject): - createdAt: DateTime - id: ID - isActive: bool - isOneTimePayment: bool - isSponsorOptedIntoEmail: bool - privacyLevel: SponsorshipPrivacy - sponsorEntity: Sponsor - sponsorable: Sponsorable - tier: NewType('SponsorsTier', GQLObject) ## Circular Reference for SponsorsTier - tierSelectedAt: DateTime - -class SponsorshipEdge(GQLObject): - cursor: str - node: Sponsorship - -class list_SponsorshipEdge(list, SponsorshipEdge): pass - -class list_Sponsorship(list, Sponsorship): pass - -class SponsorshipConnection(GQLObject): - edges: list_SponsorshipEdge[SponsorshipEdge] - nodes: list_Sponsorship[Sponsorship] - pageInfo: PageInfo - totalCount: int - totalRecurringMonthlyPriceInCents: int - totalRecurringMonthlyPriceInDollars: int - -class EBOLO_SponsorshipConnection_Field(SponsorshipConnection): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - - _args: SponsorshipConnectionArgs - - - -class SponsorsTierAdminInfo(GQLObject): - isDraft: bool - isPublished: bool - isRetired: bool - sponsorships: EBOLO_SponsorshipConnection_Field - -class SponsorsTier(GQLObject): - adminInfo: SponsorsTierAdminInfo - closestLesserValueTier: NewType('SponsorsTier', GQLObject) ## Circular Reference for SponsorsTier - createdAt: DateTime - description: str - descriptionHTML: HTML - id: ID - isCustomAmount: bool - isOneTime: bool - monthlyPriceInCents: int - monthlyPriceInDollars: int - name: str - sponsorsListing: SponsorsListing - updatedAt: DateTime -class SponsorsActivity(GQLObject): - action: SponsorsActivityAction - currentPrivacyLevel: SponsorshipPrivacy - id: ID - previousSponsorsTier: SponsorsTier - sponsor: Sponsor - sponsorable: Sponsorable - sponsorsTier: SponsorsTier - timestamp: DateTime - viaBulkSponsorship: bool - -class SponsorsActivityEdge(GQLObject): - cursor: str - node: SponsorsActivity +@dataclass(kw_only=True) +class SetRepositoryInteractionLimitPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class list_SponsorsActivityEdge(list, SponsorsActivityEdge): pass -class list_SponsorsActivity(list, SponsorsActivity): pass +@dataclass(kw_only=True) +class SetOrganizationInteractionLimitPayload: + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None -class SponsorsActivityConnection(GQLObject): - edges: list_SponsorsActivityEdge[SponsorsActivityEdge] - nodes: list_SponsorsActivity[SponsorsActivity] - pageInfo: PageInfo - totalCount: int -class StarredRepositoryEdge(GQLObject): - cursor: str - node: Repository - starredAt: DateTime +@dataclass(kw_only=True) +class SetEnterpriseIdentityProviderPayload: + client_mutation_id: Optional[str] = None + identity_provider: Optional[EnterpriseIdentityProvider] = None -class list_StarredRepositoryEdge(list, StarredRepositoryEdge): pass -class StarredRepositoryConnection(GQLObject): - edges: list_StarredRepositoryEdge[StarredRepositoryEdge] - isOverLimit: bool - nodes: list_Repository[Repository] - pageInfo: PageInfo - totalCount: int +@dataclass(kw_only=True) +class RevokeEnterpriseOrganizationsMigratorRolePayload: + client_mutation_id: Optional[str] = None + organizations: Optional[OrganizationConnection] = None -class ATRDG_CommitCommentConnection_Field(CommitCommentConnection): - class CommitCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: CommitCommentConnectionArgs +@dataclass(kw_only=True) +class RetireSponsorsTierPayload: + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None +@dataclass(kw_only=True) +class ResolveReviewThreadPayload: + client_mutation_id: Optional[str] = None + thread: Optional[PullRequestReviewThread] = None -class FJBNJ_ContributionsCollection_Field(ContributionsCollection): - class ContributionsCollectionArgs(GQLArgsSet, GQLObject): - organizationID: ID - from_: DateTime - to: DateTime - _args: ContributionsCollectionArgs +@dataclass(kw_only=True) +class RerequestCheckSuitePayload: + check_suite: Optional[CheckSuite] = None + client_mutation_id: Optional[str] = None +@dataclass(kw_only=True) +class RepositoryNode: + repository: Repository -class ZVCDA_FollowerConnection_Field(FollowerConnection): - class FollowerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: FollowerConnectionArgs +@dataclass(kw_only=True) +class RepositoryDiscussionCommentAuthor: + repository_discussion_comments: DiscussionCommentConnection +@dataclass(kw_only=True) +class RepositoryDiscussionAuthor: + repository_discussions: DiscussionConnection -class XJEAZ_FollowingConnection_Field(FollowingConnection): - class FollowingConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: FollowingConnectionArgs +@dataclass(kw_only=True) +class RepositoryAuditEntryData: + repository: Optional[Repository] = None + repository_name: Optional[str] = None + repository_resource_path: Optional[URI] = None + repository_url: Optional[URI] = None +@dataclass(kw_only=True) +class ReopenPullRequestPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class OZFCS_Gist_Field(Gist): - class GistArgs(GQLArgsSet, GQLObject): - name: NonNull_str - _args: GistArgs +@dataclass(kw_only=True) +class ReopenIssuePayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None +@dataclass(kw_only=True) +class ReopenDiscussionPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class DWJAM_GistCommentConnection_Field(GistCommentConnection): - class GistCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: GistCommentConnectionArgs +@dataclass(kw_only=True) +class RemoveUpvotePayload: + client_mutation_id: Optional[str] = None + subject: Optional[Votable] = None +@dataclass(kw_only=True) +class RemoveStarPayload: + client_mutation_id: Optional[str] = None + starrable: Optional[Starrable] = None -class SQBKL_GistConnection_Field(GistConnection): - class GistConnectionArgs(GQLArgsSet, GQLObject): - privacy: GistPrivacy - orderBy: GistOrder - after: str - before: str - first: int - last: int - _args: GistConnectionArgs +@dataclass(kw_only=True) +class RemoveOutsideCollaboratorPayload: + client_mutation_id: Optional[str] = None + removed_user: Optional[User] = None +@dataclass(kw_only=True) +class RemoveLabelsFromLabelablePayload: + client_mutation_id: Optional[str] = None + labelable: Optional[Labelable] = None -class AFPXF_Hovercard_Field(Hovercard): - class HovercardArgs(GQLArgsSet, GQLObject): - primarySubjectId: ID - _args: HovercardArgs +@dataclass(kw_only=True) +class RemoveEnterpriseIdentityProviderPayload: + client_mutation_id: Optional[str] = None + identity_provider: Optional[EnterpriseIdentityProvider] = None +@dataclass(kw_only=True) +class RemoveAssigneesFromAssignablePayload: + assignable: Optional[Assignable] = None + client_mutation_id: Optional[str] = None -class HUKFR_IssueCommentConnection_Field(IssueCommentConnection): - class IssueCommentConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueCommentOrder - after: str - before: str - first: int - last: int - _args: IssueCommentConnectionArgs +@dataclass(kw_only=True) +class RejectDeploymentsPayload: + client_mutation_id: Optional[str] = None + deployments: Optional[list[Deployment]] = None +@dataclass(kw_only=True) +class RegenerateEnterpriseIdentityProviderRecoveryCodesPayload: + client_mutation_id: Optional[str] = None + identity_provider: Optional[EnterpriseIdentityProvider] = None -class IIJOM_IssueConnection_Field(IssueConnection): - class IssueConnectionArgs(GQLArgsSet, GQLObject): - orderBy: IssueOrder - labels: list[NonNull_str] - states: list[NonNull_IssueState] - filterBy: IssueFilters - after: str - before: str - first: int - last: int - _args: IssueConnectionArgs +@dataclass(kw_only=True) +class PublishSponsorsTierPayload: + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None +@dataclass(kw_only=True) +class ProjectV2Recent: + recent_projects: ProjectV2Connection -class XKNAK_Organization_Field(Generic[Organization]): - class OrganizationArgs(GQLArgsSet, GQLObject): - login: NonNull_str - _args: OrganizationArgs +@dataclass(kw_only=True) +class ProjectV2FieldCommon: + created_at: DateTime + data_type: ProjectV2FieldType + database_id: Optional[int] = None + id: ID + name: str + project: ProjectV2 + updated_at: DateTime +@dataclass(kw_only=True) +class ProjectColumnImport: + column_name: str + issues: Optional[list[ProjectCardImport]] = None + position: int -class PAUUO_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - orderBy: OrganizationOrder - after: str - before: str - first: int - last: int - _args: OrganizationConnectionArgs +@dataclass(kw_only=True) +class PinIssuePayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None +@dataclass(kw_only=True) +class PackageTag: + id: ID + name: str + version: Optional[PackageVersion] = None -class NGADS_PackageConnection_Field(PackageConnection): - class PackageConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder - _args: PackageConnectionArgs +@dataclass(kw_only=True) +class PackageOwner: + id: ID + packages: PackageConnection +@dataclass(kw_only=True) +class OrganizationsHovercardContext: + message: str + octicon: str + relevant_organizations: OrganizationConnection + total_organization_count: int -class NonNull_PinnableItemType(GQLObject): pass -class KQFBY_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class OrganizationTeamsHovercardContext: + message: str + octicon: str + relevant_teams: TeamConnection + teams_resource_path: URI + teams_url: URI + total_team_count: int - _args: PinnableItemConnectionArgs +@dataclass(kw_only=True) +class OrganizationAuditEntryData: + organization: Optional[Organization] = None + organization_name: Optional[str] = None + organization_resource_path: Optional[URI] = None + organization_url: Optional[URI] = None -class AGVMD_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class MoveProjectColumnPayload: + client_mutation_id: Optional[str] = None + column_edge: Optional[ProjectColumnEdge] = None - _args: PinnableItemConnectionArgs +@dataclass(kw_only=True) +class MoveProjectCardPayload: + card_edge: Optional[ProjectCardEdge] = None + client_mutation_id: Optional[str] = None -class EVYBF_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class MinimizeCommentPayload: + client_mutation_id: Optional[str] = None + minimized_comment: Optional[Minimizable] = None - _args: ProjectArgs +@dataclass(kw_only=True) +class Migration: + continue_on_error: bool + created_at: DateTime + database_id: Optional[str] = None + failure_reason: Optional[str] = None + id: ID + migration_log_url: Optional[URI] = None + migration_source: MigrationSource + repository_name: str + source_url: URI + state: MigrationState + warnings_count: int -class BYVYE_ProjectV2_Field(ProjectV2): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int +@dataclass(kw_only=True) +class MergeBranchPayload: + client_mutation_id: Optional[str] = None + merge_commit: Optional[Commit] = None - _args: ProjectV2Args +@dataclass(kw_only=True) +class MemberStatusable: + member_statuses: UserStatusConnection -class FFSPZ_ProjectConnection_Field(ProjectConnection): - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class MarkPullRequestReadyForReviewPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None - _args: ProjectConnectionArgs +@dataclass(kw_only=True) +class MarkProjectV2AsTemplatePayload: + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None -class TPHGE_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class MarkNotificationAsDonePayload: + client_mutation_id: Optional[str] = None + success: Optional[bool] = None + viewer: Optional[User] = None - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class MarkFileAsViewedPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class VWXVZ_PublicKeyConnection_Field(PublicKeyConnection): - class PublicKeyConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class MarkDiscussionCommentAsAnswerPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None - _args: PublicKeyConnectionArgs +@dataclass(kw_only=True) +class LinkProjectV2ToTeamPayload: + client_mutation_id: Optional[str] = None + team: Optional[Team] = None -class KWEMX_PullRequestConnection_Field(PullRequestConnection): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class LinkProjectV2ToRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - _args: PullRequestConnectionArgs +@dataclass(kw_only=True) +class InviteEnterpriseAdminPayload: + client_mutation_id: Optional[str] = None + invitation: Optional[EnterpriseAdministratorInvitation] = None -class ZQSWF_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class ImportProjectPayload: + client_mutation_id: Optional[str] = None + project: Optional[Project] = None - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class ImportProjectInput: + body: Optional[str] = None + client_mutation_id: Optional[str] = None + column_imports: list[ProjectColumnImport] + name: str + owner_name: str + public: Optional[bool] = None -class UFZIS_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - isArchived: bool - isFork: bool +@dataclass(kw_only=True) +class GrantEnterpriseOrganizationsMigratorRolePayload: + client_mutation_id: Optional[str] = None + organizations: Optional[OrganizationConnection] = None - _args: RepositoryConnectionArgs +@dataclass(kw_only=True) +class GpgSignature: + email: str + is_valid: bool + key_id: Optional[str] = None + payload: str + signature: str + signer: Optional[User] = None + state: GitSignatureState + was_signed_by_git_hub: bool -class RLAWQ_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - isLocked: bool - hasIssues: bool - includeUserRepositories: bool - contributionTypes: list[RepositoryContributionType] - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class FollowUserPayload: + client_mutation_id: Optional[str] = None + user: Optional[User] = None - _args: RepositoryConnectionArgs +@dataclass(kw_only=True) +class FollowOrganizationPayload: + client_mutation_id: Optional[str] = None + organization: Optional[Organization] = None -class KCTRS_Repository_Field(Repository): - class RepositoryArgs(GQLArgsSet, GQLObject): - name: NonNull_str - followRenames: bool +@dataclass(kw_only=True) +class EnqueuePullRequestPayload: + client_mutation_id: Optional[str] = None + merge_queue_entry: Optional[MergeQueueEntry] = None - _args: RepositoryArgs +@dataclass(kw_only=True) +class DismissRepositoryVulnerabilityAlertPayload: + client_mutation_id: Optional[str] = None + repository_vulnerability_alert: Optional[RepositoryVulnerabilityAlert] = None -class TOKNB_DiscussionCommentConnection_Field(DiscussionCommentConnection): - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - repositoryId: ID - onlyAnswers: bool +@dataclass(kw_only=True) +class DismissPullRequestReviewPayload: + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - _args: DiscussionCommentConnectionArgs +@dataclass(kw_only=True) +class DequeuePullRequestPayload: + client_mutation_id: Optional[str] = None + merge_queue_entry: Optional[MergeQueueEntry] = None -class CKGRZ_DiscussionConnection_Field(DiscussionConnection): - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: DiscussionOrder - repositoryId: ID - answered: bool - states: list[NonNull_DiscussionState] +@dataclass(kw_only=True) +class DeleteVerifiableDomainPayload: + client_mutation_id: Optional[str] = None + owner: Optional[VerifiableDomainOwner] = None - _args: DiscussionConnectionArgs +@dataclass(kw_only=True) +class DeleteUserListPayload: + client_mutation_id: Optional[str] = None + user: Optional[User] = None -class NTTDY_SavedReplyConnection_Field(SavedReplyConnection): - class SavedReplyConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SavedReplyOrder +@dataclass(kw_only=True) +class DeletePullRequestReviewPayload: + client_mutation_id: Optional[str] = None + pull_request_review: Optional[PullRequestReview] = None - _args: SavedReplyConnectionArgs +@dataclass(kw_only=True) +class DeleteProjectV2WorkflowPayload: + client_mutation_id: Optional[str] = None + deleted_workflow_id: Optional[ID] = None + project_v2: Optional[ProjectV2] = None -class SLFYU_SocialAccountConnection_Field(SocialAccountConnection): - class SocialAccountConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int +@dataclass(kw_only=True) +class DeleteProjectV2Payload: + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None - _args: SocialAccountConnectionArgs +@dataclass(kw_only=True) +class DeleteProjectV2FieldPayload: + client_mutation_id: Optional[str] = None + project_v2_field: Optional[ProjectV2FieldConfiguration] = None -class QDWJH_SponsorConnection_Field(SponsorConnection): - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorOrder +@dataclass(kw_only=True) +class DeleteProjectPayload: + client_mutation_id: Optional[str] = None + owner: Optional[ProjectOwner] = None - _args: SponsorConnectionArgs +@dataclass(kw_only=True) +class DeleteProjectColumnPayload: + client_mutation_id: Optional[str] = None + deleted_column_id: Optional[ID] = None + project: Optional[Project] = None -class MGBBS_SponsorConnection_Field(SponsorConnection): - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - tierId: ID - orderBy: SponsorOrder +@dataclass(kw_only=True) +class DeleteProjectCardPayload: + client_mutation_id: Optional[str] = None + column: Optional[ProjectColumn] = None + deleted_card_id: Optional[ID] = None - _args: SponsorConnectionArgs +@dataclass(kw_only=True) +class DeleteLinkedBranchPayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None -class FORZD_SponsorsActivityConnection_Field(SponsorsActivityConnection): - class SponsorsActivityConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - period: SponsorsActivityPeriod - since: DateTime - until: DateTime - orderBy: SponsorsActivityOrder - actions: list[NonNull_SponsorsActivityAction] - includeAsSponsor: bool - includePrivate: bool +@dataclass(kw_only=True) +class DeleteIssuePayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None - _args: SponsorsActivityConnectionArgs +@dataclass(kw_only=True) +class DeleteIpAllowListEntryPayload: + client_mutation_id: Optional[str] = None + ip_allow_list_entry: Optional[IpAllowListEntry] = None -class LJQFF_Sponsorship_Field(Sponsorship): - class SponsorshipArgs(GQLArgsSet, GQLObject): - activeOnly: bool +@dataclass(kw_only=True) +class DeleteDiscussionPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None - _args: SponsorshipArgs +@dataclass(kw_only=True) +class DeleteDiscussionCommentPayload: + client_mutation_id: Optional[str] = None + comment: Optional[DiscussionComment] = None -class IOFTT_Sponsorship_Field(Sponsorship): - class SponsorshipArgs(GQLArgsSet, GQLObject): - activeOnly: bool +@dataclass(kw_only=True) +class DeclineTopicSuggestionPayload: + client_mutation_id: Optional[str] = None - _args: SponsorshipArgs +@dataclass(kw_only=True) +class CreateTeamDiscussionPayload: + client_mutation_id: Optional[str] = None -class IIICM_SponsorshipNewsletterConnection_Field(SponsorshipNewsletterConnection): - class SponsorshipNewsletterConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorshipNewsletterOrder +@dataclass(kw_only=True) +class CreateTeamDiscussionCommentPayload: + client_mutation_id: Optional[str] = None - _args: SponsorshipNewsletterConnectionArgs +@dataclass(kw_only=True) +class CreateSponsorshipsPayload: + client_mutation_id: Optional[str] = None + sponsorables: Optional[list[Sponsorable]] = None -class PKNIC_SponsorshipConnection_Field(SponsorshipConnection): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - activeOnly: bool +@dataclass(kw_only=True) +class CreateSponsorshipsInput: + client_mutation_id: Optional[str] = None + privacy_level: Optional[SponsorshipPrivacy] = None + receive_emails: Optional[bool] = None + recurring: Optional[bool] = None + sponsor_login: str + sponsorships: list[BulkSponsorship] - _args: SponsorshipConnectionArgs +@dataclass(kw_only=True) +class CreateSponsorshipPayload: + client_mutation_id: Optional[str] = None + sponsorship: Optional[Sponsorship] = None -class TOSHB_SponsorshipConnection_Field(SponsorshipConnection): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorshipOrder - maintainerLogins: list[NonNull_str] - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class YYWES_StarredRepositoryConnection_Field(StarredRepositoryConnection): - class StarredRepositoryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - ownedByViewer: bool - orderBy: StarOrder - - _args: StarredRepositoryConnectionArgs - - - -class NonNull_RepositoryOrder(RepositoryOrder): pass - -class LXTPU_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: NonNull_RepositoryOrder - since: DateTime - - _args: RepositoryConnectionArgs - - - -class XUSHR_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - - _args: RepositoryConnectionArgs - - - -class User(GQLObject): - anyPinnableItems: KNSCJ_anyPinnableItems_Field - avatarUrl: FVDOD_URI_Field - bio: str - bioHTML: HTML - canReceiveOrganizationEmailsWhenNotificationsRestricted: XNNAF_canReceiveOrganizationEmailsWhenNotificationsRestricted_Field - commitComments: ATRDG_CommitCommentConnection_Field - company: str - companyHTML: HTML - contributionsCollection: FJBNJ_ContributionsCollection_Field - createdAt: DateTime - databaseId: int - email: str - estimatedNextSponsorsPayoutInCents: int - followers: ZVCDA_FollowerConnection_Field - following: XJEAZ_FollowingConnection_Field - gist: OZFCS_Gist_Field - gistComments: DWJAM_GistCommentConnection_Field - gists: SQBKL_GistConnection_Field - hasSponsorsListing: bool - hovercard: AFPXF_Hovercard_Field - id: ID - interactionAbility: RepositoryInteractionAbility - isBountyHunter: bool - isCampusExpert: bool - isDeveloperProgramMember: bool - isEmployee: bool - isFollowingViewer: bool - isGitHubStar: bool - isHireable: bool - isSiteAdmin: bool - isSponsoredBy: RLUJY_isSponsoredBy_Field - isSponsoringViewer: bool - isViewer: bool - issueComments: HUKFR_IssueCommentConnection_Field - issues: IIJOM_IssueConnection_Field - itemShowcase: ProfileItemShowcase - location: str - login: str - monthlyEstimatedSponsorsIncomeInCents: int - name: str - organization: XKNAK_Organization_Field ## Circular Reference for Organization - organizationVerifiedDomainEmails: YGKUA_organizationVerifiedDomainEmails_Field - organizations: PAUUO_OrganizationConnection_Field - packages: NGADS_PackageConnection_Field - pinnableItems: KQFBY_PinnableItemConnection_Field - pinnedItems: AGVMD_PinnableItemConnection_Field - pinnedItemsRemaining: int - project: EVYBF_Project_Field - projectV2: BYVYE_ProjectV2_Field - projects: FFSPZ_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - projectsV2: TPHGE_ProjectV2Connection_Field - pronouns: str - publicKeys: VWXVZ_PublicKeyConnection_Field - pullRequests: KWEMX_PullRequestConnection_Field - recentProjects: ZQSWF_ProjectV2Connection_Field - repositories: UFZIS_RepositoryConnection_Field - repositoriesContributedTo: RLAWQ_RepositoryConnection_Field - repository: KCTRS_Repository_Field - repositoryDiscussionComments: TOKNB_DiscussionCommentConnection_Field - repositoryDiscussions: CKGRZ_DiscussionConnection_Field - resourcePath: URI - savedReplies: NTTDY_SavedReplyConnection_Field - socialAccounts: SLFYU_SocialAccountConnection_Field - sponsoring: QDWJH_SponsorConnection_Field - sponsors: MGBBS_SponsorConnection_Field - sponsorsActivities: FORZD_SponsorsActivityConnection_Field - sponsorsListing: SponsorsListing - sponsorshipForViewerAsSponsor: LJQFF_Sponsorship_Field - sponsorshipForViewerAsSponsorable: IOFTT_Sponsorship_Field - sponsorshipNewsletters: IIICM_SponsorshipNewsletterConnection_Field - sponsorshipsAsMaintainer: PKNIC_SponsorshipConnection_Field - sponsorshipsAsSponsor: TOSHB_SponsorshipConnection_Field - starredRepositories: YYWES_StarredRepositoryConnection_Field - status: UserStatus - topRepositories: LXTPU_RepositoryConnection_Field - totalSponsorshipAmountAsSponsorInCents: HJMVV_totalSponsorshipAmountAsSponsorInCents_Field - twitterUsername: str - updatedAt: DateTime - url: URI - viewerCanChangePinnedItems: bool - viewerCanCreateProjects: bool - viewerCanFollow: bool - viewerCanSponsor: bool - viewerIsFollowing: bool - viewerIsSponsoring: bool - watching: XUSHR_RepositoryConnection_Field - websiteUrl: URI - -class AuditEntryActor(GQLObject): - pass - -class MembersCanDeleteReposClearAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class MembersCanDeleteReposDisableAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class MembersCanDeleteReposEnableAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OauthApplicationCreateAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - applicationUrl: URI - callbackUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - rateLimit: int - state: OauthApplicationCreateAuditEntryState - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgAddBillingManagerAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - invitationEmail: str - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgAddMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - permission: OrgAddMemberAuditEntryPermission - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgBlockUserAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - blockedUser: User - blockedUserName: str - blockedUserResourcePath: URI - blockedUserUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgConfigDisableCollaboratorsOnlyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgConfigEnableCollaboratorsOnlyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgCreateAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - billingPlan: OrgCreateAuditEntryBillingPlan - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgDisableOauthAppRestrictionsAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgDisableSamlAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - digestMethodUrl: URI - id: ID - issuerUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - signatureMethodUrl: URI - singleSignOnUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgDisableTwoFactorRequirementAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgEnableOauthAppRestrictionsAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgEnableSamlAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - digestMethodUrl: URI - id: ID - issuerUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - signatureMethodUrl: URI - singleSignOnUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgEnableTwoFactorRequirementAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgInviteMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - email: str - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationInvitation: OrganizationInvitation - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgInviteToBusinessAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessApprovedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessBlockedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessDeniedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessRequestedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgOauthAppAccessUnblockedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - oauthApplicationName: str - oauthApplicationResourcePath: URI - oauthApplicationUrl: URI - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRemoveBillingManagerAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - reason: OrgRemoveBillingManagerAuditEntryReason - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRemoveMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - membershipTypes: list[OrgRemoveMemberAuditEntryMembershipType] - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - reason: OrgRemoveMemberAuditEntryReason - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRemoveOutsideCollaboratorAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - membershipTypes: list[OrgRemoveOutsideCollaboratorAuditEntryMembershipType] - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - reason: OrgRemoveOutsideCollaboratorAuditEntryReason - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgRestoreMemberMembershipOrganizationAuditEntryData(GQLObject): - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - -class OrgRestoreMemberMembershipRepositoryAuditEntryData(GQLObject): - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - -class OrgRestoreMemberMembershipTeamAuditEntryData(GQLObject): - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - -class OrgRestoreMemberAuditEntryMembership(GQLObject): - pass - -class list_OrgRestoreMemberAuditEntryMembership(list, OrgRestoreMemberAuditEntryMembership): pass - -class OrgRestoreMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - restoredCustomEmailRoutingsCount: int - restoredIssueAssignmentsCount: int - restoredMemberships: list_OrgRestoreMemberAuditEntryMembership[OrgRestoreMemberAuditEntryMembership] - restoredMembershipsCount: int - restoredRepositoriesCount: int - restoredRepositoryStarsCount: int - restoredRepositoryWatchesCount: int - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUnblockUserAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - blockedUser: User - blockedUserName: str - blockedUserResourcePath: URI - blockedUserUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUpdateDefaultRepositoryPermissionAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - permission: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission - permissionWas: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUpdateMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - permission: OrgUpdateMemberAuditEntryPermission - permissionWas: OrgUpdateMemberAuditEntryPermission - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrgUpdateMemberRepositoryCreationPermissionAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - canCreateRepositories: bool - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility - -class OrgUpdateMemberRepositoryInvitationPermissionAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - canInviteOutsideCollaboratorsToRepositories: bool - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class PrivateRepositoryForkingDisableAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class PrivateRepositoryForkingEnableAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoAccessAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoAccessAuditEntryVisibility - -class RepoAddMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoAddMemberAuditEntryVisibility - -class RepoAddTopicAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - topic: Topic - topicName: str - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoArchivedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoArchivedAuditEntryVisibility - -class RepoChangeMergeSettingAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isEnabled: bool - mergeType: RepoChangeMergeSettingAuditEntryMergeType - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableAnonymousGitAccessAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableCollaboratorsOnlyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableContributorsOnlyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigDisableSockpuppetDisallowedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableAnonymousGitAccessAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableCollaboratorsOnlyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableContributorsOnlyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigEnableSockpuppetDisallowedAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigLockAnonymousGitAccessAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoConfigUnlockAnonymousGitAccessAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepoCreateAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - forkParentName: str - forkSourceName: str - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoCreateAuditEntryVisibility - -class RepoDestroyAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoDestroyAuditEntryVisibility - -class RepoRemoveMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - visibility: RepoRemoveMemberAuditEntryVisibility - -class RepoRemoveTopicAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - topic: Topic - topicName: str - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepositoryVisibilityChangeDisableAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class RepositoryVisibilityChangeEnableAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - enterpriseResourcePath: URI - enterpriseSlug: str - enterpriseUrl: URI - id: ID - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamAddMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamAddRepositoryAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamChangeParentTeamAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - parentTeam: Team - parentTeamName: str - parentTeamNameWas: str - parentTeamResourcePath: URI - parentTeamUrl: URI - parentTeamWas: Team - parentTeamWasResourcePath: URI - parentTeamWasUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamRemoveMemberAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class TeamRemoveRepositoryAuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - id: ID - isLdapMapped: bool - operationType: OperationType - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class OrganizationAuditEntry(GQLObject): - pass - -class OrganizationAuditEntryEdge(GQLObject): - cursor: str - node: OrganizationAuditEntry - -class list_OrganizationAuditEntryEdge(list, OrganizationAuditEntryEdge): pass - -class list_OrganizationAuditEntry(list, OrganizationAuditEntry): pass - -class OrganizationAuditEntryConnection(GQLObject): - edges: list_OrganizationAuditEntryEdge[OrganizationAuditEntryEdge] - nodes: list_OrganizationAuditEntry[OrganizationAuditEntry] - pageInfo: PageInfo - totalCount: int - -class VerifiableDomainOwner(GQLObject): - pass - -class VerifiableDomain(GQLObject): - createdAt: DateTime - databaseId: int - dnsHostName: URI - domain: URI - hasFoundHostName: bool - hasFoundVerificationToken: bool - id: ID - isApproved: bool - isRequiredForPolicyEnforcement: bool - isVerified: bool - owner: VerifiableDomainOwner - punycodeEncodedDomain: URI - tokenExpirationTime: DateTime - updatedAt: DateTime - verificationToken: str - -class VerifiableDomainEdge(GQLObject): - cursor: str - node: VerifiableDomain - -class list_VerifiableDomainEdge(list, VerifiableDomainEdge): pass - -class list_VerifiableDomain(list, VerifiableDomain): pass - -class VerifiableDomainConnection(GQLObject): - edges: list_VerifiableDomainEdge[VerifiableDomainEdge] - nodes: list_VerifiableDomain[VerifiableDomain] - pageInfo: PageInfo - totalCount: int - -class OrganizationEnterpriseOwnerEdge(GQLObject): - cursor: str - node: User - organizationRole: RoleInOrganization - -class list_OrganizationEnterpriseOwnerEdge(list, OrganizationEnterpriseOwnerEdge): pass - -class list_User(list, User): pass - -class OrganizationEnterpriseOwnerConnection(GQLObject): - edges: list_OrganizationEnterpriseOwnerEdge[OrganizationEnterpriseOwnerEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class MannequinEdge(GQLObject): - cursor: str - node: Mannequin - -class list_MannequinEdge(list, MannequinEdge): pass - -class list_Mannequin(list, Mannequin): pass - -class MannequinConnection(GQLObject): - edges: list_MannequinEdge[MannequinEdge] - nodes: list_Mannequin[Mannequin] - pageInfo: PageInfo - totalCount: int - -class OrganizationMemberEdge(GQLObject): - cursor: str - hasTwoFactorEnabled: bool - node: User - role: OrganizationMemberRole - -class list_OrganizationMemberEdge(list, OrganizationMemberEdge): pass - -class OrganizationMemberConnection(GQLObject): - edges: list_OrganizationMemberEdge[OrganizationMemberEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class RepositoryMigration(GQLObject): - continueOnError: bool - createdAt: DateTime - databaseId: str - failureReason: str - id: ID - migrationLogUrl: URI - migrationSource: MigrationSource - repositoryName: str - sourceUrl: URI - state: MigrationState - warningsCount: int - -class RepositoryMigrationEdge(GQLObject): - cursor: str - node: RepositoryMigration - -class list_RepositoryMigrationEdge(list, RepositoryMigrationEdge): pass - -class list_RepositoryMigration(list, RepositoryMigration): pass - -class RepositoryMigrationConnection(GQLObject): - edges: list_RepositoryMigrationEdge[RepositoryMigrationEdge] - nodes: list_RepositoryMigration[RepositoryMigration] - pageInfo: PageInfo - totalCount: int - -class list_ExternalIdentityAttribute(list, ExternalIdentityAttribute): pass - -class list_UserEmailMetadata(list, UserEmailMetadata): pass - -class ExternalIdentitySamlAttributes(GQLObject): - attributes: list_ExternalIdentityAttribute[ExternalIdentityAttribute] - emails: list_UserEmailMetadata[UserEmailMetadata] - familyName: str - givenName: str - groups: list[str] - nameId: str - username: str - -class ExternalIdentityScimAttributes(GQLObject): - emails: list_UserEmailMetadata[UserEmailMetadata] - familyName: str - givenName: str - groups: list[str] - username: str +@dataclass(kw_only=True) +class CreateSponsorsTierPayload: + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None -class ExternalIdentity(GQLObject): - guid: str - id: ID - organizationInvitation: OrganizationInvitation - samlIdentity: ExternalIdentitySamlAttributes - scimIdentity: ExternalIdentityScimAttributes - user: User - -class ExternalIdentityEdge(GQLObject): - cursor: str - node: ExternalIdentity -class list_ExternalIdentityEdge(list, ExternalIdentityEdge): pass +@dataclass(kw_only=True) +class CreateSponsorsListingPayload: + client_mutation_id: Optional[str] = None + sponsors_listing: Optional[SponsorsListing] = None -class list_ExternalIdentity(list, ExternalIdentity): pass - -class ExternalIdentityConnection(GQLObject): - edges: list_ExternalIdentityEdge[ExternalIdentityEdge] - nodes: list_ExternalIdentity[ExternalIdentity] - pageInfo: PageInfo - totalCount: int - -class PXQID_ExternalIdentityConnection_Field(ExternalIdentityConnection): - class ExternalIdentityConnectionArgs(GQLArgsSet, GQLObject): - membersOnly: bool - login: str - userName: str - after: str - before: str - first: int - last: int - - _args: ExternalIdentityConnectionArgs +@dataclass(kw_only=True) +class CreateRepositoryRulesetPayload: + client_mutation_id: Optional[str] = None + ruleset: Optional[RepositoryRuleset] = None -class OrganizationIdentityProvider(GQLObject): - digestMethod: URI - externalIdentities: PXQID_ExternalIdentityConnection_Field - id: ID - idpCertificate: X509Certificate - issuer: str - organization: NewType('Organization', GQLObject) ## Circular Reference for Organization - signatureMethod: URI - ssoUrl: URI +@dataclass(kw_only=True) +class CreateRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class IGWOA_OrganizationAuditEntryConnection_Field(OrganizationAuditEntryConnection): - class OrganizationAuditEntryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - query: str - orderBy: AuditLogOrder - _args: OrganizationAuditEntryConnectionArgs +@dataclass(kw_only=True) +class CreateRefPayload: + client_mutation_id: Optional[str] = None + ref: Optional[Ref] = None +@dataclass(kw_only=True) +class CreatePullRequestPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class VROOV_VerifiableDomainConnection_Field(VerifiableDomainConnection): - class VerifiableDomainConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - isVerified: bool - isApproved: bool - orderBy: VerifiableDomainOrder - _args: VerifiableDomainConnectionArgs +@dataclass(kw_only=True) +class CreateProjectV2Payload: + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None +@dataclass(kw_only=True) +class CreateProjectV2FieldPayload: + client_mutation_id: Optional[str] = None + project_v2_field: Optional[ProjectV2FieldConfiguration] = None -class OQWMB_OrganizationEnterpriseOwnerConnection_Field(OrganizationEnterpriseOwnerConnection): - class OrganizationEnterpriseOwnerConnectionArgs(GQLArgsSet, GQLObject): - query: str - organizationRole: RoleInOrganization - orderBy: OrgEnterpriseOwnerOrder - after: str - before: str - first: int - last: int - _args: OrganizationEnterpriseOwnerConnectionArgs +@dataclass(kw_only=True) +class CreateProjectV2FieldInput: + client_mutation_id: Optional[str] = None + data_type: ProjectV2CustomFieldType + name: str + project_id: ID + single_select_options: Optional[list[ProjectV2SingleSelectFieldOptionInput]] = None +@dataclass(kw_only=True) +class CreateProjectPayload: + client_mutation_id: Optional[str] = None + project: Optional[Project] = None -class TYVHX_IpAllowListEntryConnection_Field(Generic[IpAllowListEntryConnection]): - class IpAllowListEntryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: IpAllowListEntryOrder - _args: IpAllowListEntryConnectionArgs +@dataclass(kw_only=True) +class CreateMigrationSourcePayload: + client_mutation_id: Optional[str] = None + migration_source: Optional[MigrationSource] = None +@dataclass(kw_only=True) +class CreateLabelPayload: + client_mutation_id: Optional[str] = None + label: Optional[Label] = None -class KHPXO_MannequinConnection_Field(MannequinConnection): - class MannequinConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - login: str - orderBy: MannequinOrder - _args: MannequinConnectionArgs +@dataclass(kw_only=True) +class CreateIssuePayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None +@dataclass(kw_only=True) +class CreateIpAllowListEntryPayload: + client_mutation_id: Optional[str] = None + ip_allow_list_entry: Optional[IpAllowListEntry] = None -class ZOGMB_UserStatusConnection_Field(UserStatusConnection): - class UserStatusConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: UserStatusOrder - _args: UserStatusConnectionArgs +@dataclass(kw_only=True) +class CreateEnvironmentPayload: + client_mutation_id: Optional[str] = None + environment: Optional[Environment] = None +@dataclass(kw_only=True) +class CreateDiscussionPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None -class QSVSC_OrganizationMemberConnection_Field(OrganizationMemberConnection): - class OrganizationMemberConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: OrganizationMemberConnectionArgs +@dataclass(kw_only=True) +class CreateDeploymentStatusPayload: + client_mutation_id: Optional[str] = None + deployment_status: Optional[DeploymentStatus] = None +@dataclass(kw_only=True) +class CreateDeploymentPayload: + auto_merged: Optional[bool] = None + client_mutation_id: Optional[str] = None + deployment: Optional[Deployment] = None -class SMAVH_PackageConnection_Field(PackageConnection): - class PackageConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder - _args: PackageConnectionArgs +@dataclass(kw_only=True) +class CreateCheckSuitePayload: + check_suite: Optional[CheckSuite] = None + client_mutation_id: Optional[str] = None +@dataclass(kw_only=True) +class CreateCheckRunPayload: + check_run: Optional[CheckRun] = None + client_mutation_id: Optional[str] = None -class PZDIC_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: UserConnectionArgs +@dataclass(kw_only=True) +class CreateBranchProtectionRulePayload: + branch_protection_rule: Optional[BranchProtectionRule] = None + client_mutation_id: Optional[str] = None +@dataclass(kw_only=True) +class CreateBranchProtectionRuleInput: + allows_deletions: Optional[bool] = None + allows_force_pushes: Optional[bool] = None + blocks_creations: Optional[bool] = None + bypass_force_push_actor_ids: Optional[list[ID]] = None + bypass_pull_request_actor_ids: Optional[list[ID]] = None + client_mutation_id: Optional[str] = None + dismisses_stale_reviews: Optional[bool] = None + is_admin_enforced: Optional[bool] = None + lock_allows_fetch_and_merge: Optional[bool] = None + lock_branch: Optional[bool] = None + pattern: str + push_actor_ids: Optional[list[ID]] = None + repository_id: ID + require_last_push_approval: Optional[bool] = None + required_approving_review_count: Optional[int] = None + required_deployment_environments: Optional[list[str]] = None + required_status_check_contexts: Optional[list[str]] = None + required_status_checks: Optional[list[RequiredStatusCheckInput]] = None + requires_approving_reviews: Optional[bool] = None + requires_code_owner_reviews: Optional[bool] = None + requires_commit_signatures: Optional[bool] = None + requires_conversation_resolution: Optional[bool] = None + requires_deployments: Optional[bool] = None + requires_linear_history: Optional[bool] = None + requires_status_checks: Optional[bool] = None + requires_strict_status_checks: Optional[bool] = None + restricts_pushes: Optional[bool] = None + restricts_review_dismissals: Optional[bool] = None + review_dismissal_actor_ids: Optional[list[ID]] = None -class TKOIP_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int - _args: PinnableItemConnectionArgs +@dataclass(kw_only=True) +class CopyProjectV2Payload: + client_mutation_id: Optional[str] = None + project_v2: Optional[ProjectV2] = None +@dataclass(kw_only=True) +class ConvertPullRequestToDraftPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None -class SKXCK_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int - _args: PinnableItemConnectionArgs +@dataclass(kw_only=True) +class ConvertProjectCardNoteToIssuePayload: + client_mutation_id: Optional[str] = None + project_card: Optional[ProjectCard] = None +@dataclass(kw_only=True) +class Contribution: + is_restricted: bool + occurred_at: DateTime + resource_path: URI + url: URI + user: User -class CXSSM_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - number: NonNull_int - _args: ProjectArgs +@dataclass(kw_only=True) +class ClosePullRequestPayload: + client_mutation_id: Optional[str] = None + pull_request: Optional[PullRequest] = None +@dataclass(kw_only=True) +class CloseIssuePayload: + client_mutation_id: Optional[str] = None + issue: Optional[Issue] = None -class DPBVP_ProjectV2_Field(ProjectV2): - class ProjectV2Args(GQLArgsSet, GQLObject): - number: NonNull_int - _args: ProjectV2Args +@dataclass(kw_only=True) +class CloseDiscussionPayload: + client_mutation_id: Optional[str] = None + discussion: Optional[Discussion] = None +@dataclass(kw_only=True) +class CloneTemplateRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class ATIUS_ProjectConnection_Field(ProjectConnection): - class ProjectConnectionArgs(GQLArgsSet, GQLObject): - orderBy: ProjectOrder - search: str - states: list[NonNull_ProjectState] - after: str - before: str - first: int - last: int - _args: ProjectConnectionArgs +@dataclass(kw_only=True) +class CloneProjectPayload: + client_mutation_id: Optional[str] = None + job_status_id: Optional[str] = None + project: Optional[Project] = None +@dataclass(kw_only=True) +class ClearProjectV2ItemFieldValuePayload: + client_mutation_id: Optional[str] = None + project_v2_item: Optional[ProjectV2Item] = None -class WQCOY_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: ProjectV2Order - after: str - before: str - first: int - last: int - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class ClearLabelsFromLabelablePayload: + client_mutation_id: Optional[str] = None + labelable: Optional[Labelable] = None +@dataclass(kw_only=True) +class ChangeUserStatusPayload: + client_mutation_id: Optional[str] = None + status: Optional[UserStatus] = None -class ADJON_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - _args: ProjectV2ConnectionArgs +@dataclass(kw_only=True) +class CancelSponsorshipPayload: + client_mutation_id: Optional[str] = None + sponsors_tier: Optional[SponsorsTier] = None +@dataclass(kw_only=True) +class CancelEnterpriseAdminInvitationPayload: + client_mutation_id: Optional[str] = None + invitation: Optional[EnterpriseAdministratorInvitation] = None + message: Optional[str] = None -class NZHYP_RepositoryConnection_Field(RepositoryConnection): - class RepositoryConnectionArgs(GQLArgsSet, GQLObject): - privacy: RepositoryPrivacy - orderBy: RepositoryOrder - affiliations: list[RepositoryAffiliation] - ownerAffiliations: list[RepositoryAffiliation] - isLocked: bool - hasIssuesEnabled: bool - after: str - before: str - first: int - last: int - isArchived: bool - isFork: bool - _args: RepositoryConnectionArgs +@dataclass(kw_only=True) +class Blob: + abbreviated_oid: str + byte_size: int + commit_resource_path: URI + commit_url: URI + id: ID + is_binary: Optional[bool] = None + is_truncated: bool + oid: GitObjectID + repository: Repository + text: Optional[str] = None +@dataclass(kw_only=True) +class ArchiveRepositoryPayload: + client_mutation_id: Optional[str] = None + repository: Optional[Repository] = None -class GMLWV_Repository_Field(Repository): - class RepositoryArgs(GQLArgsSet, GQLObject): - name: NonNull_str - followRenames: bool - _args: RepositoryArgs +@dataclass(kw_only=True) +class ArchiveProjectV2ItemPayload: + client_mutation_id: Optional[str] = None + item: Optional[ProjectV2Item] = None +@dataclass(kw_only=True) +class ApproveVerifiableDomainPayload: + client_mutation_id: Optional[str] = None + domain: Optional[VerifiableDomain] = None -class EZVIX_DiscussionCommentConnection_Field(DiscussionCommentConnection): - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - repositoryId: ID - onlyAnswers: bool - _args: DiscussionCommentConnectionArgs +@dataclass(kw_only=True) +class ApproveDeploymentsPayload: + client_mutation_id: Optional[str] = None + deployments: Optional[list[Deployment]] = None +@dataclass(kw_only=True) +class AddVerifiableDomainPayload: + client_mutation_id: Optional[str] = None + domain: Optional[VerifiableDomain] = None -class YDJUI_DiscussionConnection_Field(DiscussionConnection): - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: DiscussionOrder - repositoryId: ID - answered: bool - states: list[NonNull_DiscussionState] - _args: DiscussionConnectionArgs +@dataclass(kw_only=True) +class AddUpvotePayload: + client_mutation_id: Optional[str] = None + subject: Optional[Votable] = None +@dataclass(kw_only=True) +class AddStarPayload: + client_mutation_id: Optional[str] = None + starrable: Optional[Starrable] = None -class JJHDF_RepositoryMigrationConnection_Field(RepositoryMigrationConnection): - class RepositoryMigrationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - state: MigrationState - repositoryName: str - orderBy: RepositoryMigrationOrder - _args: RepositoryMigrationConnectionArgs +@dataclass(kw_only=True) +class AddPullRequestReviewThreadReplyPayload: + client_mutation_id: Optional[str] = None + comment: Optional[PullRequestReviewComment] = None +@dataclass(kw_only=True) +class AddPullRequestReviewThreadPayload: + client_mutation_id: Optional[str] = None + thread: Optional[PullRequestReviewThread] = None -class ADXTB_RepositoryRuleset_Field(RepositoryRuleset): - class RepositoryRulesetArgs(GQLArgsSet, GQLObject): - databaseId: NonNull_int - _args: RepositoryRulesetArgs +@dataclass(kw_only=True) +class AddProjectV2ItemByIdPayload: + client_mutation_id: Optional[str] = None + item: Optional[ProjectV2Item] = None +@dataclass(kw_only=True) +class AddProjectV2DraftIssuePayload: + client_mutation_id: Optional[str] = None + project_item: Optional[ProjectV2Item] = None -class KWZXW_RepositoryRulesetConnection_Field(RepositoryRulesetConnection): - class RepositoryRulesetConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - includeParents: bool - _args: RepositoryRulesetConnectionArgs +@dataclass(kw_only=True) +class AddLabelsToLabelablePayload: + client_mutation_id: Optional[str] = None + labelable: Optional[Labelable] = None +@dataclass(kw_only=True) +class AddEnterpriseOrganizationMemberPayload: + client_mutation_id: Optional[str] = None + users: Optional[list[User]] = None -class MQBHK_SponsorConnection_Field(SponsorConnection): - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorOrder - _args: SponsorConnectionArgs +@dataclass(kw_only=True) +class AddDiscussionPollVotePayload: + client_mutation_id: Optional[str] = None + poll_option: Optional[DiscussionPollOption] = None +@dataclass(kw_only=True) +class AddDiscussionCommentPayload: + client_mutation_id: Optional[str] = None + comment: Optional[DiscussionComment] = None -class FUDBH_SponsorConnection_Field(SponsorConnection): - class SponsorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - tierId: ID - orderBy: SponsorOrder - _args: SponsorConnectionArgs +@dataclass(kw_only=True) +class AddAssigneesToAssignablePayload: + assignable: Optional[Assignable] = None + client_mutation_id: Optional[str] = None +@dataclass(kw_only=True) +class AcceptTopicSuggestionPayload: + client_mutation_id: Optional[str] = None -class HBOKI_SponsorsActivityConnection_Field(SponsorsActivityConnection): - class SponsorsActivityConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - period: SponsorsActivityPeriod - since: DateTime - until: DateTime - orderBy: SponsorsActivityOrder - actions: list[NonNull_SponsorsActivityAction] - includeAsSponsor: bool - includePrivate: bool - _args: SponsorsActivityConnectionArgs - - - -class ZCNNO_Sponsorship_Field(Sponsorship): - class SponsorshipArgs(GQLArgsSet, GQLObject): - activeOnly: bool - - _args: SponsorshipArgs - - - -class DJHKV_Sponsorship_Field(Sponsorship): - class SponsorshipArgs(GQLArgsSet, GQLObject): - activeOnly: bool - - _args: SponsorshipArgs - - - -class WENIA_SponsorshipNewsletterConnection_Field(SponsorshipNewsletterConnection): - class SponsorshipNewsletterConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorshipNewsletterOrder - - _args: SponsorshipNewsletterConnectionArgs - - - -class QPBDP_SponsorshipConnection_Field(SponsorshipConnection): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - includePrivate: bool - orderBy: SponsorshipOrder - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class IMKOF_SponsorshipConnection_Field(SponsorshipConnection): - class SponsorshipConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorshipOrder - maintainerLogins: list[NonNull_str] - activeOnly: bool - - _args: SponsorshipConnectionArgs - - - -class HJBPS_Team_Field(Team): - class TeamArgs(GQLArgsSet, GQLObject): - slug: NonNull_str - - _args: TeamArgs - - - -class PSHXZ_TeamConnection_Field(TeamConnection): - class TeamConnectionArgs(GQLArgsSet, GQLObject): - privacy: TeamPrivacy - notificationSetting: TeamNotificationSetting - role: TeamRole - query: str - userLogins: list[NonNull_str] - orderBy: TeamOrder - ldapMapped: bool - rootTeamsOnly: bool - after: str - before: str - first: int - last: int - - _args: TeamConnectionArgs - - - -class Organization(GQLObject): - announcement: str - announcementExpiresAt: DateTime - announcementUserDismissible: bool - anyPinnableItems: VEATV_anyPinnableItems_Field - auditLog: IGWOA_OrganizationAuditEntryConnection_Field - avatarUrl: WSHCQ_URI_Field - createdAt: DateTime - databaseId: int - description: str - descriptionHTML: str - domains: VROOV_VerifiableDomainConnection_Field - email: str - enterpriseOwners: OQWMB_OrganizationEnterpriseOwnerConnection_Field - estimatedNextSponsorsPayoutInCents: int - hasSponsorsListing: bool - id: ID - interactionAbility: RepositoryInteractionAbility - ipAllowListEnabledSetting: IpAllowListEnabledSettingValue - ipAllowListEntries: TYVHX_IpAllowListEntryConnection_Field ## Circular Reference for IpAllowListEntryConnection - ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue - isSponsoredBy: ICQLW_isSponsoredBy_Field - isSponsoringViewer: bool - isVerified: bool - itemShowcase: ProfileItemShowcase - location: str - login: str - mannequins: KHPXO_MannequinConnection_Field - memberStatuses: ZOGMB_UserStatusConnection_Field - membersCanForkPrivateRepositories: bool - membersWithRole: QSVSC_OrganizationMemberConnection_Field - monthlyEstimatedSponsorsIncomeInCents: int - name: str - newTeamResourcePath: URI - newTeamUrl: URI - notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue - organizationBillingEmail: str - packages: SMAVH_PackageConnection_Field - pendingMembers: PZDIC_UserConnection_Field - pinnableItems: TKOIP_PinnableItemConnection_Field - pinnedItems: SKXCK_PinnableItemConnection_Field - pinnedItemsRemaining: int - project: CXSSM_Project_Field - projectV2: DPBVP_ProjectV2_Field - projects: ATIUS_ProjectConnection_Field - projectsResourcePath: URI - projectsUrl: URI - projectsV2: WQCOY_ProjectV2Connection_Field - recentProjects: ADJON_ProjectV2Connection_Field - repositories: NZHYP_RepositoryConnection_Field - repository: GMLWV_Repository_Field - repositoryDiscussionComments: EZVIX_DiscussionCommentConnection_Field - repositoryDiscussions: YDJUI_DiscussionConnection_Field - repositoryMigrations: JJHDF_RepositoryMigrationConnection_Field - requiresTwoFactorAuthentication: bool - resourcePath: URI - ruleset: ADXTB_RepositoryRuleset_Field - rulesets: KWZXW_RepositoryRulesetConnection_Field - samlIdentityProvider: OrganizationIdentityProvider - sponsoring: MQBHK_SponsorConnection_Field - sponsors: FUDBH_SponsorConnection_Field - sponsorsActivities: HBOKI_SponsorsActivityConnection_Field - sponsorsListing: SponsorsListing - sponsorshipForViewerAsSponsor: ZCNNO_Sponsorship_Field - sponsorshipForViewerAsSponsorable: DJHKV_Sponsorship_Field - sponsorshipNewsletters: WENIA_SponsorshipNewsletterConnection_Field - sponsorshipsAsMaintainer: QPBDP_SponsorshipConnection_Field - sponsorshipsAsSponsor: IMKOF_SponsorshipConnection_Field - team: HJBPS_Team_Field - teams: PSHXZ_TeamConnection_Field - teamsResourcePath: URI - teamsUrl: URI - totalSponsorshipAmountAsSponsorInCents: QUYEZ_totalSponsorshipAmountAsSponsorInCents_Field - twitterUsername: str - updatedAt: DateTime - url: URI - viewerCanAdminister: bool - viewerCanChangePinnedItems: bool - viewerCanCreateProjects: bool - viewerCanCreateRepositories: bool - viewerCanCreateTeams: bool - viewerCanSponsor: bool - viewerIsAMember: bool - viewerIsFollowing: bool - viewerIsSponsoring: bool - webCommitSignoffRequired: bool - websiteUrl: URI - -class EnterpriseOrganizationMembershipEdge(GQLObject): - cursor: str - node: Organization - role: EnterpriseUserAccountMembershipRole - -class list_EnterpriseOrganizationMembershipEdge(list, EnterpriseOrganizationMembershipEdge): pass - -class list_Organization(list, Organization): pass - -class EnterpriseOrganizationMembershipConnection(GQLObject): - edges: list_EnterpriseOrganizationMembershipEdge[EnterpriseOrganizationMembershipEdge] - nodes: list_Organization[Organization] - pageInfo: PageInfo - totalCount: int - -class CJYQJ_EnterpriseServerInstallationMembershipConnection_Field(EnterpriseServerInstallationMembershipConnection): - class EnterpriseServerInstallationMembershipConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: EnterpriseServerInstallationOrder - role: EnterpriseUserAccountMembershipRole - after: str - before: str - first: int - last: int - - _args: EnterpriseServerInstallationMembershipConnectionArgs - - - -class WESDT_EnterpriseOrganizationMembershipConnection_Field(EnterpriseOrganizationMembershipConnection): - class EnterpriseOrganizationMembershipConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: OrganizationOrder - role: EnterpriseUserAccountMembershipRole - after: str - before: str - first: int - last: int - - _args: EnterpriseOrganizationMembershipConnectionArgs - - - -class EnterpriseUserAccount(GQLObject): - avatarUrl: WAVPH_URI_Field - createdAt: DateTime - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - enterpriseInstallations: CJYQJ_EnterpriseServerInstallationMembershipConnection_Field - id: ID - login: str - name: str - organizations: WESDT_EnterpriseOrganizationMembershipConnection_Field - resourcePath: URI - updatedAt: DateTime - url: URI - user: User - -class EnterpriseMember(GQLObject): - pass - -class EnterpriseMemberEdge(GQLObject): - cursor: str - node: EnterpriseMember - -class list_EnterpriseMemberEdge(list, EnterpriseMemberEdge): pass - -class list_EnterpriseMember(list, EnterpriseMember): pass - -class EnterpriseMemberConnection(GQLObject): - edges: list_EnterpriseMemberEdge[EnterpriseMemberEdge] - nodes: list_EnterpriseMember[EnterpriseMember] - pageInfo: PageInfo - totalCount: int - -class EnterpriseAdministratorEdge(GQLObject): - cursor: str - node: User - role: EnterpriseAdministratorRole - -class list_EnterpriseAdministratorEdge(list, EnterpriseAdministratorEdge): pass - -class EnterpriseAdministratorConnection(GQLObject): - edges: list_EnterpriseAdministratorEdge[EnterpriseAdministratorEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class EnterpriseServerInstallationEdge(GQLObject): - cursor: str - node: EnterpriseServerInstallation - -class list_EnterpriseServerInstallationEdge(list, EnterpriseServerInstallationEdge): pass - -class EnterpriseServerInstallationConnection(GQLObject): - edges: list_EnterpriseServerInstallationEdge[EnterpriseServerInstallationEdge] - nodes: list_EnterpriseServerInstallation[EnterpriseServerInstallation] - pageInfo: PageInfo - totalCount: int - -class EnterpriseFailedInvitationEdge(GQLObject): - cursor: str - node: OrganizationInvitation - -class list_EnterpriseFailedInvitationEdge(list, EnterpriseFailedInvitationEdge): pass - -class EnterpriseFailedInvitationConnection(GQLObject): - edges: list_EnterpriseFailedInvitationEdge[EnterpriseFailedInvitationEdge] - nodes: list_OrganizationInvitation[OrganizationInvitation] - pageInfo: PageInfo - totalCount: int - totalUniqueUserCount: int - -class OETYR_ExternalIdentityConnection_Field(ExternalIdentityConnection): - class ExternalIdentityConnectionArgs(GQLArgsSet, GQLObject): - membersOnly: bool - login: str - userName: str - after: str - before: str - first: int - last: int - - _args: ExternalIdentityConnectionArgs - - - -class OIDCProvider(GQLObject): - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - externalIdentities: OETYR_ExternalIdentityConnection_Field - id: ID - providerType: OIDCProviderType - tenantId: str - -class EnterpriseRepositoryInfoEdge(GQLObject): - cursor: str - node: EnterpriseRepositoryInfo - -class list_EnterpriseRepositoryInfoEdge(list, EnterpriseRepositoryInfoEdge): pass - -class list_EnterpriseRepositoryInfo(list, EnterpriseRepositoryInfo): pass - -class EnterpriseRepositoryInfoConnection(GQLObject): - edges: list_EnterpriseRepositoryInfoEdge[EnterpriseRepositoryInfoEdge] - nodes: list_EnterpriseRepositoryInfo[EnterpriseRepositoryInfo] - pageInfo: PageInfo - totalCount: int - -class RWHXZ_EnterpriseRepositoryInfoConnection_Field(EnterpriseRepositoryInfoConnection): - class EnterpriseRepositoryInfoConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: RepositoryOrder - - _args: EnterpriseRepositoryInfoConnectionArgs - - - -class EnterpriseOutsideCollaboratorEdge(GQLObject): - cursor: str - node: User - repositories: RWHXZ_EnterpriseRepositoryInfoConnection_Field - -class list_EnterpriseOutsideCollaboratorEdge(list, EnterpriseOutsideCollaboratorEdge): pass - -class EnterpriseOutsideCollaboratorConnection(GQLObject): - edges: list_EnterpriseOutsideCollaboratorEdge[EnterpriseOutsideCollaboratorEdge] - nodes: list_User[User] - pageInfo: PageInfo - totalCount: int - -class EnterpriseAdministratorInvitation(GQLObject): - createdAt: DateTime - email: str - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - id: ID - invitee: User - inviter: User - role: EnterpriseAdministratorRole - -class EnterpriseAdministratorInvitationEdge(GQLObject): - cursor: str - node: EnterpriseAdministratorInvitation - -class list_EnterpriseAdministratorInvitationEdge(list, EnterpriseAdministratorInvitationEdge): pass - -class list_EnterpriseAdministratorInvitation(list, EnterpriseAdministratorInvitation): pass - -class EnterpriseAdministratorInvitationConnection(GQLObject): - edges: list_EnterpriseAdministratorInvitationEdge[EnterpriseAdministratorInvitationEdge] - nodes: list_EnterpriseAdministratorInvitation[EnterpriseAdministratorInvitation] - pageInfo: PageInfo - totalCount: int - -class RepositoryInfo(GQLObject): - archivedAt: DateTime - createdAt: DateTime - description: str - descriptionHTML: HTML - forkCount: int - hasDiscussionsEnabled: bool - hasIssuesEnabled: bool - hasProjectsEnabled: bool - hasWikiEnabled: bool - homepageUrl: URI - isArchived: bool - isFork: bool - isInOrganization: bool - isLocked: bool - isMirror: bool - isPrivate: bool - isTemplate: bool - licenseInfo: License - lockReason: RepositoryLockReason - mirrorUrl: URI - name: str - nameWithOwner: str - openGraphImageUrl: URI - owner: RepositoryOwner - pushedAt: DateTime - resourcePath: URI - shortDescriptionHTML: KFLRK_HTML_Field - updatedAt: DateTime - url: URI - usesCustomOpenGraphImage: bool - visibility: RepositoryVisibility - -class RepositoryInvitation(GQLObject): - email: str - id: ID - invitee: User - inviter: User - permalink: URI - permission: RepositoryPermission - repository: RepositoryInfo - -class RepositoryInvitationEdge(GQLObject): - cursor: str - node: RepositoryInvitation - -class list_RepositoryInvitationEdge(list, RepositoryInvitationEdge): pass - -class list_RepositoryInvitation(list, RepositoryInvitation): pass - -class RepositoryInvitationConnection(GQLObject): - edges: list_RepositoryInvitationEdge[RepositoryInvitationEdge] - nodes: list_RepositoryInvitation[RepositoryInvitation] - pageInfo: PageInfo - totalCount: int - -class EnterprisePendingMemberInvitationEdge(GQLObject): - cursor: str - node: OrganizationInvitation - -class list_EnterprisePendingMemberInvitationEdge(list, EnterprisePendingMemberInvitationEdge): pass - -class EnterprisePendingMemberInvitationConnection(GQLObject): - edges: list_EnterprisePendingMemberInvitationEdge[EnterprisePendingMemberInvitationEdge] - nodes: list_OrganizationInvitation[OrganizationInvitation] - pageInfo: PageInfo - totalCount: int - totalUniqueUserCount: int - -class LPWDD_ExternalIdentityConnection_Field(ExternalIdentityConnection): - class ExternalIdentityConnectionArgs(GQLArgsSet, GQLObject): - membersOnly: bool - login: str - userName: str - after: str - before: str - first: int - last: int - - _args: ExternalIdentityConnectionArgs - - - -class EnterpriseIdentityProvider(GQLObject): - digestMethod: SamlDigestAlgorithm - enterprise: NewType('Enterprise', GQLObject) ## Circular Reference for Enterprise - externalIdentities: LPWDD_ExternalIdentityConnection_Field - id: ID - idpCertificate: X509Certificate - issuer: str - recoveryCodes: list[str] - signatureMethod: SamlSignatureAlgorithm - ssoUrl: URI - -class DLBLU_EnterpriseAdministratorConnection_Field(EnterpriseAdministratorConnection): - class EnterpriseAdministratorConnectionArgs(GQLArgsSet, GQLObject): - organizationLogins: list[NonNull_str] - query: str - role: EnterpriseAdministratorRole - orderBy: EnterpriseMemberOrder - hasTwoFactorEnabled: bool - after: str - before: str - first: int - last: int - - _args: EnterpriseAdministratorConnectionArgs - - - -class XOPKA_UserConnection_Field(UserConnection): - class UserConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserConnectionArgs - - - -class RGPPZ_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NonNull_DefaultRepositoryPermissionField(GQLObject): pass - -class CGFPG_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_DefaultRepositoryPermissionField - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class WWPGU_VerifiableDomainConnection_Field(VerifiableDomainConnection): - class VerifiableDomainConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - isVerified: bool - isApproved: bool - orderBy: VerifiableDomainOrder - - _args: VerifiableDomainConnectionArgs - - - -class ZYEDV_EnterpriseServerInstallationConnection_Field(EnterpriseServerInstallationConnection): - class EnterpriseServerInstallationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - connectedOnly: bool - orderBy: EnterpriseServerInstallationOrder - - _args: EnterpriseServerInstallationConnectionArgs - - - -class LRDNU_EnterpriseFailedInvitationConnection_Field(EnterpriseFailedInvitationConnection): - class EnterpriseFailedInvitationConnectionArgs(GQLArgsSet, GQLObject): - query: str - after: str - before: str - first: int - last: int - - _args: EnterpriseFailedInvitationConnectionArgs - - - -class ADSTU_IpAllowListEntryConnection_Field(Generic[IpAllowListEntryConnection]): - class IpAllowListEntryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: IpAllowListEntryOrder - - _args: IpAllowListEntryConnectionArgs - - - -class KBBLH_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NonNull_OrganizationMembersCanCreateRepositoriesSettingValue(GQLObject): pass - -class EOGRB_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_OrganizationMembersCanCreateRepositoriesSettingValue - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NHVPE_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class WOMJY_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class RJQHG_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class QICQU_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class EGCSV_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class FCPJA_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class HAXTC_EnterpriseOutsideCollaboratorConnection_Field(EnterpriseOutsideCollaboratorConnection): - class EnterpriseOutsideCollaboratorConnectionArgs(GQLArgsSet, GQLObject): - login: str - query: str - orderBy: EnterpriseMemberOrder - visibility: RepositoryVisibility - hasTwoFactorEnabled: bool - organizationLogins: list[NonNull_str] - after: str - before: str - first: int - last: int - - _args: EnterpriseOutsideCollaboratorConnectionArgs - - - -class VMEQE_EnterpriseAdministratorInvitationConnection_Field(EnterpriseAdministratorInvitationConnection): - class EnterpriseAdministratorInvitationConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: EnterpriseAdministratorInvitationOrder - role: EnterpriseAdministratorRole - after: str - before: str - first: int - last: int - - _args: EnterpriseAdministratorInvitationConnectionArgs - - - -class REZAX_RepositoryInvitationConnection_Field(RepositoryInvitationConnection): - class RepositoryInvitationConnectionArgs(GQLArgsSet, GQLObject): - query: str - orderBy: RepositoryInvitationOrder - after: str - before: str - first: int - last: int - - _args: RepositoryInvitationConnectionArgs - - - -class QTWJC_EnterprisePendingMemberInvitationConnection_Field(EnterprisePendingMemberInvitationConnection): - class EnterprisePendingMemberInvitationConnectionArgs(GQLArgsSet, GQLObject): - query: str - organizationLogins: list[NonNull_str] - invitationSource: OrganizationInvitationSource - after: str - before: str - first: int - last: int - - _args: EnterprisePendingMemberInvitationConnectionArgs - - - -class DHKQA_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NonNull_IdentityProviderConfigurationState(GQLObject): pass - -class LUHRB_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_IdentityProviderConfigurationState - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class NXVTC_EnterpriseMemberConnection_Field(EnterpriseMemberConnection): - class EnterpriseMemberConnectionArgs(GQLArgsSet, GQLObject): - orderBy: EnterpriseMemberOrder - after: str - before: str - first: int - last: int - - _args: EnterpriseMemberConnectionArgs - - - -class BOSCI_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class CQJAG_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - value: NonNull_bool - orderBy: OrganizationOrder - - _args: OrganizationConnectionArgs - - - -class EnterpriseOwnerInfo(GQLObject): - admins: DLBLU_EnterpriseAdministratorConnection_Field - affiliatedUsersWithTwoFactorDisabled: XOPKA_UserConnection_Field - affiliatedUsersWithTwoFactorDisabledExist: bool - allowPrivateRepositoryForkingSetting: EnterpriseEnabledDisabledSettingValue - allowPrivateRepositoryForkingSettingOrganizations: RGPPZ_OrganizationConnection_Field - allowPrivateRepositoryForkingSettingPolicyValue: EnterpriseAllowPrivateRepositoryForkingPolicyValue - defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue - defaultRepositoryPermissionSettingOrganizations: CGFPG_OrganizationConnection_Field - domains: WWPGU_VerifiableDomainConnection_Field - enterpriseServerInstallations: ZYEDV_EnterpriseServerInstallationConnection_Field - failedInvitations: LRDNU_EnterpriseFailedInvitationConnection_Field - ipAllowListEnabledSetting: IpAllowListEnabledSettingValue - ipAllowListEntries: ADSTU_IpAllowListEntryConnection_Field ## Circular Reference for IpAllowListEntryConnection - ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue - isUpdatingDefaultRepositoryPermission: bool - isUpdatingTwoFactorRequirement: bool - membersCanChangeRepositoryVisibilitySetting: EnterpriseEnabledDisabledSettingValue - membersCanChangeRepositoryVisibilitySettingOrganizations: KBBLH_OrganizationConnection_Field - membersCanCreateInternalRepositoriesSetting: bool - membersCanCreatePrivateRepositoriesSetting: bool - membersCanCreatePublicRepositoriesSetting: bool - membersCanCreateRepositoriesSetting: EnterpriseMembersCanCreateRepositoriesSettingValue - membersCanCreateRepositoriesSettingOrganizations: EOGRB_OrganizationConnection_Field - membersCanDeleteIssuesSetting: EnterpriseEnabledDisabledSettingValue - membersCanDeleteIssuesSettingOrganizations: NHVPE_OrganizationConnection_Field - membersCanDeleteRepositoriesSetting: EnterpriseEnabledDisabledSettingValue - membersCanDeleteRepositoriesSettingOrganizations: WOMJY_OrganizationConnection_Field - membersCanInviteCollaboratorsSetting: EnterpriseEnabledDisabledSettingValue - membersCanInviteCollaboratorsSettingOrganizations: RJQHG_OrganizationConnection_Field - membersCanMakePurchasesSetting: EnterpriseMembersCanMakePurchasesSettingValue - membersCanUpdateProtectedBranchesSetting: EnterpriseEnabledDisabledSettingValue - membersCanUpdateProtectedBranchesSettingOrganizations: QICQU_OrganizationConnection_Field - membersCanViewDependencyInsightsSetting: EnterpriseEnabledDisabledSettingValue - membersCanViewDependencyInsightsSettingOrganizations: EGCSV_OrganizationConnection_Field - notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue - oidcProvider: OIDCProvider - organizationProjectsSetting: EnterpriseEnabledDisabledSettingValue - organizationProjectsSettingOrganizations: FCPJA_OrganizationConnection_Field - outsideCollaborators: HAXTC_EnterpriseOutsideCollaboratorConnection_Field - pendingAdminInvitations: VMEQE_EnterpriseAdministratorInvitationConnection_Field - pendingCollaboratorInvitations: REZAX_RepositoryInvitationConnection_Field - pendingMemberInvitations: QTWJC_EnterprisePendingMemberInvitationConnection_Field - repositoryProjectsSetting: EnterpriseEnabledDisabledSettingValue - repositoryProjectsSettingOrganizations: DHKQA_OrganizationConnection_Field - samlIdentityProvider: EnterpriseIdentityProvider - samlIdentityProviderSettingOrganizations: LUHRB_OrganizationConnection_Field - supportEntitlements: NXVTC_EnterpriseMemberConnection_Field - teamDiscussionsSetting: EnterpriseEnabledDisabledSettingValue - teamDiscussionsSettingOrganizations: BOSCI_OrganizationConnection_Field - twoFactorRequiredSetting: EnterpriseEnabledSettingValue - twoFactorRequiredSettingOrganizations: CQJAG_OrganizationConnection_Field - -class KHPMC_EnterpriseMemberConnection_Field(EnterpriseMemberConnection): - class EnterpriseMemberConnectionArgs(GQLArgsSet, GQLObject): - organizationLogins: list[NonNull_str] - query: str - orderBy: EnterpriseMemberOrder - role: EnterpriseUserAccountMembershipRole - deployment: EnterpriseUserDeployment - hasTwoFactorEnabled: bool - after: str - before: str - first: int - last: int - - _args: EnterpriseMemberConnectionArgs - - - -class JPCZO_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - query: str - viewerOrganizationRole: RoleInOrganization - orderBy: OrganizationOrder - after: str - before: str - first: int - last: int - - _args: OrganizationConnectionArgs - - - -class Enterprise(GQLObject): - announcement: str - announcementExpiresAt: DateTime - announcementUserDismissible: bool - avatarUrl: HQOKI_URI_Field - billingInfo: EnterpriseBillingInfo - createdAt: DateTime - databaseId: int - description: str - descriptionHTML: HTML - id: ID - location: str - members: KHPMC_EnterpriseMemberConnection_Field - name: str - organizations: JPCZO_OrganizationConnection_Field - ownerInfo: EnterpriseOwnerInfo - resourcePath: URI - slug: str - url: URI - viewerIsAdmin: bool - websiteUrl: URI - -class IpAllowListOwner(GQLObject): - pass - -class IpAllowListEntry(GQLObject): - allowListValue: str - createdAt: DateTime - id: ID - isActive: bool - name: str - owner: IpAllowListOwner - updatedAt: DateTime - -class IpAllowListEntryEdge(GQLObject): - cursor: str - node: IpAllowListEntry - -class list_IpAllowListEntryEdge(list, IpAllowListEntryEdge): pass - -class list_IpAllowListEntry(list, IpAllowListEntry): pass - -class IpAllowListEntryConnection(GQLObject): - edges: list_IpAllowListEntryEdge[IpAllowListEntryEdge] - nodes: list_IpAllowListEntry[IpAllowListEntry] - pageInfo: PageInfo - totalCount: int - -class OBPXN_IpAllowListEntryConnection_Field(IpAllowListEntryConnection): - class IpAllowListEntryConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: IpAllowListEntryOrder - - _args: IpAllowListEntryConnectionArgs - - - -class App(GQLObject): - createdAt: DateTime - databaseId: int - description: str - id: ID - ipAllowListEntries: OBPXN_IpAllowListEntryConnection_Field - logoBackgroundColor: str - logoUrl: POFHR_URI_Field - name: str - slug: str - updatedAt: DateTime - url: URI - -class CheckRunEdge(GQLObject): - cursor: str - node: CheckRun - -class list_CheckRunEdge(list, CheckRunEdge): pass - -class list_CheckRun(list, CheckRun): pass - -class CheckRunConnection(GQLObject): - edges: list_CheckRunEdge[CheckRunEdge] - nodes: list_CheckRun[CheckRun] - pageInfo: PageInfo - totalCount: int - -class Push(GQLObject): - id: ID - nextSha: GitObjectID - permalink: URI - previousSha: GitObjectID - pusher: Actor - repository: Repository - -class XKWJD_CheckRunConnection_Field(CheckRunConnection): - class CheckRunConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - filterBy: CheckRunFilter - - _args: CheckRunConnectionArgs - - - -class MJHVB_PullRequestConnection_Field(PullRequestConnection): - class PullRequestConnectionArgs(GQLArgsSet, GQLObject): - states: list[NonNull_PullRequestState] - labels: list[NonNull_str] - headRefName: str - baseRefName: str - orderBy: IssueOrder - after: str - before: str - first: int - last: int - - _args: PullRequestConnectionArgs - - - -class CheckSuite(GQLObject): - app: App - branch: Ref - checkRuns: XKWJD_CheckRunConnection_Field - commit: Commit - conclusion: CheckConclusionState - createdAt: DateTime - creator: User - databaseId: int - id: ID - matchingPullRequests: MJHVB_PullRequestConnection_Field - push: Push - repository: Repository - resourcePath: URI - status: CheckStatusState - updatedAt: DateTime - url: URI - workflowRun: NewType('WorkflowRun', GQLObject) ## Circular Reference for WorkflowRun - -class TEUPV_EnvironmentConnection_Field(EnvironmentConnection): - class EnvironmentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: EnvironmentConnectionArgs - - - -class DeploymentReview(GQLObject): - comment: str - databaseId: int - environments: TEUPV_EnvironmentConnection_Field - id: ID - state: DeploymentReviewState - user: User - -class DeploymentReviewEdge(GQLObject): - cursor: str - node: DeploymentReview - -class list_DeploymentReviewEdge(list, DeploymentReviewEdge): pass - -class list_DeploymentReview(list, DeploymentReview): pass - -class DeploymentReviewConnection(GQLObject): - edges: list_DeploymentReviewEdge[DeploymentReviewEdge] - nodes: list_DeploymentReview[DeploymentReview] - pageInfo: PageInfo - totalCount: int - -class WorkflowRunFile(GQLObject): - id: ID - path: str - repositoryFileUrl: URI - repositoryName: URI - resourcePath: URI - run: NewType('WorkflowRun', GQLObject) ## Circular Reference for WorkflowRun - url: URI - viewerCanPushRepository: bool - viewerCanReadRepository: bool - -class DeploymentRequestEdge(GQLObject): - cursor: str - node: DeploymentRequest - -class list_DeploymentRequestEdge(list, DeploymentRequestEdge): pass - -class list_DeploymentRequest(list, DeploymentRequest): pass - -class DeploymentRequestConnection(GQLObject): - edges: list_DeploymentRequestEdge[DeploymentRequestEdge] - nodes: list_DeploymentRequest[DeploymentRequest] - pageInfo: PageInfo - totalCount: int - -class OCKSS_WorkflowRunConnection_Field(Generic[WorkflowRunConnection]): - class WorkflowRunConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: WorkflowRunOrder - - _args: WorkflowRunConnectionArgs - - - -class Workflow(GQLObject): - createdAt: DateTime - databaseId: int - id: ID - name: str - resourcePath: URI - runs: OCKSS_WorkflowRunConnection_Field ## Circular Reference for WorkflowRunConnection - state: WorkflowState - updatedAt: DateTime - url: URI - -class NXCJH_DeploymentReviewConnection_Field(DeploymentReviewConnection): - class DeploymentReviewConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DeploymentReviewConnectionArgs - - - -class FYNFM_DeploymentRequestConnection_Field(DeploymentRequestConnection): - class DeploymentRequestConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: DeploymentRequestConnectionArgs - - - -class WorkflowRun(GQLObject): - checkSuite: CheckSuite - createdAt: DateTime - databaseId: int - deploymentReviews: NXCJH_DeploymentReviewConnection_Field - event: str - file: WorkflowRunFile - id: ID - pendingDeploymentRequests: FYNFM_DeploymentRequestConnection_Field - resourcePath: URI - runNumber: int - updatedAt: DateTime - url: URI - workflow: Workflow - -class WorkflowRunEdge(GQLObject): - cursor: str - node: WorkflowRun - -class list_WorkflowRunEdge(list, WorkflowRunEdge): pass - -class list_WorkflowRun(list, WorkflowRun): pass - -class WorkflowRunConnection(GQLObject): - edges: list_WorkflowRunEdge[WorkflowRunEdge] - nodes: list_WorkflowRun[WorkflowRun] - pageInfo: PageInfo - totalCount: int - -class list_Team(list, Team): pass - -class UpdateTeamsRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - teams: list_Team[Team] - -class list_StatusCheckConfigurationInput(list, StatusCheckConfigurationInput): pass - -class RequiredStatusChecksParametersInput(GQLObject): - requiredStatusChecks: list_StatusCheckConfigurationInput[StatusCheckConfigurationInput] - strictRequiredStatusChecksPolicy: bool - -class RuleParametersInput(GQLObject): - update: UpdateParametersInput - requiredDeployments: RequiredDeploymentsParametersInput - pullRequest: PullRequestParametersInput - requiredStatusChecks: RequiredStatusChecksParametersInput - commitMessagePattern: CommitMessagePatternParametersInput - commitAuthorEmailPattern: CommitAuthorEmailPatternParametersInput - committerEmailPattern: CommitterEmailPatternParametersInput - branchNamePattern: BranchNamePatternParametersInput - tagNamePattern: TagNamePatternParametersInput - -class RepositoryRuleInput(GQLObject): - id: ID - type: RepositoryRuleType - parameters: RuleParametersInput - -class RepositoryRuleConditionsInput(GQLObject): - refName: RefNameConditionTargetInput - repositoryName: RepositoryNameConditionTargetInput - repositoryId: RepositoryIdConditionTargetInput - -class list_RepositoryRuleInput(list, RepositoryRuleInput): pass - -class list_RepositoryRulesetBypassActorInput(list, RepositoryRulesetBypassActorInput): pass - -class UpdateRepositoryRulesetInput(GQLObject): - repositoryRulesetId: ID - name: str - target: RepositoryRulesetTarget - rules: list_RepositoryRuleInput[RepositoryRuleInput] - conditions: RepositoryRuleConditionsInput - enforcement: RuleEnforcement - bypassActors: list_RepositoryRulesetBypassActorInput[RepositoryRulesetBypassActorInput] - clientMutationId: str - -class UpdatePullRequestPayload(GQLObject): - actor: Actor - clientMutationId: str - pullRequest: PullRequest - -class UpdateIssuePayload(GQLObject): - actor: Actor - clientMutationId: str - issue: Issue - -class CheckAnnotationData(GQLObject): - path: str - location: CheckAnnotationRange - annotationLevel: CheckAnnotationLevel - message: str - title: str - rawDetails: str - -class list_CheckAnnotationData(list, CheckAnnotationData): pass - -class list_CheckRunOutputImage(list, CheckRunOutputImage): pass - -class CheckRunOutput(GQLObject): - title: str - summary: str - text: str - annotations: list_CheckAnnotationData[CheckAnnotationData] - images: list_CheckRunOutputImage[CheckRunOutputImage] - -class list_CheckRunAction(list, CheckRunAction): pass - -class UpdateCheckRunInput(GQLObject): - repositoryId: ID - checkRunId: ID - name: str - detailsUrl: URI - externalId: str - status: RequestableCheckStatusState - startedAt: DateTime - conclusion: CheckConclusionState - completedAt: DateTime - output: CheckRunOutput - actions: list_CheckRunAction[CheckRunAction] - clientMutationId: str - -class UnlockLockablePayload(GQLObject): - actor: Actor - clientMutationId: str - unlockedRecord: Lockable - -class UnlinkRepositoryFromProjectPayload(GQLObject): - clientMutationId: str - project: Project - repository: Repository - -class Tag(GQLObject): - abbreviatedOid: str - commitResourcePath: URI - commitUrl: URI - id: ID - message: str - name: str - oid: GitObjectID - repository: Repository - tagger: GitActor - target: GitObject - -class SponsorableItem(GQLObject): - pass - -class SponsorableItemEdge(GQLObject): - cursor: str - node: SponsorableItem - -class list_SponsorableItemEdge(list, SponsorableItemEdge): pass - -class list_SponsorableItem(list, SponsorableItem): pass - -class SponsorableItemConnection(GQLObject): - edges: list_SponsorableItemEdge[SponsorableItemEdge] - nodes: list_SponsorableItem[SponsorableItem] - pageInfo: PageInfo - totalCount: int - -class SecurityAdvisoryEdge(GQLObject): - cursor: str - node: SecurityAdvisory - -class list_SecurityAdvisoryEdge(list, SecurityAdvisoryEdge): pass - -class list_SecurityAdvisory(list, SecurityAdvisory): pass - -class SecurityAdvisoryConnection(GQLObject): - edges: list_SecurityAdvisoryEdge[SecurityAdvisoryEdge] - nodes: list_SecurityAdvisory[SecurityAdvisory] - pageInfo: PageInfo - totalCount: int - -class MarketplaceListing(GQLObject): - app: App - companyUrl: URI - configurationResourcePath: URI - configurationUrl: URI - documentationUrl: URI - extendedDescription: str - extendedDescriptionHTML: HTML - fullDescription: str - fullDescriptionHTML: HTML - hasPublishedFreeTrialPlans: bool - hasTermsOfService: bool - hasVerifiedOwner: bool - howItWorks: str - howItWorksHTML: HTML - id: ID - installationUrl: URI - installedForViewer: bool - isArchived: bool - isDraft: bool - isPaid: bool - isPublic: bool - isRejected: bool - isUnverified: bool - isUnverifiedPending: bool - isVerificationPendingFromDraft: bool - isVerificationPendingFromUnverified: bool - isVerified: bool - logoBackgroundColor: str - logoUrl: KXYTK_URI_Field - name: str - normalizedShortDescription: str - pricingUrl: URI - primaryCategory: MarketplaceCategory - privacyPolicyUrl: URI - resourcePath: URI - screenshotUrls: list[str] - secondaryCategory: MarketplaceCategory - shortDescription: str - slug: str - statusUrl: URI - supportEmail: str - supportUrl: URI - termsOfServiceUrl: URI - url: URI - viewerCanAddPlans: bool - viewerCanApprove: bool - viewerCanDelist: bool - viewerCanEdit: bool - viewerCanEditCategories: bool - viewerCanEditPlans: bool - viewerCanRedraft: bool - viewerCanReject: bool - viewerCanRequestApproval: bool - viewerHasPurchased: bool - viewerHasPurchasedForAllOrganizations: bool - viewerIsListingAdmin: bool - -class SearchResultItem(GQLObject): - pass - -class list_TextMatchHighlight(list, TextMatchHighlight): pass - -class TextMatch(GQLObject): - fragment: str - highlights: list_TextMatchHighlight[TextMatchHighlight] - property: str - -class list_TextMatch(list, TextMatch): pass - -class SearchResultItemEdge(GQLObject): - cursor: str - node: SearchResultItem - textMatches: list_TextMatch[TextMatch] - -class list_SearchResultItemEdge(list, SearchResultItemEdge): pass - -class list_SearchResultItem(list, SearchResultItem): pass - -class SearchResultItemConnection(GQLObject): - codeCount: int - discussionCount: int - edges: list_SearchResultItemEdge[SearchResultItemEdge] - issueCount: int - nodes: list_SearchResultItem[SearchResultItem] - pageInfo: PageInfo - repositoryCount: int - userCount: int - wikiCount: int - -class RevertPullRequestPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - revertPullRequest: PullRequest - -class RequestReviewsPayload(GQLObject): - actor: Actor - clientMutationId: str - pullRequest: PullRequest - requestedReviewersEdge: UserEdge - -class RemoveReactionPayload(GQLObject): - clientMutationId: str - reaction: Reaction - reactionGroups: list_ReactionGroup[ReactionGroup] - subject: Reactable - -class RemoveEnterpriseOrganizationPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - organization: Organization - viewer: User - -class RemoveEnterpriseMemberPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - user: User - viewer: User - -class RemoveEnterpriseAdminPayload(GQLObject): - admin: User - clientMutationId: str - enterprise: Enterprise - message: str - viewer: User - -class ZTZAG_PullRequestReviewCommentConnection_Field(PullRequestReviewCommentConnection): - class PullRequestReviewCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - skip: int - - _args: PullRequestReviewCommentConnectionArgs - - - -class PullRequestThread(GQLObject): - comments: ZTZAG_PullRequestReviewCommentConnection_Field - diffSide: DiffSide - id: ID - isCollapsed: bool - isOutdated: bool - isResolved: bool - line: int - path: str - pullRequest: PullRequest - repository: Repository - resolvedBy: User - startDiffSide: DiffSide - startLine: int - subjectType: PullRequestReviewThreadSubjectType - viewerCanReply: bool - viewerCanResolve: bool - viewerCanUnresolve: bool - -class ProjectV2ItemFieldValueCommon(GQLObject): - createdAt: DateTime - creator: Actor - databaseId: int - field: ProjectV2FieldConfiguration - id: ID - item: ProjectV2Item - updatedAt: DateTime - -class ProjectV2Actor(GQLObject): - pass - -class ProjectV2ActorEdge(GQLObject): - cursor: str - node: ProjectV2Actor - -class list_ProjectV2ActorEdge(list, ProjectV2ActorEdge): pass - -class list_ProjectV2Actor(list, ProjectV2Actor): pass - -class ProjectV2ActorConnection(GQLObject): - edges: list_ProjectV2ActorEdge[ProjectV2ActorEdge] - nodes: list_ProjectV2Actor[ProjectV2Actor] - pageInfo: PageInfo - totalCount: int - -class HTWOY_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int - - _args: PinnableItemConnectionArgs - - - -class OPFYQ_PinnableItemConnection_Field(PinnableItemConnection): - class PinnableItemConnectionArgs(GQLArgsSet, GQLObject): - types: list[NonNull_PinnableItemType] - after: str - before: str - first: int - last: int - - _args: PinnableItemConnectionArgs - - - -class ProfileOwner(GQLObject): - anyPinnableItems: KISEW_anyPinnableItems_Field - email: str - id: ID - itemShowcase: ProfileItemShowcase - location: str - login: str - name: str - pinnableItems: HTWOY_PinnableItemConnection_Field - pinnedItems: OPFYQ_PinnableItemConnection_Field - pinnedItemsRemaining: int - viewerCanChangePinnedItems: bool - websiteUrl: URI - -class OrganizationOrUser(GQLObject): - pass - -class MergePullRequestPayload(GQLObject): - actor: Actor - clientMutationId: str - pullRequest: PullRequest - -class MarketplaceListingEdge(GQLObject): - cursor: str - node: MarketplaceListing - -class list_MarketplaceListingEdge(list, MarketplaceListingEdge): pass - -class list_MarketplaceListing(list, MarketplaceListing): pass - -class MarketplaceListingConnection(GQLObject): - edges: list_MarketplaceListingEdge[MarketplaceListingEdge] - nodes: list_MarketplaceListing[MarketplaceListing] - pageInfo: PageInfo - totalCount: int - -class LockLockablePayload(GQLObject): - actor: Actor - clientMutationId: str - lockedRecord: Lockable - -class LinkRepositoryToProjectPayload(GQLObject): - clientMutationId: str - project: Project - repository: Repository - -class list_FileDeletion(list, FileDeletion): pass - -class list_FileAddition(list, FileAddition): pass - -class FileChanges(GQLObject): - deletions: list_FileDeletion[FileDeletion] - additions: list_FileAddition[FileAddition] - -class EnablePullRequestAutoMergePayload(GQLObject): - actor: Actor - clientMutationId: str - pullRequest: PullRequest - -class DisablePullRequestAutoMergePayload(GQLObject): - actor: Actor - clientMutationId: str - pullRequest: PullRequest - -class DeletePullRequestReviewCommentPayload(GQLObject): - clientMutationId: str - pullRequestReview: PullRequestReview - pullRequestReviewComment: PullRequestReviewComment - -class CreateRepositoryRulesetInput(GQLObject): - sourceId: ID - name: str - target: RepositoryRulesetTarget - rules: list_RepositoryRuleInput[RepositoryRuleInput] - conditions: RepositoryRuleConditionsInput - enforcement: RuleEnforcement - bypassActors: list_RepositoryRulesetBypassActorInput[RepositoryRulesetBypassActorInput] - clientMutationId: str - -class CreateEnterpriseOrganizationPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - organization: Organization - -class CreateCommitOnBranchPayload(GQLObject): - clientMutationId: str - commit: Commit - ref: Ref - -class CreateCommitOnBranchInput(GQLObject): - branch: CommittableBranch - fileChanges: FileChanges - message: CommitMessage - expectedHeadOid: GitObjectID - clientMutationId: str - -class CreateCheckRunInput(GQLObject): - repositoryId: ID - name: str - headSha: GitObjectID - detailsUrl: URI - externalId: str - status: RequestableCheckStatusState - startedAt: DateTime - conclusion: CheckConclusionState - completedAt: DateTime - output: CheckRunOutput - actions: list_CheckRunAction[CheckRunAction] - clientMutationId: str - -class Claimable(GQLObject): - pass - -class CreateAttributionInvitationPayload(GQLObject): - clientMutationId: str - owner: Organization - source: Claimable - target: Claimable - -class WYTZJ_UserContentEditConnection_Field(UserContentEditConnection): - class UserContentEditConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: UserContentEditConnectionArgs - - - -class Comment(GQLObject): - author: Actor - authorAssociation: CommentAuthorAssociation - body: str - bodyHTML: HTML - bodyText: str - createdAt: DateTime - createdViaEmail: bool - editor: Actor - id: ID - includesCreatedEdit: bool - lastEditedAt: DateTime - publishedAt: DateTime - updatedAt: DateTime - userContentEdits: WYTZJ_UserContentEditConnection_Field - viewerDidAuthor: bool - -class AuditEntry(GQLObject): - action: str - actor: AuditEntryActor - actorIp: str - actorLocation: ActorLocation - actorLogin: str - actorResourcePath: URI - actorUrl: URI - createdAt: PreciseDateTime - operationType: OperationType - user: User - userLogin: str - userResourcePath: URI - userUrl: URI - -class AddReactionPayload(GQLObject): - clientMutationId: str - reaction: Reaction - reactionGroups: list_ReactionGroup[ReactionGroup] - subject: Reactable - -class AddPullRequestReviewPayload(GQLObject): - clientMutationId: str - pullRequestReview: PullRequestReview - reviewEdge: PullRequestReviewEdge - -class list_DraftPullRequestReviewComment(list, DraftPullRequestReviewComment): pass - -class list_DraftPullRequestReviewThread(list, DraftPullRequestReviewThread): pass - -class AddPullRequestReviewInput(GQLObject): - pullRequestId: ID - commitOID: GitObjectID - body: str - event: PullRequestReviewEvent - comments: list_DraftPullRequestReviewComment[DraftPullRequestReviewComment] - threads: list_DraftPullRequestReviewThread[DraftPullRequestReviewThread] - clientMutationId: str - -class AddPullRequestReviewCommentPayload(GQLObject): - clientMutationId: str - comment: PullRequestReviewComment - commentEdge: PullRequestReviewCommentEdge - -class AddProjectColumnPayload(GQLObject): - clientMutationId: str - columnEdge: ProjectColumnEdge - project: Project - -class AddProjectCardPayload(GQLObject): - cardEdge: ProjectCardEdge - clientMutationId: str - projectColumn: ProjectColumn - -class AddCommentPayload(GQLObject): - clientMutationId: str - commentEdge: IssueCommentEdge - subject: Node - timelineEdge: IssueTimelineItemEdge - -class AcceptEnterpriseAdministratorInvitationPayload(GQLObject): - clientMutationId: str - invitation: EnterpriseAdministratorInvitation - message: str - -class AcceptTopicSuggestionPayload(GQLObject): - clientMutationId: str - topic: Topic - -class AddAssigneesToAssignablePayload(GQLObject): - assignable: Assignable - clientMutationId: str - -class AddDiscussionCommentPayload(GQLObject): - clientMutationId: str - comment: DiscussionComment - -class AddDiscussionPollVotePayload(GQLObject): - clientMutationId: str - pollOption: DiscussionPollOption - -class AddEnterpriseOrganizationMemberPayload(GQLObject): - clientMutationId: str - users: list_User[User] - -class AddLabelsToLabelablePayload(GQLObject): - clientMutationId: str - labelable: Labelable - -class AddProjectV2DraftIssuePayload(GQLObject): - clientMutationId: str - projectItem: ProjectV2Item - -class AddProjectV2ItemByIdPayload(GQLObject): - clientMutationId: str - item: ProjectV2Item - -class AddPullRequestReviewThreadPayload(GQLObject): - clientMutationId: str - thread: PullRequestReviewThread - -class AddPullRequestReviewThreadReplyPayload(GQLObject): - clientMutationId: str - comment: PullRequestReviewComment - -class HVHQL_StargazerConnection_Field(StargazerConnection): - class StargazerConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: StarOrder - - _args: StargazerConnectionArgs - - - -class Starrable(GQLObject): - id: ID - stargazerCount: int - stargazers: HVHQL_StargazerConnection_Field - viewerHasStarred: bool - -class AddStarPayload(GQLObject): - clientMutationId: str - starrable: Starrable - -class AddUpvotePayload(GQLObject): - clientMutationId: str - subject: Votable - -class AddVerifiableDomainPayload(GQLObject): - clientMutationId: str - domain: VerifiableDomain - -class ApproveDeploymentsPayload(GQLObject): - clientMutationId: str - deployments: list_Deployment[Deployment] - -class ApproveVerifiableDomainPayload(GQLObject): - clientMutationId: str - domain: VerifiableDomain - -class ArchiveProjectV2ItemPayload(GQLObject): - clientMutationId: str - item: ProjectV2Item - -class ArchiveRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class Blob(GQLObject): - abbreviatedOid: str - byteSize: int - commitResourcePath: URI - commitUrl: URI - id: ID - isBinary: bool - isTruncated: bool - oid: GitObjectID - repository: Repository - text: str - -class CancelEnterpriseAdminInvitationPayload(GQLObject): - clientMutationId: str - invitation: EnterpriseAdministratorInvitation - message: str - -class CancelSponsorshipPayload(GQLObject): - clientMutationId: str - sponsorsTier: SponsorsTier - -class ChangeUserStatusPayload(GQLObject): - clientMutationId: str - status: UserStatus - -class ClearLabelsFromLabelablePayload(GQLObject): - clientMutationId: str - labelable: Labelable - -class ClearProjectV2ItemFieldValuePayload(GQLObject): - clientMutationId: str - projectV2Item: ProjectV2Item - -class CloneProjectPayload(GQLObject): - clientMutationId: str - jobStatusId: str - project: Project - -class CloneTemplateRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class CloseDiscussionPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class CloseIssuePayload(GQLObject): - clientMutationId: str - issue: Issue - -class ClosePullRequestPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class Contribution(GQLObject): - isRestricted: bool - occurredAt: DateTime - resourcePath: URI - url: URI - user: User - -class ConvertProjectCardNoteToIssuePayload(GQLObject): - clientMutationId: str - projectCard: ProjectCard - -class ConvertPullRequestToDraftPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class CopyProjectV2Payload(GQLObject): - clientMutationId: str - projectV2: ProjectV2 - -class list_RequiredStatusCheckInput(list, RequiredStatusCheckInput): pass - -class CreateBranchProtectionRuleInput(GQLObject): - repositoryId: ID - pattern: str - requiresApprovingReviews: bool - requiredApprovingReviewCount: int - requiresCommitSignatures: bool - requiresLinearHistory: bool - blocksCreations: bool - allowsForcePushes: bool - allowsDeletions: bool - isAdminEnforced: bool - requiresStatusChecks: bool - requiresStrictStatusChecks: bool - requiresCodeOwnerReviews: bool - dismissesStaleReviews: bool - restrictsReviewDismissals: bool - reviewDismissalActorIds: list[ID] - bypassPullRequestActorIds: list[ID] - bypassForcePushActorIds: list[ID] - restrictsPushes: bool - pushActorIds: list[ID] - requiredStatusCheckContexts: list[str] - requiredStatusChecks: list_RequiredStatusCheckInput[RequiredStatusCheckInput] - requiresDeployments: bool - requiredDeploymentEnvironments: list[str] - requiresConversationResolution: bool - requireLastPushApproval: bool - lockBranch: bool - lockAllowsFetchAndMerge: bool - clientMutationId: str - -class CreateBranchProtectionRulePayload(GQLObject): - branchProtectionRule: BranchProtectionRule - clientMutationId: str - -class CreateCheckRunPayload(GQLObject): - checkRun: CheckRun - clientMutationId: str - -class CreateCheckSuitePayload(GQLObject): - checkSuite: CheckSuite - clientMutationId: str - -class CreateDiscussionPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class CreateEnvironmentPayload(GQLObject): - clientMutationId: str - environment: Environment - -class CreateIpAllowListEntryPayload(GQLObject): - clientMutationId: str - ipAllowListEntry: IpAllowListEntry - -class CreateIssuePayload(GQLObject): - clientMutationId: str - issue: Issue - -class CreateLinkedBranchPayload(GQLObject): - clientMutationId: str - linkedBranch: LinkedBranch - -class CreateMigrationSourcePayload(GQLObject): - clientMutationId: str - migrationSource: MigrationSource - -class CreateProjectPayload(GQLObject): - clientMutationId: str - project: Project - -class list_ProjectV2SingleSelectFieldOptionInput(list, ProjectV2SingleSelectFieldOptionInput): pass - -class CreateProjectV2FieldInput(GQLObject): - projectId: ID - dataType: ProjectV2CustomFieldType - name: str - singleSelectOptions: list_ProjectV2SingleSelectFieldOptionInput[ProjectV2SingleSelectFieldOptionInput] - clientMutationId: str - -class CreateProjectV2FieldPayload(GQLObject): - clientMutationId: str - projectV2Field: ProjectV2FieldConfiguration - -class CreateProjectV2Payload(GQLObject): - clientMutationId: str - projectV2: ProjectV2 - -class CreatePullRequestPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class CreateRefPayload(GQLObject): - clientMutationId: str - ref: Ref - -class CreateRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class CreateRepositoryRulesetPayload(GQLObject): - clientMutationId: str - ruleset: RepositoryRuleset - -class CreateSponsorsListingPayload(GQLObject): - clientMutationId: str - sponsorsListing: SponsorsListing - -class CreateSponsorsTierPayload(GQLObject): - clientMutationId: str - sponsorsTier: SponsorsTier - -class CreateSponsorshipPayload(GQLObject): - clientMutationId: str - sponsorship: Sponsorship - -class list_BulkSponsorship(list, BulkSponsorship): pass - -class CreateSponsorshipsInput(GQLObject): - sponsorLogin: str - sponsorships: list_BulkSponsorship[BulkSponsorship] - receiveEmails: bool - privacyLevel: SponsorshipPrivacy - clientMutationId: str - -class list_Sponsorable(list, Sponsorable): pass - -class CreateSponsorshipsPayload(GQLObject): - clientMutationId: str - sponsorables: list_Sponsorable[Sponsorable] - -class CreateTeamDiscussionCommentPayload(GQLObject): - clientMutationId: str - -class CreateTeamDiscussionPayload(GQLObject): - clientMutationId: str - -class DeclineTopicSuggestionPayload(GQLObject): - clientMutationId: str - topic: Topic - -class DeleteDiscussionCommentPayload(GQLObject): - clientMutationId: str - comment: DiscussionComment - -class DeleteDiscussionPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class DeleteIpAllowListEntryPayload(GQLObject): - clientMutationId: str - ipAllowListEntry: IpAllowListEntry - -class DeleteIssuePayload(GQLObject): - clientMutationId: str - repository: Repository - -class DeleteLinkedBranchPayload(GQLObject): - clientMutationId: str - issue: Issue - -class DeleteProjectCardPayload(GQLObject): - clientMutationId: str - column: ProjectColumn - deletedCardId: ID - -class DeleteProjectColumnPayload(GQLObject): - clientMutationId: str - deletedColumnId: ID - project: Project - -class DeleteProjectPayload(GQLObject): - clientMutationId: str - owner: ProjectOwner - -class DeleteProjectV2FieldPayload(GQLObject): - clientMutationId: str - projectV2Field: ProjectV2FieldConfiguration - -class DeleteProjectV2Payload(GQLObject): - clientMutationId: str - projectV2: ProjectV2 - -class DeleteProjectV2WorkflowPayload(GQLObject): - clientMutationId: str - deletedWorkflowId: ID - projectV2: ProjectV2 - -class DeletePullRequestReviewPayload(GQLObject): - clientMutationId: str - pullRequestReview: PullRequestReview - -class DeleteVerifiableDomainPayload(GQLObject): - clientMutationId: str - owner: VerifiableDomainOwner - -class DequeuePullRequestPayload(GQLObject): - clientMutationId: str - mergeQueueEntry: MergeQueueEntry - -class DismissPullRequestReviewPayload(GQLObject): - clientMutationId: str - pullRequestReview: PullRequestReview - -class DismissRepositoryVulnerabilityAlertPayload(GQLObject): - clientMutationId: str - repositoryVulnerabilityAlert: RepositoryVulnerabilityAlert - -class EnqueuePullRequestPayload(GQLObject): - clientMutationId: str - mergeQueueEntry: MergeQueueEntry - -class FollowOrganizationPayload(GQLObject): - clientMutationId: str - organization: Organization - -class FollowUserPayload(GQLObject): - clientMutationId: str - user: User - -class GpgSignature(GQLObject): - email: str - isValid: bool - keyId: str - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool - -class LLPSS_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: OrganizationConnectionArgs - - - -class GrantEnterpriseOrganizationsMigratorRolePayload(GQLObject): - clientMutationId: str - organizations: LLPSS_OrganizationConnection_Field - -class InviteEnterpriseAdminPayload(GQLObject): - clientMutationId: str - invitation: EnterpriseAdministratorInvitation - -class LinkProjectV2ToRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class LinkProjectV2ToTeamPayload(GQLObject): - clientMutationId: str - team: Team - -class MarkDiscussionCommentAsAnswerPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class MarkFileAsViewedPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class MarkProjectV2AsTemplatePayload(GQLObject): - clientMutationId: str - projectV2: ProjectV2 - -class MarkPullRequestReadyForReviewPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class LTZQG_UserStatusConnection_Field(UserStatusConnection): - class UserStatusConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: UserStatusOrder - - _args: UserStatusConnectionArgs - - - -class MemberStatusable(GQLObject): - memberStatuses: LTZQG_UserStatusConnection_Field - -class MergeBranchPayload(GQLObject): - clientMutationId: str - mergeCommit: Commit - -class Migration(GQLObject): - continueOnError: bool - createdAt: DateTime - databaseId: str - failureReason: str - id: ID - migrationLogUrl: URI - migrationSource: MigrationSource - repositoryName: str - sourceUrl: URI - state: MigrationState - warningsCount: int - -class MinimizeCommentPayload(GQLObject): - clientMutationId: str - minimizedComment: Minimizable - -class MoveProjectCardPayload(GQLObject): - cardEdge: ProjectCardEdge - clientMutationId: str - -class MoveProjectColumnPayload(GQLObject): - clientMutationId: str - columnEdge: ProjectColumnEdge - -class OrganizationAuditEntryData(GQLObject): - organization: Organization - organizationName: str - organizationResourcePath: URI - organizationUrl: URI - -class ZVBYL_TeamConnection_Field(TeamConnection): - class TeamConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: TeamConnectionArgs - - - -class OrganizationTeamsHovercardContext(GQLObject): - message: str - octicon: str - relevantTeams: ZVBYL_TeamConnection_Field - teamsResourcePath: URI - teamsUrl: URI - totalTeamCount: int - -class NWHEU_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - orderBy: OrganizationOrder - after: str - before: str - first: int - last: int - - _args: OrganizationConnectionArgs - - - -class OrganizationsHovercardContext(GQLObject): - message: str - octicon: str - relevantOrganizations: NWHEU_OrganizationConnection_Field - totalOrganizationCount: int - -class DMVBI_PackageConnection_Field(PackageConnection): - class PackageConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - names: list[str] - repositoryId: ID - packageType: PackageType - orderBy: PackageOrder - - _args: PackageConnectionArgs - - - -class PackageOwner(GQLObject): - id: ID - packages: DMVBI_PackageConnection_Field - -class PackageTag(GQLObject): - id: ID - name: str - version: PackageVersion - -class PinIssuePayload(GQLObject): - clientMutationId: str - issue: Issue - -class ProjectV2FieldCommon(GQLObject): - createdAt: DateTime - dataType: ProjectV2FieldType - databaseId: int - id: ID - name: str - project: ProjectV2 - updatedAt: DateTime - -class JVXWO_ProjectV2Connection_Field(ProjectV2Connection): - class ProjectV2ConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ProjectV2ConnectionArgs - - - -class ProjectV2Recent(GQLObject): - recentProjects: JVXWO_ProjectV2Connection_Field - -class PublishSponsorsTierPayload(GQLObject): - clientMutationId: str - sponsorsTier: SponsorsTier - -class RegenerateEnterpriseIdentityProviderRecoveryCodesPayload(GQLObject): - clientMutationId: str - identityProvider: EnterpriseIdentityProvider - -class RejectDeploymentsPayload(GQLObject): - clientMutationId: str - deployments: list_Deployment[Deployment] - -class RemoveAssigneesFromAssignablePayload(GQLObject): - assignable: Assignable - clientMutationId: str - -class RemoveEnterpriseIdentityProviderPayload(GQLObject): - clientMutationId: str - identityProvider: EnterpriseIdentityProvider - -class RemoveLabelsFromLabelablePayload(GQLObject): - clientMutationId: str - labelable: Labelable - -class RemoveOutsideCollaboratorPayload(GQLObject): - clientMutationId: str - removedUser: User - -class RemoveStarPayload(GQLObject): - clientMutationId: str - starrable: Starrable - -class RemoveUpvotePayload(GQLObject): - clientMutationId: str - subject: Votable - -class ReopenDiscussionPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class ReopenIssuePayload(GQLObject): - clientMutationId: str - issue: Issue - -class ReopenPullRequestPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class RepositoryAuditEntryData(GQLObject): - repository: Repository - repositoryName: str - repositoryResourcePath: URI - repositoryUrl: URI - -class LHOMQ_DiscussionConnection_Field(DiscussionConnection): - class DiscussionConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: DiscussionOrder - repositoryId: ID - answered: bool - states: list[NonNull_DiscussionState] - - _args: DiscussionConnectionArgs - - - -class RepositoryDiscussionAuthor(GQLObject): - repositoryDiscussions: LHOMQ_DiscussionConnection_Field - -class IHDCH_DiscussionCommentConnection_Field(DiscussionCommentConnection): - class DiscussionCommentConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - repositoryId: ID - onlyAnswers: bool - - _args: DiscussionCommentConnectionArgs - - - -class RepositoryDiscussionCommentAuthor(GQLObject): - repositoryDiscussionComments: IHDCH_DiscussionCommentConnection_Field - -class RepositoryNode(GQLObject): - repository: Repository - -class RerequestCheckSuitePayload(GQLObject): - checkSuite: CheckSuite - clientMutationId: str - -class ResolveReviewThreadPayload(GQLObject): - clientMutationId: str - thread: PullRequestReviewThread - -class RetireSponsorsTierPayload(GQLObject): - clientMutationId: str - sponsorsTier: SponsorsTier - -class HDSHA_OrganizationConnection_Field(OrganizationConnection): - class OrganizationConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: OrganizationConnectionArgs - - - -class RevokeEnterpriseOrganizationsMigratorRolePayload(GQLObject): - clientMutationId: str - organizations: HDSHA_OrganizationConnection_Field - -class SetEnterpriseIdentityProviderPayload(GQLObject): - clientMutationId: str - identityProvider: EnterpriseIdentityProvider - -class SetOrganizationInteractionLimitPayload(GQLObject): - clientMutationId: str - organization: Organization - -class SetRepositoryInteractionLimitPayload(GQLObject): - clientMutationId: str - repository: Repository - -class SetUserInteractionLimitPayload(GQLObject): - clientMutationId: str - user: User - -class SmimeSignature(GQLObject): - email: str - isValid: bool - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool - -class SshSignature(GQLObject): - email: str - isValid: bool - keyFingerprint: str - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool - -class StartOrganizationMigrationPayload(GQLObject): - clientMutationId: str - orgMigration: OrganizationMigration - -class StartRepositoryMigrationPayload(GQLObject): - clientMutationId: str - repositoryMigration: RepositoryMigration - -class SubmitPullRequestReviewPayload(GQLObject): - clientMutationId: str - pullRequestReview: PullRequestReview - -class TeamAuditEntryData(GQLObject): - team: Team - teamName: str - teamResourcePath: URI - teamUrl: URI - -class TopicAuditEntryData(GQLObject): - topic: Topic - topicName: str - -class TransferEnterpriseOrganizationPayload(GQLObject): - clientMutationId: str - organization: Organization - -class TransferIssuePayload(GQLObject): - clientMutationId: str - issue: Issue - -class UnarchiveProjectV2ItemPayload(GQLObject): - clientMutationId: str - item: ProjectV2Item - -class UnarchiveRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class UnfollowOrganizationPayload(GQLObject): - clientMutationId: str - organization: Organization - -class UnfollowUserPayload(GQLObject): - clientMutationId: str - user: User - -class UnknownSignature(GQLObject): - email: str - isValid: bool - payload: str - signature: str - signer: User - state: GitSignatureState - wasSignedByGitHub: bool - -class UnlinkProjectV2FromRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class UnlinkProjectV2FromTeamPayload(GQLObject): - clientMutationId: str - team: Team - -class UnmarkDiscussionCommentAsAnswerPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class UnmarkFileAsViewedPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class UnmarkIssueAsDuplicatePayload(GQLObject): - clientMutationId: str - duplicate: IssueOrPullRequest - -class UnmarkProjectV2AsTemplatePayload(GQLObject): - clientMutationId: str - projectV2: ProjectV2 - -class UnminimizeCommentPayload(GQLObject): - clientMutationId: str - unminimizedComment: Minimizable - -class UnpinIssuePayload(GQLObject): - clientMutationId: str - issue: Issue - -class UnresolveReviewThreadPayload(GQLObject): - clientMutationId: str - thread: PullRequestReviewThread - -class UpdateBranchProtectionRuleInput(GQLObject): - branchProtectionRuleId: ID - pattern: str - requiresApprovingReviews: bool - requiredApprovingReviewCount: int - requiresCommitSignatures: bool - requiresLinearHistory: bool - blocksCreations: bool - allowsForcePushes: bool - allowsDeletions: bool - isAdminEnforced: bool - requiresStatusChecks: bool - requiresStrictStatusChecks: bool - requiresCodeOwnerReviews: bool - dismissesStaleReviews: bool - restrictsReviewDismissals: bool - reviewDismissalActorIds: list[ID] - bypassPullRequestActorIds: list[ID] - bypassForcePushActorIds: list[ID] - restrictsPushes: bool - pushActorIds: list[ID] - requiredStatusCheckContexts: list[str] - requiredStatusChecks: list_RequiredStatusCheckInput[RequiredStatusCheckInput] - requiresDeployments: bool - requiredDeploymentEnvironments: list[str] - requiresConversationResolution: bool - requireLastPushApproval: bool - lockBranch: bool - lockAllowsFetchAndMerge: bool - clientMutationId: str - -class UpdateBranchProtectionRulePayload(GQLObject): - branchProtectionRule: BranchProtectionRule - clientMutationId: str - -class UpdateCheckRunPayload(GQLObject): - checkRun: CheckRun - clientMutationId: str - -class list_CheckSuiteAutoTriggerPreference(list, CheckSuiteAutoTriggerPreference): pass - -class UpdateCheckSuitePreferencesInput(GQLObject): - repositoryId: ID - autoTriggerPreferences: list_CheckSuiteAutoTriggerPreference[CheckSuiteAutoTriggerPreference] - clientMutationId: str - -class UpdateCheckSuitePreferencesPayload(GQLObject): - clientMutationId: str - repository: Repository - -class UpdateDiscussionCommentPayload(GQLObject): - clientMutationId: str - comment: DiscussionComment - -class UpdateDiscussionPayload(GQLObject): - clientMutationId: str - discussion: Discussion - -class UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseDefaultRepositoryPermissionSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanDeleteIssuesSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanMakePurchasesSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseOrganizationProjectsSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseProfilePayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - -class UpdateEnterpriseRepositoryProjectsSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseTeamDiscussionsSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload(GQLObject): - clientMutationId: str - enterprise: Enterprise - message: str - -class UpdateEnvironmentPayload(GQLObject): - clientMutationId: str - environment: Environment - -class UpdateIpAllowListEnabledSettingPayload(GQLObject): - clientMutationId: str - owner: IpAllowListOwner - -class UpdateIpAllowListEntryPayload(GQLObject): - clientMutationId: str - ipAllowListEntry: IpAllowListEntry - -class UpdateIpAllowListForInstalledAppsEnabledSettingPayload(GQLObject): - clientMutationId: str - owner: IpAllowListOwner - -class UpdateIssueCommentPayload(GQLObject): - clientMutationId: str - issueComment: IssueComment - -class UpdateNotificationRestrictionSettingPayload(GQLObject): - clientMutationId: str - owner: VerifiableDomainOwner - -class UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload(GQLObject): - clientMutationId: str - message: str - organization: Organization - -class UpdateOrganizationWebCommitSignoffSettingPayload(GQLObject): - clientMutationId: str - message: str - organization: Organization - -class UpdateProjectCardPayload(GQLObject): - clientMutationId: str - projectCard: ProjectCard - -class UpdateProjectColumnPayload(GQLObject): - clientMutationId: str - projectColumn: ProjectColumn - -class UpdateProjectPayload(GQLObject): - clientMutationId: str - project: Project - -class list_ProjectV2Collaborator(list, ProjectV2Collaborator): pass - -class UpdateProjectV2CollaboratorsInput(GQLObject): - projectId: ID - collaborators: list_ProjectV2Collaborator[ProjectV2Collaborator] - clientMutationId: str - -class KUAXH_ProjectV2ActorConnection_Field(ProjectV2ActorConnection): - class ProjectV2ActorConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ProjectV2ActorConnectionArgs - - - -class UpdateProjectV2CollaboratorsPayload(GQLObject): - clientMutationId: str - collaborators: KUAXH_ProjectV2ActorConnection_Field - -class UpdateProjectV2DraftIssuePayload(GQLObject): - clientMutationId: str - draftIssue: DraftIssue - -class UpdateProjectV2ItemFieldValueInput(GQLObject): - projectId: ID - itemId: ID - fieldId: ID - value: ProjectV2FieldValue - clientMutationId: str - -class UpdateProjectV2ItemFieldValuePayload(GQLObject): - clientMutationId: str - projectV2Item: ProjectV2Item - -class NBRFG_ProjectV2ItemConnection_Field(ProjectV2ItemConnection): - class ProjectV2ItemConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - - _args: ProjectV2ItemConnectionArgs - - - -class UpdateProjectV2ItemPositionPayload(GQLObject): - clientMutationId: str - items: NBRFG_ProjectV2ItemConnection_Field - -class UpdateProjectV2Payload(GQLObject): - clientMutationId: str - projectV2: ProjectV2 - -class UpdatePullRequestBranchPayload(GQLObject): - clientMutationId: str - pullRequest: PullRequest - -class UpdatePullRequestReviewCommentPayload(GQLObject): - clientMutationId: str - pullRequestReviewComment: PullRequestReviewComment - -class UpdatePullRequestReviewPayload(GQLObject): - clientMutationId: str - pullRequestReview: PullRequestReview - -class UpdateRefPayload(GQLObject): - clientMutationId: str - ref: Ref - -class UpdateRepositoryPayload(GQLObject): - clientMutationId: str - repository: Repository - -class UpdateRepositoryRulesetPayload(GQLObject): - clientMutationId: str - ruleset: RepositoryRuleset - -class UpdateRepositoryWebCommitSignoffSettingPayload(GQLObject): - clientMutationId: str - message: str - repository: Repository - -class UpdateSponsorshipPreferencesPayload(GQLObject): - clientMutationId: str - sponsorship: Sponsorship - -class UpdateSubscriptionPayload(GQLObject): - clientMutationId: str - subscribable: Subscribable - -class UpdateTeamDiscussionCommentPayload(GQLObject): - clientMutationId: str - teamDiscussionComment: TeamDiscussionComment - -class UpdateTeamDiscussionPayload(GQLObject): - clientMutationId: str - teamDiscussion: TeamDiscussion - -class UpdateTopicsPayload(GQLObject): - clientMutationId: str - invalidTopicNames: list[str] - repository: Repository - -class VerifyVerifiableDomainPayload(GQLObject): - clientMutationId: str - domain: VerifiableDomain - -class ViewerHovercardContext(GQLObject): - message: str - octicon: str - viewer: User +@dataclass(kw_only=True) +class AcceptEnterpriseAdministratorInvitationPayload: + client_mutation_id: Optional[str] = None + invitation: Optional[EnterpriseAdministratorInvitation] = None + message: Optional[str] = None diff --git a/tests/output/github_nodesc/gql_unions.py b/tests/output/github_nodesc/gql_unions.py new file mode 100644 index 0000000..11621ba --- /dev/null +++ b/tests/output/github_nodesc/gql_unions.py @@ -0,0 +1,553 @@ +from typing import Union + +from .app import App +from .commit import Commit +from .discussion import Discussion +from .enterprise import Enterprise +from .gist import Gist +from .gql_simple_types import ( + BranchNamePatternParameters, + CommitterEmailPatternParameters, + PullRequestParameters, + UpdateParameters, +) +from .gql_types import ( + AddedToMergeQueueEvent, + AddedToProjectEvent, + AssignedEvent, + AutomaticBaseChangeFailedEvent, + AutomaticBaseChangeSucceededEvent, + AutoMergeDisabledEvent, + AutoMergeEnabledEvent, + AutoRebaseEnabledEvent, + AutoSquashEnabledEvent, + BaseRefChangedEvent, + BaseRefDeletedEvent, + BaseRefForcePushedEvent, + Bot, + CheckRun, + ClosedEvent, + CommentDeletedEvent, + CommitAuthorEmailPatternParameters, + CommitCommentThread, + CommitMessagePatternParameters, + ConnectedEvent, + ConvertedNoteToIssueEvent, + ConvertedToDiscussionEvent, + ConvertToDraftEvent, + CreatedIssueContribution, + CreatedPullRequestContribution, + CreatedRepositoryContribution, + CrossReferencedEvent, + DemilestonedEvent, + DeployedEvent, + DeploymentEnvironmentChangedEvent, + DisconnectedEvent, + DraftIssue, + EnterpriseUserAccount, + HeadRefDeletedEvent, + HeadRefForcePushedEvent, + HeadRefRestoredEvent, + LabeledEvent, + LockedEvent, + Mannequin, + MarkedAsDuplicateEvent, + MarketplaceListing, + MembersCanDeleteReposClearAuditEntry, + MembersCanDeleteReposDisableAuditEntry, + MembersCanDeleteReposEnableAuditEntry, + MentionedEvent, + MergedEvent, + MilestonedEvent, + MovedColumnsInProjectEvent, + OauthApplicationCreateAuditEntry, + OrgAddBillingManagerAuditEntry, + OrgAddMemberAuditEntry, + OrgBlockUserAuditEntry, + OrgConfigDisableCollaboratorsOnlyAuditEntry, + OrgConfigEnableCollaboratorsOnlyAuditEntry, + OrgCreateAuditEntry, + OrgDisableOauthAppRestrictionsAuditEntry, + OrgDisableSamlAuditEntry, + OrgDisableTwoFactorRequirementAuditEntry, + OrgEnableOauthAppRestrictionsAuditEntry, + OrgEnableSamlAuditEntry, + OrgEnableTwoFactorRequirementAuditEntry, + OrgInviteMemberAuditEntry, + OrgInviteToBusinessAuditEntry, + OrgOauthAppAccessApprovedAuditEntry, + OrgOauthAppAccessBlockedAuditEntry, + OrgOauthAppAccessDeniedAuditEntry, + OrgOauthAppAccessRequestedAuditEntry, + OrgOauthAppAccessUnblockedAuditEntry, + OrgRemoveBillingManagerAuditEntry, + OrgRemoveMemberAuditEntry, + OrgRemoveOutsideCollaboratorAuditEntry, + OrgRestoreMemberAuditEntry, + OrgRestoreMemberMembershipOrganizationAuditEntryData, + OrgRestoreMemberMembershipRepositoryAuditEntryData, + OrgRestoreMemberMembershipTeamAuditEntryData, + OrgUnblockUserAuditEntry, + OrgUpdateDefaultRepositoryPermissionAuditEntry, + OrgUpdateMemberAuditEntry, + OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + PinnedEvent, + PrivateRepositoryForkingDisableAuditEntry, + PrivateRepositoryForkingEnableAuditEntry, + ProjectV2Field, + ProjectV2ItemFieldDateValue, + ProjectV2ItemFieldIterationValue, + ProjectV2ItemFieldLabelValue, + ProjectV2ItemFieldMilestoneValue, + ProjectV2ItemFieldNumberValue, + ProjectV2ItemFieldPullRequestValue, + ProjectV2ItemFieldRepositoryValue, + ProjectV2ItemFieldReviewerValue, + ProjectV2ItemFieldSingleSelectValue, + ProjectV2ItemFieldTextValue, + ProjectV2ItemFieldUserValue, + ProjectV2IterationField, + ProjectV2SingleSelectField, + PullRequestCommit, + PullRequestCommitCommentThread, + PullRequestReviewThread, + PullRequestRevisionMarker, + ReadyForReviewEvent, + ReferencedEvent, + RemovedFromMergeQueueEvent, + RemovedFromProjectEvent, + RenamedTitleEvent, + ReopenedEvent, + RepoAccessAuditEntry, + RepoAddMemberAuditEntry, + RepoAddTopicAuditEntry, + RepoArchivedAuditEntry, + RepoChangeMergeSettingAuditEntry, + RepoConfigDisableAnonymousGitAccessAuditEntry, + RepoConfigDisableCollaboratorsOnlyAuditEntry, + RepoConfigDisableContributorsOnlyAuditEntry, + RepoConfigDisableSockpuppetDisallowedAuditEntry, + RepoConfigEnableAnonymousGitAccessAuditEntry, + RepoConfigEnableCollaboratorsOnlyAuditEntry, + RepoConfigEnableContributorsOnlyAuditEntry, + RepoConfigEnableSockpuppetDisallowedAuditEntry, + RepoConfigLockAnonymousGitAccessAuditEntry, + RepoConfigUnlockAnonymousGitAccessAuditEntry, + RepoCreateAuditEntry, + RepoDestroyAuditEntry, + RepoRemoveMemberAuditEntry, + RepoRemoveTopicAuditEntry, + RepositoryVisibilityChangeDisableAuditEntry, + RepositoryVisibilityChangeEnableAuditEntry, + RequiredDeploymentsParameters, + RequiredStatusChecksParameters, + RestrictedContribution, + ReviewDismissedEvent, + ReviewRequestedEvent, + ReviewRequestRemovedEvent, + StatusContext, + SubscribedEvent, + TagNamePatternParameters, + TeamAddMemberAuditEntry, + TeamAddRepositoryAuditEntry, + TeamChangeParentTeamAuditEntry, + TeamRemoveMemberAuditEntry, + TeamRemoveRepositoryAuditEntry, + TransferredEvent, + UnassignedEvent, + UnlabeledEvent, + UnlockedEvent, + UnmarkedAsDuplicateEvent, + UnpinnedEvent, + UnsubscribedEvent, + UserBlockedEvent, + WorkflowsParameters, +) +from .issue import Issue +from .issue_comment import IssueComment +from .organization import Organization +from .pull_request import PullRequest +from .pull_request_review import PullRequestReview +from .pull_request_review_comment import PullRequestReviewComment +from .repository import Repository +from .team import Team +from .user import User + +AuditEntryActor = Union[User, Organization, Bot] + + +Reactor = Union[User, Organization, Mannequin, Bot] + + +ProjectV2FieldConfiguration = Union[ + ProjectV2SingleSelectField, ProjectV2IterationField, ProjectV2Field +] + + +ProjectV2ItemContent = Union[PullRequest, Issue, DraftIssue] + + +RequestedReviewer = Union[User, Team, Mannequin, Bot] + + +ProjectV2ItemFieldValue = Union[ + ProjectV2ItemFieldUserValue, + ProjectV2ItemFieldTextValue, + ProjectV2ItemFieldSingleSelectValue, + ProjectV2ItemFieldReviewerValue, + ProjectV2ItemFieldRepositoryValue, + ProjectV2ItemFieldPullRequestValue, + ProjectV2ItemFieldNumberValue, + ProjectV2ItemFieldMilestoneValue, + ProjectV2ItemFieldLabelValue, + ProjectV2ItemFieldIterationValue, + ProjectV2ItemFieldDateValue, +] + + +PermissionGranter = Union[Team, Repository, Organization] + + +DeploymentReviewer = Union[User, Team] + + +IssueOrPullRequest = Union[PullRequest, Issue] + + +ProjectCardItem = Union[PullRequest, Issue] + + +BypassActor = Union[Team, App] + + +RuleParameters = Union[ + WorkflowsParameters, + UpdateParameters, + TagNamePatternParameters, + RequiredStatusChecksParameters, + RequiredDeploymentsParameters, + PullRequestParameters, + CommitterEmailPatternParameters, + CommitMessagePatternParameters, + CommitAuthorEmailPatternParameters, + BranchNamePatternParameters, +] + + +RuleSource = Union[Repository, Organization] + + +OrgRestoreMemberAuditEntryMembership = Union[ + OrgRestoreMemberMembershipTeamAuditEntryData, + OrgRestoreMemberMembershipRepositoryAuditEntryData, + OrgRestoreMemberMembershipOrganizationAuditEntryData, +] + + +OrganizationAuditEntry = Union[ + TeamRemoveRepositoryAuditEntry, + TeamRemoveMemberAuditEntry, + TeamChangeParentTeamAuditEntry, + TeamAddRepositoryAuditEntry, + TeamAddMemberAuditEntry, + RepositoryVisibilityChangeEnableAuditEntry, + RepositoryVisibilityChangeDisableAuditEntry, + RepoRemoveTopicAuditEntry, + RepoRemoveMemberAuditEntry, + RepoDestroyAuditEntry, + RepoCreateAuditEntry, + RepoConfigUnlockAnonymousGitAccessAuditEntry, + RepoConfigLockAnonymousGitAccessAuditEntry, + RepoConfigEnableSockpuppetDisallowedAuditEntry, + RepoConfigEnableContributorsOnlyAuditEntry, + RepoConfigEnableCollaboratorsOnlyAuditEntry, + RepoConfigEnableAnonymousGitAccessAuditEntry, + RepoConfigDisableSockpuppetDisallowedAuditEntry, + RepoConfigDisableContributorsOnlyAuditEntry, + RepoConfigDisableCollaboratorsOnlyAuditEntry, + RepoConfigDisableAnonymousGitAccessAuditEntry, + RepoChangeMergeSettingAuditEntry, + RepoArchivedAuditEntry, + RepoAddTopicAuditEntry, + RepoAddMemberAuditEntry, + RepoAccessAuditEntry, + PrivateRepositoryForkingEnableAuditEntry, + PrivateRepositoryForkingDisableAuditEntry, + OrgUpdateMemberRepositoryInvitationPermissionAuditEntry, + OrgUpdateMemberRepositoryCreationPermissionAuditEntry, + OrgUpdateMemberAuditEntry, + OrgUpdateDefaultRepositoryPermissionAuditEntry, + OrgUnblockUserAuditEntry, + OrgRestoreMemberAuditEntry, + OrgRemoveOutsideCollaboratorAuditEntry, + OrgRemoveMemberAuditEntry, + OrgRemoveBillingManagerAuditEntry, + OrgOauthAppAccessUnblockedAuditEntry, + OrgOauthAppAccessRequestedAuditEntry, + OrgOauthAppAccessDeniedAuditEntry, + OrgOauthAppAccessBlockedAuditEntry, + OrgOauthAppAccessApprovedAuditEntry, + OrgInviteToBusinessAuditEntry, + OrgInviteMemberAuditEntry, + OrgEnableTwoFactorRequirementAuditEntry, + OrgEnableSamlAuditEntry, + OrgEnableOauthAppRestrictionsAuditEntry, + OrgDisableTwoFactorRequirementAuditEntry, + OrgDisableSamlAuditEntry, + OrgDisableOauthAppRestrictionsAuditEntry, + OrgCreateAuditEntry, + OrgConfigEnableCollaboratorsOnlyAuditEntry, + OrgConfigDisableCollaboratorsOnlyAuditEntry, + OrgBlockUserAuditEntry, + OrgAddMemberAuditEntry, + OrgAddBillingManagerAuditEntry, + OauthApplicationCreateAuditEntry, + MembersCanDeleteReposEnableAuditEntry, + MembersCanDeleteReposDisableAuditEntry, + MembersCanDeleteReposClearAuditEntry, +] + + +VerifiableDomainOwner = Union[Organization, Enterprise] + + +PinnableItem = Union[Repository, Gist] + + +Sponsor = Union[User, Organization] + + +SponsorsListingFeatureableItem = Union[User, Repository] + + +EnterpriseMember = Union[User, EnterpriseUserAccount] + + +IpAllowListOwner = Union[Organization, Enterprise, App] + + +BranchActorAllowanceActor = Union[User, Team, App] + + +PushAllowanceActor = Union[User, Team, App] + + +ReviewDismissalAllowanceActor = Union[User, Team, App] + + +Assignee = Union[User, Organization, Mannequin, Bot] + + +Closer = Union[PullRequest, Commit] + + +ReferencedSubject = Union[PullRequest, Issue] + + +MilestoneItem = Union[PullRequest, Issue] + + +RenamedTitleSubject = Union[PullRequest, Issue] + + +PullRequestTimelineItem = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + SubscribedEvent, + ReviewRequestedEvent, + ReviewRequestRemovedEvent, + ReviewDismissedEvent, + ReopenedEvent, + RenamedTitleEvent, + ReferencedEvent, + PullRequestReviewThread, + PullRequestReviewComment, + PullRequestReview, + MilestonedEvent, + MergedEvent, + LockedEvent, + LabeledEvent, + IssueComment, + HeadRefRestoredEvent, + HeadRefForcePushedEvent, + HeadRefDeletedEvent, + DeploymentEnvironmentChangedEvent, + DeployedEvent, + DemilestonedEvent, + CrossReferencedEvent, + CommitCommentThread, + Commit, + ClosedEvent, + BaseRefForcePushedEvent, + BaseRefDeletedEvent, + AssignedEvent, +] + + +PullRequestTimelineItems = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnpinnedEvent, + UnmarkedAsDuplicateEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + TransferredEvent, + SubscribedEvent, + ReviewRequestedEvent, + ReviewRequestRemovedEvent, + ReviewDismissedEvent, + ReopenedEvent, + RenamedTitleEvent, + RemovedFromProjectEvent, + RemovedFromMergeQueueEvent, + ReferencedEvent, + ReadyForReviewEvent, + PullRequestRevisionMarker, + PullRequestReviewThread, + PullRequestReview, + PullRequestCommitCommentThread, + PullRequestCommit, + PinnedEvent, + MovedColumnsInProjectEvent, + MilestonedEvent, + MergedEvent, + MentionedEvent, + MarkedAsDuplicateEvent, + LockedEvent, + LabeledEvent, + IssueComment, + HeadRefRestoredEvent, + HeadRefForcePushedEvent, + HeadRefDeletedEvent, + DisconnectedEvent, + DeploymentEnvironmentChangedEvent, + DeployedEvent, + DemilestonedEvent, + CrossReferencedEvent, + ConvertedToDiscussionEvent, + ConvertedNoteToIssueEvent, + ConvertToDraftEvent, + ConnectedEvent, + CommentDeletedEvent, + ClosedEvent, + BaseRefForcePushedEvent, + BaseRefDeletedEvent, + BaseRefChangedEvent, + AutomaticBaseChangeSucceededEvent, + AutomaticBaseChangeFailedEvent, + AutoSquashEnabledEvent, + AutoRebaseEnabledEvent, + AutoMergeEnabledEvent, + AutoMergeDisabledEvent, + AssignedEvent, + AddedToProjectEvent, + AddedToMergeQueueEvent, +] + + +StatusCheckRollupContext = Union[StatusContext, CheckRun] + + +CreatedIssueOrRestrictedContribution = Union[ + RestrictedContribution, CreatedIssueContribution +] + + +CreatedPullRequestOrRestrictedContribution = Union[ + RestrictedContribution, CreatedPullRequestContribution +] + + +CreatedRepositoryOrRestrictedContribution = Union[ + RestrictedContribution, CreatedRepositoryContribution +] + + +UserListItems = Repository + + +IssueTimelineItem = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + TransferredEvent, + SubscribedEvent, + ReopenedEvent, + RenamedTitleEvent, + ReferencedEvent, + MilestonedEvent, + LockedEvent, + LabeledEvent, + IssueComment, + DemilestonedEvent, + CrossReferencedEvent, + Commit, + ClosedEvent, + AssignedEvent, +] + + +IssueTimelineItems = Union[ + UserBlockedEvent, + UnsubscribedEvent, + UnpinnedEvent, + UnmarkedAsDuplicateEvent, + UnlockedEvent, + UnlabeledEvent, + UnassignedEvent, + TransferredEvent, + SubscribedEvent, + ReopenedEvent, + RenamedTitleEvent, + RemovedFromProjectEvent, + ReferencedEvent, + PinnedEvent, + MovedColumnsInProjectEvent, + MilestonedEvent, + MentionedEvent, + MarkedAsDuplicateEvent, + LockedEvent, + LabeledEvent, + IssueComment, + DisconnectedEvent, + DemilestonedEvent, + CrossReferencedEvent, + ConvertedToDiscussionEvent, + ConvertedNoteToIssueEvent, + ConnectedEvent, + CommentDeletedEvent, + ClosedEvent, + AssignedEvent, + AddedToProjectEvent, +] + + +Claimable = Union[User, Mannequin] + + +OrganizationOrUser = Union[User, Organization] + + +ProjectV2Actor = Union[User, Team] + + +SearchResultItem = Union[ + User, + Repository, + PullRequest, + Organization, + MarketplaceListing, + Issue, + Discussion, + App, +] + + +SponsorableItem = Union[User, Organization] diff --git a/tests/output/github_nodesc/ip_allow_list_entry_connection.py b/tests/output/github_nodesc/ip_allow_list_entry_connection.py new file mode 100644 index 0000000..0c1ca6e --- /dev/null +++ b/tests/output/github_nodesc/ip_allow_list_entry_connection.py @@ -0,0 +1,17 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .gql_types import PageInfo + from .gql_types import IpAllowListEntry + from .gql_types import IpAllowListEntryEdge + + +@dataclass(kw_only=True) +class IpAllowListEntryConnection: + edges: Optional[list[IpAllowListEntryEdge]] = None + nodes: Optional[list[IpAllowListEntry]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github_nodesc/issue.py b/tests/output/github_nodesc/issue.py new file mode 100644 index 0000000..faa5145 --- /dev/null +++ b/tests/output/github_nodesc/issue.py @@ -0,0 +1,101 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + IssueState, + IssueStateReason, + LockReason, + SubscriptionState, + ThreadSubscriptionFormAction, + ThreadSubscriptionState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .repository import Repository + from .reaction_group import ReactionGroup + from .project_v2 import ProjectV2 + from .project_v2_item_connection import ProjectV2ItemConnection + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import LabelConnection + from .gql_types import Milestone + from .gql_types import ProjectCardConnection + from .gql_types import IssueCommentConnection + from .gql_types import Hovercard + from .gql_types import LinkedBranchConnection + from .gql_types import IssueTimelineItemsConnection + + +@dataclass(kw_only=True) +class Issue: + active_lock_reason: Optional[LockReason] = None + assignees: UserConnection + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_resource_path: URI + body_text: str + body_url: URI + closed: bool + closed_at: Optional[DateTime] = None + comments: IssueCommentConnection + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + hovercard: Hovercard + id: ID + includes_created_edit: bool + is_pinned: Optional[bool] = None + is_read_by_viewer: Optional[bool] = None + labels: Optional[LabelConnection] = None + last_edited_at: Optional[DateTime] = None + linked_branches: LinkedBranchConnection + locked: bool + milestone: Optional[Milestone] = None + number: int + participants: UserConnection + project_cards: ProjectCardConnection + project_items: ProjectV2ItemConnection + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + state: IssueState + state_reason: Optional[IssueStateReason] = None + timeline_items: IssueTimelineItemsConnection + title: str + title_h_t_m_l: str + tracked_in_issues: IssueConnection + tracked_issues: IssueConnection + tracked_issues_count: int + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_close: bool + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_reopen: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_subscription: Optional[SubscriptionState] = None + viewer_thread_subscription_form_action: Optional[ + ThreadSubscriptionFormAction + ] = None + viewer_thread_subscription_status: Optional[ThreadSubscriptionState] = None diff --git a/tests/output/github_nodesc/issue_comment.py b/tests/output/github_nodesc/issue_comment.py new file mode 100644 index 0000000..2eb7671 --- /dev/null +++ b/tests/output/github_nodesc/issue_comment.py @@ -0,0 +1,51 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CommentAuthorAssociation, CommentCannotUpdateReason +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .repository import Repository + from .reaction_group import ReactionGroup + from .issue import Issue + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + + +@dataclass(kw_only=True) +class IssueComment: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + id: ID + includes_created_edit: bool + is_minimized: bool + issue: Issue + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + published_at: Optional[DateTime] = None + pull_request: Optional[PullRequest] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool diff --git a/tests/output/github_nodesc/issue_comment_edge.py b/tests/output/github_nodesc/issue_comment_edge.py new file mode 100644 index 0000000..b69fa02 --- /dev/null +++ b/tests/output/github_nodesc/issue_comment_edge.py @@ -0,0 +1,13 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .issue_comment import IssueComment + + +@dataclass(kw_only=True) +class IssueCommentEdge: + cursor: str + node: Optional[IssueComment] = None diff --git a/tests/output/github_nodesc/merge_queue.py b/tests/output/github_nodesc/merge_queue.py new file mode 100644 index 0000000..711a31f --- /dev/null +++ b/tests/output/github_nodesc/merge_queue.py @@ -0,0 +1,22 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import MergeQueueConfiguration +from .scalars import ID, URI + +if TYPE_CHECKING: + from .repository import Repository + from .gql_types import MergeQueueEntryConnection + + +@dataclass(kw_only=True) +class MergeQueue: + configuration: Optional[MergeQueueConfiguration] = None + entries: Optional[MergeQueueEntryConnection] = None + id: ID + next_entry_estimated_time_to_merge: Optional[int] = None + repository: Optional[Repository] = None + resource_path: URI + url: URI diff --git a/tests/output/github_nodesc/mutations.py b/tests/output/github_nodesc/mutations.py deleted file mode 100644 index 615e436..0000000 --- a/tests/output/github_nodesc/mutations.py +++ /dev/null @@ -1,2603 +0,0 @@ -from typing import List -from pygqlmap import GQLMutation -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - - -class NonNull_AbortQueuedMigrationsInput(AbortQueuedMigrationsInput): pass - -class NonNull_AcceptEnterpriseAdministratorInvitationInput(AcceptEnterpriseAdministratorInvitationInput): pass - -class NonNull_AcceptTopicSuggestionInput(AcceptTopicSuggestionInput): pass - -class NonNull_AddAssigneesToAssignableInput(AddAssigneesToAssignableInput): pass - -class NonNull_AddCommentInput(AddCommentInput): pass - -class NonNull_AddDiscussionCommentInput(AddDiscussionCommentInput): pass - -class NonNull_AddDiscussionPollVoteInput(AddDiscussionPollVoteInput): pass - -class NonNull_AddEnterpriseOrganizationMemberInput(AddEnterpriseOrganizationMemberInput): pass - -class NonNull_AddEnterpriseSupportEntitlementInput(AddEnterpriseSupportEntitlementInput): pass - -class NonNull_AddLabelsToLabelableInput(AddLabelsToLabelableInput): pass - -class NonNull_AddProjectCardInput(AddProjectCardInput): pass - -class NonNull_AddProjectColumnInput(AddProjectColumnInput): pass - -class NonNull_AddProjectV2DraftIssueInput(AddProjectV2DraftIssueInput): pass - -class NonNull_AddProjectV2ItemByIdInput(AddProjectV2ItemByIdInput): pass - -class NonNull_AddPullRequestReviewInput(AddPullRequestReviewInput): pass - -class NonNull_AddPullRequestReviewCommentInput(AddPullRequestReviewCommentInput): pass - -class NonNull_AddPullRequestReviewThreadInput(AddPullRequestReviewThreadInput): pass - -class NonNull_AddPullRequestReviewThreadReplyInput(AddPullRequestReviewThreadReplyInput): pass - -class NonNull_AddReactionInput(AddReactionInput): pass - -class NonNull_AddStarInput(AddStarInput): pass - -class NonNull_AddUpvoteInput(AddUpvoteInput): pass - -class NonNull_AddVerifiableDomainInput(AddVerifiableDomainInput): pass - -class NonNull_ApproveDeploymentsInput(ApproveDeploymentsInput): pass - -class NonNull_ApproveVerifiableDomainInput(ApproveVerifiableDomainInput): pass - -class NonNull_ArchiveProjectV2ItemInput(ArchiveProjectV2ItemInput): pass - -class NonNull_ArchiveRepositoryInput(ArchiveRepositoryInput): pass - -class NonNull_CancelEnterpriseAdminInvitationInput(CancelEnterpriseAdminInvitationInput): pass - -class NonNull_CancelSponsorshipInput(CancelSponsorshipInput): pass - -class NonNull_ChangeUserStatusInput(ChangeUserStatusInput): pass - -class NonNull_ClearLabelsFromLabelableInput(ClearLabelsFromLabelableInput): pass - -class NonNull_ClearProjectV2ItemFieldValueInput(ClearProjectV2ItemFieldValueInput): pass - -class NonNull_CloneProjectInput(CloneProjectInput): pass - -class NonNull_CloneTemplateRepositoryInput(CloneTemplateRepositoryInput): pass - -class NonNull_CloseDiscussionInput(CloseDiscussionInput): pass - -class NonNull_CloseIssueInput(CloseIssueInput): pass - -class NonNull_ClosePullRequestInput(ClosePullRequestInput): pass - -class NonNull_ConvertProjectCardNoteToIssueInput(ConvertProjectCardNoteToIssueInput): pass - -class NonNull_ConvertPullRequestToDraftInput(ConvertPullRequestToDraftInput): pass - -class NonNull_CopyProjectV2Input(CopyProjectV2Input): pass - -class NonNull_CreateAttributionInvitationInput(CreateAttributionInvitationInput): pass - -class NonNull_CreateBranchProtectionRuleInput(CreateBranchProtectionRuleInput): pass - -class NonNull_CreateCheckRunInput(CreateCheckRunInput): pass - -class NonNull_CreateCheckSuiteInput(CreateCheckSuiteInput): pass - -class NonNull_CreateCommitOnBranchInput(CreateCommitOnBranchInput): pass - -class NonNull_CreateDiscussionInput(CreateDiscussionInput): pass - -class NonNull_CreateEnterpriseOrganizationInput(CreateEnterpriseOrganizationInput): pass - -class NonNull_CreateEnvironmentInput(CreateEnvironmentInput): pass - -class NonNull_CreateIpAllowListEntryInput(CreateIpAllowListEntryInput): pass - -class NonNull_CreateIssueInput(CreateIssueInput): pass - -class NonNull_CreateLinkedBranchInput(CreateLinkedBranchInput): pass - -class NonNull_CreateMigrationSourceInput(CreateMigrationSourceInput): pass - -class NonNull_CreateProjectInput(CreateProjectInput): pass - -class NonNull_CreateProjectV2Input(CreateProjectV2Input): pass - -class NonNull_CreateProjectV2FieldInput(CreateProjectV2FieldInput): pass - -class NonNull_CreatePullRequestInput(CreatePullRequestInput): pass - -class NonNull_CreateRefInput(CreateRefInput): pass - -class NonNull_CreateRepositoryInput(CreateRepositoryInput): pass - -class NonNull_CreateRepositoryRulesetInput(CreateRepositoryRulesetInput): pass - -class NonNull_CreateSponsorsListingInput(CreateSponsorsListingInput): pass - -class NonNull_CreateSponsorsTierInput(CreateSponsorsTierInput): pass - -class NonNull_CreateSponsorshipInput(CreateSponsorshipInput): pass - -class NonNull_CreateSponsorshipsInput(CreateSponsorshipsInput): pass - -class NonNull_CreateTeamDiscussionInput(CreateTeamDiscussionInput): pass - -class NonNull_CreateTeamDiscussionCommentInput(CreateTeamDiscussionCommentInput): pass - -class NonNull_DeclineTopicSuggestionInput(DeclineTopicSuggestionInput): pass - -class NonNull_DeleteBranchProtectionRuleInput(DeleteBranchProtectionRuleInput): pass - -class NonNull_DeleteDeploymentInput(DeleteDeploymentInput): pass - -class NonNull_DeleteDiscussionInput(DeleteDiscussionInput): pass - -class NonNull_DeleteDiscussionCommentInput(DeleteDiscussionCommentInput): pass - -class NonNull_DeleteEnvironmentInput(DeleteEnvironmentInput): pass - -class NonNull_DeleteIpAllowListEntryInput(DeleteIpAllowListEntryInput): pass - -class NonNull_DeleteIssueInput(DeleteIssueInput): pass - -class NonNull_DeleteIssueCommentInput(DeleteIssueCommentInput): pass - -class NonNull_DeleteLinkedBranchInput(DeleteLinkedBranchInput): pass - -class NonNull_DeleteProjectInput(DeleteProjectInput): pass - -class NonNull_DeleteProjectCardInput(DeleteProjectCardInput): pass - -class NonNull_DeleteProjectColumnInput(DeleteProjectColumnInput): pass - -class NonNull_DeleteProjectV2Input(DeleteProjectV2Input): pass - -class NonNull_DeleteProjectV2FieldInput(DeleteProjectV2FieldInput): pass - -class NonNull_DeleteProjectV2ItemInput(DeleteProjectV2ItemInput): pass - -class NonNull_DeleteProjectV2WorkflowInput(DeleteProjectV2WorkflowInput): pass - -class NonNull_DeletePullRequestReviewInput(DeletePullRequestReviewInput): pass - -class NonNull_DeletePullRequestReviewCommentInput(DeletePullRequestReviewCommentInput): pass - -class NonNull_DeleteRefInput(DeleteRefInput): pass - -class NonNull_DeleteRepositoryRulesetInput(DeleteRepositoryRulesetInput): pass - -class NonNull_DeleteTeamDiscussionInput(DeleteTeamDiscussionInput): pass - -class NonNull_DeleteTeamDiscussionCommentInput(DeleteTeamDiscussionCommentInput): pass - -class NonNull_DeleteVerifiableDomainInput(DeleteVerifiableDomainInput): pass - -class NonNull_DequeuePullRequestInput(DequeuePullRequestInput): pass - -class NonNull_DisablePullRequestAutoMergeInput(DisablePullRequestAutoMergeInput): pass - -class NonNull_DismissPullRequestReviewInput(DismissPullRequestReviewInput): pass - -class NonNull_DismissRepositoryVulnerabilityAlertInput(DismissRepositoryVulnerabilityAlertInput): pass - -class NonNull_EnablePullRequestAutoMergeInput(EnablePullRequestAutoMergeInput): pass - -class NonNull_EnqueuePullRequestInput(EnqueuePullRequestInput): pass - -class NonNull_FollowOrganizationInput(FollowOrganizationInput): pass - -class NonNull_FollowUserInput(FollowUserInput): pass - -class NonNull_GrantEnterpriseOrganizationsMigratorRoleInput(GrantEnterpriseOrganizationsMigratorRoleInput): pass - -class NonNull_GrantMigratorRoleInput(GrantMigratorRoleInput): pass - -class NonNull_InviteEnterpriseAdminInput(InviteEnterpriseAdminInput): pass - -class NonNull_LinkProjectV2ToRepositoryInput(LinkProjectV2ToRepositoryInput): pass - -class NonNull_LinkProjectV2ToTeamInput(LinkProjectV2ToTeamInput): pass - -class NonNull_LinkRepositoryToProjectInput(LinkRepositoryToProjectInput): pass - -class NonNull_LockLockableInput(LockLockableInput): pass - -class NonNull_MarkDiscussionCommentAsAnswerInput(MarkDiscussionCommentAsAnswerInput): pass - -class NonNull_MarkFileAsViewedInput(MarkFileAsViewedInput): pass - -class NonNull_MarkProjectV2AsTemplateInput(MarkProjectV2AsTemplateInput): pass - -class NonNull_MarkPullRequestReadyForReviewInput(MarkPullRequestReadyForReviewInput): pass - -class NonNull_MergeBranchInput(MergeBranchInput): pass - -class NonNull_MergePullRequestInput(MergePullRequestInput): pass - -class NonNull_MinimizeCommentInput(MinimizeCommentInput): pass - -class NonNull_MoveProjectCardInput(MoveProjectCardInput): pass - -class NonNull_MoveProjectColumnInput(MoveProjectColumnInput): pass - -class NonNull_PinIssueInput(PinIssueInput): pass - -class NonNull_PublishSponsorsTierInput(PublishSponsorsTierInput): pass - -class NonNull_RegenerateEnterpriseIdentityProviderRecoveryCodesInput(RegenerateEnterpriseIdentityProviderRecoveryCodesInput): pass - -class NonNull_RegenerateVerifiableDomainTokenInput(RegenerateVerifiableDomainTokenInput): pass - -class NonNull_RejectDeploymentsInput(RejectDeploymentsInput): pass - -class NonNull_RemoveAssigneesFromAssignableInput(RemoveAssigneesFromAssignableInput): pass - -class NonNull_RemoveEnterpriseAdminInput(RemoveEnterpriseAdminInput): pass - -class NonNull_RemoveEnterpriseIdentityProviderInput(RemoveEnterpriseIdentityProviderInput): pass - -class NonNull_RemoveEnterpriseMemberInput(RemoveEnterpriseMemberInput): pass - -class NonNull_RemoveEnterpriseOrganizationInput(RemoveEnterpriseOrganizationInput): pass - -class NonNull_RemoveEnterpriseSupportEntitlementInput(RemoveEnterpriseSupportEntitlementInput): pass - -class NonNull_RemoveLabelsFromLabelableInput(RemoveLabelsFromLabelableInput): pass - -class NonNull_RemoveOutsideCollaboratorInput(RemoveOutsideCollaboratorInput): pass - -class NonNull_RemoveReactionInput(RemoveReactionInput): pass - -class NonNull_RemoveStarInput(RemoveStarInput): pass - -class NonNull_RemoveUpvoteInput(RemoveUpvoteInput): pass - -class NonNull_ReopenDiscussionInput(ReopenDiscussionInput): pass - -class NonNull_ReopenIssueInput(ReopenIssueInput): pass - -class NonNull_ReopenPullRequestInput(ReopenPullRequestInput): pass - -class NonNull_RequestReviewsInput(RequestReviewsInput): pass - -class NonNull_RerequestCheckSuiteInput(RerequestCheckSuiteInput): pass - -class NonNull_ResolveReviewThreadInput(ResolveReviewThreadInput): pass - -class NonNull_RetireSponsorsTierInput(RetireSponsorsTierInput): pass - -class NonNull_RevertPullRequestInput(RevertPullRequestInput): pass - -class NonNull_RevokeEnterpriseOrganizationsMigratorRoleInput(RevokeEnterpriseOrganizationsMigratorRoleInput): pass - -class NonNull_RevokeMigratorRoleInput(RevokeMigratorRoleInput): pass - -class NonNull_SetEnterpriseIdentityProviderInput(SetEnterpriseIdentityProviderInput): pass - -class NonNull_SetOrganizationInteractionLimitInput(SetOrganizationInteractionLimitInput): pass - -class NonNull_SetRepositoryInteractionLimitInput(SetRepositoryInteractionLimitInput): pass - -class NonNull_SetUserInteractionLimitInput(SetUserInteractionLimitInput): pass - -class NonNull_StartOrganizationMigrationInput(StartOrganizationMigrationInput): pass - -class NonNull_StartRepositoryMigrationInput(StartRepositoryMigrationInput): pass - -class NonNull_SubmitPullRequestReviewInput(SubmitPullRequestReviewInput): pass - -class NonNull_TransferEnterpriseOrganizationInput(TransferEnterpriseOrganizationInput): pass - -class NonNull_TransferIssueInput(TransferIssueInput): pass - -class NonNull_UnarchiveProjectV2ItemInput(UnarchiveProjectV2ItemInput): pass - -class NonNull_UnarchiveRepositoryInput(UnarchiveRepositoryInput): pass - -class NonNull_UnfollowOrganizationInput(UnfollowOrganizationInput): pass - -class NonNull_UnfollowUserInput(UnfollowUserInput): pass - -class NonNull_UnlinkProjectV2FromRepositoryInput(UnlinkProjectV2FromRepositoryInput): pass - -class NonNull_UnlinkProjectV2FromTeamInput(UnlinkProjectV2FromTeamInput): pass - -class NonNull_UnlinkRepositoryFromProjectInput(UnlinkRepositoryFromProjectInput): pass - -class NonNull_UnlockLockableInput(UnlockLockableInput): pass - -class NonNull_UnmarkDiscussionCommentAsAnswerInput(UnmarkDiscussionCommentAsAnswerInput): pass - -class NonNull_UnmarkFileAsViewedInput(UnmarkFileAsViewedInput): pass - -class NonNull_UnmarkIssueAsDuplicateInput(UnmarkIssueAsDuplicateInput): pass - -class NonNull_UnmarkProjectV2AsTemplateInput(UnmarkProjectV2AsTemplateInput): pass - -class NonNull_UnminimizeCommentInput(UnminimizeCommentInput): pass - -class NonNull_UnpinIssueInput(UnpinIssueInput): pass - -class NonNull_UnresolveReviewThreadInput(UnresolveReviewThreadInput): pass - -class NonNull_UpdateBranchProtectionRuleInput(UpdateBranchProtectionRuleInput): pass - -class NonNull_UpdateCheckRunInput(UpdateCheckRunInput): pass - -class NonNull_UpdateCheckSuitePreferencesInput(UpdateCheckSuitePreferencesInput): pass - -class NonNull_UpdateDiscussionInput(UpdateDiscussionInput): pass - -class NonNull_UpdateDiscussionCommentInput(UpdateDiscussionCommentInput): pass - -class NonNull_UpdateEnterpriseAdministratorRoleInput(UpdateEnterpriseAdministratorRoleInput): pass - -class NonNull_UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput(UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput): pass - -class NonNull_UpdateEnterpriseDefaultRepositoryPermissionSettingInput(UpdateEnterpriseDefaultRepositoryPermissionSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput(UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanCreateRepositoriesSettingInput(UpdateEnterpriseMembersCanCreateRepositoriesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanDeleteIssuesSettingInput(UpdateEnterpriseMembersCanDeleteIssuesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput(UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput(UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanMakePurchasesSettingInput(UpdateEnterpriseMembersCanMakePurchasesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput(UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput): pass - -class NonNull_UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput(UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput): pass - -class NonNull_UpdateEnterpriseOrganizationProjectsSettingInput(UpdateEnterpriseOrganizationProjectsSettingInput): pass - -class NonNull_UpdateEnterpriseOwnerOrganizationRoleInput(UpdateEnterpriseOwnerOrganizationRoleInput): pass - -class NonNull_UpdateEnterpriseProfileInput(UpdateEnterpriseProfileInput): pass - -class NonNull_UpdateEnterpriseRepositoryProjectsSettingInput(UpdateEnterpriseRepositoryProjectsSettingInput): pass - -class NonNull_UpdateEnterpriseTeamDiscussionsSettingInput(UpdateEnterpriseTeamDiscussionsSettingInput): pass - -class NonNull_UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput(UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput): pass - -class NonNull_UpdateEnvironmentInput(UpdateEnvironmentInput): pass - -class NonNull_UpdateIpAllowListEnabledSettingInput(UpdateIpAllowListEnabledSettingInput): pass - -class NonNull_UpdateIpAllowListEntryInput(UpdateIpAllowListEntryInput): pass - -class NonNull_UpdateIpAllowListForInstalledAppsEnabledSettingInput(UpdateIpAllowListForInstalledAppsEnabledSettingInput): pass - -class NonNull_UpdateIssueInput(UpdateIssueInput): pass - -class NonNull_UpdateIssueCommentInput(UpdateIssueCommentInput): pass - -class NonNull_UpdateNotificationRestrictionSettingInput(UpdateNotificationRestrictionSettingInput): pass - -class NonNull_UpdateOrganizationAllowPrivateRepositoryForkingSettingInput(UpdateOrganizationAllowPrivateRepositoryForkingSettingInput): pass - -class NonNull_UpdateOrganizationWebCommitSignoffSettingInput(UpdateOrganizationWebCommitSignoffSettingInput): pass - -class NonNull_UpdateProjectInput(UpdateProjectInput): pass - -class NonNull_UpdateProjectCardInput(UpdateProjectCardInput): pass - -class NonNull_UpdateProjectColumnInput(UpdateProjectColumnInput): pass - -class NonNull_UpdateProjectV2Input(UpdateProjectV2Input): pass - -class NonNull_UpdateProjectV2CollaboratorsInput(UpdateProjectV2CollaboratorsInput): pass - -class NonNull_UpdateProjectV2DraftIssueInput(UpdateProjectV2DraftIssueInput): pass - -class NonNull_UpdateProjectV2ItemFieldValueInput(UpdateProjectV2ItemFieldValueInput): pass - -class NonNull_UpdateProjectV2ItemPositionInput(UpdateProjectV2ItemPositionInput): pass - -class NonNull_UpdatePullRequestInput(UpdatePullRequestInput): pass - -class NonNull_UpdatePullRequestBranchInput(UpdatePullRequestBranchInput): pass - -class NonNull_UpdatePullRequestReviewInput(UpdatePullRequestReviewInput): pass - -class NonNull_UpdatePullRequestReviewCommentInput(UpdatePullRequestReviewCommentInput): pass - -class NonNull_UpdateRefInput(UpdateRefInput): pass - -class NonNull_UpdateRepositoryInput(UpdateRepositoryInput): pass - -class NonNull_UpdateRepositoryRulesetInput(UpdateRepositoryRulesetInput): pass - -class NonNull_UpdateRepositoryWebCommitSignoffSettingInput(UpdateRepositoryWebCommitSignoffSettingInput): pass - -class NonNull_UpdateSponsorshipPreferencesInput(UpdateSponsorshipPreferencesInput): pass - -class NonNull_UpdateSubscriptionInput(UpdateSubscriptionInput): pass - -class NonNull_UpdateTeamDiscussionInput(UpdateTeamDiscussionInput): pass - -class NonNull_UpdateTeamDiscussionCommentInput(UpdateTeamDiscussionCommentInput): pass - -class NonNull_UpdateTeamsRepositoryInput(UpdateTeamsRepositoryInput): pass - -class NonNull_UpdateTopicsInput(UpdateTopicsInput): pass - -class NonNull_VerifyVerifiableDomainInput(VerifyVerifiableDomainInput): pass - -class abortQueuedMigrations(GQLMutation): - class AbortQueuedMigrationsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AbortQueuedMigrationsInput - - _args: AbortQueuedMigrationsPayloadArgs - - - type: AbortQueuedMigrationsPayload - -class acceptEnterpriseAdministratorInvitation(GQLMutation): - class AcceptEnterpriseAdministratorInvitationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AcceptEnterpriseAdministratorInvitationInput - - _args: AcceptEnterpriseAdministratorInvitationPayloadArgs - - - type: AcceptEnterpriseAdministratorInvitationPayload - -class acceptTopicSuggestion(GQLMutation): - class AcceptTopicSuggestionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AcceptTopicSuggestionInput - - _args: AcceptTopicSuggestionPayloadArgs - - - type: AcceptTopicSuggestionPayload - -class addAssigneesToAssignable(GQLMutation): - class AddAssigneesToAssignablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddAssigneesToAssignableInput - - _args: AddAssigneesToAssignablePayloadArgs - - - type: AddAssigneesToAssignablePayload - -class addComment(GQLMutation): - class AddCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddCommentInput - - _args: AddCommentPayloadArgs - - - type: AddCommentPayload - -class addDiscussionComment(GQLMutation): - class AddDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddDiscussionCommentInput - - _args: AddDiscussionCommentPayloadArgs - - - type: AddDiscussionCommentPayload - -class addDiscussionPollVote(GQLMutation): - class AddDiscussionPollVotePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddDiscussionPollVoteInput - - _args: AddDiscussionPollVotePayloadArgs - - - type: AddDiscussionPollVotePayload - -class addEnterpriseOrganizationMember(GQLMutation): - class AddEnterpriseOrganizationMemberPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddEnterpriseOrganizationMemberInput - - _args: AddEnterpriseOrganizationMemberPayloadArgs - - - type: AddEnterpriseOrganizationMemberPayload - -class addEnterpriseSupportEntitlement(GQLMutation): - class AddEnterpriseSupportEntitlementPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddEnterpriseSupportEntitlementInput - - _args: AddEnterpriseSupportEntitlementPayloadArgs - - - type: AddEnterpriseSupportEntitlementPayload - -class addLabelsToLabelable(GQLMutation): - class AddLabelsToLabelablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddLabelsToLabelableInput - - _args: AddLabelsToLabelablePayloadArgs - - - type: AddLabelsToLabelablePayload - -class addProjectCard(GQLMutation): - class AddProjectCardPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectCardInput - - _args: AddProjectCardPayloadArgs - - - type: AddProjectCardPayload - -class addProjectColumn(GQLMutation): - class AddProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectColumnInput - - _args: AddProjectColumnPayloadArgs - - - type: AddProjectColumnPayload - -class addProjectV2DraftIssue(GQLMutation): - class AddProjectV2DraftIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectV2DraftIssueInput - - _args: AddProjectV2DraftIssuePayloadArgs - - - type: AddProjectV2DraftIssuePayload - -class addProjectV2ItemById(GQLMutation): - class AddProjectV2ItemByIdPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectV2ItemByIdInput - - _args: AddProjectV2ItemByIdPayloadArgs - - - type: AddProjectV2ItemByIdPayload - -class addPullRequestReview(GQLMutation): - class AddPullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddPullRequestReviewInput - - _args: AddPullRequestReviewPayloadArgs - - - type: AddPullRequestReviewPayload - -class addPullRequestReviewComment(GQLMutation): - class AddPullRequestReviewCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddPullRequestReviewCommentInput - - _args: AddPullRequestReviewCommentPayloadArgs - - - type: AddPullRequestReviewCommentPayload - -class addPullRequestReviewThread(GQLMutation): - class AddPullRequestReviewThreadPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddPullRequestReviewThreadInput - - _args: AddPullRequestReviewThreadPayloadArgs - - - type: AddPullRequestReviewThreadPayload - -class addPullRequestReviewThreadReply(GQLMutation): - class AddPullRequestReviewThreadReplyPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddPullRequestReviewThreadReplyInput - - _args: AddPullRequestReviewThreadReplyPayloadArgs - - - type: AddPullRequestReviewThreadReplyPayload - -class addReaction(GQLMutation): - class AddReactionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddReactionInput - - _args: AddReactionPayloadArgs - - - type: AddReactionPayload - -class addStar(GQLMutation): - class AddStarPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddStarInput - - _args: AddStarPayloadArgs - - - type: AddStarPayload - -class addUpvote(GQLMutation): - class AddUpvotePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddUpvoteInput - - _args: AddUpvotePayloadArgs - - - type: AddUpvotePayload - -class addVerifiableDomain(GQLMutation): - class AddVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_AddVerifiableDomainInput - - _args: AddVerifiableDomainPayloadArgs - - - type: AddVerifiableDomainPayload - -class approveDeployments(GQLMutation): - class ApproveDeploymentsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ApproveDeploymentsInput - - _args: ApproveDeploymentsPayloadArgs - - - type: ApproveDeploymentsPayload - -class approveVerifiableDomain(GQLMutation): - class ApproveVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ApproveVerifiableDomainInput - - _args: ApproveVerifiableDomainPayloadArgs - - - type: ApproveVerifiableDomainPayload - -class archiveProjectV2Item(GQLMutation): - class ArchiveProjectV2ItemPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ArchiveProjectV2ItemInput - - _args: ArchiveProjectV2ItemPayloadArgs - - - type: ArchiveProjectV2ItemPayload - -class archiveRepository(GQLMutation): - class ArchiveRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ArchiveRepositoryInput - - _args: ArchiveRepositoryPayloadArgs - - - type: ArchiveRepositoryPayload - -class cancelEnterpriseAdminInvitation(GQLMutation): - class CancelEnterpriseAdminInvitationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CancelEnterpriseAdminInvitationInput - - _args: CancelEnterpriseAdminInvitationPayloadArgs - - - type: CancelEnterpriseAdminInvitationPayload - -class cancelSponsorship(GQLMutation): - class CancelSponsorshipPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CancelSponsorshipInput - - _args: CancelSponsorshipPayloadArgs - - - type: CancelSponsorshipPayload - -class changeUserStatus(GQLMutation): - class ChangeUserStatusPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ChangeUserStatusInput - - _args: ChangeUserStatusPayloadArgs - - - type: ChangeUserStatusPayload - -class clearLabelsFromLabelable(GQLMutation): - class ClearLabelsFromLabelablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ClearLabelsFromLabelableInput - - _args: ClearLabelsFromLabelablePayloadArgs - - - type: ClearLabelsFromLabelablePayload - -class clearProjectV2ItemFieldValue(GQLMutation): - class ClearProjectV2ItemFieldValuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ClearProjectV2ItemFieldValueInput - - _args: ClearProjectV2ItemFieldValuePayloadArgs - - - type: ClearProjectV2ItemFieldValuePayload - -class cloneProject(GQLMutation): - class CloneProjectPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CloneProjectInput - - _args: CloneProjectPayloadArgs - - - type: CloneProjectPayload - -class cloneTemplateRepository(GQLMutation): - class CloneTemplateRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CloneTemplateRepositoryInput - - _args: CloneTemplateRepositoryPayloadArgs - - - type: CloneTemplateRepositoryPayload - -class closeDiscussion(GQLMutation): - class CloseDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CloseDiscussionInput - - _args: CloseDiscussionPayloadArgs - - - type: CloseDiscussionPayload - -class closeIssue(GQLMutation): - class CloseIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CloseIssueInput - - _args: CloseIssuePayloadArgs - - - type: CloseIssuePayload - -class closePullRequest(GQLMutation): - class ClosePullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ClosePullRequestInput - - _args: ClosePullRequestPayloadArgs - - - type: ClosePullRequestPayload - -class convertProjectCardNoteToIssue(GQLMutation): - class ConvertProjectCardNoteToIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ConvertProjectCardNoteToIssueInput - - _args: ConvertProjectCardNoteToIssuePayloadArgs - - - type: ConvertProjectCardNoteToIssuePayload - -class convertPullRequestToDraft(GQLMutation): - class ConvertPullRequestToDraftPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ConvertPullRequestToDraftInput - - _args: ConvertPullRequestToDraftPayloadArgs - - - type: ConvertPullRequestToDraftPayload - -class copyProjectV2(GQLMutation): - class CopyProjectV2PayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CopyProjectV2Input - - _args: CopyProjectV2PayloadArgs - - - type: CopyProjectV2Payload - -class createAttributionInvitation(GQLMutation): - class CreateAttributionInvitationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateAttributionInvitationInput - - _args: CreateAttributionInvitationPayloadArgs - - - type: CreateAttributionInvitationPayload - -class createBranchProtectionRule(GQLMutation): - class CreateBranchProtectionRulePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateBranchProtectionRuleInput - - _args: CreateBranchProtectionRulePayloadArgs - - - type: CreateBranchProtectionRulePayload - -class createCheckRun(GQLMutation): - class CreateCheckRunPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateCheckRunInput - - _args: CreateCheckRunPayloadArgs - - - type: CreateCheckRunPayload - -class createCheckSuite(GQLMutation): - class CreateCheckSuitePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateCheckSuiteInput - - _args: CreateCheckSuitePayloadArgs - - - type: CreateCheckSuitePayload - -class createCommitOnBranch(GQLMutation): - class CreateCommitOnBranchPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateCommitOnBranchInput - - _args: CreateCommitOnBranchPayloadArgs - - - type: CreateCommitOnBranchPayload - -class createDiscussion(GQLMutation): - class CreateDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateDiscussionInput - - _args: CreateDiscussionPayloadArgs - - - type: CreateDiscussionPayload - -class createEnterpriseOrganization(GQLMutation): - class CreateEnterpriseOrganizationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateEnterpriseOrganizationInput - - _args: CreateEnterpriseOrganizationPayloadArgs - - - type: CreateEnterpriseOrganizationPayload - -class createEnvironment(GQLMutation): - class CreateEnvironmentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateEnvironmentInput - - _args: CreateEnvironmentPayloadArgs - - - type: CreateEnvironmentPayload - -class createIpAllowListEntry(GQLMutation): - class CreateIpAllowListEntryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateIpAllowListEntryInput - - _args: CreateIpAllowListEntryPayloadArgs - - - type: CreateIpAllowListEntryPayload - -class createIssue(GQLMutation): - class CreateIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateIssueInput - - _args: CreateIssuePayloadArgs - - - type: CreateIssuePayload - -class createLinkedBranch(GQLMutation): - class CreateLinkedBranchPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateLinkedBranchInput - - _args: CreateLinkedBranchPayloadArgs - - - type: CreateLinkedBranchPayload - -class createMigrationSource(GQLMutation): - class CreateMigrationSourcePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateMigrationSourceInput - - _args: CreateMigrationSourcePayloadArgs - - - type: CreateMigrationSourcePayload - -class createProject(GQLMutation): - class CreateProjectPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateProjectInput - - _args: CreateProjectPayloadArgs - - - type: CreateProjectPayload - -class createProjectV2(GQLMutation): - class CreateProjectV2PayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateProjectV2Input - - _args: CreateProjectV2PayloadArgs - - - type: CreateProjectV2Payload - -class createProjectV2Field(GQLMutation): - class CreateProjectV2FieldPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateProjectV2FieldInput - - _args: CreateProjectV2FieldPayloadArgs - - - type: CreateProjectV2FieldPayload - -class createPullRequest(GQLMutation): - class CreatePullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreatePullRequestInput - - _args: CreatePullRequestPayloadArgs - - - type: CreatePullRequestPayload - -class createRef(GQLMutation): - class CreateRefPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateRefInput - - _args: CreateRefPayloadArgs - - - type: CreateRefPayload - -class createRepository(GQLMutation): - class CreateRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateRepositoryInput - - _args: CreateRepositoryPayloadArgs - - - type: CreateRepositoryPayload - -class createRepositoryRuleset(GQLMutation): - class CreateRepositoryRulesetPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateRepositoryRulesetInput - - _args: CreateRepositoryRulesetPayloadArgs - - - type: CreateRepositoryRulesetPayload - -class createSponsorsListing(GQLMutation): - class CreateSponsorsListingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateSponsorsListingInput - - _args: CreateSponsorsListingPayloadArgs - - - type: CreateSponsorsListingPayload - -class createSponsorsTier(GQLMutation): - class CreateSponsorsTierPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateSponsorsTierInput - - _args: CreateSponsorsTierPayloadArgs - - - type: CreateSponsorsTierPayload - -class createSponsorship(GQLMutation): - class CreateSponsorshipPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateSponsorshipInput - - _args: CreateSponsorshipPayloadArgs - - - type: CreateSponsorshipPayload - -class createSponsorships(GQLMutation): - class CreateSponsorshipsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateSponsorshipsInput - - _args: CreateSponsorshipsPayloadArgs - - - type: CreateSponsorshipsPayload - -class createTeamDiscussion(GQLMutation): - class CreateTeamDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateTeamDiscussionInput - - _args: CreateTeamDiscussionPayloadArgs - - - type: CreateTeamDiscussionPayload - -class createTeamDiscussionComment(GQLMutation): - class CreateTeamDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateTeamDiscussionCommentInput - - _args: CreateTeamDiscussionCommentPayloadArgs - - - type: CreateTeamDiscussionCommentPayload - -class declineTopicSuggestion(GQLMutation): - class DeclineTopicSuggestionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeclineTopicSuggestionInput - - _args: DeclineTopicSuggestionPayloadArgs - - - type: DeclineTopicSuggestionPayload - -class deleteBranchProtectionRule(GQLMutation): - class DeleteBranchProtectionRulePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteBranchProtectionRuleInput - - _args: DeleteBranchProtectionRulePayloadArgs - - - type: DeleteBranchProtectionRulePayload - -class deleteDeployment(GQLMutation): - class DeleteDeploymentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteDeploymentInput - - _args: DeleteDeploymentPayloadArgs - - - type: DeleteDeploymentPayload - -class deleteDiscussion(GQLMutation): - class DeleteDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteDiscussionInput - - _args: DeleteDiscussionPayloadArgs - - - type: DeleteDiscussionPayload - -class deleteDiscussionComment(GQLMutation): - class DeleteDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteDiscussionCommentInput - - _args: DeleteDiscussionCommentPayloadArgs - - - type: DeleteDiscussionCommentPayload - -class deleteEnvironment(GQLMutation): - class DeleteEnvironmentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteEnvironmentInput - - _args: DeleteEnvironmentPayloadArgs - - - type: DeleteEnvironmentPayload - -class deleteIpAllowListEntry(GQLMutation): - class DeleteIpAllowListEntryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteIpAllowListEntryInput - - _args: DeleteIpAllowListEntryPayloadArgs - - - type: DeleteIpAllowListEntryPayload - -class deleteIssue(GQLMutation): - class DeleteIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteIssueInput - - _args: DeleteIssuePayloadArgs - - - type: DeleteIssuePayload - -class deleteIssueComment(GQLMutation): - class DeleteIssueCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteIssueCommentInput - - _args: DeleteIssueCommentPayloadArgs - - - type: DeleteIssueCommentPayload - -class deleteLinkedBranch(GQLMutation): - class DeleteLinkedBranchPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteLinkedBranchInput - - _args: DeleteLinkedBranchPayloadArgs - - - type: DeleteLinkedBranchPayload - -class deleteProject(GQLMutation): - class DeleteProjectPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectInput - - _args: DeleteProjectPayloadArgs - - - type: DeleteProjectPayload - -class deleteProjectCard(GQLMutation): - class DeleteProjectCardPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectCardInput - - _args: DeleteProjectCardPayloadArgs - - - type: DeleteProjectCardPayload - -class deleteProjectColumn(GQLMutation): - class DeleteProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectColumnInput - - _args: DeleteProjectColumnPayloadArgs - - - type: DeleteProjectColumnPayload - -class deleteProjectV2(GQLMutation): - class DeleteProjectV2PayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectV2Input - - _args: DeleteProjectV2PayloadArgs - - - type: DeleteProjectV2Payload - -class deleteProjectV2Field(GQLMutation): - class DeleteProjectV2FieldPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectV2FieldInput - - _args: DeleteProjectV2FieldPayloadArgs - - - type: DeleteProjectV2FieldPayload - -class deleteProjectV2Item(GQLMutation): - class DeleteProjectV2ItemPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectV2ItemInput - - _args: DeleteProjectV2ItemPayloadArgs - - - type: DeleteProjectV2ItemPayload - -class deleteProjectV2Workflow(GQLMutation): - class DeleteProjectV2WorkflowPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectV2WorkflowInput - - _args: DeleteProjectV2WorkflowPayloadArgs - - - type: DeleteProjectV2WorkflowPayload - -class deletePullRequestReview(GQLMutation): - class DeletePullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeletePullRequestReviewInput - - _args: DeletePullRequestReviewPayloadArgs - - - type: DeletePullRequestReviewPayload - -class deletePullRequestReviewComment(GQLMutation): - class DeletePullRequestReviewCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeletePullRequestReviewCommentInput - - _args: DeletePullRequestReviewCommentPayloadArgs - - - type: DeletePullRequestReviewCommentPayload - -class deleteRef(GQLMutation): - class DeleteRefPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteRefInput - - _args: DeleteRefPayloadArgs - - - type: DeleteRefPayload - -class deleteRepositoryRuleset(GQLMutation): - class DeleteRepositoryRulesetPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteRepositoryRulesetInput - - _args: DeleteRepositoryRulesetPayloadArgs - - - type: DeleteRepositoryRulesetPayload - -class deleteTeamDiscussion(GQLMutation): - class DeleteTeamDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteTeamDiscussionInput - - _args: DeleteTeamDiscussionPayloadArgs - - - type: DeleteTeamDiscussionPayload - -class deleteTeamDiscussionComment(GQLMutation): - class DeleteTeamDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteTeamDiscussionCommentInput - - _args: DeleteTeamDiscussionCommentPayloadArgs - - - type: DeleteTeamDiscussionCommentPayload - -class deleteVerifiableDomain(GQLMutation): - class DeleteVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteVerifiableDomainInput - - _args: DeleteVerifiableDomainPayloadArgs - - - type: DeleteVerifiableDomainPayload - -class dequeuePullRequest(GQLMutation): - class DequeuePullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DequeuePullRequestInput - - _args: DequeuePullRequestPayloadArgs - - - type: DequeuePullRequestPayload - -class disablePullRequestAutoMerge(GQLMutation): - class DisablePullRequestAutoMergePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DisablePullRequestAutoMergeInput - - _args: DisablePullRequestAutoMergePayloadArgs - - - type: DisablePullRequestAutoMergePayload - -class dismissPullRequestReview(GQLMutation): - class DismissPullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DismissPullRequestReviewInput - - _args: DismissPullRequestReviewPayloadArgs - - - type: DismissPullRequestReviewPayload - -class dismissRepositoryVulnerabilityAlert(GQLMutation): - class DismissRepositoryVulnerabilityAlertPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_DismissRepositoryVulnerabilityAlertInput - - _args: DismissRepositoryVulnerabilityAlertPayloadArgs - - - type: DismissRepositoryVulnerabilityAlertPayload - -class enablePullRequestAutoMerge(GQLMutation): - class EnablePullRequestAutoMergePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_EnablePullRequestAutoMergeInput - - _args: EnablePullRequestAutoMergePayloadArgs - - - type: EnablePullRequestAutoMergePayload - -class enqueuePullRequest(GQLMutation): - class EnqueuePullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_EnqueuePullRequestInput - - _args: EnqueuePullRequestPayloadArgs - - - type: EnqueuePullRequestPayload - -class followOrganization(GQLMutation): - class FollowOrganizationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_FollowOrganizationInput - - _args: FollowOrganizationPayloadArgs - - - type: FollowOrganizationPayload - -class followUser(GQLMutation): - class FollowUserPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_FollowUserInput - - _args: FollowUserPayloadArgs - - - type: FollowUserPayload - -class grantEnterpriseOrganizationsMigratorRole(GQLMutation): - class GrantEnterpriseOrganizationsMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_GrantEnterpriseOrganizationsMigratorRoleInput - - _args: GrantEnterpriseOrganizationsMigratorRolePayloadArgs - - - type: GrantEnterpriseOrganizationsMigratorRolePayload - -class grantMigratorRole(GQLMutation): - class GrantMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_GrantMigratorRoleInput - - _args: GrantMigratorRolePayloadArgs - - - type: GrantMigratorRolePayload - -class inviteEnterpriseAdmin(GQLMutation): - class InviteEnterpriseAdminPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_InviteEnterpriseAdminInput - - _args: InviteEnterpriseAdminPayloadArgs - - - type: InviteEnterpriseAdminPayload - -class linkProjectV2ToRepository(GQLMutation): - class LinkProjectV2ToRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_LinkProjectV2ToRepositoryInput - - _args: LinkProjectV2ToRepositoryPayloadArgs - - - type: LinkProjectV2ToRepositoryPayload - -class linkProjectV2ToTeam(GQLMutation): - class LinkProjectV2ToTeamPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_LinkProjectV2ToTeamInput - - _args: LinkProjectV2ToTeamPayloadArgs - - - type: LinkProjectV2ToTeamPayload - -class linkRepositoryToProject(GQLMutation): - class LinkRepositoryToProjectPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_LinkRepositoryToProjectInput - - _args: LinkRepositoryToProjectPayloadArgs - - - type: LinkRepositoryToProjectPayload - -class lockLockable(GQLMutation): - class LockLockablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_LockLockableInput - - _args: LockLockablePayloadArgs - - - type: LockLockablePayload - -class markDiscussionCommentAsAnswer(GQLMutation): - class MarkDiscussionCommentAsAnswerPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MarkDiscussionCommentAsAnswerInput - - _args: MarkDiscussionCommentAsAnswerPayloadArgs - - - type: MarkDiscussionCommentAsAnswerPayload - -class markFileAsViewed(GQLMutation): - class MarkFileAsViewedPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MarkFileAsViewedInput - - _args: MarkFileAsViewedPayloadArgs - - - type: MarkFileAsViewedPayload - -class markProjectV2AsTemplate(GQLMutation): - class MarkProjectV2AsTemplatePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MarkProjectV2AsTemplateInput - - _args: MarkProjectV2AsTemplatePayloadArgs - - - type: MarkProjectV2AsTemplatePayload - -class markPullRequestReadyForReview(GQLMutation): - class MarkPullRequestReadyForReviewPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MarkPullRequestReadyForReviewInput - - _args: MarkPullRequestReadyForReviewPayloadArgs - - - type: MarkPullRequestReadyForReviewPayload - -class mergeBranch(GQLMutation): - class MergeBranchPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MergeBranchInput - - _args: MergeBranchPayloadArgs - - - type: MergeBranchPayload - -class mergePullRequest(GQLMutation): - class MergePullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MergePullRequestInput - - _args: MergePullRequestPayloadArgs - - - type: MergePullRequestPayload - -class minimizeComment(GQLMutation): - class MinimizeCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MinimizeCommentInput - - _args: MinimizeCommentPayloadArgs - - - type: MinimizeCommentPayload - -class moveProjectCard(GQLMutation): - class MoveProjectCardPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MoveProjectCardInput - - _args: MoveProjectCardPayloadArgs - - - type: MoveProjectCardPayload - -class moveProjectColumn(GQLMutation): - class MoveProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_MoveProjectColumnInput - - _args: MoveProjectColumnPayloadArgs - - - type: MoveProjectColumnPayload - -class pinIssue(GQLMutation): - class PinIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_PinIssueInput - - _args: PinIssuePayloadArgs - - - type: PinIssuePayload - -class publishSponsorsTier(GQLMutation): - class PublishSponsorsTierPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_PublishSponsorsTierInput - - _args: PublishSponsorsTierPayloadArgs - - - type: PublishSponsorsTierPayload - -class regenerateEnterpriseIdentityProviderRecoveryCodes(GQLMutation): - class RegenerateEnterpriseIdentityProviderRecoveryCodesPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RegenerateEnterpriseIdentityProviderRecoveryCodesInput - - _args: RegenerateEnterpriseIdentityProviderRecoveryCodesPayloadArgs - - - type: RegenerateEnterpriseIdentityProviderRecoveryCodesPayload - -class regenerateVerifiableDomainToken(GQLMutation): - class RegenerateVerifiableDomainTokenPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RegenerateVerifiableDomainTokenInput - - _args: RegenerateVerifiableDomainTokenPayloadArgs - - - type: RegenerateVerifiableDomainTokenPayload - -class rejectDeployments(GQLMutation): - class RejectDeploymentsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RejectDeploymentsInput - - _args: RejectDeploymentsPayloadArgs - - - type: RejectDeploymentsPayload - -class removeAssigneesFromAssignable(GQLMutation): - class RemoveAssigneesFromAssignablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveAssigneesFromAssignableInput - - _args: RemoveAssigneesFromAssignablePayloadArgs - - - type: RemoveAssigneesFromAssignablePayload - -class removeEnterpriseAdmin(GQLMutation): - class RemoveEnterpriseAdminPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveEnterpriseAdminInput - - _args: RemoveEnterpriseAdminPayloadArgs - - - type: RemoveEnterpriseAdminPayload - -class removeEnterpriseIdentityProvider(GQLMutation): - class RemoveEnterpriseIdentityProviderPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveEnterpriseIdentityProviderInput - - _args: RemoveEnterpriseIdentityProviderPayloadArgs - - - type: RemoveEnterpriseIdentityProviderPayload - -class removeEnterpriseMember(GQLMutation): - class RemoveEnterpriseMemberPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveEnterpriseMemberInput - - _args: RemoveEnterpriseMemberPayloadArgs - - - type: RemoveEnterpriseMemberPayload - -class removeEnterpriseOrganization(GQLMutation): - class RemoveEnterpriseOrganizationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveEnterpriseOrganizationInput - - _args: RemoveEnterpriseOrganizationPayloadArgs - - - type: RemoveEnterpriseOrganizationPayload - -class removeEnterpriseSupportEntitlement(GQLMutation): - class RemoveEnterpriseSupportEntitlementPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveEnterpriseSupportEntitlementInput - - _args: RemoveEnterpriseSupportEntitlementPayloadArgs - - - type: RemoveEnterpriseSupportEntitlementPayload - -class removeLabelsFromLabelable(GQLMutation): - class RemoveLabelsFromLabelablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveLabelsFromLabelableInput - - _args: RemoveLabelsFromLabelablePayloadArgs - - - type: RemoveLabelsFromLabelablePayload - -class removeOutsideCollaborator(GQLMutation): - class RemoveOutsideCollaboratorPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveOutsideCollaboratorInput - - _args: RemoveOutsideCollaboratorPayloadArgs - - - type: RemoveOutsideCollaboratorPayload - -class removeReaction(GQLMutation): - class RemoveReactionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveReactionInput - - _args: RemoveReactionPayloadArgs - - - type: RemoveReactionPayload - -class removeStar(GQLMutation): - class RemoveStarPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveStarInput - - _args: RemoveStarPayloadArgs - - - type: RemoveStarPayload - -class removeUpvote(GQLMutation): - class RemoveUpvotePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RemoveUpvoteInput - - _args: RemoveUpvotePayloadArgs - - - type: RemoveUpvotePayload - -class reopenDiscussion(GQLMutation): - class ReopenDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ReopenDiscussionInput - - _args: ReopenDiscussionPayloadArgs - - - type: ReopenDiscussionPayload - -class reopenIssue(GQLMutation): - class ReopenIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ReopenIssueInput - - _args: ReopenIssuePayloadArgs - - - type: ReopenIssuePayload - -class reopenPullRequest(GQLMutation): - class ReopenPullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ReopenPullRequestInput - - _args: ReopenPullRequestPayloadArgs - - - type: ReopenPullRequestPayload - -class requestReviews(GQLMutation): - class RequestReviewsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RequestReviewsInput - - _args: RequestReviewsPayloadArgs - - - type: RequestReviewsPayload - -class rerequestCheckSuite(GQLMutation): - class RerequestCheckSuitePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RerequestCheckSuiteInput - - _args: RerequestCheckSuitePayloadArgs - - - type: RerequestCheckSuitePayload - -class resolveReviewThread(GQLMutation): - class ResolveReviewThreadPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_ResolveReviewThreadInput - - _args: ResolveReviewThreadPayloadArgs - - - type: ResolveReviewThreadPayload - -class retireSponsorsTier(GQLMutation): - class RetireSponsorsTierPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RetireSponsorsTierInput - - _args: RetireSponsorsTierPayloadArgs - - - type: RetireSponsorsTierPayload - -class revertPullRequest(GQLMutation): - class RevertPullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RevertPullRequestInput - - _args: RevertPullRequestPayloadArgs - - - type: RevertPullRequestPayload - -class revokeEnterpriseOrganizationsMigratorRole(GQLMutation): - class RevokeEnterpriseOrganizationsMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RevokeEnterpriseOrganizationsMigratorRoleInput - - _args: RevokeEnterpriseOrganizationsMigratorRolePayloadArgs - - - type: RevokeEnterpriseOrganizationsMigratorRolePayload - -class revokeMigratorRole(GQLMutation): - class RevokeMigratorRolePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_RevokeMigratorRoleInput - - _args: RevokeMigratorRolePayloadArgs - - - type: RevokeMigratorRolePayload - -class setEnterpriseIdentityProvider(GQLMutation): - class SetEnterpriseIdentityProviderPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_SetEnterpriseIdentityProviderInput - - _args: SetEnterpriseIdentityProviderPayloadArgs - - - type: SetEnterpriseIdentityProviderPayload - -class setOrganizationInteractionLimit(GQLMutation): - class SetOrganizationInteractionLimitPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_SetOrganizationInteractionLimitInput - - _args: SetOrganizationInteractionLimitPayloadArgs - - - type: SetOrganizationInteractionLimitPayload - -class setRepositoryInteractionLimit(GQLMutation): - class SetRepositoryInteractionLimitPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_SetRepositoryInteractionLimitInput - - _args: SetRepositoryInteractionLimitPayloadArgs - - - type: SetRepositoryInteractionLimitPayload - -class setUserInteractionLimit(GQLMutation): - class SetUserInteractionLimitPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_SetUserInteractionLimitInput - - _args: SetUserInteractionLimitPayloadArgs - - - type: SetUserInteractionLimitPayload - -class startOrganizationMigration(GQLMutation): - class StartOrganizationMigrationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_StartOrganizationMigrationInput - - _args: StartOrganizationMigrationPayloadArgs - - - type: StartOrganizationMigrationPayload - -class startRepositoryMigration(GQLMutation): - class StartRepositoryMigrationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_StartRepositoryMigrationInput - - _args: StartRepositoryMigrationPayloadArgs - - - type: StartRepositoryMigrationPayload - -class submitPullRequestReview(GQLMutation): - class SubmitPullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_SubmitPullRequestReviewInput - - _args: SubmitPullRequestReviewPayloadArgs - - - type: SubmitPullRequestReviewPayload - -class transferEnterpriseOrganization(GQLMutation): - class TransferEnterpriseOrganizationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_TransferEnterpriseOrganizationInput - - _args: TransferEnterpriseOrganizationPayloadArgs - - - type: TransferEnterpriseOrganizationPayload - -class transferIssue(GQLMutation): - class TransferIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_TransferIssueInput - - _args: TransferIssuePayloadArgs - - - type: TransferIssuePayload - -class unarchiveProjectV2Item(GQLMutation): - class UnarchiveProjectV2ItemPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnarchiveProjectV2ItemInput - - _args: UnarchiveProjectV2ItemPayloadArgs - - - type: UnarchiveProjectV2ItemPayload - -class unarchiveRepository(GQLMutation): - class UnarchiveRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnarchiveRepositoryInput - - _args: UnarchiveRepositoryPayloadArgs - - - type: UnarchiveRepositoryPayload - -class unfollowOrganization(GQLMutation): - class UnfollowOrganizationPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnfollowOrganizationInput - - _args: UnfollowOrganizationPayloadArgs - - - type: UnfollowOrganizationPayload - -class unfollowUser(GQLMutation): - class UnfollowUserPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnfollowUserInput - - _args: UnfollowUserPayloadArgs - - - type: UnfollowUserPayload - -class unlinkProjectV2FromRepository(GQLMutation): - class UnlinkProjectV2FromRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnlinkProjectV2FromRepositoryInput - - _args: UnlinkProjectV2FromRepositoryPayloadArgs - - - type: UnlinkProjectV2FromRepositoryPayload - -class unlinkProjectV2FromTeam(GQLMutation): - class UnlinkProjectV2FromTeamPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnlinkProjectV2FromTeamInput - - _args: UnlinkProjectV2FromTeamPayloadArgs - - - type: UnlinkProjectV2FromTeamPayload - -class unlinkRepositoryFromProject(GQLMutation): - class UnlinkRepositoryFromProjectPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnlinkRepositoryFromProjectInput - - _args: UnlinkRepositoryFromProjectPayloadArgs - - - type: UnlinkRepositoryFromProjectPayload - -class unlockLockable(GQLMutation): - class UnlockLockablePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnlockLockableInput - - _args: UnlockLockablePayloadArgs - - - type: UnlockLockablePayload - -class unmarkDiscussionCommentAsAnswer(GQLMutation): - class UnmarkDiscussionCommentAsAnswerPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnmarkDiscussionCommentAsAnswerInput - - _args: UnmarkDiscussionCommentAsAnswerPayloadArgs - - - type: UnmarkDiscussionCommentAsAnswerPayload - -class unmarkFileAsViewed(GQLMutation): - class UnmarkFileAsViewedPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnmarkFileAsViewedInput - - _args: UnmarkFileAsViewedPayloadArgs - - - type: UnmarkFileAsViewedPayload - -class unmarkIssueAsDuplicate(GQLMutation): - class UnmarkIssueAsDuplicatePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnmarkIssueAsDuplicateInput - - _args: UnmarkIssueAsDuplicatePayloadArgs - - - type: UnmarkIssueAsDuplicatePayload - -class unmarkProjectV2AsTemplate(GQLMutation): - class UnmarkProjectV2AsTemplatePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnmarkProjectV2AsTemplateInput - - _args: UnmarkProjectV2AsTemplatePayloadArgs - - - type: UnmarkProjectV2AsTemplatePayload - -class unminimizeComment(GQLMutation): - class UnminimizeCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnminimizeCommentInput - - _args: UnminimizeCommentPayloadArgs - - - type: UnminimizeCommentPayload - -class unpinIssue(GQLMutation): - class UnpinIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnpinIssueInput - - _args: UnpinIssuePayloadArgs - - - type: UnpinIssuePayload - -class unresolveReviewThread(GQLMutation): - class UnresolveReviewThreadPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UnresolveReviewThreadInput - - _args: UnresolveReviewThreadPayloadArgs - - - type: UnresolveReviewThreadPayload - -class updateBranchProtectionRule(GQLMutation): - class UpdateBranchProtectionRulePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateBranchProtectionRuleInput - - _args: UpdateBranchProtectionRulePayloadArgs - - - type: UpdateBranchProtectionRulePayload - -class updateCheckRun(GQLMutation): - class UpdateCheckRunPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateCheckRunInput - - _args: UpdateCheckRunPayloadArgs - - - type: UpdateCheckRunPayload - -class updateCheckSuitePreferences(GQLMutation): - class UpdateCheckSuitePreferencesPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateCheckSuitePreferencesInput - - _args: UpdateCheckSuitePreferencesPayloadArgs - - - type: UpdateCheckSuitePreferencesPayload - -class updateDiscussion(GQLMutation): - class UpdateDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateDiscussionInput - - _args: UpdateDiscussionPayloadArgs - - - type: UpdateDiscussionPayload - -class updateDiscussionComment(GQLMutation): - class UpdateDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateDiscussionCommentInput - - _args: UpdateDiscussionCommentPayloadArgs - - - type: UpdateDiscussionCommentPayload - -class updateEnterpriseAdministratorRole(GQLMutation): - class UpdateEnterpriseAdministratorRolePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseAdministratorRoleInput - - _args: UpdateEnterpriseAdministratorRolePayloadArgs - - - type: UpdateEnterpriseAdministratorRolePayload - -class updateEnterpriseAllowPrivateRepositoryForkingSetting(GQLMutation): - class UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput - - _args: UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayloadArgs - - - type: UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload - -class updateEnterpriseDefaultRepositoryPermissionSetting(GQLMutation): - class UpdateEnterpriseDefaultRepositoryPermissionSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseDefaultRepositoryPermissionSettingInput - - _args: UpdateEnterpriseDefaultRepositoryPermissionSettingPayloadArgs - - - type: UpdateEnterpriseDefaultRepositoryPermissionSettingPayload - -class updateEnterpriseMembersCanChangeRepositoryVisibilitySetting(GQLMutation): - class UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput - - _args: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayloadArgs - - - type: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload - -class updateEnterpriseMembersCanCreateRepositoriesSetting(GQLMutation): - class UpdateEnterpriseMembersCanCreateRepositoriesSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanCreateRepositoriesSettingInput - - _args: UpdateEnterpriseMembersCanCreateRepositoriesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload - -class updateEnterpriseMembersCanDeleteIssuesSetting(GQLMutation): - class UpdateEnterpriseMembersCanDeleteIssuesSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanDeleteIssuesSettingInput - - _args: UpdateEnterpriseMembersCanDeleteIssuesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanDeleteIssuesSettingPayload - -class updateEnterpriseMembersCanDeleteRepositoriesSetting(GQLMutation): - class UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput - - _args: UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload - -class updateEnterpriseMembersCanInviteCollaboratorsSetting(GQLMutation): - class UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput - - _args: UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload - -class updateEnterpriseMembersCanMakePurchasesSetting(GQLMutation): - class UpdateEnterpriseMembersCanMakePurchasesSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanMakePurchasesSettingInput - - _args: UpdateEnterpriseMembersCanMakePurchasesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanMakePurchasesSettingPayload - -class updateEnterpriseMembersCanUpdateProtectedBranchesSetting(GQLMutation): - class UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput - - _args: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload - -class updateEnterpriseMembersCanViewDependencyInsightsSetting(GQLMutation): - class UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput - - _args: UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayloadArgs - - - type: UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload - -class updateEnterpriseOrganizationProjectsSetting(GQLMutation): - class UpdateEnterpriseOrganizationProjectsSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseOrganizationProjectsSettingInput - - _args: UpdateEnterpriseOrganizationProjectsSettingPayloadArgs - - - type: UpdateEnterpriseOrganizationProjectsSettingPayload - -class updateEnterpriseOwnerOrganizationRole(GQLMutation): - class UpdateEnterpriseOwnerOrganizationRolePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseOwnerOrganizationRoleInput - - _args: UpdateEnterpriseOwnerOrganizationRolePayloadArgs - - - type: UpdateEnterpriseOwnerOrganizationRolePayload - -class updateEnterpriseProfile(GQLMutation): - class UpdateEnterpriseProfilePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseProfileInput - - _args: UpdateEnterpriseProfilePayloadArgs - - - type: UpdateEnterpriseProfilePayload - -class updateEnterpriseRepositoryProjectsSetting(GQLMutation): - class UpdateEnterpriseRepositoryProjectsSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseRepositoryProjectsSettingInput - - _args: UpdateEnterpriseRepositoryProjectsSettingPayloadArgs - - - type: UpdateEnterpriseRepositoryProjectsSettingPayload - -class updateEnterpriseTeamDiscussionsSetting(GQLMutation): - class UpdateEnterpriseTeamDiscussionsSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseTeamDiscussionsSettingInput - - _args: UpdateEnterpriseTeamDiscussionsSettingPayloadArgs - - - type: UpdateEnterpriseTeamDiscussionsSettingPayload - -class updateEnterpriseTwoFactorAuthenticationRequiredSetting(GQLMutation): - class UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput - - _args: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayloadArgs - - - type: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload - -class updateEnvironment(GQLMutation): - class UpdateEnvironmentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateEnvironmentInput - - _args: UpdateEnvironmentPayloadArgs - - - type: UpdateEnvironmentPayload - -class updateIpAllowListEnabledSetting(GQLMutation): - class UpdateIpAllowListEnabledSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateIpAllowListEnabledSettingInput - - _args: UpdateIpAllowListEnabledSettingPayloadArgs - - - type: UpdateIpAllowListEnabledSettingPayload - -class updateIpAllowListEntry(GQLMutation): - class UpdateIpAllowListEntryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateIpAllowListEntryInput - - _args: UpdateIpAllowListEntryPayloadArgs - - - type: UpdateIpAllowListEntryPayload - -class updateIpAllowListForInstalledAppsEnabledSetting(GQLMutation): - class UpdateIpAllowListForInstalledAppsEnabledSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateIpAllowListForInstalledAppsEnabledSettingInput - - _args: UpdateIpAllowListForInstalledAppsEnabledSettingPayloadArgs - - - type: UpdateIpAllowListForInstalledAppsEnabledSettingPayload - -class updateIssue(GQLMutation): - class UpdateIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateIssueInput - - _args: UpdateIssuePayloadArgs - - - type: UpdateIssuePayload - -class updateIssueComment(GQLMutation): - class UpdateIssueCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateIssueCommentInput - - _args: UpdateIssueCommentPayloadArgs - - - type: UpdateIssueCommentPayload - -class updateNotificationRestrictionSetting(GQLMutation): - class UpdateNotificationRestrictionSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateNotificationRestrictionSettingInput - - _args: UpdateNotificationRestrictionSettingPayloadArgs - - - type: UpdateNotificationRestrictionSettingPayload - -class updateOrganizationAllowPrivateRepositoryForkingSetting(GQLMutation): - class UpdateOrganizationAllowPrivateRepositoryForkingSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateOrganizationAllowPrivateRepositoryForkingSettingInput - - _args: UpdateOrganizationAllowPrivateRepositoryForkingSettingPayloadArgs - - - type: UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload - -class updateOrganizationWebCommitSignoffSetting(GQLMutation): - class UpdateOrganizationWebCommitSignoffSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateOrganizationWebCommitSignoffSettingInput - - _args: UpdateOrganizationWebCommitSignoffSettingPayloadArgs - - - type: UpdateOrganizationWebCommitSignoffSettingPayload - -class updateProject(GQLMutation): - class UpdateProjectPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectInput - - _args: UpdateProjectPayloadArgs - - - type: UpdateProjectPayload - -class updateProjectCard(GQLMutation): - class UpdateProjectCardPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectCardInput - - _args: UpdateProjectCardPayloadArgs - - - type: UpdateProjectCardPayload - -class updateProjectColumn(GQLMutation): - class UpdateProjectColumnPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectColumnInput - - _args: UpdateProjectColumnPayloadArgs - - - type: UpdateProjectColumnPayload - -class updateProjectV2(GQLMutation): - class UpdateProjectV2PayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectV2Input - - _args: UpdateProjectV2PayloadArgs - - - type: UpdateProjectV2Payload - -class updateProjectV2Collaborators(GQLMutation): - class UpdateProjectV2CollaboratorsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectV2CollaboratorsInput - - _args: UpdateProjectV2CollaboratorsPayloadArgs - - - type: UpdateProjectV2CollaboratorsPayload - -class updateProjectV2DraftIssue(GQLMutation): - class UpdateProjectV2DraftIssuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectV2DraftIssueInput - - _args: UpdateProjectV2DraftIssuePayloadArgs - - - type: UpdateProjectV2DraftIssuePayload - -class updateProjectV2ItemFieldValue(GQLMutation): - class UpdateProjectV2ItemFieldValuePayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectV2ItemFieldValueInput - - _args: UpdateProjectV2ItemFieldValuePayloadArgs - - - type: UpdateProjectV2ItemFieldValuePayload - -class updateProjectV2ItemPosition(GQLMutation): - class UpdateProjectV2ItemPositionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateProjectV2ItemPositionInput - - _args: UpdateProjectV2ItemPositionPayloadArgs - - - type: UpdateProjectV2ItemPositionPayload - -class updatePullRequest(GQLMutation): - class UpdatePullRequestPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdatePullRequestInput - - _args: UpdatePullRequestPayloadArgs - - - type: UpdatePullRequestPayload - -class updatePullRequestBranch(GQLMutation): - class UpdatePullRequestBranchPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdatePullRequestBranchInput - - _args: UpdatePullRequestBranchPayloadArgs - - - type: UpdatePullRequestBranchPayload - -class updatePullRequestReview(GQLMutation): - class UpdatePullRequestReviewPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdatePullRequestReviewInput - - _args: UpdatePullRequestReviewPayloadArgs - - - type: UpdatePullRequestReviewPayload - -class updatePullRequestReviewComment(GQLMutation): - class UpdatePullRequestReviewCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdatePullRequestReviewCommentInput - - _args: UpdatePullRequestReviewCommentPayloadArgs - - - type: UpdatePullRequestReviewCommentPayload - -class updateRef(GQLMutation): - class UpdateRefPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateRefInput - - _args: UpdateRefPayloadArgs - - - type: UpdateRefPayload - -class updateRepository(GQLMutation): - class UpdateRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateRepositoryInput - - _args: UpdateRepositoryPayloadArgs - - - type: UpdateRepositoryPayload - -class updateRepositoryRuleset(GQLMutation): - class UpdateRepositoryRulesetPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateRepositoryRulesetInput - - _args: UpdateRepositoryRulesetPayloadArgs - - - type: UpdateRepositoryRulesetPayload - -class updateRepositoryWebCommitSignoffSetting(GQLMutation): - class UpdateRepositoryWebCommitSignoffSettingPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateRepositoryWebCommitSignoffSettingInput - - _args: UpdateRepositoryWebCommitSignoffSettingPayloadArgs - - - type: UpdateRepositoryWebCommitSignoffSettingPayload - -class updateSponsorshipPreferences(GQLMutation): - class UpdateSponsorshipPreferencesPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateSponsorshipPreferencesInput - - _args: UpdateSponsorshipPreferencesPayloadArgs - - - type: UpdateSponsorshipPreferencesPayload - -class updateSubscription(GQLMutation): - class UpdateSubscriptionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateSubscriptionInput - - _args: UpdateSubscriptionPayloadArgs - - - type: UpdateSubscriptionPayload - -class updateTeamDiscussion(GQLMutation): - class UpdateTeamDiscussionPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateTeamDiscussionInput - - _args: UpdateTeamDiscussionPayloadArgs - - - type: UpdateTeamDiscussionPayload - -class updateTeamDiscussionComment(GQLMutation): - class UpdateTeamDiscussionCommentPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateTeamDiscussionCommentInput - - _args: UpdateTeamDiscussionCommentPayloadArgs - - - type: UpdateTeamDiscussionCommentPayload - -class updateTeamsRepository(GQLMutation): - class UpdateTeamsRepositoryPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateTeamsRepositoryInput - - _args: UpdateTeamsRepositoryPayloadArgs - - - type: UpdateTeamsRepositoryPayload - -class updateTopics(GQLMutation): - class UpdateTopicsPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateTopicsInput - - _args: UpdateTopicsPayloadArgs - - - type: UpdateTopicsPayload - -class verifyVerifiableDomain(GQLMutation): - class VerifyVerifiableDomainPayloadArgs(GQLArgsSet, GQLObject): - input: NonNull_VerifyVerifiableDomainInput - - _args: VerifyVerifiableDomainPayloadArgs - - - type: VerifyVerifiableDomainPayload - - -class Mutations(Enum): - abortQueuedMigrations = abortQueuedMigrations - acceptEnterpriseAdministratorInvitation = acceptEnterpriseAdministratorInvitation - acceptTopicSuggestion = acceptTopicSuggestion - addAssigneesToAssignable = addAssigneesToAssignable - addComment = addComment - addDiscussionComment = addDiscussionComment - addDiscussionPollVote = addDiscussionPollVote - addEnterpriseOrganizationMember = addEnterpriseOrganizationMember - addEnterpriseSupportEntitlement = addEnterpriseSupportEntitlement - addLabelsToLabelable = addLabelsToLabelable - addProjectCard = addProjectCard - addProjectColumn = addProjectColumn - addProjectV2DraftIssue = addProjectV2DraftIssue - addProjectV2ItemById = addProjectV2ItemById - addPullRequestReview = addPullRequestReview - addPullRequestReviewComment = addPullRequestReviewComment - addPullRequestReviewThread = addPullRequestReviewThread - addPullRequestReviewThreadReply = addPullRequestReviewThreadReply - addReaction = addReaction - addStar = addStar - addUpvote = addUpvote - addVerifiableDomain = addVerifiableDomain - approveDeployments = approveDeployments - approveVerifiableDomain = approveVerifiableDomain - archiveProjectV2Item = archiveProjectV2Item - archiveRepository = archiveRepository - cancelEnterpriseAdminInvitation = cancelEnterpriseAdminInvitation - cancelSponsorship = cancelSponsorship - changeUserStatus = changeUserStatus - clearLabelsFromLabelable = clearLabelsFromLabelable - clearProjectV2ItemFieldValue = clearProjectV2ItemFieldValue - cloneProject = cloneProject - cloneTemplateRepository = cloneTemplateRepository - closeDiscussion = closeDiscussion - closeIssue = closeIssue - closePullRequest = closePullRequest - convertProjectCardNoteToIssue = convertProjectCardNoteToIssue - convertPullRequestToDraft = convertPullRequestToDraft - copyProjectV2 = copyProjectV2 - createAttributionInvitation = createAttributionInvitation - createBranchProtectionRule = createBranchProtectionRule - createCheckRun = createCheckRun - createCheckSuite = createCheckSuite - createCommitOnBranch = createCommitOnBranch - createDiscussion = createDiscussion - createEnterpriseOrganization = createEnterpriseOrganization - createEnvironment = createEnvironment - createIpAllowListEntry = createIpAllowListEntry - createIssue = createIssue - createLinkedBranch = createLinkedBranch - createMigrationSource = createMigrationSource - createProject = createProject - createProjectV2 = createProjectV2 - createProjectV2Field = createProjectV2Field - createPullRequest = createPullRequest - createRef = createRef - createRepository = createRepository - createRepositoryRuleset = createRepositoryRuleset - createSponsorsListing = createSponsorsListing - createSponsorsTier = createSponsorsTier - createSponsorship = createSponsorship - createSponsorships = createSponsorships - createTeamDiscussion = createTeamDiscussion - createTeamDiscussionComment = createTeamDiscussionComment - declineTopicSuggestion = declineTopicSuggestion - deleteBranchProtectionRule = deleteBranchProtectionRule - deleteDeployment = deleteDeployment - deleteDiscussion = deleteDiscussion - deleteDiscussionComment = deleteDiscussionComment - deleteEnvironment = deleteEnvironment - deleteIpAllowListEntry = deleteIpAllowListEntry - deleteIssue = deleteIssue - deleteIssueComment = deleteIssueComment - deleteLinkedBranch = deleteLinkedBranch - deleteProject = deleteProject - deleteProjectCard = deleteProjectCard - deleteProjectColumn = deleteProjectColumn - deleteProjectV2 = deleteProjectV2 - deleteProjectV2Field = deleteProjectV2Field - deleteProjectV2Item = deleteProjectV2Item - deleteProjectV2Workflow = deleteProjectV2Workflow - deletePullRequestReview = deletePullRequestReview - deletePullRequestReviewComment = deletePullRequestReviewComment - deleteRef = deleteRef - deleteRepositoryRuleset = deleteRepositoryRuleset - deleteTeamDiscussion = deleteTeamDiscussion - deleteTeamDiscussionComment = deleteTeamDiscussionComment - deleteVerifiableDomain = deleteVerifiableDomain - dequeuePullRequest = dequeuePullRequest - disablePullRequestAutoMerge = disablePullRequestAutoMerge - dismissPullRequestReview = dismissPullRequestReview - dismissRepositoryVulnerabilityAlert = dismissRepositoryVulnerabilityAlert - enablePullRequestAutoMerge = enablePullRequestAutoMerge - enqueuePullRequest = enqueuePullRequest - followOrganization = followOrganization - followUser = followUser - grantEnterpriseOrganizationsMigratorRole = grantEnterpriseOrganizationsMigratorRole - grantMigratorRole = grantMigratorRole - inviteEnterpriseAdmin = inviteEnterpriseAdmin - linkProjectV2ToRepository = linkProjectV2ToRepository - linkProjectV2ToTeam = linkProjectV2ToTeam - linkRepositoryToProject = linkRepositoryToProject - lockLockable = lockLockable - markDiscussionCommentAsAnswer = markDiscussionCommentAsAnswer - markFileAsViewed = markFileAsViewed - markProjectV2AsTemplate = markProjectV2AsTemplate - markPullRequestReadyForReview = markPullRequestReadyForReview - mergeBranch = mergeBranch - mergePullRequest = mergePullRequest - minimizeComment = minimizeComment - moveProjectCard = moveProjectCard - moveProjectColumn = moveProjectColumn - pinIssue = pinIssue - publishSponsorsTier = publishSponsorsTier - regenerateEnterpriseIdentityProviderRecoveryCodes = regenerateEnterpriseIdentityProviderRecoveryCodes - regenerateVerifiableDomainToken = regenerateVerifiableDomainToken - rejectDeployments = rejectDeployments - removeAssigneesFromAssignable = removeAssigneesFromAssignable - removeEnterpriseAdmin = removeEnterpriseAdmin - removeEnterpriseIdentityProvider = removeEnterpriseIdentityProvider - removeEnterpriseMember = removeEnterpriseMember - removeEnterpriseOrganization = removeEnterpriseOrganization - removeEnterpriseSupportEntitlement = removeEnterpriseSupportEntitlement - removeLabelsFromLabelable = removeLabelsFromLabelable - removeOutsideCollaborator = removeOutsideCollaborator - removeReaction = removeReaction - removeStar = removeStar - removeUpvote = removeUpvote - reopenDiscussion = reopenDiscussion - reopenIssue = reopenIssue - reopenPullRequest = reopenPullRequest - requestReviews = requestReviews - rerequestCheckSuite = rerequestCheckSuite - resolveReviewThread = resolveReviewThread - retireSponsorsTier = retireSponsorsTier - revertPullRequest = revertPullRequest - revokeEnterpriseOrganizationsMigratorRole = revokeEnterpriseOrganizationsMigratorRole - revokeMigratorRole = revokeMigratorRole - setEnterpriseIdentityProvider = setEnterpriseIdentityProvider - setOrganizationInteractionLimit = setOrganizationInteractionLimit - setRepositoryInteractionLimit = setRepositoryInteractionLimit - setUserInteractionLimit = setUserInteractionLimit - startOrganizationMigration = startOrganizationMigration - startRepositoryMigration = startRepositoryMigration - submitPullRequestReview = submitPullRequestReview - transferEnterpriseOrganization = transferEnterpriseOrganization - transferIssue = transferIssue - unarchiveProjectV2Item = unarchiveProjectV2Item - unarchiveRepository = unarchiveRepository - unfollowOrganization = unfollowOrganization - unfollowUser = unfollowUser - unlinkProjectV2FromRepository = unlinkProjectV2FromRepository - unlinkProjectV2FromTeam = unlinkProjectV2FromTeam - unlinkRepositoryFromProject = unlinkRepositoryFromProject - unlockLockable = unlockLockable - unmarkDiscussionCommentAsAnswer = unmarkDiscussionCommentAsAnswer - unmarkFileAsViewed = unmarkFileAsViewed - unmarkIssueAsDuplicate = unmarkIssueAsDuplicate - unmarkProjectV2AsTemplate = unmarkProjectV2AsTemplate - unminimizeComment = unminimizeComment - unpinIssue = unpinIssue - unresolveReviewThread = unresolveReviewThread - updateBranchProtectionRule = updateBranchProtectionRule - updateCheckRun = updateCheckRun - updateCheckSuitePreferences = updateCheckSuitePreferences - updateDiscussion = updateDiscussion - updateDiscussionComment = updateDiscussionComment - updateEnterpriseAdministratorRole = updateEnterpriseAdministratorRole - updateEnterpriseAllowPrivateRepositoryForkingSetting = updateEnterpriseAllowPrivateRepositoryForkingSetting - updateEnterpriseDefaultRepositoryPermissionSetting = updateEnterpriseDefaultRepositoryPermissionSetting - updateEnterpriseMembersCanChangeRepositoryVisibilitySetting = updateEnterpriseMembersCanChangeRepositoryVisibilitySetting - updateEnterpriseMembersCanCreateRepositoriesSetting = updateEnterpriseMembersCanCreateRepositoriesSetting - updateEnterpriseMembersCanDeleteIssuesSetting = updateEnterpriseMembersCanDeleteIssuesSetting - updateEnterpriseMembersCanDeleteRepositoriesSetting = updateEnterpriseMembersCanDeleteRepositoriesSetting - updateEnterpriseMembersCanInviteCollaboratorsSetting = updateEnterpriseMembersCanInviteCollaboratorsSetting - updateEnterpriseMembersCanMakePurchasesSetting = updateEnterpriseMembersCanMakePurchasesSetting - updateEnterpriseMembersCanUpdateProtectedBranchesSetting = updateEnterpriseMembersCanUpdateProtectedBranchesSetting - updateEnterpriseMembersCanViewDependencyInsightsSetting = updateEnterpriseMembersCanViewDependencyInsightsSetting - updateEnterpriseOrganizationProjectsSetting = updateEnterpriseOrganizationProjectsSetting - updateEnterpriseOwnerOrganizationRole = updateEnterpriseOwnerOrganizationRole - updateEnterpriseProfile = updateEnterpriseProfile - updateEnterpriseRepositoryProjectsSetting = updateEnterpriseRepositoryProjectsSetting - updateEnterpriseTeamDiscussionsSetting = updateEnterpriseTeamDiscussionsSetting - updateEnterpriseTwoFactorAuthenticationRequiredSetting = updateEnterpriseTwoFactorAuthenticationRequiredSetting - updateEnvironment = updateEnvironment - updateIpAllowListEnabledSetting = updateIpAllowListEnabledSetting - updateIpAllowListEntry = updateIpAllowListEntry - updateIpAllowListForInstalledAppsEnabledSetting = updateIpAllowListForInstalledAppsEnabledSetting - updateIssue = updateIssue - updateIssueComment = updateIssueComment - updateNotificationRestrictionSetting = updateNotificationRestrictionSetting - updateOrganizationAllowPrivateRepositoryForkingSetting = updateOrganizationAllowPrivateRepositoryForkingSetting - updateOrganizationWebCommitSignoffSetting = updateOrganizationWebCommitSignoffSetting - updateProject = updateProject - updateProjectCard = updateProjectCard - updateProjectColumn = updateProjectColumn - updateProjectV2 = updateProjectV2 - updateProjectV2Collaborators = updateProjectV2Collaborators - updateProjectV2DraftIssue = updateProjectV2DraftIssue - updateProjectV2ItemFieldValue = updateProjectV2ItemFieldValue - updateProjectV2ItemPosition = updateProjectV2ItemPosition - updatePullRequest = updatePullRequest - updatePullRequestBranch = updatePullRequestBranch - updatePullRequestReview = updatePullRequestReview - updatePullRequestReviewComment = updatePullRequestReviewComment - updateRef = updateRef - updateRepository = updateRepository - updateRepositoryRuleset = updateRepositoryRuleset - updateRepositoryWebCommitSignoffSetting = updateRepositoryWebCommitSignoffSetting - updateSponsorshipPreferences = updateSponsorshipPreferences - updateSubscription = updateSubscription - updateTeamDiscussion = updateTeamDiscussion - updateTeamDiscussionComment = updateTeamDiscussionComment - updateTeamsRepository = updateTeamsRepository - updateTopics = updateTopics - verifyVerifiableDomain = verifyVerifiableDomain diff --git a/tests/output/github_nodesc/organization.py b/tests/output/github_nodesc/organization.py new file mode 100644 index 0000000..9fb0b01 --- /dev/null +++ b/tests/output/github_nodesc/organization.py @@ -0,0 +1,138 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + IpAllowListEnabledSettingValue, + IpAllowListForInstalledAppsEnabledSettingValue, + NotificationRestrictionSettingValue, +) +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .repository import Repository + from .team import Team + from .project_v2 import ProjectV2 + from .project import Project + from .repository_ruleset import RepositoryRuleset + from .ip_allow_list_entry_connection import IpAllowListEntryConnection + from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection + from .sponsors_listing import SponsorsListing + from .gql_types import RepositoryInteractionAbility + from .gql_types import TeamConnection + from .gql_types import UserStatusConnection + from .gql_types import ProjectV2Connection + from .gql_types import RepositoryConnection + from .gql_types import DiscussionCommentConnection + from .gql_types import DiscussionConnection + from .gql_types import PackageConnection + from .gql_types import ProjectConnection + from .gql_types import RepositoryRulesetConnection + from .gql_types import OrganizationAuditEntryConnection + from .gql_types import VerifiableDomainConnection + from .gql_types import OrganizationEnterpriseOwnerConnection + from .gql_types import PinnableItemConnection + from .gql_types import ProfileItemShowcase + from .gql_types import SponsorConnection + from .gql_types import Sponsorship + from .gql_types import SponsorshipConnection + from .gql_types import SponsorsActivityConnection + from .gql_types import SponsorshipNewsletterConnection + from .gql_types import MannequinConnection + from .gql_types import OrganizationMemberConnection + from .gql_types import RepositoryMigrationConnection + from .gql_types import OrganizationIdentityProvider + + +@dataclass(kw_only=True) +class Organization: + announcement: Optional[str] = None + announcement_expires_at: Optional[DateTime] = None + announcement_user_dismissible: Optional[bool] = None + any_pinnable_items: bool + archived_at: Optional[DateTime] = None + audit_log: OrganizationAuditEntryConnection + avatar_url: URI + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: Optional[str] = None + domains: Optional[VerifiableDomainConnection] = None + email: Optional[str] = None + enterprise_owners: OrganizationEnterpriseOwnerConnection + estimated_next_sponsors_payout_in_cents: int + has_sponsors_listing: bool + id: ID + interaction_ability: Optional[RepositoryInteractionAbility] = None + ip_allow_list_enabled_setting: IpAllowListEnabledSettingValue + ip_allow_list_entries: IpAllowListEntryConnection + ip_allow_list_for_installed_apps_enabled_setting: IpAllowListForInstalledAppsEnabledSettingValue + is_sponsored_by: bool + is_sponsoring_viewer: bool + is_verified: bool + item_showcase: ProfileItemShowcase + lifetime_received_sponsorship_values: SponsorAndLifetimeValueConnection + location: Optional[str] = None + login: str + mannequins: MannequinConnection + member_statuses: UserStatusConnection + members_can_fork_private_repositories: bool + members_with_role: OrganizationMemberConnection + monthly_estimated_sponsors_income_in_cents: int + name: Optional[str] = None + new_team_resource_path: URI + new_team_url: URI + notification_delivery_restriction_enabled_setting: NotificationRestrictionSettingValue + organization_billing_email: Optional[str] = None + packages: PackageConnection + pending_members: UserConnection + pinnable_items: PinnableItemConnection + pinned_items: PinnableItemConnection + pinned_items_remaining: int + project: Optional[Project] = None + project_v2: Optional[ProjectV2] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + projects_v2: ProjectV2Connection + recent_projects: ProjectV2Connection + repositories: RepositoryConnection + repository: Optional[Repository] = None + repository_discussion_comments: DiscussionCommentConnection + repository_discussions: DiscussionConnection + repository_migrations: RepositoryMigrationConnection + requires_two_factor_authentication: Optional[bool] = None + resource_path: URI + ruleset: Optional[RepositoryRuleset] = None + rulesets: Optional[RepositoryRulesetConnection] = None + saml_identity_provider: Optional[OrganizationIdentityProvider] = None + sponsoring: SponsorConnection + sponsors: SponsorConnection + sponsors_activities: SponsorsActivityConnection + sponsors_listing: Optional[SponsorsListing] = None + sponsorship_for_viewer_as_sponsor: Optional[Sponsorship] = None + sponsorship_for_viewer_as_sponsorable: Optional[Sponsorship] = None + sponsorship_newsletters: SponsorshipNewsletterConnection + sponsorships_as_maintainer: SponsorshipConnection + sponsorships_as_sponsor: SponsorshipConnection + team: Optional[Team] = None + teams: TeamConnection + teams_resource_path: URI + teams_url: URI + total_sponsorship_amount_as_sponsor_in_cents: Optional[int] = None + twitter_username: Optional[str] = None + updated_at: DateTime + url: URI + viewer_can_administer: bool + viewer_can_change_pinned_items: bool + viewer_can_create_projects: bool + viewer_can_create_repositories: bool + viewer_can_create_teams: bool + viewer_can_sponsor: bool + viewer_is_a_member: bool + viewer_is_following: bool + viewer_is_sponsoring: bool + web_commit_signoff_required: bool + website_url: Optional[URI] = None diff --git a/tests/output/github_nodesc/package.py b/tests/output/github_nodesc/package.py new file mode 100644 index 0000000..234ba31 --- /dev/null +++ b/tests/output/github_nodesc/package.py @@ -0,0 +1,25 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import PackageType +from .gql_simple_types import PackageStatistics +from .scalars import ID + +if TYPE_CHECKING: + from .repository import Repository + from .package_version import PackageVersion + from .gql_types import PackageVersionConnection + + +@dataclass(kw_only=True) +class Package: + id: ID + latest_version: Optional[PackageVersion] = None + name: str + package_type: PackageType + repository: Optional[Repository] = None + statistics: Optional[PackageStatistics] = None + version: Optional[PackageVersion] = None + versions: PackageVersionConnection diff --git a/tests/output/github_nodesc/package_version.py b/tests/output/github_nodesc/package_version.py new file mode 100644 index 0000000..55c761e --- /dev/null +++ b/tests/output/github_nodesc/package_version.py @@ -0,0 +1,26 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import PackageVersionStatistics +from .scalars import ID + +if TYPE_CHECKING: + from .release import Release + from .package import Package + from .gql_types import PackageFileConnection + + +@dataclass(kw_only=True) +class PackageVersion: + files: PackageFileConnection + id: ID + package: Optional[Package] = None + platform: Optional[str] = None + pre_release: bool + readme: Optional[str] = None + release: Optional[Release] = None + statistics: Optional[PackageVersionStatistics] = None + summary: Optional[str] = None + version: str diff --git a/tests/output/github_nodesc/project.py b/tests/output/github_nodesc/project.py new file mode 100644 index 0000000..5604f9b --- /dev/null +++ b/tests/output/github_nodesc/project.py @@ -0,0 +1,39 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ProjectState +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import ProjectProgress + from .gql_types import ProjectCardConnection + from .gql_types import ProjectColumnConnection + from .gql_types import ProjectOwner + + +@dataclass(kw_only=True) +class Project: + body: Optional[str] = None + body_h_t_m_l: HTML + closed: bool + closed_at: Optional[DateTime] = None + columns: ProjectColumnConnection + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + id: ID + name: str + number: int + owner: ProjectOwner + pending_cards: ProjectCardConnection + progress: ProjectProgress + resource_path: URI + state: ProjectState + updated_at: DateTime + url: URI + viewer_can_close: bool + viewer_can_reopen: bool + viewer_can_update: bool diff --git a/tests/output/github_nodesc/project_column.py b/tests/output/github_nodesc/project_column.py new file mode 100644 index 0000000..5dbf126 --- /dev/null +++ b/tests/output/github_nodesc/project_column.py @@ -0,0 +1,25 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ProjectColumnPurpose +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .project import Project + from .gql_types import ProjectCardConnection + + +@dataclass(kw_only=True) +class ProjectColumn: + cards: ProjectCardConnection + created_at: DateTime + database_id: Optional[int] = None + id: ID + name: str + project: Project + purpose: Optional[ProjectColumnPurpose] = None + resource_path: URI + updated_at: DateTime + url: URI diff --git a/tests/output/github_nodesc/project_v2.py b/tests/output/github_nodesc/project_v2.py new file mode 100644 index 0000000..2d34d9d --- /dev/null +++ b/tests/output/github_nodesc/project_v2.py @@ -0,0 +1,51 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import Actor +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .project_v2_item_connection import ProjectV2ItemConnection + from .gql_types import TeamConnection + from .gql_unions import ProjectV2FieldConfiguration + from .gql_types import ProjectV2FieldConfigurationConnection + from .gql_types import ProjectV2Owner + from .gql_types import RepositoryConnection + from .gql_types import ProjectV2View + from .gql_types import ProjectV2ViewConnection + from .gql_types import ProjectV2Workflow + from .gql_types import ProjectV2WorkflowConnection + + +@dataclass(kw_only=True) +class ProjectV2: + closed: bool + closed_at: Optional[DateTime] = None + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field: Optional[ProjectV2FieldConfiguration] = None + fields: ProjectV2FieldConfigurationConnection + id: ID + items: ProjectV2ItemConnection + number: int + owner: ProjectV2Owner + public: bool + readme: Optional[str] = None + repositories: RepositoryConnection + resource_path: URI + short_description: Optional[str] = None + teams: TeamConnection + template: bool + title: str + updated_at: DateTime + url: URI + view: Optional[ProjectV2View] = None + viewer_can_close: bool + viewer_can_reopen: bool + viewer_can_update: bool + views: ProjectV2ViewConnection + workflow: Optional[ProjectV2Workflow] = None + workflows: ProjectV2WorkflowConnection diff --git a/tests/output/github_nodesc/project_v2_item.py b/tests/output/github_nodesc/project_v2_item.py new file mode 100644 index 0000000..c5019cc --- /dev/null +++ b/tests/output/github_nodesc/project_v2_item.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ProjectV2ItemType +from .gql_simple_types import Actor +from .scalars import ID, BigInt, DateTime + +if TYPE_CHECKING: + from .project_v2 import ProjectV2 + from .gql_unions import ProjectV2ItemContent + from .gql_unions import ProjectV2ItemFieldValue + from .gql_types import ProjectV2ItemFieldValueConnection + + +@dataclass(kw_only=True) +class ProjectV2Item: + content: Optional[ProjectV2ItemContent] = None + created_at: DateTime + creator: Optional[Actor] = None + database_id: Optional[int] = None + field_value_by_name: Optional[ProjectV2ItemFieldValue] = None + field_values: ProjectV2ItemFieldValueConnection + full_database_id: Optional[BigInt] = None + id: ID + is_archived: bool + project: ProjectV2 + type: ProjectV2ItemType + updated_at: DateTime diff --git a/tests/output/github_nodesc/project_v2_item_connection.py b/tests/output/github_nodesc/project_v2_item_connection.py new file mode 100644 index 0000000..1e56ae0 --- /dev/null +++ b/tests/output/github_nodesc/project_v2_item_connection.py @@ -0,0 +1,17 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .project_v2_item import ProjectV2Item + from .gql_types import PageInfo + from .gql_types import ProjectV2ItemEdge + + +@dataclass(kw_only=True) +class ProjectV2ItemConnection: + edges: Optional[list[ProjectV2ItemEdge]] = None + nodes: Optional[list[ProjectV2Item]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github_nodesc/pull_request.py b/tests/output/github_nodesc/pull_request.py new file mode 100644 index 0000000..fb3a67e --- /dev/null +++ b/tests/output/github_nodesc/pull_request.py @@ -0,0 +1,155 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + LockReason, + MergeableState, + MergeStateStatus, + PullRequestReviewDecision, + PullRequestState, + SubscriptionState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime, GitObjectID + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .ref import Ref + from .repository import Repository + from .reaction_group import ReactionGroup + from .project_v2 import ProjectV2 + from .project_v2_item_connection import ProjectV2ItemConnection + from .commit import Commit + from .merge_queue import MergeQueue + from .pull_request_review import PullRequestReview + from .gql_types import AutoMergeRequest + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import LabelConnection + from .gql_types import Milestone + from .gql_types import MergeQueueEntry + from .gql_types import RepositoryOwner + from .gql_types import ProjectCardConnection + from .gql_types import IssueCommentConnection + from .gql_types import PullRequestCommitConnection + from .gql_types import PullRequestChangedFileConnection + from .gql_types import Hovercard + from .gql_types import PullRequestReviewConnection + from .gql_types import ReviewRequest + from .gql_types import ReviewRequestConnection + from .gql_types import PullRequestReviewThreadConnection + from .gql_types import SuggestedReviewer + from .gql_types import PullRequestTimelineItemsConnection + + +@dataclass(kw_only=True) +class PullRequest: + active_lock_reason: Optional[LockReason] = None + additions: int + assignees: UserConnection + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + auto_merge_request: Optional[AutoMergeRequest] = None + base_ref: Optional[Ref] = None + base_ref_name: str + base_ref_oid: GitObjectID + base_repository: Optional[Repository] = None + body: str + body_h_t_m_l: HTML + body_text: str + can_be_rebased: bool + changed_files: int + checks_resource_path: URI + checks_url: URI + closed: bool + closed_at: Optional[DateTime] = None + closing_issues_references: Optional[IssueConnection] = None + comments: IssueCommentConnection + commits: PullRequestCommitConnection + created_at: DateTime + created_via_email: bool + deletions: int + editor: Optional[Actor] = None + files: Optional[PullRequestChangedFileConnection] = None + full_database_id: Optional[BigInt] = None + head_ref: Optional[Ref] = None + head_ref_name: str + head_ref_oid: GitObjectID + head_repository: Optional[Repository] = None + head_repository_owner: Optional[RepositoryOwner] = None + hovercard: Hovercard + id: ID + includes_created_edit: bool + is_cross_repository: bool + is_draft: bool + is_in_merge_queue: bool + is_merge_queue_enabled: bool + is_read_by_viewer: Optional[bool] = None + labels: Optional[LabelConnection] = None + last_edited_at: Optional[DateTime] = None + latest_opinionated_reviews: Optional[PullRequestReviewConnection] = None + latest_reviews: Optional[PullRequestReviewConnection] = None + locked: bool + maintainer_can_modify: bool + merge_commit: Optional[Commit] = None + merge_queue: Optional[MergeQueue] = None + merge_queue_entry: Optional[MergeQueueEntry] = None + merge_state_status: MergeStateStatus + mergeable: MergeableState + merged: bool + merged_at: Optional[DateTime] = None + merged_by: Optional[Actor] = None + milestone: Optional[Milestone] = None + number: int + participants: UserConnection + permalink: URI + potential_merge_commit: Optional[Commit] = None + project_cards: ProjectCardConnection + project_items: ProjectV2ItemConnection + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + revert_resource_path: URI + revert_url: URI + review_decision: Optional[PullRequestReviewDecision] = None + review_requests: Optional[ReviewRequestConnection] = None + review_threads: PullRequestReviewThreadConnection + reviews: Optional[PullRequestReviewConnection] = None + state: PullRequestState + suggested_reviewers: list[SuggestedReviewer] + timeline_items: PullRequestTimelineItemsConnection + title: str + title_h_t_m_l: HTML + total_comments_count: Optional[int] = None + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_apply_suggestion: bool + viewer_can_close: bool + viewer_can_delete_head_ref: bool + viewer_can_disable_auto_merge: bool + viewer_can_edit_files: bool + viewer_can_enable_auto_merge: bool + viewer_can_merge_as_admin: bool + viewer_can_react: bool + viewer_can_reopen: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_can_update_branch: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_latest_review: Optional[PullRequestReview] = None + viewer_latest_review_request: Optional[ReviewRequest] = None + viewer_merge_body_text: str + viewer_merge_headline_text: str + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github_nodesc/pull_request_connection.py b/tests/output/github_nodesc/pull_request_connection.py new file mode 100644 index 0000000..03b9480 --- /dev/null +++ b/tests/output/github_nodesc/pull_request_connection.py @@ -0,0 +1,17 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .gql_types import PageInfo + from .gql_types import PullRequestEdge + + +@dataclass(kw_only=True) +class PullRequestConnection: + edges: Optional[list[PullRequestEdge]] = None + nodes: Optional[list[PullRequest]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github_nodesc/pull_request_review.py b/tests/output/github_nodesc/pull_request_review.py new file mode 100644 index 0000000..6e926a0 --- /dev/null +++ b/tests/output/github_nodesc/pull_request_review.py @@ -0,0 +1,61 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + PullRequestReviewState, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .repository import Repository + from .reaction_group import ReactionGroup + from .commit import Commit + from .gql_types import TeamConnection + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + from .gql_types import PullRequestReviewCommentConnection + + +@dataclass(kw_only=True) +class PullRequestReview: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + author_can_push_to_repository: bool + body: str + body_h_t_m_l: HTML + body_text: str + comments: PullRequestReviewCommentConnection + commit: Optional[Commit] = None + created_at: DateTime + created_via_email: bool + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + minimized_reason: Optional[str] = None + on_behalf_of: TeamConnection + published_at: Optional[DateTime] = None + pull_request: PullRequest + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + repository: Repository + resource_path: URI + state: PullRequestReviewState + submitted_at: Optional[DateTime] = None + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool diff --git a/tests/output/github_nodesc/pull_request_review_comment.py b/tests/output/github_nodesc/pull_request_review_comment.py new file mode 100644 index 0000000..4affd78 --- /dev/null +++ b/tests/output/github_nodesc/pull_request_review_comment.py @@ -0,0 +1,69 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + CommentAuthorAssociation, + CommentCannotUpdateReason, + PullRequestReviewCommentState, + PullRequestReviewThreadSubjectType, +) +from .gql_simple_types import Actor +from .scalars import HTML, ID, URI, BigInt, DateTime + +if TYPE_CHECKING: + from .pull_request import PullRequest + from .repository import Repository + from .reaction_group import ReactionGroup + from .commit import Commit + from .pull_request_review import PullRequestReview + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + + +@dataclass(kw_only=True) +class PullRequestReviewComment: + author: Optional[Actor] = None + author_association: CommentAuthorAssociation + body: str + body_h_t_m_l: HTML + body_text: str + commit: Optional[Commit] = None + created_at: DateTime + created_via_email: bool + diff_hunk: str + drafted_at: DateTime + editor: Optional[Actor] = None + full_database_id: Optional[BigInt] = None + id: ID + includes_created_edit: bool + is_minimized: bool + last_edited_at: Optional[DateTime] = None + line: Optional[int] = None + minimized_reason: Optional[str] = None + original_commit: Optional[Commit] = None + original_line: Optional[int] = None + original_start_line: Optional[int] = None + outdated: bool + path: str + published_at: Optional[DateTime] = None + pull_request: PullRequest + pull_request_review: Optional[PullRequestReview] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + reply_to: Optional["PullRequestReviewComment"] = None + repository: Repository + resource_path: URI + start_line: Optional[int] = None + state: PullRequestReviewCommentState + subject_type: PullRequestReviewThreadSubjectType + updated_at: DateTime + url: URI + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_minimize: bool + viewer_can_react: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool diff --git a/tests/output/github_nodesc/queries.py b/tests/output/github_nodesc/queries.py deleted file mode 100644 index 3ce326f..0000000 --- a/tests/output/github_nodesc/queries.py +++ /dev/null @@ -1,323 +0,0 @@ -from typing import List -from pygqlmap import GQLQuery -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class list_CodeOfConduct(list, CodeOfConduct): pass - -class NonNull_EnterpriseAdministratorRole(GQLObject): pass - -class list_License(list, License): pass - -class list_MarketplaceCategory(list, MarketplaceCategory): pass - -class list_Node(list, Node): pass - -class NonNull_URI(URI): pass - -class NonNull_SearchType(GQLObject): pass - -class codeOfConduct(GQLQuery): - class CodeOfConductArgs(GQLArgsSet, GQLObject): - key: NonNull_str - - _args: CodeOfConductArgs - - - type: CodeOfConduct - -class codesOfConduct(GQLQuery): - type: list_CodeOfConduct[CodeOfConduct] - -class enterprise(GQLQuery): - class EnterpriseArgs(GQLArgsSet, GQLObject): - slug: NonNull_str - invitationToken: str - - _args: EnterpriseArgs - - - type: Enterprise - -class enterpriseAdministratorInvitation(GQLQuery): - class EnterpriseAdministratorInvitationArgs(GQLArgsSet, GQLObject): - userLogin: NonNull_str - enterpriseSlug: NonNull_str - role: NonNull_EnterpriseAdministratorRole - - _args: EnterpriseAdministratorInvitationArgs - - - type: EnterpriseAdministratorInvitation - -class enterpriseAdministratorInvitationByToken(GQLQuery): - class EnterpriseAdministratorInvitationArgs(GQLArgsSet, GQLObject): - invitationToken: NonNull_str - - _args: EnterpriseAdministratorInvitationArgs - - - type: EnterpriseAdministratorInvitation - -class license(GQLQuery): - class LicenseArgs(GQLArgsSet, GQLObject): - key: NonNull_str - - _args: LicenseArgs - - - type: License - -class licenses(GQLQuery): - type: list_License[License] - -class marketplaceCategories(GQLQuery): - class MarketplaceCategoryArgs(GQLArgsSet, GQLObject): - includeCategories: list[NonNull_str] - excludeEmpty: bool - excludeSubcategories: bool - - _args: MarketplaceCategoryArgs - - - type: list_MarketplaceCategory[MarketplaceCategory] - -class marketplaceCategory(GQLQuery): - class MarketplaceCategoryArgs(GQLArgsSet, GQLObject): - slug: NonNull_str - useTopicAliases: bool - - _args: MarketplaceCategoryArgs - - - type: MarketplaceCategory - -class marketplaceListing(GQLQuery): - class MarketplaceListingArgs(GQLArgsSet, GQLObject): - slug: NonNull_str - - _args: MarketplaceListingArgs - - - type: MarketplaceListing - -class marketplaceListings(GQLQuery): - class MarketplaceListingConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - categorySlug: str - useTopicAliases: bool - viewerCanAdmin: bool - adminId: ID - organizationId: ID - allStates: bool - slugs: list[str] - primaryCategoryOnly: bool - withFreeTrialsOnly: bool - - _args: MarketplaceListingConnectionArgs - - - type: MarketplaceListingConnection - -class meta(GQLQuery): - type: GitHubMetadata - -class node(GQLQuery): - class NodeArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: NodeArgs - - - type: Node - -class nodes(GQLQuery): - class NodeArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: NodeArgs - - - type: list_Node[Node] - -class organization(GQLQuery): - class OrganizationArgs(GQLArgsSet, GQLObject): - login: NonNull_str - - _args: OrganizationArgs - - - type: Organization - -class rateLimit(GQLQuery): - class RateLimitArgs(GQLArgsSet, GQLObject): - dryRun: bool - - _args: RateLimitArgs - - - type: RateLimit - -class relay(GQLQuery): - type: any - -class repository(GQLQuery): - class RepositoryArgs(GQLArgsSet, GQLObject): - owner: NonNull_str - name: NonNull_str - followRenames: bool - - _args: RepositoryArgs - - - type: Repository - -class repositoryOwner(GQLQuery): - class RepositoryOwnerArgs(GQLArgsSet, GQLObject): - login: NonNull_str - - _args: RepositoryOwnerArgs - - - type: RepositoryOwner - -class resource(GQLQuery): - class UniformResourceLocatableArgs(GQLArgsSet, GQLObject): - url: NonNull_URI - - _args: UniformResourceLocatableArgs - - - type: UniformResourceLocatable - -class search(GQLQuery): - class SearchResultItemConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - query: NonNull_str - type: NonNull_SearchType - - _args: SearchResultItemConnectionArgs - - - type: SearchResultItemConnection - -class securityAdvisories(GQLQuery): - class SecurityAdvisoryConnectionArgs(GQLArgsSet, GQLObject): - orderBy: SecurityAdvisoryOrder - identifier: SecurityAdvisoryIdentifierFilter - publishedSince: DateTime - updatedSince: DateTime - classifications: list[NonNull_SecurityAdvisoryClassification] - after: str - before: str - first: int - last: int - - _args: SecurityAdvisoryConnectionArgs - - - type: SecurityAdvisoryConnection - -class securityAdvisory(GQLQuery): - class SecurityAdvisoryArgs(GQLArgsSet, GQLObject): - ghsaId: NonNull_str - - _args: SecurityAdvisoryArgs - - - type: SecurityAdvisory - -class securityVulnerabilities(GQLQuery): - class SecurityVulnerabilityConnectionArgs(GQLArgsSet, GQLObject): - orderBy: SecurityVulnerabilityOrder - ecosystem: SecurityAdvisoryEcosystem - package: str - severities: list[NonNull_SecurityAdvisorySeverity] - classifications: list[NonNull_SecurityAdvisoryClassification] - after: str - before: str - first: int - last: int - - _args: SecurityVulnerabilityConnectionArgs - - - type: SecurityVulnerabilityConnection - -class sponsorables(GQLQuery): - class SponsorableItemConnectionArgs(GQLArgsSet, GQLObject): - after: str - before: str - first: int - last: int - orderBy: SponsorableOrder - onlyDependencies: bool - orgLoginForDependencies: str - dependencyEcosystem: SecurityAdvisoryEcosystem - ecosystem: DependencyGraphEcosystem - - _args: SponsorableItemConnectionArgs - - - type: SponsorableItemConnection - -class topic(GQLQuery): - class TopicArgs(GQLArgsSet, GQLObject): - name: NonNull_str - - _args: TopicArgs - - - type: Topic - -class user(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - login: NonNull_str - - _args: UserArgs - - - type: User - -class viewer(GQLQuery): - type: User - - -class Queries(Enum): - codeOfConduct = codeOfConduct - codesOfConduct = codesOfConduct - enterprise = enterprise - enterpriseAdministratorInvitation = enterpriseAdministratorInvitation - enterpriseAdministratorInvitationByToken = enterpriseAdministratorInvitationByToken - license = license - licenses = licenses - marketplaceCategories = marketplaceCategories - marketplaceCategory = marketplaceCategory - marketplaceListing = marketplaceListing - marketplaceListings = marketplaceListings - meta = meta - node = node - nodes = nodes - organization = organization - rateLimit = rateLimit - relay = relay - repository = repository - repositoryOwner = repositoryOwner - resource = resource - search = search - securityAdvisories = securityAdvisories - securityAdvisory = securityAdvisory - securityVulnerabilities = securityVulnerabilities - sponsorables = sponsorables - topic = topic - user = user - viewer = viewer diff --git a/tests/output/github_nodesc/reactable.py b/tests/output/github_nodesc/reactable.py new file mode 100644 index 0000000..0d4102a --- /dev/null +++ b/tests/output/github_nodesc/reactable.py @@ -0,0 +1,19 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID + +if TYPE_CHECKING: + from .reaction_group import ReactionGroup + from .gql_types import ReactionConnection + + +@dataclass(kw_only=True) +class Reactable: + database_id: Optional[int] = None + id: ID + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + viewer_can_react: bool diff --git a/tests/output/github_nodesc/reaction_group.py b/tests/output/github_nodesc/reaction_group.py new file mode 100644 index 0000000..f6773a3 --- /dev/null +++ b/tests/output/github_nodesc/reaction_group.py @@ -0,0 +1,20 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ReactionContent +from .scalars import DateTime + +if TYPE_CHECKING: + from .reactable import Reactable + from .gql_types import ReactorConnection + + +@dataclass(kw_only=True) +class ReactionGroup: + content: ReactionContent + created_at: Optional[DateTime] = None + reactors: ReactorConnection + subject: Reactable + viewer_has_reacted: bool diff --git a/tests/output/github_nodesc/ref.py b/tests/output/github_nodesc/ref.py new file mode 100644 index 0000000..073b013 --- /dev/null +++ b/tests/output/github_nodesc/ref.py @@ -0,0 +1,29 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .gql_simple_types import RefUpdateRule +from .scalars import ID + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .branch_protection_rule import BranchProtectionRule + from .repository import Repository + from .gql_types import GitObject + from .gql_types import RepositoryRuleConnection + from .gql_types import Comparison + + +@dataclass(kw_only=True) +class Ref: + associated_pull_requests: PullRequestConnection + branch_protection_rule: Optional[BranchProtectionRule] = None + compare: Optional[Comparison] = None + id: ID + name: str + prefix: str + ref_update_rule: Optional[RefUpdateRule] = None + repository: Repository + rules: Optional[RepositoryRuleConnection] = None + target: Optional[GitObject] = None diff --git a/tests/output/github_nodesc/release.py b/tests/output/github_nodesc/release.py new file mode 100644 index 0000000..ef31230 --- /dev/null +++ b/tests/output/github_nodesc/release.py @@ -0,0 +1,44 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .ref import Ref + from .user import User + from .repository import Repository + from .reaction_group import ReactionGroup + from .commit import Commit + from .gql_types import ReactionConnection + from .gql_types import ReleaseAssetConnection + + +@dataclass(kw_only=True) +class Release: + author: Optional[User] = None + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + description_h_t_m_l: Optional[HTML] = None + id: ID + is_draft: bool + is_latest: bool + is_prerelease: bool + mentions: Optional[UserConnection] = None + name: Optional[str] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + release_assets: ReleaseAssetConnection + repository: Repository + resource_path: URI + short_description_h_t_m_l: Optional[HTML] = None + tag: Optional[Ref] = None + tag_commit: Optional[Commit] = None + tag_name: str + updated_at: DateTime + url: URI + viewer_can_react: bool diff --git a/tests/output/github_nodesc/repository.py b/tests/output/github_nodesc/repository.py new file mode 100644 index 0000000..cf809e1 --- /dev/null +++ b/tests/output/github_nodesc/repository.py @@ -0,0 +1,209 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + MergeCommitMessage, + MergeCommitTitle, + PullRequestMergeMethod, + RepositoryLockReason, + RepositoryPermission, + RepositoryVisibility, + SquashMergeCommitMessage, + SquashMergeCommitTitle, + SubscriptionState, +) +from .gql_simple_types import ( + ContributingGuidelines, + FundingLink, + Language, + RepositoryContactLink, +) +from .scalars import HTML, ID, URI, DateTime, GitSSHRemote + +if TYPE_CHECKING: + from .user_connection import UserConnection + from .pull_request import PullRequest + from .pull_request_connection import PullRequestConnection + from .ref import Ref + from .project_v2 import ProjectV2 + from .issue import Issue + from .commit_comment_connection import CommitCommentConnection + from .discussion import Discussion + from .release import Release + from .merge_queue import MergeQueue + from .project import Project + from .repository_ruleset import RepositoryRuleset + from .gql_types import CodeOfConduct + from .gql_types import RepositoryInteractionAbility + from .gql_types import BranchProtectionRuleConnection + from .gql_types import RepositoryCodeowners + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import Label + from .gql_types import LabelConnection + from .gql_types import Milestone + from .gql_types import RepositoryConnection + from .gql_types import RepositoryCollaboratorConnection + from .gql_types import DependencyGraphManifestConnection + from .gql_types import DeployKeyConnection + from .gql_types import DeploymentConnection + from .gql_types import DiscussionCategory + from .gql_types import DiscussionCategoryConnection + from .gql_types import DiscussionConnection + from .gql_types import Environment + from .gql_types import EnvironmentConnection + from .gql_unions import IssueOrPullRequest + from .gql_types import IssueTemplate + from .gql_types import LanguageConnection + from .gql_types import License + from .gql_types import MilestoneConnection + from .gql_types import GitObject + from .gql_types import RepositoryOwner + from .gql_types import PackageConnection + from .gql_types import PinnedDiscussionConnection + from .gql_types import PinnedIssueConnection + from .gql_types import ProjectConnection + from .gql_types import PullRequestTemplate + from .gql_types import RefConnection + from .gql_types import ReleaseConnection + from .gql_types import StargazerConnection + from .gql_types import RepositoryTopicConnection + from .gql_types import RepositoryRulesetConnection + from .gql_types import SubmoduleConnection + from .gql_types import RepositoryVulnerabilityAlert + from .gql_types import RepositoryVulnerabilityAlertConnection + + +@dataclass(kw_only=True) +class Repository: + allow_update_branch: bool + archived_at: Optional[DateTime] = None + assignable_users: UserConnection + auto_merge_allowed: bool + branch_protection_rules: BranchProtectionRuleConnection + code_of_conduct: Optional[CodeOfConduct] = None + codeowners: Optional[RepositoryCodeowners] = None + collaborators: Optional[RepositoryCollaboratorConnection] = None + commit_comments: CommitCommentConnection + contact_links: Optional[list[RepositoryContactLink]] = None + contributing_guidelines: Optional[ContributingGuidelines] = None + created_at: DateTime + database_id: Optional[int] = None + default_branch_ref: Optional[Ref] = None + delete_branch_on_merge: bool + dependency_graph_manifests: Optional[DependencyGraphManifestConnection] = None + deploy_keys: DeployKeyConnection + deployments: DeploymentConnection + description: Optional[str] = None + description_h_t_m_l: HTML + discussion: Optional[Discussion] = None + discussion_categories: DiscussionCategoryConnection + discussion_category: Optional[DiscussionCategory] = None + discussions: DiscussionConnection + disk_usage: Optional[int] = None + environment: Optional[Environment] = None + environments: EnvironmentConnection + fork_count: int + forking_allowed: bool + forks: RepositoryConnection + funding_links: list[FundingLink] + has_discussions_enabled: bool + has_issues_enabled: bool + has_projects_enabled: bool + has_sponsorships_enabled: bool + has_vulnerability_alerts_enabled: bool + has_wiki_enabled: bool + homepage_url: Optional[URI] = None + id: ID + interaction_ability: Optional[RepositoryInteractionAbility] = None + is_archived: bool + is_blank_issues_enabled: bool + is_disabled: bool + is_empty: bool + is_fork: bool + is_in_organization: bool + is_locked: bool + is_mirror: bool + is_private: bool + is_security_policy_enabled: Optional[bool] = None + is_template: bool + is_user_configuration_repository: bool + issue: Optional[Issue] = None + issue_or_pull_request: Optional[IssueOrPullRequest] = None + issue_templates: Optional[list[IssueTemplate]] = None + issues: IssueConnection + label: Optional[Label] = None + labels: Optional[LabelConnection] = None + languages: Optional[LanguageConnection] = None + latest_release: Optional[Release] = None + license_info: Optional[License] = None + lock_reason: Optional[RepositoryLockReason] = None + mentionable_users: UserConnection + merge_commit_allowed: bool + merge_commit_message: MergeCommitMessage + merge_commit_title: MergeCommitTitle + merge_queue: Optional[MergeQueue] = None + milestone: Optional[Milestone] = None + milestones: Optional[MilestoneConnection] = None + mirror_url: Optional[URI] = None + name: str + name_with_owner: str + object: Optional[GitObject] = None + open_graph_image_url: URI + owner: RepositoryOwner + packages: PackageConnection + parent: Optional["Repository"] = None + pinned_discussions: PinnedDiscussionConnection + pinned_issues: Optional[PinnedIssueConnection] = None + primary_language: Optional[Language] = None + project: Optional[Project] = None + project_v2: Optional[ProjectV2] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + projects_v2: ProjectV2Connection + pull_request: Optional[PullRequest] = None + pull_request_templates: Optional[list[PullRequestTemplate]] = None + pull_requests: PullRequestConnection + pushed_at: Optional[DateTime] = None + rebase_merge_allowed: bool + recent_projects: ProjectV2Connection + ref: Optional[Ref] = None + refs: Optional[RefConnection] = None + release: Optional[Release] = None + releases: ReleaseConnection + repository_topics: RepositoryTopicConnection + resource_path: URI + ruleset: Optional[RepositoryRuleset] = None + rulesets: Optional[RepositoryRulesetConnection] = None + security_policy_url: Optional[URI] = None + short_description_h_t_m_l: HTML + squash_merge_allowed: bool + squash_merge_commit_message: SquashMergeCommitMessage + squash_merge_commit_title: SquashMergeCommitTitle + ssh_url: GitSSHRemote + stargazer_count: int + stargazers: StargazerConnection + submodules: SubmoduleConnection + temp_clone_token: Optional[str] = None + template_repository: Optional["Repository"] = None + updated_at: DateTime + url: URI + uses_custom_open_graph_image: bool + viewer_can_administer: bool + viewer_can_create_projects: bool + viewer_can_subscribe: bool + viewer_can_update_topics: bool + viewer_default_commit_email: Optional[str] = None + viewer_default_merge_method: PullRequestMergeMethod + viewer_has_starred: bool + viewer_permission: Optional[RepositoryPermission] = None + viewer_possible_commit_emails: Optional[list[str]] = None + viewer_subscription: Optional[SubscriptionState] = None + visibility: RepositoryVisibility + vulnerability_alert: Optional[RepositoryVulnerabilityAlert] = None + vulnerability_alerts: Optional[RepositoryVulnerabilityAlertConnection] = None + watchers: UserConnection + web_commit_signoff_required: bool diff --git a/tests/output/github_nodesc/repository_ruleset.py b/tests/output/github_nodesc/repository_ruleset.py new file mode 100644 index 0000000..169ead2 --- /dev/null +++ b/tests/output/github_nodesc/repository_ruleset.py @@ -0,0 +1,28 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import RepositoryRulesetTarget, RuleEnforcement +from .scalars import ID, DateTime + +if TYPE_CHECKING: + from .gql_types import RepositoryRulesetBypassActorConnection + from .gql_types import RepositoryRuleConditions + from .gql_types import RepositoryRuleConnection + from .gql_unions import RuleSource + + +@dataclass(kw_only=True) +class RepositoryRuleset: + bypass_actors: Optional[RepositoryRulesetBypassActorConnection] = None + conditions: RepositoryRuleConditions + created_at: DateTime + database_id: Optional[int] = None + enforcement: RuleEnforcement + id: ID + name: str + rules: Optional[RepositoryRuleConnection] = None + source: RuleSource + target: Optional[RepositoryRulesetTarget] = None + updated_at: DateTime diff --git a/tests/output/github_nodesc/scalars.py b/tests/output/github_nodesc/scalars.py index fc1337d..645164f 100644 --- a/tests/output/github_nodesc/scalars.py +++ b/tests/output/github_nodesc/scalars.py @@ -1,63 +1,51 @@ -from pygqlmap.gql_types import * +from pygqlmap.gql_types import ID -Base64String = str +String = str + + +ID = ID -BigInt = str Boolean = bool -Date = str -DateTime = str +Int = int -Float = float -GitObjectID = str +Base64String = str -GitSSHRemote = str -GitTimestamp = str +BigInt = str -HTML = str -ID = ID +Float = float -Int = int -PreciseDateTime = str +Date = str -String = str -URI = str +DateTime = str -X509Certificate = str -isRequired = bool +GitObjectID = str -trackedIssuesCount = int -viewerMergeBodyText = str +GitRefname = str -viewerMergeHeadlineText = str -totalIssueContributions = int +GitSSHRemote = str -totalPullRequestContributions = int -totalRepositoriesWithContributedIssues = int +GitTimestamp = str -totalRepositoriesWithContributedPullRequests = int -totalRepositoryContributions = int +HTML = str -text = str -isSponsoredBy = bool +PreciseDateTime = str -totalSponsorshipAmountAsSponsorInCents = int -anyPinnableItems = bool +URI = str -canReceiveOrganizationEmailsWhenNotificationsRestricted = bool -organizationVerifiedDomainEmails = str +X509Certificate = str diff --git a/tests/output/github_nodesc/security_advisory.py b/tests/output/github_nodesc/security_advisory.py new file mode 100644 index 0000000..1e8509d --- /dev/null +++ b/tests/output/github_nodesc/security_advisory.py @@ -0,0 +1,36 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import SecurityAdvisoryClassification, SecurityAdvisorySeverity +from .gql_simple_types import SecurityAdvisoryReference +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .gql_types import CVSS + from .gql_types import SecurityAdvisoryIdentifier + from .gql_types import CWEConnection + from .gql_types import SecurityVulnerabilityConnection + + +@dataclass(kw_only=True) +class SecurityAdvisory: + classification: SecurityAdvisoryClassification + cvss: CVSS + cwes: CWEConnection + database_id: Optional[int] = None + description: str + ghsa_id: str + id: ID + identifiers: list[SecurityAdvisoryIdentifier] + notifications_permalink: Optional[URI] = None + origin: str + permalink: Optional[URI] = None + published_at: DateTime + references: list[SecurityAdvisoryReference] + severity: SecurityAdvisorySeverity + summary: str + updated_at: DateTime + vulnerabilities: SecurityVulnerabilityConnection + withdrawn_at: Optional[DateTime] = None diff --git a/tests/output/github_nodesc/sponsor_and_lifetime_value_connection.py b/tests/output/github_nodesc/sponsor_and_lifetime_value_connection.py new file mode 100644 index 0000000..0dfc593 --- /dev/null +++ b/tests/output/github_nodesc/sponsor_and_lifetime_value_connection.py @@ -0,0 +1,17 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .gql_types import PageInfo + from .gql_types import SponsorAndLifetimeValue + from .gql_types import SponsorAndLifetimeValueEdge + + +@dataclass(kw_only=True) +class SponsorAndLifetimeValueConnection: + edges: Optional[list[SponsorAndLifetimeValueEdge]] = None + nodes: Optional[list[SponsorAndLifetimeValue]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github_nodesc/sponsorable.py b/tests/output/github_nodesc/sponsorable.py new file mode 100644 index 0000000..3d22469 --- /dev/null +++ b/tests/output/github_nodesc/sponsorable.py @@ -0,0 +1,35 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection + from .sponsors_listing import SponsorsListing + from .gql_types import SponsorConnection + from .gql_types import Sponsorship + from .gql_types import SponsorshipConnection + from .gql_types import SponsorsActivityConnection + from .gql_types import SponsorshipNewsletterConnection + + +@dataclass(kw_only=True) +class Sponsorable: + estimated_next_sponsors_payout_in_cents: int + has_sponsors_listing: bool + is_sponsored_by: bool + is_sponsoring_viewer: bool + lifetime_received_sponsorship_values: SponsorAndLifetimeValueConnection + monthly_estimated_sponsors_income_in_cents: int + sponsoring: SponsorConnection + sponsors: SponsorConnection + sponsors_activities: SponsorsActivityConnection + sponsors_listing: Optional[SponsorsListing] = None + sponsorship_for_viewer_as_sponsor: Optional[Sponsorship] = None + sponsorship_for_viewer_as_sponsorable: Optional[Sponsorship] = None + sponsorship_newsletters: SponsorshipNewsletterConnection + sponsorships_as_maintainer: SponsorshipConnection + sponsorships_as_sponsor: SponsorshipConnection + total_sponsorship_amount_as_sponsor_in_cents: Optional[int] = None + viewer_can_sponsor: bool + viewer_is_sponsoring: bool diff --git a/tests/output/github_nodesc/sponsors_listing.py b/tests/output/github_nodesc/sponsors_listing.py new file mode 100644 index 0000000..613e178 --- /dev/null +++ b/tests/output/github_nodesc/sponsors_listing.py @@ -0,0 +1,40 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, URI, Date, DateTime + +if TYPE_CHECKING: + from .organization import Organization + from .sponsorable import Sponsorable + from .gql_types import SponsorsGoal + from .gql_types import StripeConnectAccount + from .gql_types import SponsorsListingFeaturedItem + from .gql_types import SponsorsTierConnection + + +@dataclass(kw_only=True) +class SponsorsListing: + active_goal: Optional[SponsorsGoal] = None + active_stripe_connect_account: Optional[StripeConnectAccount] = None + billing_country_or_region: Optional[str] = None + contact_email_address: Optional[str] = None + created_at: DateTime + dashboard_resource_path: URI + dashboard_url: URI + featured_items: list[SponsorsListingFeaturedItem] + fiscal_host: Optional[Organization] = None + full_description: str + full_description_h_t_m_l: HTML + id: ID + is_public: bool + name: str + next_payout_date: Optional[Date] = None + residence_country_or_region: Optional[str] = None + resource_path: URI + short_description: str + slug: str + sponsorable: Sponsorable + tiers: Optional[SponsorsTierConnection] = None + url: URI diff --git a/tests/output/github_nodesc/sponsors_tier.py b/tests/output/github_nodesc/sponsors_tier.py new file mode 100644 index 0000000..348b794 --- /dev/null +++ b/tests/output/github_nodesc/sponsors_tier.py @@ -0,0 +1,27 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, DateTime + +if TYPE_CHECKING: + from .sponsors_listing import SponsorsListing + from .gql_types import SponsorsTierAdminInfo + + +@dataclass(kw_only=True) +class SponsorsTier: + admin_info: Optional[SponsorsTierAdminInfo] = None + closest_lesser_value_tier: Optional["SponsorsTier"] = None + created_at: DateTime + description: str + description_h_t_m_l: HTML + id: ID + is_custom_amount: bool + is_one_time: bool + monthly_price_in_cents: int + monthly_price_in_dollars: int + name: str + sponsors_listing: SponsorsListing + updated_at: DateTime diff --git a/tests/output/github_nodesc/team.py b/tests/output/github_nodesc/team.py new file mode 100644 index 0000000..b500102 --- /dev/null +++ b/tests/output/github_nodesc/team.py @@ -0,0 +1,72 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import ( + SubscriptionState, + TeamNotificationSetting, + TeamPrivacy, + TeamReviewAssignmentAlgorithm, +) +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .organization import Organization + from .team_discussion import TeamDiscussion + from .project_v2 import ProjectV2 + from .gql_types import TeamConnection + from .gql_types import TeamDiscussionConnection + from .gql_types import OrganizationInvitationConnection + from .gql_types import UserStatusConnection + from .gql_types import TeamMemberConnection + from .gql_types import ProjectV2Connection + from .gql_types import TeamRepositoryConnection + + +@dataclass(kw_only=True) +class Team: + ancestors: TeamConnection + avatar_url: Optional[URI] = None + child_teams: TeamConnection + combined_slug: str + created_at: DateTime + database_id: Optional[int] = None + description: Optional[str] = None + discussion: Optional[TeamDiscussion] = None + discussions: TeamDiscussionConnection + discussions_resource_path: URI + discussions_url: URI + edit_team_resource_path: URI + edit_team_url: URI + id: ID + invitations: Optional[OrganizationInvitationConnection] = None + member_statuses: UserStatusConnection + members: TeamMemberConnection + members_resource_path: URI + members_url: URI + name: str + new_team_resource_path: URI + new_team_url: URI + notification_setting: TeamNotificationSetting + organization: Organization + parent_team: Optional["Team"] = None + privacy: TeamPrivacy + project_v2: Optional[ProjectV2] = None + projects_v2: ProjectV2Connection + repositories: TeamRepositoryConnection + repositories_resource_path: URI + repositories_url: URI + resource_path: URI + review_request_delegation_algorithm: Optional[TeamReviewAssignmentAlgorithm] = None + review_request_delegation_enabled: bool + review_request_delegation_member_count: Optional[int] = None + review_request_delegation_notify_team: bool + slug: str + teams_resource_path: URI + teams_url: URI + updated_at: DateTime + url: URI + viewer_can_administer: bool + viewer_can_subscribe: bool + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github_nodesc/team_discussion.py b/tests/output/github_nodesc/team_discussion.py new file mode 100644 index 0000000..ec3395b --- /dev/null +++ b/tests/output/github_nodesc/team_discussion.py @@ -0,0 +1,40 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .enums import CommentCannotUpdateReason, SubscriptionState +from .gql_simple_types import Actor +from .scalars import HTML, ID, DateTime + +if TYPE_CHECKING: + from .reaction_group import ReactionGroup + from .gql_types import ReactionConnection + from .gql_types import UserContentEditConnection + + +@dataclass(kw_only=True) +class TeamDiscussion: + author: Optional[Actor] = None + body: str + body_h_t_m_l: HTML + body_text: str + created_at: DateTime + created_via_email: bool + database_id: Optional[int] = None + editor: Optional[Actor] = None + id: ID + includes_created_edit: bool + last_edited_at: Optional[DateTime] = None + published_at: Optional[DateTime] = None + reaction_groups: Optional[list[ReactionGroup]] = None + reactions: ReactionConnection + updated_at: DateTime + user_content_edits: Optional[UserContentEditConnection] = None + viewer_can_delete: bool + viewer_can_react: bool + viewer_can_subscribe: bool + viewer_can_update: bool + viewer_cannot_update_reasons: list[CommentCannotUpdateReason] + viewer_did_author: bool + viewer_subscription: Optional[SubscriptionState] = None diff --git a/tests/output/github_nodesc/topic.py b/tests/output/github_nodesc/topic.py new file mode 100644 index 0000000..d2e060e --- /dev/null +++ b/tests/output/github_nodesc/topic.py @@ -0,0 +1,21 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +from .scalars import ID + +if TYPE_CHECKING: + from .gql_types import RepositoryConnection + from .gql_types import StargazerConnection + + +@dataclass(kw_only=True) +class Topic: + id: ID + name: str + related_topics: list[Topic] + repositories: RepositoryConnection + stargazer_count: int + stargazers: StargazerConnection + viewer_has_starred: bool diff --git a/tests/output/github_nodesc/type_refs.py b/tests/output/github_nodesc/type_refs.py deleted file mode 100644 index 2d2ab79..0000000 --- a/tests/output/github_nodesc/type_refs.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import TypeVar, List -from pygqlmap.components import GQLObject -from pygqlmap.gql_types import ID - - -ProjectV2ItemConnection = TypeVar('ProjectV2ItemConnection', bound=GQLObject) - -PullRequestConnection = TypeVar('PullRequestConnection', bound=GQLObject) - -Repository = TypeVar('Repository', bound=GQLObject) - -Project = TypeVar('Project', bound=GQLObject) - -Topic = TypeVar('Topic', bound=GQLObject) - -CommitCommentConnection = TypeVar('CommitCommentConnection', bound=GQLObject) - -Issue = TypeVar('Issue', bound=GQLObject) - -ProjectV2 = TypeVar('ProjectV2', bound=GQLObject) - -PullRequest = TypeVar('PullRequest', bound=GQLObject) - -Ref = TypeVar('Ref', bound=GQLObject) - -SponsorsActivityConnection = TypeVar('SponsorsActivityConnection', bound=GQLObject) - -Sponsorship = TypeVar('Sponsorship', bound=GQLObject) - -SponsorshipConnection = TypeVar('SponsorshipConnection', bound=GQLObject) - -Organization = TypeVar('Organization', bound=GQLObject) - -IpAllowListEntryConnection = TypeVar('IpAllowListEntryConnection', bound=GQLObject) - -WorkflowRunConnection = TypeVar('WorkflowRunConnection', bound=GQLObject) diff --git a/tests/output/github_nodesc/user.py b/tests/output/github_nodesc/user.py new file mode 100644 index 0000000..7ec116c --- /dev/null +++ b/tests/output/github_nodesc/user.py @@ -0,0 +1,145 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import HTML, ID, URI, DateTime + +if TYPE_CHECKING: + from .pull_request_connection import PullRequestConnection + from .organization import Organization + from .repository import Repository + from .project_v2 import ProjectV2 + from .commit_comment_connection import CommitCommentConnection + from .project import Project + from .gist import Gist + from .sponsor_and_lifetime_value_connection import SponsorAndLifetimeValueConnection + from .sponsors_listing import SponsorsListing + from .contributions_collection import ContributionsCollection + from .gql_types import RepositoryInteractionAbility + from .gql_types import UserListSuggestion + from .gql_types import UserStatus + from .gql_types import ProjectV2Connection + from .gql_types import IssueConnection + from .gql_types import RepositoryConnection + from .gql_types import DiscussionCommentConnection + from .gql_types import DiscussionConnection + from .gql_types import PackageConnection + from .gql_types import ProjectConnection + from .gql_types import GistCommentConnection + from .gql_types import GistConnection + from .gql_types import PinnableItemConnection + from .gql_types import ProfileItemShowcase + from .gql_types import SponsorConnection + from .gql_types import Sponsorship + from .gql_types import SponsorshipConnection + from .gql_types import SponsorsActivityConnection + from .gql_types import SponsorshipNewsletterConnection + from .gql_types import OrganizationConnection + from .gql_types import IssueCommentConnection + from .gql_types import Hovercard + from .gql_types import EnterpriseConnection + from .gql_types import FollowerConnection + from .gql_types import FollowingConnection + from .gql_types import UserListConnection + from .gql_types import PublicKeyConnection + from .gql_types import SavedReplyConnection + from .gql_types import SocialAccountConnection + from .gql_types import StarredRepositoryConnection + + +@dataclass(kw_only=True) +class User: + any_pinnable_items: bool + avatar_url: URI + bio: Optional[str] = None + bio_h_t_m_l: HTML + can_receive_organization_emails_when_notifications_restricted: bool + commit_comments: CommitCommentConnection + company: Optional[str] = None + company_h_t_m_l: HTML + contributions_collection: ContributionsCollection + created_at: DateTime + database_id: Optional[int] = None + email: str + enterprises: Optional[EnterpriseConnection] = None + estimated_next_sponsors_payout_in_cents: int + followers: FollowerConnection + following: FollowingConnection + gist: Optional[Gist] = None + gist_comments: GistCommentConnection + gists: GistConnection + has_sponsors_listing: bool + hovercard: Hovercard + id: ID + interaction_ability: Optional[RepositoryInteractionAbility] = None + is_bounty_hunter: bool + is_campus_expert: bool + is_developer_program_member: bool + is_employee: bool + is_following_viewer: bool + is_git_hub_star: bool + is_hireable: bool + is_site_admin: bool + is_sponsored_by: bool + is_sponsoring_viewer: bool + is_viewer: bool + issue_comments: IssueCommentConnection + issues: IssueConnection + item_showcase: ProfileItemShowcase + lifetime_received_sponsorship_values: SponsorAndLifetimeValueConnection + lists: UserListConnection + location: Optional[str] = None + login: str + monthly_estimated_sponsors_income_in_cents: int + name: Optional[str] = None + organization: Optional[Organization] = None + organization_verified_domain_emails: list[str] + organizations: OrganizationConnection + packages: PackageConnection + pinnable_items: PinnableItemConnection + pinned_items: PinnableItemConnection + pinned_items_remaining: int + project: Optional[Project] = None + project_v2: Optional[ProjectV2] = None + projects: ProjectConnection + projects_resource_path: URI + projects_url: URI + projects_v2: ProjectV2Connection + pronouns: Optional[str] = None + public_keys: PublicKeyConnection + pull_requests: PullRequestConnection + recent_projects: ProjectV2Connection + repositories: RepositoryConnection + repositories_contributed_to: RepositoryConnection + repository: Optional[Repository] = None + repository_discussion_comments: DiscussionCommentConnection + repository_discussions: DiscussionConnection + resource_path: URI + saved_replies: Optional[SavedReplyConnection] = None + social_accounts: SocialAccountConnection + sponsoring: SponsorConnection + sponsors: SponsorConnection + sponsors_activities: SponsorsActivityConnection + sponsors_listing: Optional[SponsorsListing] = None + sponsorship_for_viewer_as_sponsor: Optional[Sponsorship] = None + sponsorship_for_viewer_as_sponsorable: Optional[Sponsorship] = None + sponsorship_newsletters: SponsorshipNewsletterConnection + sponsorships_as_maintainer: SponsorshipConnection + sponsorships_as_sponsor: SponsorshipConnection + starred_repositories: StarredRepositoryConnection + status: Optional[UserStatus] = None + suggested_list_names: list[UserListSuggestion] + top_repositories: RepositoryConnection + total_sponsorship_amount_as_sponsor_in_cents: Optional[int] = None + twitter_username: Optional[str] = None + updated_at: DateTime + url: URI + viewer_can_change_pinned_items: bool + viewer_can_create_projects: bool + viewer_can_follow: bool + viewer_can_sponsor: bool + viewer_is_following: bool + viewer_is_sponsoring: bool + watching: RepositoryConnection + website_url: Optional[URI] = None diff --git a/tests/output/github_nodesc/user_connection.py b/tests/output/github_nodesc/user_connection.py new file mode 100644 index 0000000..0d6c03c --- /dev/null +++ b/tests/output/github_nodesc/user_connection.py @@ -0,0 +1,17 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .user import User + from .user_edge import UserEdge + from .gql_types import PageInfo + + +@dataclass(kw_only=True) +class UserConnection: + edges: Optional[list[UserEdge]] = None + nodes: Optional[list[User]] = None + page_info: PageInfo + total_count: int diff --git a/tests/output/github_nodesc/user_edge.py b/tests/output/github_nodesc/user_edge.py new file mode 100644 index 0000000..3e38390 --- /dev/null +++ b/tests/output/github_nodesc/user_edge.py @@ -0,0 +1,13 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from .user import User + + +@dataclass(kw_only=True) +class UserEdge: + cursor: str + node: Optional[User] = None diff --git a/tests/output/github_nodesc/wa inconsistence.txt b/tests/output/github_nodesc/wa inconsistence.txt deleted file mode 100644 index 4145cf3..0000000 --- a/tests/output/github_nodesc/wa inconsistence.txt +++ /dev/null @@ -1,14 +0,0 @@ -from - -_______ -type: Query -_______ - -to - -_______ -type: None -_______ - -in queries.py -for in consistence in GraphQL schema \ No newline at end of file diff --git a/tests/output/github_nodesc/workflow_run.py b/tests/output/github_nodesc/workflow_run.py new file mode 100644 index 0000000..c4bf0c5 --- /dev/null +++ b/tests/output/github_nodesc/workflow_run.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Optional + +from .scalars import ID, URI, DateTime + +if TYPE_CHECKING: + from .check_suite import CheckSuite + from .gql_types import DeploymentReviewConnection + from .gql_types import WorkflowRunFile + from .gql_types import DeploymentRequestConnection + from .gql_types import Workflow + + +@dataclass(kw_only=True) +class WorkflowRun: + check_suite: CheckSuite + created_at: DateTime + database_id: Optional[int] = None + deployment_reviews: DeploymentReviewConnection + event: str + file: Optional[WorkflowRunFile] = None + id: ID + pending_deployment_requests: DeploymentRequestConnection + resource_path: URI + run_number: int + updated_at: DateTime + url: URI + workflow: Workflow diff --git a/tests/output/rapidapi/enums.py b/tests/output/rapidapi/enums.py deleted file mode 100644 index 045747e..0000000 --- a/tests/output/rapidapi/enums.py +++ /dev/null @@ -1,703 +0,0 @@ -from enum import Enum - -class EnvConfigType(Enum): - DEFAULT = None - number = 'number' - string = 'string' - boolean = 'boolean' - object = 'object' - -class Brand(Enum): - DEFAULT = None - default = 'default' - rakuten = 'rakuten' - rapidapi = 'rapidapi' - -class EventUrlSortables(Enum): - DEFAULT = None - ID = 'ID' - URL = 'URL' - -class Order(Enum): - """ - Order - Order options - - """ - DEFAULT = None - DESC = 'DESC' ##Descending - ASC = 'ASC' ##Ascending - -class GatewayInstanceSorting(Enum): - DEFAULT = None - ID = 'ID' - DNS = 'DNS' - TYPE = 'TYPE' - DEPLOYMENT_KEY = 'DEPLOYMENT_KEY' - SERVICE_STATUS = 'SERVICE_STATUS' - STATUS = 'STATUS' - -class GatewayTemplateSorting(Enum): - DEFAULT = None - ID = 'ID' - NAME = 'NAME' - DESCRIPTION = 'DESCRIPTION' - URL_PATTERN = 'URL_PATTERN' - -class GatewayTemplateParamsSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - CODE_TEMPLATE_ID = 'CODE_TEMPLATE_ID' - PARAM_NAME = 'PARAM_NAME' - PARAM_VALUE = 'PARAM_VALUE' - PARAM_DESCRIPTION = 'PARAM_DESCRIPTION' - STATUS = 'STATUS' - -class AdminAuditLogSortables(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' - -class EventLogSortables(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' - -class GatewayType(Enum): - DEFAULT = None - RapidAPI = 'RapidAPI' - rapidapi = 'rapidapi' - Apigee = 'Apigee' - Kong = 'Kong' - WSO2 = 'WSO2' - Azure = 'Azure' - AWS = 'AWS' - -class MessageKey(Enum): - DEFAULT = None - MISSING_KEY = 'MISSING_KEY' - BLOCKED_USER = 'BLOCKED_USER' - DISABLED_ENDPOINT = 'DISABLED_ENDPOINT' - MISSING_REQUIRED_PARAM = 'MISSING_REQUIRED_PARAM' - UNKNOWN_PARAMS = 'UNKNOWN_PARAMS' - APP_LIMIT_API_ERROR = 'APP_LIMIT_API_ERROR' - API_GATEWAY_ERROR = 'API_GATEWAY_ERROR' - QUOTA_THROTTLED = 'QUOTA_THROTTLED' - QUOTA_REACHED = 'QUOTA_REACHED' - INVALID_KET = 'INVALID_KET' - API_MISSING = 'API_MISSING' - NOT_SUBSCRIBED = 'NOT_SUBSCRIBED' - RATE_LIMIT = 'RATE_LIMIT' - GENERIC_ERROR = 'GENERIC_ERROR' - -class AlertStatus(Enum): - DEFAULT = None - Enabled = 'Enabled' - Disabled = 'Disabled' - -class Channel(Enum): - DEFAULT = None - Email = 'Email' - SMS = 'SMS' - -class Condition(Enum): - DEFAULT = None - gt = 'gt' - gte = 'gte' - lt = 'lt' - lte = 'lte' - eq = 'eq' - -class time(Enum): - DEFAULT = None - second = 'second' - minute = 'minute' - hour = 'hour' - day = 'day' - -class AnalyticsStatsGroupBy(Enum): - DEFAULT = None - API = 'API' - ENDPOINT = 'ENDPOINT' - ENDPOINT_HASH = 'ENDPOINT_HASH' - APP = 'APP' - API_VERSION = 'API_VERSION' - -class AnalyticsResolution(Enum): - DEFAULT = None - SECONDS = 'SECONDS' - MINUTES = 'MINUTES' - HOURS = 'HOURS' - DAYS = 'DAYS' - MONTHS = 'MONTHS' - YEARS = 'YEARS' - -class ApiCertificatePublicKeySignatureAlgorithm(Enum): - DEFAULT = None - RSA_ENCRYPTION = 'RSA_ENCRYPTION' - -class ApiCertificateSortingFieldName(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' - -class ApiDeveloperStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class ApiFollowerSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - FOLLOWER_ID = 'FOLLOWER_ID' - API_ID = 'API_ID' - CREATED_AT = 'CREATED_AT' - -class ApiSpecType(Enum): - DEFAULT = None - OPENAPI = 'OPENAPI' - WSDL = 'WSDL' - POSTMAN_COLLECTION = 'POSTMAN_COLLECTION' - OAS = 'OAS' - -class ApiSpecImportWarningType(Enum): - DEFAULT = None - PROP_NOT_ALLOWED = 'PROP_NOT_ALLOWED' - MIN_NUMBER_VALUE_EXCEEDED = 'MIN_NUMBER_VALUE_EXCEEDED' - MIN_EXCLUSIVE_NUMBER_VALUE_EXCEEDED = 'MIN_EXCLUSIVE_NUMBER_VALUE_EXCEEDED' - MIN_OBJECT_PROP_COUNT_EXCEEDED = 'MIN_OBJECT_PROP_COUNT_EXCEEDED' - MAX_OBJECT_PROP_COUNT_EXCEEDED = 'MAX_OBJECT_PROP_COUNT_EXCEEDED' - MIN_ARRAY_ITEM_COUNT_EXCEEDED = 'MIN_ARRAY_ITEM_COUNT_EXCEEDED' - FORMAT_MISMATCH = 'FORMAT_MISMATCH' - ARRAY_DUPLICATE_ITEMS_NOT_ALLOWED = 'ARRAY_DUPLICATE_ITEMS_NOT_ALLOWED' - HAS_DUPLICATE_ENDPOINTS = 'HAS_DUPLICATE_ENDPOINTS' - UNKNOWN = 'UNKNOWN' - -class ApiSpecImportProcessIssueSeverity(Enum): - """ - ApiSpecImportProcessIssueSeverity - Indicates the severity of an individual import process issue. -In the event an import process for **creating a brand new API** encounters one or more issues marked as `ERROR` - the API would *not* be created (will be cleared off as soon as the process is finished). - - """ - DEFAULT = None - WARNING = 'WARNING' - ERROR = 'ERROR' - -class StatsGroupBy(Enum): - DEFAULT = None - api = 'api' - project = 'project' - date = 'date' - -class SpecFormat(Enum): - DEFAULT = None - WSDL = 'WSDL' - XML = 'XML' - JSON = 'JSON' - YAML = 'YAML' - -class SpecType(Enum): - DEFAULT = None - OAS = 'OAS' - WSDL = 'WSDL' - POSTMAN_COLLECTION = 'POSTMAN_COLLECTION' - -class VersionStatus(Enum): - DEFAULT = None - DRAFT = 'DRAFT' - ACTIVE = 'ACTIVE' - DEPRECATED = 'DEPRECATED' - -class apiSubTypeEnum(Enum): - DEFAULT = None - rest = 'rest' - graphql = 'graphql' - kafka = 'kafka' - soap = 'soap' - async_ = 'async' - oas = 'oas' - -class ApiVersionType(Enum): - DEFAULT = None - rest = 'rest' - graphql = 'graphql' - kafka = 'kafka' - soap = 'soap' - async_ = 'async' - oas = 'oas' - -class ApiStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class ApiPricing(Enum): - DEFAULT = None - FREE = 'FREE' - PAID = 'PAID' - FREEMIUM = 'FREEMIUM' - -class ApiType(Enum): - DEFAULT = None - http = 'http' - kafka = 'kafka' - async_ = 'async' - oas = 'oas' - -class SchemaValidationUnknownAttributePolicy(Enum): - DEFAULT = None - BLOCK = 'BLOCK' - STRIP = 'STRIP' - PASSTHROUGH = 'PASSTHROUGH' - -class ApiImportFileFormat(Enum): - DEFAULT = None - openapi = 'openapi' - postman_collection = 'postman_collection' - -class ApiSortingFieldName(Enum): - DEFAULT = None - NAME = 'NAME' - VISIBILITY = 'VISIBILITY' - CREATED_AT = 'CREATED_AT' - UPDATED_AT = 'UPDATED_AT' - -class ApiVisibility(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' - PRIVATE = 'PRIVATE' - -class GqlSchemaSourceType(Enum): - DEFAULT = None - introspection = 'introspection' ##make an introspection call to the api server to get the schema definition - SDL = 'SDL' ##schema definition language - schemaAST = 'schemaAST' ##AST representation of the schema - -class AppAuthorizationType(Enum): - DEFAULT = None - RAPIDAPI = 'RAPIDAPI' - OAUTH2 = 'OAUTH2' - HEADER = 'HEADER' - BASIC = 'BASIC' - BEARER = 'BEARER' - -class AuthorizationGrantType(Enum): - DEFAULT = None - CLIENT_CREDENTIALS = 'CLIENT_CREDENTIALS' - AUTHORIZATION_CODE = 'AUTHORIZATION_CODE' - PASSWORD = 'PASSWORD' - JWT = 'JWT' - -class AppAuthorizationStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class AuthorizationType(Enum): - DEFAULT = None - RAPIDAPI = 'RAPIDAPI' - OAUTH2 = 'OAUTH2' - -class EnvironmentName(Enum): - DEFAULT = None - Testing = 'Testing' - Production = 'Production' - -class SecurityType(Enum): - DEFAULT = None - HTTP = 'HTTP' - API_KEY = 'API_KEY' - OAUTH2 = 'OAUTH2' - -class SecurityRequirementAuthScope(Enum): - DEFAULT = None - API_VERSION = 'API_VERSION' - ENDPOINT = 'ENDPOINT' - -class CodeChallengeMethod(Enum): - DEFAULT = None - S256 = 'S256' - Plain = 'Plain' - -class AuthenticationType(Enum): - DEFAULT = None - NO_AUTH = 'NO_AUTH' - RAPID = 'RAPID' - BASIC = 'BASIC' - BEARER = 'BEARER' - HEADER = 'HEADER' - QUERY = 'QUERY' - OAUTH2 = 'OAUTH2' - -class GrantType(Enum): - DEFAULT = None - CLIENT_CREDENTIALS = 'CLIENT_CREDENTIALS' - AUTHORIZATION_CODE = 'AUTHORIZATION_CODE' - PASSWORD = 'PASSWORD' - -class SeparatorType(Enum): - DEFAULT = None - SPACE = 'SPACE' - COMMA = 'COMMA' - -class ClientAuthenticationType(Enum): - DEFAULT = None - HEADER = 'HEADER' - BODY = 'BODY' - -class BillingFeatureStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class BillingPlanType(Enum): - DEFAULT = None - MONTHLY = 'MONTHLY' - PERUSE = 'PERUSE' - -class CategoryLanguage(Enum): - DEFAULT = None - EN_US = 'EN_US' - FR_FR = 'FR_FR' - ES_ES = 'ES_ES' - DE_DE = 'DE_DE' - IT_IT = 'IT_IT' - JA_JP = 'JA_JP' - KO_KR = 'KO_KR' - RU_RU = 'RU_RU' - HI_IN = 'HI_IN' - HE_IL = 'HE_IL' - NL_NL = 'NL_NL' - TR_TR = 'TR_TR' - UK_UA = 'UK_UA' - ZH_CN = 'ZH_CN' - PT_BR = 'PT_BR' - -class CategorySortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - NAME = 'NAME' - WEIGHT = 'WEIGHT' - CREATED_AT = 'CREATED_AT' - UPDATED_AT = 'UPDATED_AT' - -class OrderDirection(Enum): - DEFAULT = None - desc = 'desc' - asc = 'asc' - DESC = 'DESC' - ASC = 'ASC' - -class HttpMethod(Enum): - DEFAULT = None - GET = 'GET' - POST = 'POST' - PUT = 'PUT' - DELETE = 'DELETE' - PATCH = 'PATCH' - HEAD = 'HEAD' - -class Resolution(Enum): - DEFAULT = None - seconds = 'seconds' - minutes = 'minutes' - hours = 'hours' - days = 'days' - months = 'months' - years = 'years' - -class TransactionPaymentStatus(Enum): - DEFAULT = None - paid = 'paid' - partially_refunded = 'partially_refunded' - refunded = 'refunded' - declined = 'declined' - pending = 'pending' - -class Locale(Enum): - DEFAULT = None - EN = 'EN' - FR = 'FR' - ES = 'ES' - DE = 'DE' - IT = 'IT' - JA = 'JA' - KO = 'KO' - RU = 'RU' - HI = 'HI' - NL = 'NL' - TR = 'TR' - UK = 'UK' - ZH = 'ZH' - PT = 'PT' - HE = 'HE' - -class Visibility(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' - PRIVATE = 'PRIVATE' - -class DeletionStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class SortingFieldOrder(Enum): - DEFAULT = None - ASC = 'ASC' - DESC = 'DESC' - -class ConsumersType(Enum): - DEFAULT = None - ALL = 'ALL' - FREE = 'FREE' - PAID = 'PAID' - -class ApiEndpointHttpMethod(Enum): - DEFAULT = None - GET = 'GET' - POST = 'POST' - PUT = 'PUT' - PATCH = 'PATCH' - DELETE = 'DELETE' - -class EntityType(Enum): - DEFAULT = None - Organization = 'Organization' - Team = 'Team' - User = 'User' - -class EntityMetadataSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - ENTITY_ID = 'ENTITY_ID' - ATTRIBUTE_NAME = 'ATTRIBUTE_NAME' - ATTRIBUTE_VALUE = 'ATTRIBUTE_VALUE' - -class EntityRoleSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - -class GRAPH_QL_SCHEMA_STATUS(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class SchemaType(Enum): - DEFAULT = None - AVRO = 'AVRO' - PROTOBUF = 'PROTOBUF' - JSON = 'JSON' - -class Compression(Enum): - DEFAULT = None - gzip = 'gzip' - snappy = 'snappy' - lz4 = 'lz4' - zstd = 'zstd' - -class MessageType(Enum): - DEFAULT = None - support = 'support' - announcement = 'announcement' - -class EntityStatusFlag(Enum): - DEFAULT = None - none = 'none' - read = 'read' - archived = 'archived' - starred = 'starred' - -class UnsubscribeReasons(Enum): - DEFAULT = None - SWITCH_PLAN = 'SWITCH_PLAN' - TEMPORARY_USE = 'TEMPORARY_USE' - BAD_FEATURES = 'BAD_FEATURES' - BUGS = 'BUGS' - ALTERNATIVE_API = 'ALTERNATIVE_API' - EXPENSIVE = 'EXPENSIVE' - OTHER = 'OTHER' - -class RapidReasonsEvents(Enum): - DEFAULT = None - UNSUBSCRIBE = 'UNSUBSCRIBE' - -class RequestLogsOrderBy(Enum): - DEFAULT = None - requestId = 'requestId' - projectId = 'projectId' - api = 'api' - apiId = 'apiId' - endpoint = 'endpoint' - httpMethod = 'httpMethod' - period = 'period' - apiLatency = 'apiLatency' - callTime = 'callTime' - originIp = 'originIp' - originCountry = 'originCountry' - engineError = 'engineError' - httpStatus = 'httpStatus' - reqHeadersSize = 'reqHeadersSize' - resHeadersSize = 'resHeadersSize' - reqBodySize = 'reqBodySize' - resBodySize = 'resBodySize' - -class RoleLevel(Enum): - DEFAULT = None - ORGANIZATION = 'ORGANIZATION' - USER_ENVIRONMENT = 'USER_ENVIRONMENT' - USER_ORGANIZATION = 'USER_ORGANIZATION' - USER_TEAM = 'USER_TEAM' - TEAM_ENVIRONMENT = 'TEAM_ENVIRONMENT' - -class RoleSortingFieldName(Enum): - DEFAULT = None - NAME = 'NAME' - -class SearchApiSortingFieldName(Enum): - DEFAULT = None - ByRelevance = 'ByRelevance' - ByAlphabetical = 'ByAlphabetical' - ByUpdatedAt = 'ByUpdatedAt' - installsAllTime = 'installsAllTime' - -class SearchCollectionSortingFieldName(Enum): - DEFAULT = None - id = 'id' - title = 'title' - slugifiedKey = 'slugifiedKey' - weight = 'weight' - thumbnail = 'thumbnail' - shortDescription = 'shortDescription' - type = 'type' - -class SecretParameterPlacement(Enum): - DEFAULT = None - QUERY = 'QUERY' - HEADER = 'HEADER' - -class SpotlightType(Enum): - DEFAULT = None - link = 'link' - link_pdf = 'link_pdf' - file_pdf = 'file_pdf' - -class SpotlightFieldName(Enum): - DEFAULT = None - id = 'id' - type = 'type' - apiId = 'apiId' - spotlightURL = 'spotlightURL' - status = 'status' - slugifiedName = 'slugifiedName' - thumbnailURL = 'thumbnailURL' - title = 'title' - description = 'description' - weight = 'weight' - published = 'published' - updatedAt = 'updatedAt' - createdAt = 'createdAt' - -class Period(Enum): - DEFAULT = None - day = 'day' - month = 'month' - -class BillingSubscriptionType(Enum): - DEFAULT = None - API = 'API' - SEATS = 'SEATS' - TENANT = 'TENANT' - -class LoadBalancingStrategy(Enum): - DEFAULT = None - RANDOM = 'RANDOM' - GEO_IP = 'GEO_IP' - -class TransformationConditionType(Enum): - DEFAULT = None - IGNORE = 'IGNORE' - OVERWRITE = 'OVERWRITE' - -class TransformationActionType(Enum): - DEFAULT = None - ADD = 'ADD' - REMOVE = 'REMOVE' - REMAP = 'REMAP' - METHOD = 'METHOD' - PATH = 'PATH' - BASE_URL = 'BASE_URL' - -class TransformationValueType(Enum): - DEFAULT = None - VARIABLE = 'VARIABLE' - STATIC = 'STATIC' - TEMPLATE = 'TEMPLATE' - -class TransformationMethodType(Enum): - DEFAULT = None - POST = 'POST' - GET = 'GET' - PUT = 'PUT' - DELETE = 'DELETE' - PATCH = 'PATCH' - -class TransformationType(Enum): - DEFAULT = None - REQUEST = 'REQUEST' - RESPONSE = 'RESPONSE' - -class TransformationSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - CREATED_AT = 'CREATED_AT' - UPDATED_AT = 'UPDATED_AT' - -class TutorialType(Enum): - DEFAULT = None - API_TUTORIAL = 'API_TUTORIAL' - -class TutorialFieldName(Enum): - DEFAULT = None - id = 'id' - slugifiedName = 'slugifiedName' - apiId = 'apiId' - apiVersion = 'apiVersion' - authorId = 'authorId' - published = 'published' - title = 'title' - content = 'content' - thumbnailURL = 'thumbnailURL' - publishedDate = 'publishedDate' - readTime = 'readTime' - type = 'type' - createdAt = 'createdAt' - updatedAt = 'updatedAt' - -class UsageResolution(Enum): - """ - UsageResolution - Specifing a `UsageResolution` unit does not affect the overall request counts retrieved; they are calculated solely per the provided time range. -`UsageResolution` is merely just for grouping counts. - - """ - DEFAULT = None - seconds = 'seconds' - minutes = 'minutes' - hours = 'hours' - days = 'days' - months = 'months' - years = 'years' - -class WorkflowStatus(Enum): - DEFAULT = None - OPEN = 'OPEN' - APPROVED = 'APPROVED' - REJECTED = 'REJECTED' - -class WorkflowTopic(Enum): - DEFAULT = None - PublishAPI = 'PublishAPI' - RequestAccessPlan = 'RequestAccessPlan' - SignupRequestApproval = 'SignupRequestApproval' - JoinOrganization = 'JoinOrganization' - RequestApplicationAuthorization = 'RequestApplicationAuthorization' - -class SignupApprovalWorkflowTopic(Enum): - DEFAULT = None - SignupRequestApproval = 'SignupRequestApproval' diff --git a/tests/output/rapidapi/gql_simple_types.py b/tests/output/rapidapi/gql_simple_types.py deleted file mode 100644 index 33e032d..0000000 --- a/tests/output/rapidapi/gql_simple_types.py +++ /dev/null @@ -1,1362 +0,0 @@ -from typing import Generic, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from .enums import * -from .scalars import * -from .type_refs import * - -class UFTQJ_name_Field(ArguedStr): - class strArgs(GQLArgsSet, GQLObject): - showDeleted: bool - - _args: strArgs - - - -class Exclusion(GQLObject): - topic: str - -class UpdateWorkflowsInput(GQLObject): - workflowIds: list[int] - status: DeletionStatus - workflowStatus: WorkflowStatus - additionalData: Any - componentId: str - subComponentId: str - topic: str - -class CreateWorkflowInput(GQLObject): - componentId: str - subComponentId: str - componentDisplayName: str - topic: WorkflowTopic - workflowStatus: WorkflowStatus - additionalData: Any - -class WorkflowAudit(GQLObject): - elasticSearchId: ID - id: int - topic: str - requestorId: int - requestorEmail: str - requestorDisplayName: str - requesteeEmail: str - requesteeDisplayName: str - requestorContextDisplayName: str - requesteeContextDisplayName: str - requesteeId: int - componentId: str - subComponentId: str - additionalData: Any - workflowStatus: WorkflowStatus - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - componentDisplayName: str - -class VirtualPermissionWhereInput(GQLObject): - permissionLevel: list[RoleLevel] - -class RolePermission(GQLObject): - granted: bool - readOnly: bool - -class UserUpdateInput(GQLObject): - id: str - currentPassword: str - newPassword: str - name: str - company: str - position: str - location: str - bio: str - imageFile: str - email: str - status: str - -class UserPasswordInput(GQLObject): - currentPassword: str - newPassword: str - -class UserEnrichment(GQLObject): - name: str - bio: str - company: str - position: str - location: str - thumbnail: str - socialLinks: list[Any] - -class UpdateUserResult(GQLObject): - status: str - -class SaveUserApi(GQLObject): - id: ID - apiId: str - status: int - -class UserInvitesDeleteInput(GQLObject): - emails: list[str] - orgId: int - -class UserInvitesCreateInput(GQLObject): - email: str - teamIds: list[int] - organizationId: int - role: str - id: int - inviterId: int - -class UserInvite(GQLObject): - id: ID - token: str - email: str - teamId: int - organizationId: int - role: str - -class FollowInput(GQLObject): - followerId: int - followeeId: int - -class UsageByOrg(GQLObject): - quota: float - usage: float - billingCycleStart: DateTime - period: str - usagePercentages: float - -class UsageItem(GQLObject): - startDate: str - endDate: str - usage: int - overUsageAmount: float - overChargePrice: float - -class Phone(GQLObject): - id: ID - userId: ID - phoneNumber: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class TutorialSortingField(GQLObject): - fieldName: TutorialFieldName - by: SortingFieldOrder - -class TutorialDeleteInput(GQLObject): - apiId: ID - apiVersion: ID - slugifiedName: str - -class TutorialCreateInput(GQLObject): - apiId: ID - apiVersion: ID - published: bool - title: str - content: str - thumbnailURL: str - type: str - -class TransformationWhereInput(GQLObject): - id: list[ID] - apiVersionId: list[ID] - -class TransformationUpdateInput(GQLObject): - id: ID - apiVersionId: ID - action: TransformationActionType - transformationType: TransformationType - condition: TransformationConditionType - targetPath: str - targetMethod: TransformationMethodType - from_: str - target: str - value: str - valueType: TransformationValueType - plans: list[ID] - endpoints: list[ID] - -class DeletedTransformation(GQLObject): - id: ID - deleted: bool - -class updateTransactionInput(GQLObject): - ids: list[ID] - paidout: bool - amount: float - -class OrgTransaction(GQLObject): - invoiceLink: str - createdAt: str - totalAmount: float - -class TransactionsSummaryWhereInput(GQLObject): - fromDate: str - toDate: str - apiIds: list[ID] - userIds: list[ID] - -class TransactionsItem(GQLObject): - title: str - sum: float - -class TenantPricingPlan(GQLObject): - id: int - name: str - contentDescription: JSONObject - price: float - currency: str - billingPlanId: str - trialPeriod: int - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - displayName: str - -class TeamUpdateInput(GQLObject): - id: int - name: str - thumbnail: str - description: str - -class EditTeamInput(GQLObject): - id: int - name: str - thumbnail: str - description: str - -class UserRolesUpdateInput(GQLObject): - entityId: int - roleId: int - orgId: int - -class TargetUrlUpdateInput(GQLObject): - """ - loadBalancingStrategyValue - Currently only required when the containing target group's `loadBalancingStrategy` is `GEO_IP` -(otherwise must be `null` or omitted) in which case will represent the origin location of requests to be assigned to the specified `url`. -Value must be an identifier string of either a two-letter continent code (e.g `"AF"` for Africa), -a three-letter country code (e.g `"FRA"` for France) or `"default"`. -It is *required* that exactly one of the identifiers will be set to `"default"` and that the other values given are unique -across all the target URLs. - - """ - url: str - loadBalancingStrategyValue: str - -class TagDefinition(GQLObject): - """ - editableByProvider - When set to `false`, an API provider themself shouldn't be allowed to apply this tag to an API - -instead, this would be reserved only for tenant admins to perform. Note that setting this attribute to `false` isn't -meant to affect regular visibility of the tags' attachment whatsoever. - - forceEnumValidation - Determines whether the tag definition is acting in a "values are exclusively selected from a predefined set" -mode (when `forceEnumValidation: true`) or a "any arbitrary value can be set freely" mode -(when `forceEnumValidation: false`). - -When in the "free" value mode (`forceEnumValidation: false`), the values listed via the `values` attribute act as mere suggestions -that constitute no enforcement. Also, if at any point in time such tag definition is modified to be `forceEnumValidation: true`, -then any arbitrary values set beforehand by providers that aren't listed in `values` would still remain effective and intact. - - isVisible - When setting this to `false`, the tag definition is effectively considered "deactivated" on the platform, -thus it "should" not be allowed to see/attach on their APIs, and in case there were some APIs -associated with it before it was deactivated as said, then in terms of showcasing an API's attached tags - -all instances of this particular one "should" be hidden among the rest. - - requiredOnAPI - Specifies whether this particular tag definition "should" be considered mandatory, requiring every API in the given -tenant to have it attached with at least one of its listed values. - -Note that if at any point in time a tag definition's `requiredOnAPI` is updated to whichever state, then all tags currently attached -to actual APIs remain unchanged from that whatsoever. - - showTagName - For when an API's attached tags are being showcased, this attributes is meant to instruct whether the name of -the tag definition should be visually displayed next to every value of it set on an API as it is being showcased, -or otherwise to have just the plain values displayed alone. - - """ - id: str - color: str - description: str - status: str - type: str - name: str - values: list[str] - editableByProvider: bool - forceEnumValidation: bool - isVisible: bool - requiredOnAPI: bool - showTagName: bool - createdAt: DateTime - updatedAt: DateTime - -class SubscriptionsCount(GQLObject): - createdAt: str - count: int - -class ActiveSubscriptionCount(GQLObject): - date: str - count: int - -class AdditionalSubscriptionProviderData(GQLObject): - subscriptionTrialEnd: DateTime - cancelAt: DateTime - canceledAt: DateTime - startDate: DateTime - endedAt: DateTime - currentPeriodStart: DateTime - currentPeriodEnd: DateTime - -class SubscriptionQuotaUsage(GQLObject): - id: ID - limit: int - subscriptionId: ID - billingCycleStart: DateTime - billingCycleEnd: DateTime - quotaId: ID - total: int - period: Period - -class SpotlightWhereInput(GQLObject): - id: ID - apiId: ID - type: SpotlightType - weight: int - published: bool - title: str - description: str - spotlightURL: str - status: str - slugifiedName: str - thumbnailURL: str - updatedAt: DateTime - createdAt: DateTime - -class SpotlightUpdateInput(GQLObject): - id: ID - apiId: ID - type: SpotlightType - weight: int - published: bool - title: str - description: str - spotlightURL: str - file: Upload - -class SecretParameter(GQLObject): - id: ID - placement: SecretParameterPlacement - name: str - value: str - description: str - -class createSecretDataInput(GQLObject): - apiVersionId: str - url: str - secret: str - -class SearchCollectionWhereInput(GQLObject): - term: str - locale: Locale - -class SearchBlogPost(GQLObject): - slugifiedName: str - title: str - link: str - readTime: str - thumbnail: str - description: str - updatedAt: DateTime - -class SearchApiWhereInput(GQLObject): - categoryNames: list[str] - exclude: list[str] - term: str - tags: list[Any] - collectionIds: list[str] - privateApisJwt: str - pricing: list[ApiPricing] - locale: Locale - -class Score(GQLObject): - apiId: str - avgSuccessRate: int - avgServiceLevel: int - avgLatency: int - popularityScore: float - -class RoleWhereInput(GQLObject): - roleLevels: list[RoleLevel] - -class RequestLogsOnApiFilters(GQLObject): - projectIds: list[ID] - endpoints: list[str] - httpMethods: list[HttpMethod] - httpStatuses: list[int] - originIps: list[str] - -class RapidReasonInput(GQLObject): - consumerUserId: int - providerUserId: int - externalId: Any - eventType: RapidReasonsEvents - reasonType: UnsubscribeReasons - reasonComments: str - apiId: str - apiVersionId: str - -class updateProjectAllowedAPIInput(GQLObject): - id: int - projectId: int - apiId: str - apiVersionId: str - mashapeId: str - -class ProjectUpdateInput(GQLObject): - projectId: ID - projectName: str - projectDescription: str - thumbnail: Upload - enableLimitsToAPIs: bool - -class EditProjectInput(GQLObject): - projectId: ID - projectName: str - projectDescription: str - thumbnail: Upload - enableLimitsToAPIs: bool - -class AddProjectInput(GQLObject): - projectOwner: ID - projectName: str - description: str - thumbnail: Upload - billing: str - -class ValidateTokenResponse(GQLObject): - status: int - isValid: bool - took: int - -class CorporateDomainOrganization(GQLObject): - organizationId: ID - members: int - thumbnail: str - orgname: str - -class OrganizationUpdateInput(GQLObject): - organizationId: int - name: str - email: str - seats: int - thumbnail: str - description: str - -class OrganizationWhereInput(GQLObject): - userId: ID - slugifiedName: str - -class AdminOwnerProject(GQLObject): - email: str - id: int - mashapeId: str - name: str - slugifiedName: str - status: str - thumbnail: str - type: str - -class MarkNotificationsAsReadInput(GQLObject): - userId: str - createdAt: str - -class MarkNewNotificationAsViewedInput(GQLObject): - notificationsIds: list[int] - isNew: bool - -class NewNotification(GQLObject): - id: int - userId: int - type: str - createdAt: DateTime - updatedAt: DateTime - isRead: bool - isNew: bool - title: str - body: str - callToAction: str - image: str - any: str - -class SendMessageInput(GQLObject): - fromEmail: str - toEmail: str - toId: str - title: str - body: str - apiName: str - apiId: str - type: str - -class MessageInput(GQLObject): - authorId: int - title: str - body: str - apiId: str - entityId: int - ownerId: int - messageThreadId: int - ownerDisplayName: str - entityDisplayName: str - apiDisplayName: str - -class MessagesWhereInput(GQLObject): - messageThreadId: ID - -class RelativeARTResponse(GQLObject): - currentProviderAverage: float - allProvidersAverage: float - -class LogPayload(GQLObject): - requestid: ID - reqpayload: Any - -class CreateLegalAgreementInfo(GQLObject): - refreshToken: str - accessToken: str - vendor: str - -class EnvelopeDocument(GQLObject): - documentId: str - uri: str - name: str - order: int - -class ProduceMessageInput(GQLObject): - apiVersionId: str - topicName: str - key: str - value: str - partition: str - compression: Compression - headers: Any - valueSchemaId: int - keySchemaId: int - -class SchemaRegistryConfigurationInput(GQLObject): - url: str - user: str - password: str - -class SaslConfigurationInput(GQLObject): - mechanism: str - password: str - username: str - -class TopicSchema(GQLObject): - id: int - schema: str - schemaType: SchemaType - subject: str - version: int - -class TopicOffset(GQLObject): - partition: int - offset: str - high: str - low: str - -class SubscribeKafkaResponse(GQLObject): - actionsChannel: str - authKey: str - messagesChannel: str - publishKey: str - subscribeKey: str - -class KafkaTopic(GQLObject): - name: str - -class IssueFollow(GQLObject): - id: int - follower: int - followee: int - mashapeId: str - mashapeIssueId: str - createdAt: DateTime - updatedAt: DateTime - status: str - -class updateHeadlines(GQLObject): - apiId: str - headlineId: str - text: str - textModified: bool - -class Headline(GQLObject): - text: str - id: str - status: str - index: int - title: str - textModified: bool - createdAt: DateTime - updatedAt: DateTime - -class GraphQLSchemaCreateInput(GQLObject): - id: ID - endpointId: ID - schema: Any - isIntrospectionCall: bool - allowHubSchemaRefresh: bool - introspectionCallUrl: str - status: GRAPH_QL_SCHEMA_STATUS - -class Header(GQLObject): - id: int - paramName: str - paramValue: str - paramDescription: str - -class FollowApiInput(GQLObject): - apiId: str - userId: str - -class LogsCSV(GQLObject): - id: ID - requestorId: ID - requestorUsername: str - fileName: str - downloadUrl: str - filters: str - status: str - createdAt: DateTime - updatedAt: DateTime - ttl: DateTime - -class EntityRoleWhereInput(GQLObject): - entityIds: list[int] - orgId: int - parentIds: list[int] - -class EntityMetadataSortingField(GQLObject): - fieldName: EntityMetadataSortingFieldName - by: SortingFieldOrder - -class EntityMetadata(GQLObject): - id: ID - entityId: ID - attributeName: str - attributeValue: str - -class EntityAttribute(GQLObject): - attributeName: str - attributeValue: str - -class EndpointOrder(GQLObject): - endpointId: str - groupId: str - index: int - -class MockResponseObjectInput(GQLObject): - mockResponseStatusCode: int - body: str - headers: str - format: str - isMockResponse: bool - -class endpointData(GQLObject): - apiversion: str - code: int - createdAt: DateTime - updatedAt: DateTime - description: str - group: str - method: str - name: str - pricing: str - response: str - route: str - routeregex: str - status: str - thumbail: str - type: str - webhook: bool - payload: str - displayResponse: bool - -class payloadModelForUpdateOrCreateEndpointWithParameters(GQLObject): - id: str - body: str - description: str - format: str - name: str - status: str - statusCode: ID - condition: str - apiendpoint: str - payloadType: str - schema: Any - schemaDefinition: Any - examples: Any - -class headerParametersArray(GQLObject): - index: int - id: str - condition: str - description: str - name: str - status: str - querystring: bool - paramType: str - options: list[str] - value: Any - schema: Any - schemaDefinition: Any - examples: Any - -class EndpointPath(GQLObject): - description: str - summary: str - path: str - type: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - meta: Any - status: str - -class EndpointWhereInput(GQLObject): - id: list[ID] - -class EndpointStatsData(GQLObject): - date: str - requests: int - errors: int - latency: float - endpointid: ID - -class IssueDeleteInput(GQLObject): - issueId: int - -class IssuesDeleteInput(GQLObject): - issueIds: list[int] - -class Currency(GQLObject): - code: str - name: str - symbol: str - symbol_native: str - decimal_digits: int - rakuten_symbol: Any - -class ContactAdminSubscribeToAPIEvent(GQLObject): - api_name: str - api_link: str - team_id: int - org_id: int - consumer_name: str - email: str - plan_name: str - plan_price: int - -class ConsumerQuota(GQLObject): - limit: int - period: str - quotaId: str - title: str - total: float - billingCycleStart: DateTime - -class PaginationInput(GQLObject): - """ - first - Returns the first n elements from the list. - - after - Returns the elements in the list that come after the specified cursor. - - last - Returns the last n elements from the list. - - before - Returns the elements in the list that come before the specified cursor. - - """ - first: int - after: str - last: int - before: str - -class Follower(GQLObject): - startFollowDate: str - id: int - email: str - username: str - -class PagingArgs(GQLObject): - offset: int - limit: int - orderBy: str - orderDirection: OrderDirection - searchTerm: str - -class CommentDeleteInput(GQLObject): - issueId: int - commentId: int - -class CommentCreateInput(GQLObject): - body: str - issueId: int - -class CollectionUpdateInput(GQLObject): - id: ID - title: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: list[ID] - ownerId: int - -class BlogPosts(GQLObject): - id: str - link: str - type: str - title: str - thumbnail: str - image: str - -class CollectionsWhereInput(GQLObject): - ownerId: str - isByOwner: bool - collectionType: str - -class CategoryWhereInput(GQLObject): - id: list[ID] - name: list[str] - language: CategoryLanguage - slugifiedName: list[str] - -class CategoryTextualDataInput(GQLObject): - language: CategoryLanguage - name: str - shortDescription: str - longDescription: str - -class CategoryEntity(GQLObject): - createdAt: DateTime - id: ID - longDescription: str - name: str - shortDescription: str - slugifiedName: str - status: str - type: str - updatedAt: DateTime - weight: int - -class endpointsAndApiVersionCouples(GQLObject): - endpointHash: str - apiversion: str - -class BlockedUserInput(GQLObject): - apiId: str - usersIds: list[int] - -class BillingLimitInputV2(GQLObject): - id: str - item: str - amount: int - limitType: str - overagePrice: float - period: str - unlimited: bool - perusagePrice: float - status: str - currency: str - -class upsertBillingPlanInput(GQLObject): - billingPlanId: str - name: str - targetGroup: str - isPrivatePlan: bool - isStudent: bool - legalDocumentId: str - legalAccountId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - -class BillingPlanVersionFilters(GQLObject): - query: str - -class RateLimit(GQLObject): - enabled: bool - unit: int - unitName: str - amount: int - -class SeatsBillingInformation(GQLObject): - freeSeats: int - unitPrice: int - isCustomInvoiceBilling: bool - billingPlanVersionId: str - -class RateLimitInput(GQLObject): - enabled: bool - unit: int - unitName: str - amount: int - -class EnableBillingFeatureInput(GQLObject): - billingFeature: str - note: str - -class OverageLocalePrice(GQLObject): - price: float - symbol: str - -class upsertBillingItem(GQLObject): - billingItemId: str - name: str - description: str - allEndpoints: bool - endpointHashes: list[str] - -class BillingInformation(GQLObject): - id: int - stripeId: str - userId: int - customerId: str - fullName: str - last4: str - type: str - exp_month: int - exp_year: int - zip: str - billingStatus: str - mashapeId: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class upsertBillingFeatureInput(GQLObject): - apiId: str - apiVersionId: str - name: str - description: str - billingFeatureId: str - endpointHashes: list[str] - -class AuthenticationParamInput(GQLObject): - id: ID - name: str - description: str - status: str - -class AuthenticationExtraMetadataInput(GQLObject): - pkceEnabled: bool - codeChallengeMethod: CodeChallengeMethod - customOAuth2AuthPrefix: str - JWTProfile: bool - -class SecurityRequirement(GQLObject): - id: ID - scope: SecurityRequirementAuthScope - -class geo(GQLObject): - country: str - city: str - region: str - timezone: str - ll: list[float] - -class params(GQLObject): - input: Any - -class AuditWhereInput(GQLObject): - searchTerm: str - from_: int - orgId: int - -class UserAttributesInput(GQLObject): - type: str - attributeValue: list[Any] - -class AsyncApiConfigurationWhereInput(GQLObject): - apiVersionId: list[ID] - -class AsyncApiConfiguration(GQLObject): - id: ID - spec: str - -class AssetUpdateInput(GQLObject): - id: ID - title: str - description: str - visible: bool - -class AssetForDownload(GQLObject): - id: ID - downloadUrl: str - filename: str - title: str - externalId: str - fileSizeBytes: float - -class Application(GQLObject): - id: ID - mashapeId: str - mashapeAccountId: str - name: str - thumbnail: str - billing: int - description: str - mashapeApplicationName: str - hasLogo: bool - favorite: bool - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class EditApplicationEnviornmentKeyInput(GQLObject): - applicationEnviornmentId: ID - mashapeId: str - keyName: str - environment: str - -class AppAuthorizationUpdateInput(GQLObject): - id: ID - name: str - -class AppAuthorizationsWhereInput(GQLObject): - projectId: ID - -class ApiWhereInput(GQLObject): - """ - ApiWhereInput - Can not act as a single filter, either id, ownerId or subscriberId input must be provided as well. - - ownerId - The owner Id of the API - - visibility - Filter by API visibility - - searchTerm - Option to send a search term and in the service it will filter either by api name, id or owner id - - """ - id: list[ID] - externalCustomIds: list[ID] - ownerId: list[ID] - subscriberId: list[ID] - visibility: ApiVisibility - apiSlugifiedName: list[str] - ownerSlugifiedName: list[str] - name: list[str] - isFavorite: bool - categories: list[ID] - searchTerm: str - -class ApiSecurityInfo(GQLObject): - """ - rapidapiProxySecret - Value of the `X-RapidAPI-Proxy-Secret` header that RapidAPI adds on every request. -This header has a unique value for each API. -Only APIs owned by the current user would show the actual value on this. Otherwise, the value would be `null`. - - """ - rapidapiProxySecret: str - -class ApiTermsOfServiceInput(GQLObject): - text: str - -class validateSwaggerInput(GQLObject): - file: Upload - -class ApiVersionSecretParameterInput(GQLObject): - name: str - value: str - description: str - placement: SecretParameterPlacement - -class GqlApiVersionCreateInput(GQLObject): - api: str - name: str - visibility: Visibility - oldApiVersionId: str - introspectionCallUrl: str - isIntrospectionCall: bool - allowHubSchemaRefresh: bool - gqlFile: Any - -class RequestPayload(GQLObject): - id: str - name: str - format: str - body: str - description: str - type: str - apiversion: str - createdAt: DateTime - updatedAt: DateTime - statusCode: int - apiendpoint: str - examples: Any - schema: Any - schemaDefinition: Any - -class Publicdns(GQLObject): - address: str - proxyMode: str - apiversion: str - current: bool - id: ID - createdAt: DateTime - updatedAt: DateTime - status: str - -class ApiVersionSortingField(GQLObject): - fieldName: ApiSortingFieldName - by: SortingFieldOrder - -class APITag(GQLObject): - id: str - status: str - tagdefinition: str - value: str - createdAt: DateTime - -class StatsFilterBy(GQLObject): - values: list[str] - name: str - -class BatchTrackingIdsSummary(GQLObject): - success: int - failed: int - total: int - finishedEntities: int - totalEntities: int - -class ApiSpecImportWarning(GQLObject): - type: ApiSpecImportWarningType - critical: bool - text: str - info: Any - -class ApiCreateFromRapidOasInput(GQLObject): - spec: Upload - -class ApiCreateFromSpecInput(GQLObject): - spec: Upload - specType: ApiSpecType - category: str - name: str - description: str - -class ApiSearchUser(GQLObject): - id: int - thumbnail: str - name: str - username: str - -class Feature(GQLObject): - heading: str - caption: str - image: str - -class apiRating(GQLObject): - rating: float - votes: int - bestRating: int - -class ApiFollowerWhereInput(GQLObject): - apiId: ID - followerIds: list[ID] - -class ApiFollowerDeleteInput(GQLObject): - apiId: ID - -class DeleteApiFavoritesInput(GQLObject): - apiIds: list[ID] - -class CopyApiDevelopersInput(GQLObject): - apiId: str - apiVersionIdFrom: str - apiVersionIdTo: str - -class ApiCertificateSortingField(GQLObject): - fieldName: ApiCertificateSortingFieldName - by: SortingFieldOrder - -class ApiCertificateCreateInput(GQLObject): - alias: str - certificateFile: Upload - -class ApiCertificateIssuerInfo(GQLObject): - commonName: str - countryName: str - localityName: str - organizationName: str - organizationalUnitName: str - stateOrProvinceName: str - emailAddress: str - -class AnalyticsStatsGroupByInput(GQLObject): - fields: list[AnalyticsStatsGroupBy] - -class UserAlertsWhereInput(GQLObject): - scope: ID - -class UserAlertUpdateInput(GQLObject): - id: ID - name: str - description: str - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - baseUrl: str - apiIds: list[ID] - projectIds: list[ID] - endpointsIds: list[ID] - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - endpointHashes: list[ID] - -class addUserAlertInput(GQLObject): - name: str - description: str - scope: ID - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - apiIds: list[ID] - projectIds: list[ID] - baseUrl: str - minNextAlertTime: DateTime - endpointsIds: list[ID] - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - endpointHashes: list[ID] - -class AlertDefinition(GQLObject): - id: ID - type: str - status: AlertStatus - description: str - units: str - -class EnvConfigUpdateInput(GQLObject): - id: int - value: str - -class GatewayTemplateParamsUpdateInput(GQLObject): - paramName: str - paramValue: str - paramDescription: str - id: ID - -class GatewayCustomMessageUpdateInput(GQLObject): - messageKey: MessageKey - messageValue: str - id: ID - -class GatewayCustomMessageCreateInput(GQLObject): - messageKey: MessageKey - messageValue: str - -class EventConfigUpdateInput(GQLObject): - isActive: bool - shouldGenerateSecret: bool - -class EventUrlCreateInput(GQLObject): - url: str - -class EventLogSortablesSortingField(GQLObject): - fieldName: EventLogSortables - order: Order - -class AdminAuditLogSortablesSortingField(GQLObject): - fieldName: AdminAuditLogSortables - order: Order - -class EnvConfigTerm(GQLObject): - key: str - brand: Brand - categoryId: int - hideInAdvancedSettingsUI: bool - allowAdminAccess: bool - -class GatewayTemplateParamsWhereInput(GQLObject): - status: str - -class GatewayTemplateWhereInput(GQLObject): - status: str - -class GatewayInstanceWhereInput(GQLObject): - status: str - -class EventUrlWhereInput(GQLObject): - url: str - -class EventLog(GQLObject): - """ - EventLog - event log - - """ - id: str - url: str - eventType: str - eventData: str - eventText: str - statusCode: str - highlight: list[str] - createdAt: DateTime - -class AuditUser(GQLObject): - id: int - email: str - name: str - thumbnail: str - type: str - mashapeId: str - slugifiedName: str - -class EventType(GQLObject): - id: ID - name: str - label: str - example: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class EnvConfigCategory(GQLObject): - """ - EnvConfigCategory - env config category - - """ - id: int - name: str - createdAt: DateTime - updatedAt: DateTime - -class GatewayConfigurations(GQLObject): - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - -class PageInfo(GQLObject): - hasNextPage: bool - hasPreviousPage: bool - startCursor: str - endCursor: str diff --git a/tests/output/rapidapi/gql_types.py b/tests/output/rapidapi/gql_types.py deleted file mode 100644 index b01bada..0000000 --- a/tests/output/rapidapi/gql_types.py +++ /dev/null @@ -1,4680 +0,0 @@ -from typing import Generic, Union, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from typing import NewType -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class GetWorkflowCountOptions(GQLObject): - requestorId: int - requesteeId: int - requestorContextId: int - workflowStatus: WorkflowStatus - status: str - componentId: str - subComponentId: str - topic: str - topics: list[str] - -class CreateSignupApprovalWorkflowInput(GQLObject): - topic: SignupApprovalWorkflowTopic - additionalData: Any - -class CanWorkflowBeSubmittedOptions(GQLObject): - topic: WorkflowTopic - componentId: str - -class Workflow(GQLObject): - id: ID - workflowId: int - topic: str - requestorId: int - requestorContextId: int - requestorEmail: str - requestorDisplayName: str - requesteeEmail: str - requesteeDisplayName: str - requestorContextDisplayName: str - requesteeContextDisplayName: str - requesteeId: int - componentId: str - subComponentId: str - additionalData: Any - workflowStatus: WorkflowStatus - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - componentDisplayName: str - requesteeContextId: int - -class RolePermissionUpdateInput(GQLObject): - granted: bool - readOnly: bool - -class SearchUsersWhereInput(GQLObject): - brand: str - term: str - offset: int - limit: int - -class VerifyEmailCodeInput(GQLObject): - token: str - verificationCode: str - -class UpdateUserInput(GQLObject): - name: str - company: str - position: str - location: str - bio: str - imageFile: str - email: str - -class ProfileInfo(GQLObject): - id: int - mashapeId: str - github: str - twitter: str - website: str - location: str - linkedin: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - userId: int - fullname: str - company: str - position: str - description: str - facebook: str - quora: str - stackoverflow: str - googleplus: str - -class UsersFilterBy(GQLObject): - status: str - -class UserInvitesReactivateInput(GQLObject): - emails: list[str] - orgId: int - -class UserInvitesBrandingInput(GQLObject): - email: str - id: int - inviterId: int - -class UserInvitesInput(GQLObject): - email: str - teamIds: list[int] - organizationId: int - role: str - id: int - inviterId: int - -class InviteUsersSearch(GQLObject): - id: ID - username: str - name: str - email: str - thumbnail: str - isPendingUser: bool - isOrganizationUser: bool - -class UsageByTeam(GQLObject): - limit: float - subscriptionId: float - total: float - teamId: float - -class TeamsUsages(GQLObject): - usage: int - id: str - -class PhoneVerification(GQLObject): - id: ID - userId: ID - retries: int - token: str - code: str - phoneNumber: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class RecoveryCode(GQLObject): - id: ID - userId: ID - code: str - used: bool - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class TutorialWhereInput(GQLObject): - id: ID - apiId: ID - apiVersion: ID - slugifiedName: str - authorId: str - published: bool - title: str - content: str - thumbnailURL: str - publishedDate: DateTime - readTime: str - type: str - createdAt: DateTime - updatedAt: DateTime - -class TutorialUpdateInput(GQLObject): - slugifiedName: str - apiId: ID - apiVersion: ID - published: bool - title: str - content: str - thumbnailURL: str - readTime: str - type: str - -class Tutorial(GQLObject): - id: ID - slugifiedName: str - apiId: ID - apiVersion: ID - authorId: str - published: bool - title: str - content: str - thumbnailURL: str - publishedDate: DateTime - readTime: str - type: TutorialType - createdAt: DateTime - updatedAt: DateTime - -class TransformationSortingField(GQLObject): - fieldName: TransformationSortingFieldName - by: SortingFieldOrder - -class TransformationCreateInput(GQLObject): - apiVersionId: ID - action: TransformationActionType - transformationType: TransformationType - condition: TransformationConditionType - targetPath: str - targetMethod: TransformationMethodType - from_: str - target: str - value: str - valueType: TransformationValueType - plans: list[ID] - endpoints: list[ID] - -class Transformation(GQLObject): - id: ID - apiVersionId: ID - action: TransformationActionType - transformationType: TransformationType - condition: TransformationConditionType - from_: str - target: str - targetPath: str - targetMethod: TransformationMethodType - value: str - valueType: TransformationValueType - plans: list[ID] - endpoints: list[ID] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class TransactionsSummaryMonth(GQLObject): - monthlySubscriptions: float - overages: float - date: str - -class TransactionsAnalytics(GQLObject): - total: float - mrrTotal: float - overagesTotal: float - categories: list[str] - series: Any - -class TransactionCharge(GQLObject): - status: str - -class TermsOfService(GQLObject): - id: ID - name: str - text: str - createdAt: DateTime - updatedAt: DateTime - -class TeamWhereInput(GQLObject): - slugifiedName: str - orgId: int - -class TeamCreateInput(GQLObject): - organizationId: int - name: str - thumbnail: str - description: str - -class TeamUserWhereInput(GQLObject): - email: str - orgId: int - -class TeamUserUpdateInput(GQLObject): - orgId: int - teamUserId: int - teamToRemove: int - teamToAdd: int - newRole: str - -class TargetUrl(GQLObject): - """ - loadBalancingStrategyValue - Relevant only for `GEO_IP` load balancing, otherwise would be `null`. -An identifier string of either a two-letter continent code (e.g `"AF"` for Africa), a three-letter -country code (e.g `"FRA"` for France) or `"default"`. - - """ - url: str - loadBalancingStrategyValue: str - -class SubscriptionsCountWhereInput(GQLObject): - apiId: str - fromDate: str - toDate: str - resolution: Resolution - isParent: bool - -class ExternalGatewaySubscriptionCreateInput(GQLObject): - apiId: str - apiVersionId: str - -class SubscribeLegalAgreementMetadataInput(GQLObject): - dsLegalAccountId: str - dsLegalEnvelopId: str - -class usageByBillingItem(GQLObject): - id: ID - name: str - quota: int - usage: int - period: str - usagePercentages: float - billingCycleStart: DateTime - -class SpotlightSortingField(GQLObject): - fieldName: SpotlightFieldName - by: SortingFieldOrder - -class SpotlightDeleteInput(GQLObject): - id: ID - apiId: ID - -class SpotlightCreateInput(GQLObject): - apiId: ID - type: SpotlightType - weight: int - published: bool - title: str - description: str - spotlightURL: str - file: Upload - -class updateBaseUrlInput(GQLObject): - secretDataId: str - url: str - -class SearchCollectionSortingField(GQLObject): - fieldName: SearchCollectionSortingFieldName - by: SortingFieldOrder - -class SearchBlogPostWhereInput(GQLObject): - term: str - -class SearchApiSortingField(GQLObject): - fieldName: SearchApiSortingFieldName - by: SortingFieldOrder - -class SearchApiUser(GQLObject): - id: int - thumbnail: str - name: str - username: str - -class RoleSorting(GQLObject): - fieldName: RoleSortingFieldName - by: SortingFieldOrder - -class RequestLogsOnProjectFilters(GQLObject): - apiIds: list[ID] - endpoints: list[str] - httpMethods: list[HttpMethod] - httpStatuses: list[int] - originIps: list[str] - -class RequestLogFilters(GQLObject): - projectIds: list[str] - apiIds: list[str] - userIds: list[ID] - endpoints: list[str] - endpointRoutes: list[str] - httpMethods: list[HttpMethod] - httpStatuses: list[int] - originIps: list[str] - gatewayIds: list[ID] - -class deleteProjectAllowedAPIsInput(GQLObject): - projectAllowedAPIIds: list[int] - projectId: int - mashapeId: str - -class createProjectAllowedAPIInput(GQLObject): - projectId: int - apiId: str - apiVersionId: str - mashapeId: str - -class ProjectCreateInput(GQLObject): - projectOwner: ID - projectName: str - description: str - thumbnail: Upload - -class DeleteProjectInput(GQLObject): - projectId: ID - projectName: str - mashapeId: ID - -class PayoutInfo(GQLObject): - id: ID - userId: int - mashapeId: str - name: str - address: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class ResetUserPasswordInput(GQLObject): - password: str - confirmPassword: str - token: str - -class CorporateDomain(GQLObject): - domain: str - ignore: bool - -class UsersInvitation(GQLObject): - id: str - email: str - role: str - -class BillingAdditionalValues(GQLObject): - total: int - subscriptionId: ID - -class WhereOrgTeam(GQLObject): - parentId: ID - orgId: ID - -class NotificationMessage(GQLObject): - title: str - link: str - text: str - thumbnail: str - user: str - -class MarkNewNotificationsAsReadInput(GQLObject): - notificationId: int - isRead: bool - -class ThreadEntityStatusUpdateInput(GQLObject): - messageThreadIds: list[int] - flag: EntityStatusFlag - value: bool - -class Message(GQLObject): - id: ID - authorId: int - title: str - body: str - apiId: str - entityId: int - ownerId: int - messageThreadId: int - ownerDisplayName: str - entityDisplayName: str - apiDisplayName: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class ThreadEntityStatus(GQLObject): - id: ID - entityId: int - messageThreadId: int - createdAt: DateTime - updatedAt: DateTime - flag: int - isRead: bool - isArchived: bool - isStarred: bool - -class MessageThreadsWhereInput(GQLObject): - apiIds: list[str] - apiDisplayName: str - entityDisplayName: str - entityStatusFlag: EntityStatusFlag - entityId: ID - -class RestrictedLogPayload(GQLObject): - requestid: ID - reqparams: Any - reqheaders: Any - resheaders: Any - reqbody: Any - resbody: Any - saveRequestQueryParametersLogging: bool - saveRequestHeadersLogging: bool - saveResponseHeadersLogging: bool - saveRequestBodyLogging: bool - saveResponseBodyLogging: bool - -class GetLegalAgreementSigningURLInput(GQLObject): - entityId: str - legalDocumentId: str - legalAccountId: str - billingPlanId: str - -class UpdateLegalAgreementInfo(GQLObject): - id: ID - refreshToken: str - accessToken: str - vendor: str - -class LegalAgreementInfoUrl(GQLObject): - url: str - -class KafkaOffset(GQLObject): - partition: int - offset: int - -class SchemaRegistryConfiguration(GQLObject): - url: str - user: str - password: str - -class SaslConfiguration(GQLObject): - mechanism: str - password: str - username: str - -class TopicConfigurationItem(GQLObject): - configName: str - configValue: str - readOnly: bool - isDefault: bool - isSensitive: bool - -class ProduceMessageResponse(GQLObject): - topicName: str - partition: int - errorCode: int - baseOffset: str - -class KafkaSchemas(GQLObject): - schemas: list[str] - -class IssueFollowInputV2(GQLObject): - issueId: int - -class Announcement(GQLObject): - id: int - apiId: str - providerId: str - body: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class createHeadlines(GQLObject): - apiId: str - text: str - textModified: bool - -class UpdateGraphQLSchemaInput(GQLObject): - source: Upload - graphQLSchemaId: ID - endpointId: ID - -class GqlDoc(GQLObject): - docKey: str - defaultDescription: str - description: str - visible: bool - -class GatewayConfiguration(GQLObject): - id: ID - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - apiGatewayInstanceId: int - -class LogsCSVExports(GQLObject): - status: int - statusText: str - -class EntityRoleSorting(GQLObject): - fieldName: EntityRoleSortingFieldName - by: SortingFieldOrder - -class EntityRoleInput(GQLObject): - id: ID - entityId: int - roleId: int - parentId: int - orgId: int - -class EntityMetadataWhereInput(GQLObject): - entityId: list[ID] - attributeName: str - attributeValue: str - -class DuplicateNameCheckInput(GQLObject): - term: str - id: int - actionType: str - -class ExternalDocsInput(GQLObject): - description: str - url: str - -class PayloadObjectInput(GQLObject): - body: str - headers: str - format: str - id: str - name: str - description: str - status: str - type: str - statusCode: int - examples: Any - schema: Any - schemaDefinition: Any - -class ResponseObjectInput(GQLObject): - body: str - headers: str - format: str - -class payloadParametersForUpdateOrCreateEndpointWithParameters(GQLObject): - index: int - id: str - condition: str - description: str - name: str - paramType: str - value: str - querystring: bool - type: str - status: str - options: list[str] - schema: Any - schemaDefinition: Any - examples: Any - -class routeParametersArray(GQLObject): - index: int - id: str - condition: str - description: str - name: str - status: str - paramType: str - querystring: bool - value: Any - options: list[str] - schema: Any - schemaDefinition: Any - examples: Any - -class EndpointParams(GQLObject): - optional: Any - required: Any - headers: Any - constant: Any - parameters: Any - -class ExternalDocs(GQLObject): - description: str - url: str - -class EndpointAndVersion(GQLObject): - apiversion: str - endpointid: str - endpointHash: str - -class Readme(GQLObject): - text: str - updatedAt: DateTime - -class IssueUpdateInput(GQLObject): - title: str - body: str - issueId: int - -class IssueCreateInputV2(GQLObject): - title: str - body: str - apiId: str - apiVersion: str - -class ContextEntity(GQLObject): - context: Any - token: str - privateApisJwt: str - -class ConsumersWhereInput(GQLObject): - apiId: list[ID] - offset: int - limit: int - order: str - lastActive: list[str] - userId: list[int] - sort: str - usernames: list[str] - plansFilter: list[str] - consumersType: ConsumersType - -class SubscriptionString(GQLObject): - status: str - -class MultipleValuesQueryFilter(GQLObject): - operand: str - value: str - -class FollowPair(GQLObject): - id: int - follower: int - followee: int - status: str - updatedAt: DateTime - createdAt: DateTime - -class Account(GQLObject): - id: int - credentials: str - projectName: str - name: str - domain: str - thumbnail: str - -class CommentUpdateInput(GQLObject): - body: str - issueId: int - commentId: int - -class UpdateCollectionsInput(GQLObject): - collectionId: ID - weight: float - shortDescription: str - longDescription: str - thumbnail: str - title: str - apis: list[ID] - ownerId: int - -class CollectionCreateInput(GQLObject): - title: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: list[ID] - ownerId: int - collection_type: str - -class CollapsedCollection(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: list[str] - -class CollectionsSortingField(GQLObject): - fieldName: str - order: SortingFieldOrder - -class CategorySortingField(GQLObject): - fieldName: CategorySortingFieldName - by: SortingFieldOrder - -class DeletedCategory(GQLObject): - id: ID - deleted: bool - reason: str - -class Category(GQLObject): - id: ID - name: str - slugifiedName: str - status: str - shortDescription: str - longDescription: str - thumbnail: str - pageTitle: str - weight: int - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class BlogPost(GQLObject): - slugifiedName: str - title: str - id: str - link: str - readTime: str - thumbnail: str - description: str - image: str - updatedAt: DateTime - -class EnableBillingFeatureInputV2(GQLObject): - id: str - billingFeature: str - note: str - status: str - -class RateLimitInputV2(GQLObject): - enabled: bool - unit: int - unitName: str - amount: int - -class PagingArgsBilling(GQLObject): - page: int - limit: int - orderBy: str - orderDirection: OrderDirection - visibility: str - -class LocalePrice(GQLObject): - price: float - symbol: str - -class EditOrganizationInvoiceInput(GQLObject): - organizationId: int - freeSeats: int - isCustomInvoiceBilling: bool - -class BillingPlanMetadataUpdateInput(GQLObject): - billingPlanId: str - legalDocumentId: str - legalAccountId: str - name: str - visibility: str - hidden: bool - recommended: bool - targetGroup: str - isStudent: bool - shouldRequestApproval: bool - requestApprovalQuestion: str - -class BillingLimitInput(GQLObject): - item: str - amount: int - limitType: str - overagePrice: float - period: str - unlimited: bool - perusagePrice: float - currency: str - -class PlanDeveloperUserInput(GQLObject): - id: str - type: str - -class BillingItemsWhereInput(GQLObject): - versionId: str - apiId: str - -class CreateStripeCustomerInput(GQLObject): - cardToken: str - fullName: str - userId: int - -class BillingFeatureEndpoint(GQLObject): - """ - BillingFeatureEndpoint - Deprecated, soon to be removed from schema - - """ - id: str - endpoint: str - endpointHash: str - billingfeature: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - -class billingFeatureEndpointArray(GQLObject): - endpoint: str - -class AuthenticationParam(GQLObject): - id: ID - name: str - description: str - authentication: str - -class AuthenticationExtraMetadata(GQLObject): - pkceEnabled: bool - codeChallengeMethod: CodeChallengeMethod - customOAuth2AuthPrefix: str - JWTProfile: bool - -class authStrategyType(GQLObject): - type: str - -class attributes(GQLObject): - rapidClient: str - userAgent: str - -class activeEntity(GQLObject): - id: int - type: str - name: str - -class ThemeUserAttributesInput(GQLObject): - attributeName: str - attributeValue: str - -class UserAttributesRow(GQLObject): - userId: int - attributeName: str - attributeValue: Any - -class AsyncApiConfigurationCreateInput(GQLObject): - apiVersionId: ID - spec: str - -class GenerateAssetUploadUrlInput(GQLObject): - externalId: ID - filename: str - description: str - title: str - -class AssetWhereInput(GQLObject): - """ - AssetWhereInput - You can search by ID's or externalId or by (ID's will take precedence) - - """ - ids: list[ID] - externalIds: list[ID] - visible: bool - -class Asset(GQLObject): - id: ID - externalId: ID - filename: str - title: str - description: str - visible: bool - fileSizeBytes: float - isUploadDone: bool - presignedUrl: str - createdAt: DateTime - -class DeleteApplicationEnvironmentKeyInput(GQLObject): - applicationEnviornmentId: ID - -class AddApplicationEnvironmentKeyInput(GQLObject): - applicationId: ID - environment: str - -class AppAuthorizationCreateInput(GQLObject): - projectId: ID - name: str - authorizationType: AppAuthorizationType - grantType: AuthorizationGrantType - authorizationValues: str - gatewayIds: list[ID] - -class GqlOptions(GQLObject): - """ - enableSchemaIntrospectionOnHub - Enable schema refresh via introspection on RapidApi Hub. Specify only if introspection input is true - - """ - enableSchemaIntrospectionOnHub: bool - -class ApiSortingField(GQLObject): - fieldName: ApiSortingFieldName - by: SortingFieldOrder - -class ProvisionApiFromFileInput(GQLObject): - name: str - category: str - description: str - file: Upload - fileFormat: ApiImportFileFormat - ownerId: ID - -class ApiTagValueInput(GQLObject): - id: ID - definitionId: ID - value: str - -class createApiVersionBillingPlanVersionInput(GQLObject): - billingPlanVersionId: str - billingPlanId: str - apiVersionId: str - showInMarketplace: bool - -class ApiCertificateAssociationTarget(GQLObject): - apiCertificateId: ID - -class ApiVersionCreateInput(GQLObject): - api: str - name: str - visibility: Visibility - oldApiVersionId: str - apiVersionType: ApiVersionType - -class ResponsePayload(GQLObject): - id: str - name: str - format: str - body: str - headers: str - description: str - type: str - apiversion: str - status: str - createdAt: DateTime - updatedAt: DateTime - statusCode: int - apiendpoint: str - examples: Any - schema: Any - schemaDefinition: Any - -class ApiVersionWhereInput(GQLObject): - id: list[ID] - apiId: list[ID] - versionStatus: list[VersionStatus] - -class SpecInfo(GQLObject): - spec: str - format: SpecFormat - type: SpecType - -class CalculatedStatistics(GQLObject): - requeststotal: float - requestsmax: int - requestsmin: int - requestsavg: float - requeststps: float - errorsavg: float - errorsmedian: float - errorsmax: float - errorsmin: float - errorstotal: int - latencyavg: float - latencymedian: float - latencymax: float - latencymin: float - -class StatsData(GQLObject): - date: str - requests: int - errors: float - latency: float - projectId: str - apiid: str - -class ApiSpecImportProcessIssue(GQLObject): - message: str - severity: ApiSpecImportProcessIssueSeverity - -class ApiUpdateFromRapidOasInput(GQLObject): - spec: Upload - apiVersionId: ID - -class ApiUpdateFromSpecInput(GQLObject): - apiVersionId: ID - spec: Upload - specType: ApiSpecType - -class SearchArguments(GQLObject): - categoryName: str - categoryNames: list[str] - exclude: list[str] - term: str - sortBy: str - size: int - offset: int - page: int - tags: list[Any] - collectionIds: list[str] - privateApisJwt: str - -class ApiReferenceWhereInput(GQLObject): - apiVersionId: list[ID] - -class RatingInput(GQLObject): - apiId: str - rating: int - -class ApiQuality(GQLObject): - apiId: ID - score: int - -class ApiFollowerSortingField(GQLObject): - fieldName: ApiFollowerSortingFieldName - by: SortingFieldOrder - -class ApiFollowerCreateInput(GQLObject): - apiId: ID - -class CreateApiFavoritesInput(GQLObject): - apiIds: list[ID] - -class ApiDeveloperEntityInput(GQLObject): - id: ID - mashapeId: str - name: str - type: EntityType - -class ApiCertificateWhereInput(GQLObject): - id: list[ID] - ownerId: list[ID] - -class ApiCertificateSubjectInfo(GQLObject): - alternativeNames: list[str] - commonName: str - countryName: str - localityName: str - organizationName: str - organizationalUnitName: str - stateOrProvinceName: str - emailAddress: str - -class AnalyticsStatsHttpResponseInput(GQLObject): - eq: list[int] - ne: list[int] - lt: int - le: int - gt: int - ge: int - -class AnalyticsStats(GQLObject): - requests: int - errors: int - latency: float - date: DateTime - endpointId: ID - apiId: ID - endpointHash: ID - appMashapeId: ID - apiVersionId: ID - -class deleteUserAlertsInput(GQLObject): - ids: list[ID] - -class editUserAlertInput(GQLObject): - id: ID - name: str - description: str - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - apiIds: list[ID] - projectIds: list[ID] - baseUrl: str - minNextAlertTime: DateTime - endpointsIds: list[ID] - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - endpointHashes: list[ID] - -class UserAlert(GQLObject): - id: ID - entityId: ID - name: str - description: str - scope: ID - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - apiIds: list[ID] - projectIds: list[ID] - endpointsIds: list[ID] - baseUrl: str - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - minNextAlertTime: DateTime - endpointHashes: list[ID] - deletedAt: DateTime - createdAt: DateTime - updatedAt: DateTime - -class SEOTagAttribute(GQLObject): - key: str - value: str - -class GatewayTemplateParamsCreateInput(GQLObject): - paramName: str - paramValue: str - paramDescription: str - codeTemplateId: int - -class PartialGatewayTemplateParamCreateInput(GQLObject): - paramName: str - paramValue: str - paramDescription: str - -class GatewayConfigurationUpdateInput(GQLObject): - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - -class GatewayConfigurationCreateInput(GQLObject): - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - -class EventUrlUpdateInput(GQLObject): - url: str - -class ExtensionWhereInput(GQLObject): - isEnabled: bool - path: str - isUserLoggedIn: bool - page: str - client: str - -class EventLogInput(GQLObject): - query: str - -class AdminAuditLogInput(GQLObject): - query: str - -class GatewayTemplateParamsSortingFieldNameSortingField(GQLObject): - fieldName: GatewayTemplateParamsSortingFieldName - order: Order - -class GatewayTemplateSortingSortingField(GQLObject): - fieldName: GatewayTemplateSorting - order: Order - -class GatewayInstanceSortingSortingField(GQLObject): - fieldName: GatewayInstanceSorting - order: Order - -class EventUrlSortablesSortingField(GQLObject): - fieldName: EventUrlSortables - order: Order - -class PaginationArgs(GQLObject): - first: int - last: int - before: str - after: str - -class EnvConfig(GQLObject): - id: int - key: str - value: str - isDefaultValue: bool - type: EnvConfigType - description: str - categoryId: int - label: str - allowAdminAccess: bool - isPrivate: bool - createdAt: DateTime - updatedAt: DateTime - -class ExtensionConsumer(GQLObject): - """ - ExtensionConsumer - extension consumer - - """ - id: ID - extensionId: int - client: str - page: str - order: int - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class EventUrl(GQLObject): - id: ID - url: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class GatewayTemplateParam(GQLObject): - id: ID - codeTemplateId: int - paramName: str - paramValue: str - paramDescription: str - status: str - createdAt: DateTime - updatedAt: DateTime - -class GatewayCustomMessage(GQLObject): - id: ID - apiGatewayInstanceId: int - messageKey: str - messageValue: str - createdAt: DateTime - updatedAt: DateTime - -class list_StatsData(list, StatsData): pass - -class Stats(GQLObject): - apiStats: list_StatsData[StatsData] - -class FollowersUser(GQLObject): - startFollowDate: str - id: int - email: str - username: str - user: NewType('User', GQLObject) ## Circular Reference for User - attributes: Any - -class KafkaJSConfiguration(GQLObject): - brokers: list[str] - clientId: str - ssl: bool - sasl: SaslConfiguration - -class KafkaConfiguration(GQLObject): - kafkaConfiguration: KafkaJSConfiguration - schemaRegistryConfiguration: SchemaRegistryConfiguration - allowProducingRecords: bool - -class list_AuthenticationParam(list, AuthenticationParam): pass - -class Authentication(GQLObject): - id: ID - apiVersionId: str - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - clientSecretRequired: bool - clientAuthentication: ClientAuthenticationType - authParams: list_AuthenticationParam[AuthenticationParam] - handleOauthTokenAtFrontend: bool - extraMetadata: AuthenticationExtraMetadata - -class list_SecurityRequirement(list, SecurityRequirement): pass - -class BaseAuthentication(GQLObject): - schemeId: ID - apiVersionId: ID - name: str - description: str - securityType: SecurityType - requirements: list_SecurityRequirement[SecurityRequirement] - -class list_BaseAuthentication(list, BaseAuthentication): pass - -class list_SecretParameter(list, SecretParameter): pass - -class ApiVersionAccessControlInfo(GQLObject): - authentication: Authentication - security: list_BaseAuthentication[BaseAuthentication] - secretParameters: list_SecretParameter[SecretParameter] - -class list_GqlDoc(list, GqlDoc): pass - -class GraphQLSchema(GQLObject): - id: ID - endpointId: ID - schema: Any - allowHubSchemaRefresh: bool - isIntrospectionCall: bool - status: str - type: str - createdAt: DateTime - updatedAt: DateTime - documentation: list_GqlDoc[GqlDoc] - -class GUBTX_GraphQLSchema_Field(GraphQLSchema): - class GraphQLSchemaArgs(GQLArgsSet, GQLObject): - withOverrides: bool - - _args: GraphQLSchemaArgs - - - -class list_RequestPayload(list, RequestPayload): pass - -class list_ResponsePayload(list, ResponsePayload): pass - -class PYZLZ_ResponsePayload_Field(ResponsePayload): - class ResponsePayloadArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ResponsePayloadArgs - - - -class Endpoint(GQLObject): - id: ID - index: int - apiversion: str - createdAt: DateTime - updatedAt: DateTime - description: str - group: str - method: ApiEndpointHttpMethod - name: str - route: str - routeregex: str - webhook: bool - params: EndpointParams - displayResponse: bool - isGraphQL: bool - graphQLSchema: GUBTX_GraphQLSchema_Field - mockResponseId: ID - isMockResponse: bool - summary: str - externalDocs: ExternalDocs - endpointHash: str - appliedOauth2Scopes: list_AuthenticationParam[AuthenticationParam] - authentication: Authentication - security: list_BaseAuthentication[BaseAuthentication] - requestPayloads: list_RequestPayload[RequestPayload] - responsePayloads: list_ResponsePayload[ResponsePayload] - mockResponse: PYZLZ_ResponsePayload_Field - -class EndpointsGroup(GQLObject): - id: ID - name: str - apiVersionId: ID - index: int - status: str - createdAt: DateTime - updatedAt: DateTime - description: str - externalDocs: ExternalDocs - -class AllowedPlanDeveloper(GQLObject): - id: int - mashapeId: str - billingPlanId: str - user: NewType('Entity', GQLObject) ## Circular Reference for Entity - userId: int - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class ApiVersionBillingPlanVersion(GQLObject): - id: str - apiVersionId: str - billingPlan: NewType('BillingPlan', GQLObject) ## Circular Reference for BillingPlan - billingPlanId: str - billingPlanVersion: NewType('BillingPlanVersion', GQLObject) ## Circular Reference for BillingPlanVersion - billingPlanVersionId: str - showInMarketplace: bool - allowBillingVersionForApiVersion: bool - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class BillingItemEndpoint(GQLObject): - id: str - endpoint: str - endpointHash: str - apiEndpoint: Endpoint - bulk: bool - billingitem: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - -class UsageData(GQLObject): - """ - requests - Count of requests made in this context and period - - subscriptionId - `SubscriptionId` might be null if `groupBy` parameter was not passed to the analytics service as value `subscription` - - """ - period: str - requests: int - billingItemId: ID - subscriptionId: ID - billingItem: NewType('BillingItem', GQLObject) ## Circular Reference for BillingItem - -class FBQDD_BillingItemEndpoint_Field(BillingItemEndpoint): - class BillingItemEndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemEndpointArgs - - - -class list_BillingItemEndpoint(list, BillingItemEndpoint): pass - -class PWZPL_UsageData_Field(UsageData): - class UsageDataArgs(GQLArgsSet, GQLObject): - subscriptionId: NonNull_ID - fromDate: str - toDate: str - resolution: UsageResolution - orderDir: OrderDirection - - _args: UsageDataArgs - - - -class list_UsageData(list, UsageData): pass - -class BillingItem(GQLObject): - id: str - name: str - title: str - description: str - apiversion: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - billingitemendpoints: FBQDD_BillingItemEndpoint_Field - allEndpoints: bool - usageInSubscription: PWZPL_UsageData_Field - -class BillingLimit(GQLObject): - id: str - period: str - amount: int - currency: str - unlimited: bool - overageprice: float - overageLocalePrice: OverageLocalePrice - item: str - limitType: str - billingplanversion: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - billingitem: BillingItem - -class list_Endpoint(list, Endpoint): pass - -class BillingFeature(GQLObject): - id: ID - name: str - slugifiedName: str - description: str - apiVersionId: ID - status: BillingFeatureStatus - createdAt: DateTime - updatedAt: DateTime - billingFeatureEndpoints: list_Endpoint[Endpoint] - -class EnableBillingFeature(GQLObject): - id: str - billingfeature: str - billingFeatureObject: BillingFeature - billingplanversion: str - type: str - status: str - note: str - createdAt: DateTime - updatedAt: DateTime - -class list_usageByBillingItem(list, usageByBillingItem): pass - -class SubscriptionUsage(GQLObject): - mostUsagePercentage: float - topPercentageLimitedUsage: float - usageByBillingItem: list_usageByBillingItem[usageByBillingItem] - pricing: str - -class list_UsageItem(list, UsageItem): pass - -class UsagePeriodGrouper(GQLObject): - period: str - calculated: list_UsageItem[UsageItem] - -class Usage(GQLObject): - quotaId: ID - quota: int - title: str - overChargePrice: float - period: str - calculated: list_UsageItem[UsageItem] - -class list_Usage(list, Usage): pass - -class Usages(GQLObject): - usage: list_Usage[Usage] - version: str - startDate: str - endDate: str - -class Transaction(GQLObject): - id: int - stripId: str - subscriptionId: str - totalAmount: float - additionalAmount: float - refunded: int - paid: int - payoutAmount: float - periodStart: str - periodEnd: str - invoiceLink: str - refundDate: str - refundedAmount: float - mashapeId: str - status: str - updatedAt: str - createdAt: str - deletedAt: str - userId: int - apiId: str - paidout: str - chargeId: str - disputed: int - subscription: NewType('BillingSubscription', GQLObject) ## Circular Reference for BillingSubscription - entity: NewType('Entity', GQLObject) ## Circular Reference for Entity - usages: Usages - Charge: TransactionCharge - stripeId: str - invoicePeriodStart: str - invoicePeriodEnd: str - -class EKNFV_UsagePeriodGrouper_Field(UsagePeriodGrouper): - class UsagePeriodGrouperArgs(GQLArgsSet, GQLObject): - billingItemIds: list[NonNull_ID] - fromDate: str - toDate: str - resolution: UsageResolution - orderDir: OrderDirection - - _args: UsagePeriodGrouperArgs - - - -class list_UsagePeriodGrouper(list, UsagePeriodGrouper): pass - -class list_GQLObject(list, GQLObject): pass - -class list_SubscriptionQuotaUsage(list, SubscriptionQuotaUsage): pass - -class list_Transaction(list, Transaction): pass - -class BillingSubscription(GQLObject): - subscriptionUsage: SubscriptionUsage - id: int - userId: int - apiId: str - stripeId: str - billingPlanVersionId: str - canceled: int - autocanceled: bool - type: str - isInternal: bool - mashapeId: str - status: str - apiVersionId: str - customToken: str - canceledAt: DateTime - createdAt: DateTime - deletedAt: DateTime - updatedAt: DateTime - apiVersion: NewType('ApiVersion', GQLObject) ## Circular Reference for ApiVersion - api: NewType('Api', GQLObject) ## Circular Reference for Api - user: NewType('User', GQLObject) ## Circular Reference for User - billingPlanVersion: NewType('BillingPlanVersion', GQLObject) ## Circular Reference for BillingPlanVersion - usageByBillingItem: EKNFV_UsagePeriodGrouper_Field - usages: SubscriptionUsage - parentId: int - teamsSubscriptions: list_GQLObject[GQLObject] ## Circular Reference for BillingSubscription - entity: NewType('Entity', GQLObject) ## Circular Reference for Entity - tenantQuotaUsage: list_SubscriptionQuotaUsage[SubscriptionQuotaUsage] - additionalSubscriptionData: AdditionalSubscriptionProviderData - transactions: list_Transaction[Transaction] - -class FBUZI_ApiVersionBillingPlanVersion_Field(ApiVersionBillingPlanVersion): - class ApiVersionBillingPlanVersionArgs(GQLArgsSet, GQLObject): - apiVersionId: str - filters: BillingPlanVersionFilters - - _args: ApiVersionBillingPlanVersionArgs - - - -class list_ApiVersionBillingPlanVersion(list, ApiVersionBillingPlanVersion): pass - -class UTUFU_BillingLimit_Field(BillingLimit): - class BillingLimitArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingLimitArgs - - - -class list_BillingLimit(list, BillingLimit): pass - -class list_EnableBillingFeature(list, EnableBillingFeature): pass - -class list_BillingSubscription(list, BillingSubscription): pass - -class BillingPlanVersion(GQLObject): - id: str - name: str - current: bool - period: str - visibility: str - option: str - price: float - localePrice: LocalePrice - pricing: str - billingplan: str - billingPlan: NewType('BillingPlan', GQLObject) ## Circular Reference for BillingPlan - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - apiVersionBillingPlanVersion: FBUZI_ApiVersionBillingPlanVersion_Field - billinglimits: UTUFU_BillingLimit_Field - enablebillingfeatures: list_EnableBillingFeature[EnableBillingFeature] - rateLimit: RateLimit - subscriptions: list_BillingSubscription[BillingSubscription] - subscriptionsCount: int - -class list_TargetUrl(list, TargetUrl): pass - -class TargetGroup(GQLObject): - id: ID - apiId: ID - loadBalancingStrategy: LoadBalancingStrategy - name: str - targetUrls: list_TargetUrl[TargetUrl] - -class list_AllowedPlanDeveloper(list, AllowedPlanDeveloper): pass - -class YPGGF_BillingPlanVersion_Field(BillingPlanVersion): - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - id: str - showDeleted: bool - - _args: BillingPlanVersionArgs - - - -class BillingPlan(GQLObject): - id: str - apiversion: str - name: str - slugifiedName: str - status: str - type: str - visibility: Visibility - hidden: bool - recommended: bool - createdAt: DateTime - updatedAt: DateTime - allowedPlanDevelopers: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - allowedPlanDevelopersCount: int - legalDocumentId: str - legalAccountId: str - isStudent: bool - version: YPGGF_BillingPlanVersion_Field - targetGroup: TargetGroup - targetGroupId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - -class ApiCertificate(GQLObject): - id: ID - ownerId: ID - alias: str - effectiveDate: DateTime - expiry: DateTime - createdAt: DateTime - updatedAt: DateTime - serialNumber: str - signatureAlgorithm: str - publicKeySignatureAlgorithm: ApiCertificatePublicKeySignatureAlgorithm - publicKeySizeInBits: int - publicKeyExponent: int - certificateDataAsPem: str - issuer: ApiCertificateIssuerInfo - subject: ApiCertificateSubjectInfo - associations: list_GQLObject[GQLObject] ## Circular Reference for ApiCertificateAssociation - associatedApiVersionsCount: int - -class ApiCertificateAssociation(GQLObject): - apiCertificateId: ID - apiVersionId: ID - createdAt: DateTime - apiCertificate: ApiCertificate - apiVersion: NewType('ApiVersion', GQLObject) ## Circular Reference for ApiVersion - -class ApiSchema(GQLObject): - identifier: str - apiVersion: NewType('ApiVersion', GQLObject) ## Circular Reference for ApiVersion - definition: Any - index: int - -class SecretData(GQLObject): - id: ID - apiversion: ID - -class SPLWN_ResponsePayload_Field(ResponsePayload): - class ResponsePayloadArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ResponsePayloadArgs - - - -class SVSLT_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class XHPJL_EndpointsGroup_Field(EndpointsGroup): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointsGroupArgs - - - -class list_EndpointsGroup(list, EndpointsGroup): pass - -class JGGTA_Publicdns_Field(Publicdns): - class PublicdnsArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: PublicdnsArgs - - - -class list_Publicdns(list, Publicdns): pass - -class ROUCV_BillingPlan_Field(BillingPlan): - class BillingPlanArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - showDeleted: bool - visibility: Visibility - - _args: BillingPlanArgs - - - -class list_BillingPlan(list, BillingPlan): pass - -class RVHSS_BillingItem_Field(BillingItem): - class BillingItemArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemArgs - - - -class list_BillingItem(list, BillingItem): pass - -class BONFZ_BillingItemEndpoint_Field(BillingItemEndpoint): - class BillingItemEndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemEndpointArgs - - - -class list_Transformation(list, Transformation): pass - -class list_ApiCertificateAssociation(list, ApiCertificateAssociation): pass - -class UYLYE_Asset_Field(Asset): - class AssetArgs(GQLArgsSet, GQLObject): - visible: bool - - _args: AssetArgs - - - -class list_Asset(list, Asset): pass - -class list_ApiSchema(list, ApiSchema): pass - -class ApiVersion(GQLObject): - id: ID - api: str - current: bool - name: str - status: str - keywords: list[str] - createdAt: DateTime - updatedAt: DateTime - visibility: str - apiInstance: NewType('Api', GQLObject) ## Circular Reference for Api - kafkaConfiguration: KafkaConfiguration - asyncApiConfiguration: AsyncApiConfiguration - webhooks: bool - payloads: SPLWN_ResponsePayload_Field - accessControl: ApiVersionAccessControlInfo - endpoints: SVSLT_Endpoint_Field - groups: XHPJL_EndpointsGroup_Field - publicdns: JGGTA_Publicdns_Field - billingplans: ROUCV_BillingPlan_Field - billingitems: RVHSS_BillingItem_Field - billingitemendpoints: BONFZ_BillingItemEndpoint_Field - publicBillingPlanVersions: list_ApiVersionBillingPlanVersion[ApiVersionBillingPlanVersion] - targetGroup: TargetGroup - targetGroupId: str - transformations: list_Transformation[Transformation] - versionStatus: VersionStatus - apiVersionType: ApiVersionType - associatedApiCertificates: list_ApiCertificateAssociation[ApiCertificateAssociation] - assets: UYLYE_Asset_Field - apiSchemas: list_ApiSchema[ApiSchema] - specInfo: SpecInfo - -class FollowApi(GQLObject): - id: str - follower: str - api: str - status: str - apiData: NewType('Api', GQLObject) ## Circular Reference for Api - user: NewType('User', GQLObject) ## Circular Reference for User - -class Comment(GQLObject): - id: int - issueId: int - userId: int - body: str - top: bool - rating: int - mashapeId: str - mashapeAccountId: str - mashapeIssueId: str - index: int - status: str - createdAt: DateTime - updatedAt: DateTime - user: NewType('User', GQLObject) ## Circular Reference for User - -class JSHHR_Comment_Field(Comment): - class CommentArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: CommentArgs - - - -class list_Comment(list, Comment): pass - -class UPDZW_Comment_Field(Comment): - class CommentArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: CommentArgs - - - -class Issue(GQLObject): - id: int - userId: int - topicId: str - title: str - body: str - rating: int - commentsCount: int - mashapeId: str - visibility: str - index: int - mashapeAccountId: str - closed: bool - status: str - createdAt: DateTime - updatedAt: DateTime - comments: JSHHR_Comment_Field - commentsV2: UPDZW_Comment_Field - user: NewType('User', GQLObject) ## Circular Reference for User - api: NewType('Api', GQLObject) ## Circular Reference for Api - -class Spotlight(GQLObject): - id: ID - type: SpotlightType - apiId: ID - spotlightURL: str - status: str - slugifiedName: str - thumbnailURL: str - title: str - description: str - weight: int - published: bool - updatedAt: DateTime - createdAt: DateTime - -class ApiDeveloper(GQLObject): - id: ID - developer: ID - api: ID - type: EntityType - status: ApiDeveloperStatus - blocked: bool - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - user: NewType('Entity', GQLObject) ## Circular Reference for Entity - -class list_Spotlight(list, Spotlight): pass - -class Documentation(GQLObject): - readme: Readme - spotlights: list_Spotlight[Spotlight] - -class WREOI_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - showDeleted: bool - - _args: EndpointArgs - - - -class RequestLog(GQLObject): - requestId: ID - projectId: ID - api: str - apiId: ID - endpoint: str - endpointObject: WREOI_Endpoint_Field - endpointId: str - httpMethod: HttpMethod - period: int - apiLatency: int - callTime: DateTime - displayCallTime: DateTime - originIp: str - originCountry: str - engineError: int - httpStatus: int - reqHeadersSize: int - resHeadersSize: int - reqBodySize: int - resBodySize: int - project: NewType('Project', GQLObject) ## Circular Reference for Project - version: ApiVersion - -class list_RequestLog(list, RequestLog): pass - -class RequestLogsResult(GQLObject): - """ - totalCount - Total count of requests matching supplied `fromDate`, `toDate` and `filters`, **regardless of pagination**. -This is not *the mere count of items in the sibling `requests` field*." - - """ - requests: list_RequestLog[RequestLog] - totalCount: int - -class list_APITag(list, APITag): pass - -class list_FollowApi(list, FollowApi): pass - -class NEPVU_Issue_Field(Issue): - class IssueArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: IssueArgs - - - -class list_Issue(list, Issue): pass - -class KEQCB_Announcement_Field(Announcement): - class AnnouncementArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: AnnouncementArgs - - - -class list_Announcement(list, Announcement): pass - -class QUTZL_ApiDeveloper_Field(ApiDeveloper): - class ApiDeveloperArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ApiDeveloperArgs - - - -class list_ApiDeveloper(list, ApiDeveloper): pass - -class list_TargetGroup(list, TargetGroup): pass - -class list_ApiVersion(list, ApiVersion): pass - -class FJAIY_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class EQQWC_BillingFeature_Field(BillingFeature): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingFeatureArgs - - - -class list_BillingFeature(list, BillingFeature): pass - -class EZKWU_BillingItem_Field(BillingItem): - class BillingItemArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemArgs - - - -class RRUDX_BillingPlan_Field(BillingPlan): - class BillingPlanArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingPlanArgs - - - -class KTDWC_RequestLogsResult_Field(RequestLogsResult): - """ - KTDWC_RequestLogsResult_Field - Raw non-aggregated request logs related to the parent `Api` entity. - - """ - class RequestLogsResultArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: str - limit: int - offset: int - orderBy: RequestLogsOrderBy - orderDir: OrderDirection - filters: RequestLogsOnApiFilters - - _args: RequestLogsResultArgs - - - -class Api(GQLObject): - """ - Api - Contains information about an API in the API Hub. - - id - The RapidAPI API ID for the API. This can be obtained using the **apis** query. - - externalCustomId - An optional provider-specified custom ID by which the API can be later fetched. -If any external custom ID was set by the API provider, it could then be directly fetched by it as a convenient alternative for the API's basic platform-generated \`id\`, but either one may still be used independently. -`externalCustomId`s are guaranteed to be **unique** among all APIs in the scope of a certain tenant environment. - - name - The API name as displayed in the API Hub. - - requestLogs - Raw non-aggregated request logs related to the parent `Api` entity. - - """ - id: str - externalCustomId: ID - name: str - installsAllTime: int - requestTimeout: int - requestSizeLimit: int - installsDaily: int - installsMonthly: int - installsWeekly: int - pricing: ApiPricing - apiType: ApiType - currentVersion: ApiVersion - category: str - createdAt: str - updatedAt: str - ownerId: int - proxy: bool - status: ApiStatus - description: str - longDescription: str - tags: list_APITag[APITag] - thumbnail: str - thumbnailSmall: str - websiteUrl: str - termsOfService: TermsOfService - visibility: ApiVisibility - owner: NewType('Entity', GQLObject) ## Circular Reference for Entity - score: Score - followers: list_FollowApi[FollowApi] - followersCount: int - subscriptionsCount: int - issues: NEPVU_Issue_Field - rating: apiRating - slugifiedName: str - categoryId: str - allowedContext: list[str] - spotlights: list_Spotlight[Spotlight] - patternMatch: bool - patternMatchAllowOtherTypes: bool - requestSchemaValidation: bool - requestSchemaValidationUnknownAttributePolicy: SchemaValidationUnknownAttributePolicy - gatewayIds: list[ID] - announcements: KEQCB_Announcement_Field - apiDevelopers: QUTZL_ApiDeveloper_Field - targetGroups: list_TargetGroup[TargetGroup] - publishApiPendingRequest: bool - saveRequestHeadersLogging: bool - saveRequestQueryParametersLogging: bool - saveRequestBodyLogging: bool - saveResponseHeadersLogging: bool - saveResponseBodyLogging: bool - useHttpProxy: bool - security: ApiSecurityInfo - versions: list_ApiVersion[ApiVersion] - documentation: Documentation - endpoints: FJAIY_Endpoint_Field - billingFeatures: EQQWC_BillingFeature_Field - billingItems: EZKWU_BillingItem_Field - billingPlans: RRUDX_BillingPlan_Field - isFavorite: bool - quality: ApiQuality - requestsCount: int - requestLogs: KTDWC_RequestLogsResult_Field - -class ProjectAllowedAPI(GQLObject): - id: int - projectId: int - apiId: str - api: Api - apiVersionId: str - apiVersion: ApiVersion - createdAt: DateTime - updatedAt: DateTime - status: str - -class list_Header(list, Header): pass - -class GatewayTemplate(GQLObject): - id: int - name: str - description: str - urlPattern: str - status: str - type: str - headers: list_Header[Header] - -class Gateway(GQLObject): - id: int - apiGatewayCodeTemplateId: int - version: str - dns: str - type: str - serviceStatus: str - status: str - lastActive: str - gatewayTemplate: GatewayTemplate - configurations: GatewayConfiguration - isDefault: bool - -class list_Gateway(list, Gateway): pass - -class ApplicationAuthorization(GQLObject): - id: ID - name: str - mashapeId: ID - key: str - applicationId: ID - status: AppAuthorizationStatus - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - authorizationType: AppAuthorizationType - authorizationValues: str - gateways: list_Gateway[Gateway] - grantType: AuthorizationGrantType - -class list_Account(list, Account): pass - -class MRDZB_ProjectAllowedAPI_Field(ProjectAllowedAPI): - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ProjectAllowedAPIArgs - - - -class list_ProjectAllowedAPI(list, ProjectAllowedAPI): pass - -class list_ApplicationAuthorization(list, ApplicationAuthorization): pass - -class FDSZR_RequestLogsResult_Field(RequestLogsResult): - """ - FDSZR_RequestLogsResult_Field - Raw non-aggregated request logs related to the parent `Project` entity. - - """ - class RequestLogsResultArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: str - limit: int - offset: int - orderBy: RequestLogsOrderBy - orderDir: OrderDirection - filters: RequestLogsOnProjectFilters - - _args: RequestLogsResultArgs - - - -class Project(GQLObject): - """ - requestLogs - Raw non-aggregated request logs related to the parent `Project` entity. - - """ - id: int - mashapeId: str - name: str - description: str - thumbnail: str - favorite: bool - accounts: list_Account[Account] - xMashapeKey: str - acl: NewType('ProjectInfo', GQLObject) ## Circular Reference for ProjectInfo - enableLimitsToAPIs: bool - projectAllowedAPIs: MRDZB_ProjectAllowedAPI_Field - applicationAuthorizations: list_ApplicationAuthorization[ApplicationAuthorization] - requestLogs: FDSZR_RequestLogsResult_Field - -class ProjectInfo(GQLObject): - id: int - owner: int - project: int - user: NewType('User', GQLObject) ## Circular Reference for User - entity: NewType('Entity', GQLObject) ## Circular Reference for Entity - Project: Project - -class SubscriptionsPaging(GQLObject): - subscriptions: list_BillingSubscription[BillingSubscription] - totalCount: int - -class TransactionsPaging(GQLObject): - transactions: list_Transaction[Transaction] - totalCount: int - -class TransactionsGraphData(GQLObject): - prev: TransactionsItem - curr: TransactionsItem - overages: TransactionsItem - -class list_UserAttributesRow(list, UserAttributesRow): pass - -class UserAttributes(GQLObject): - count: int - rows: list_UserAttributesRow[UserAttributesRow] - -class list_EnvelopeDocument(list, EnvelopeDocument): pass - -class EnvelopeTemplate(GQLObject): - documents: list_EnvelopeDocument[EnvelopeDocument] - templateId: str - uri: str - created: DateTime - name: str - description: str - -class list_EnvelopeTemplate(list, EnvelopeTemplate): pass - -class Template(GQLObject): - envelopeTemplates: list_EnvelopeTemplate[EnvelopeTemplate] - -class DocuSignAccount(GQLObject): - id: str - name: str - baseUri: str - template: Template - -class list_DocuSignAccount(list, DocuSignAccount): pass - -class DocuSignUserInfo(GQLObject): - name: str - email: str - accounts: list_DocuSignAccount[DocuSignAccount] - -class DocuSign(GQLObject): - docuSignUserInfo: DocuSignUserInfo - -class LegalAgreementInfo(GQLObject): - id: ID - entityId: int - isLoggedIn: bool - vendor: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - docuSign: DocuSign - -class list_ProjectInfo(list, ProjectInfo): pass - -class VSUBP_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - getAllSubscriptions: bool - - _args: BillingSubscriptionArgs - - - -class DPZHT_SubscriptionsPaging_Field(SubscriptionsPaging): - class SubscriptionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - getAllSubscriptions: bool - - _args: SubscriptionsPagingArgs - - - -class ZCHIB_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - - _args: BillingSubscriptionArgs - - - -class QDNCX_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - billingPlanVersionId: ID - - _args: BillingSubscriptionArgs - - - -class list_MultipleValuesQueryFilter(list, MultipleValuesQueryFilter): pass - -class QueryFilter(GQLObject): - columnName: str - operand: str - value: Any - values: list_MultipleValuesQueryFilter[MultipleValuesQueryFilter] - -class list_QueryFilter(list, QueryFilter): pass - -class QueryFilters(GQLObject): - filters: list_QueryFilter[QueryFilter] - -class NTNWM_TransactionsPaging_Field(TransactionsPaging): - class TransactionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - apiNameFilter: str - queryFilters: QueryFilters - - _args: TransactionsPagingArgs - - - -class DOAKJ_TransactionsPaging_Field(TransactionsPaging): - class TransactionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - apiNameFilter: str - queryFilters: QueryFilters - - _args: TransactionsPagingArgs - - - -class NYYSP_Transaction_Field(Transaction): - class TransactionArgs(GQLArgsSet, GQLObject): - id: ID - mashapeId: ID - - _args: TransactionArgs - - - -class NonNull_DateTime(DateTime): pass - -class MNQLC_Stats_Field(Stats): - class StatsArgs(GQLArgsSet, GQLObject): - apiId: ID - fromDate: NonNull_DateTime - toDate: DateTime - resolution: Resolution - groupBy: StatsGroupBy - - _args: StatsArgs - - - -class list_Stats(list, Stats): pass - -class list_Api(list, Api): pass - -class Entity(GQLObject): - id: str - mashapeId: str - thumbnail: str - name: str - email: str - username: str - location: str - company: str - position: str - slugifiedName: str - type: str - createdAt: DateTime - numOfApisUsed: int - numOfProjects: int - followsList: list_GQLObject[GQLObject] ## Circular Reference for FollowUser - numOfSubscriptions: int - projectAcls: list_ProjectInfo[ProjectInfo] - subscriptions: VSUBP_BillingSubscription_Field - subscriptionsPaging: DPZHT_SubscriptionsPaging_Field - activeSubscriptionByApiId: ZCHIB_BillingSubscription_Field - activeSubscriptionByApiIdAndBillingPlanVersionId: QDNCX_BillingSubscription_Field - pagedTransactions: NTNWM_TransactionsPaging_Field - notFullyRefundedTransactions: DOAKJ_TransactionsPaging_Field - transactionsGraphData: TransactionsGraphData - transaction: NYYSP_Transaction_Field - parents: list_GQLObject[GQLObject] ## Circular Reference for Entity - stats: MNQLC_Stats_Field - billingInformation: BillingInformation - bio: str - publishedApisList: list_Api[Api] - apis: list_Api[Api] - attributes: UserAttributes - userEnrichment: UserEnrichment - legalAgreementInfo: LegalAgreementInfo - payoutInfo: PayoutInfo - -class FollowUser(GQLObject): - startFollowDate: str - id: int - email: str - username: str - user: Entity - attributes: Any - -class ApiFollower(GQLObject): - id: ID - followerId: ID - apiId: ID - createdAt: DateTime - api: Api - follower: NewType('User', GQLObject) ## Circular Reference for User - -class Notification(GQLObject): - id: int - userId: int - type: int - text: str - message: NotificationMessage - messageType: str - read: bool - createdAt: DateTime - updatedAt: DateTime - -class ProjectAcl(GQLObject): - id: int - owner: int - project: int - createdAt: DateTime - updatedAt: DateTime - Project: Project - -class TeamUser(GQLObject): - id: int - name: str - username: str - thumbnail: str - email: str - inviteStatus: str - teams: list_GQLObject[GQLObject] ## Circular Reference for Team - role: str - token: str - userData: NewType('User', GQLObject) ## Circular Reference for User - teamsCount: int - -class IssueObject(GQLObject): - data: list_Issue[Issue] - total: int - -class VirtualPermission(GQLObject): - id: ID - key: str - displayName: str - permissionLevel: str - description: str - dependsOn: int - rolePermission: RolePermission - -class list_VirtualPermission(list, VirtualPermission): pass - -class Role(GQLObject): - id: ID - key: str - name: str - description: str - roleLevel: str - isBasicRole: bool - isDefault: bool - permissions: list_VirtualPermission[VirtualPermission] - -class EntityRole(GQLObject): - id: ID - entityId: int - roleId: int - parentId: int - orgId: int - role: Role - -class list_TeamUser(list, TeamUser): pass - -class list_ProjectAcl(list, ProjectAcl): pass - -class DKYIM_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - - _args: BillingSubscriptionArgs - - - -class VNWRR_FollowersUser_Field(FollowersUser): - class FollowersUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowersUserArgs - - - -class list_FollowersUser(list, FollowersUser): pass - -class BOAVN_IssueObject_Field(IssueObject): - class IssueObjectArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - -class JKBFE_EntityRole_Field(EntityRole): - class EntityRoleArgs(GQLArgsSet, GQLObject): - where: WhereOrgTeam - - _args: EntityRoleArgs - - - -class Team(GQLObject): - id: ID - mashapeId: str - thumbnail: str - name: str - slugifiedName: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - users: list_TeamUser[TeamUser] - ProjectAcls: list_ProjectAcl[ProjectAcl] - usersCount: int - description: str - subscriptions: DKYIM_BillingSubscription_Field - followersList: VNWRR_FollowersUser_Field - publishedApisList: list_Api[Api] - isTeamMember: bool - issues: BOAVN_IssueObject_Field - role: JKBFE_EntityRole_Field - -class AdminProjectAcl(GQLObject): - id: int - owner: AdminOwnerProject - project: int - createdAt: DateTime - updatedAt: DateTime - Project: Project - -class GCXAB_Team_Field(Team): - class TeamArgs(GQLArgsSet, GQLObject): - where: WhereOrgTeam - - _args: TeamArgs - - - -class list_Team(list, Team): pass - -class EDFAV_FollowersUser_Field(FollowersUser): - class FollowersUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowersUserArgs - - - -class NYIJW_IssueObject_Field(IssueObject): - class IssueObjectArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - -class list_AdminProjectAcl(list, AdminProjectAcl): pass - -class Organization(GQLObject): - id: ID - email: str - name: str - thumbnail: str - slugifiedName: str - status: str - billingInformation: BillingInformation - description: str - teams: GCXAB_Team_Field - publishedApisList: list_Api[Api] - users: list_GQLObject[GQLObject] ## Circular Reference for User - followersList: EDFAV_FollowersUser_Field - isOrganizationAdmin: bool - apisCount: int - internalSubscriptionsCount: int - externalSubscriptionsCount: int - issues: NYIJW_IssueObject_Field - billingAdditionalValues: BillingAdditionalValues - payoutInfo: PayoutInfo - balance: float - occupiedSeats: int - entity: Any - seatsBillingInformation: SeatsBillingInformation - billingType: str - role: EntityRole - createdAt: DateTime - updatedAt: DateTime - numOfTeams: int - numOfUsers: int - apis: list_Api[Api] - internalSubscriptions: list_BillingSubscription[BillingSubscription] - externalSubscriptions: list_BillingSubscription[BillingSubscription] - ProjectAcls: list_AdminProjectAcl[AdminProjectAcl] - -class list_StatsFilterBy(list, StatsFilterBy): pass - -class WKMRM_Stats_Field(Stats): - class StatsArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: NonNull_str - resolution: str - projectId: str - apiId: str - groupBy: StatsGroupBy - filters: list_StatsFilterBy[StatsFilterBy] - timeOffset: int - - _args: StatsArgs - - - -class IVGVW_FollowersUser_Field(FollowersUser): - class FollowersUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowersUserArgs - - - -class XJIWJ_FollowUser_Field(FollowUser): - class FollowUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowUserArgs - - - -class list_FollowUser(list, FollowUser): pass - -class list_ApiFollower(list, ApiFollower): pass - -class list_IssueFollow(list, IssueFollow): pass - -class PRFUS_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - - _args: BillingSubscriptionArgs - - - -class HZEUA_SubscriptionsPaging_Field(SubscriptionsPaging): - class SubscriptionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - - _args: SubscriptionsPagingArgs - - - -class SWFYC_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - - _args: BillingSubscriptionArgs - - - -class RDUOO_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - billingPlanVersionId: ID - - _args: BillingSubscriptionArgs - - - -class list_Notification(list, Notification): pass - -class AAVJC_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - projectId: ID - mashapeId: ID - - _args: ProjectArgs - - - -class GCAYP_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - projectIds: list[NonNull_ID] - mashapeIds: list[NonNull_ID] - - _args: ProjectArgs - - - -class list_Project(list, Project): pass - -class DOYHE_ProjectInfo_Field(ProjectInfo): - class ProjectInfoArgs(GQLArgsSet, GQLObject): - projectId: NonNull_ID - - _args: ProjectInfoArgs - - - -class SOICZ_Transaction_Field(Transaction): - class TransactionArgs(GQLArgsSet, GQLObject): - id: ID - mashapeId: ID - - _args: TransactionArgs - - - -class list_Organization(list, Organization): pass - -class list_CorporateDomainOrganization(list, CorporateDomainOrganization): pass - -class User(GQLObject): - id: str - email: str - gmail: str - githubUsername: str - facebookUsername: str - rememberMe: str - followers: int - company: str - position: str - location: str - lastActive: DateTime - thumbnail: str - name: str - username: str - packages: int - discussions: int - lastActivePublic: bool - emailPublic: bool - githubUrl: str - githubUrlPublic: bool - mashapeId: str - status: str - origin_site: str - rakutenToken: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - stats: WKMRM_Stats_Field - apisCount: int - followersList: IVGVW_FollowersUser_Field - followsList: XJIWJ_FollowUser_Field - followedApis: list_ApiFollower[ApiFollower] - followsIssues: list_IssueFollow[IssueFollow] - followsIssuesV2: list_IssueFollow[IssueFollow] - subscriptions: PRFUS_BillingSubscription_Field - subscriptionsPaging: HZEUA_SubscriptionsPaging_Field - activeSubscriptionByApiId: SWFYC_BillingSubscription_Field - activeSubscriptionByApiIdAndBillingPlanVersionId: RDUOO_BillingSubscription_Field - notifications: list_Notification[Notification] - numOfApisUsed: int - numOfProjects: int - numOfSubscriptions: int - billingInformation: BillingInformation - allowedPlanDevelopers: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - payoutInfo: PayoutInfo - project: AAVJC_Project_Field - projects: GCAYP_Project_Field - projectACL: DOYHE_ProjectInfo_Field - ProjectACLs: list_ProjectInfo[ProjectInfo] - ProfileInfo: ProfileInfo - transactionsGraphData: TransactionsGraphData - transaction: SOICZ_Transaction_Field - ProjectAcls: list_ProjectAcl[ProjectAcl] - publishedApisList: list_Api[Api] - bio: str - Teams: list_Team[Team] - organizations: list_Organization[Organization] - attributes: UserAttributes - isCurrentUser: bool - balance: float - entity: Any - userEnrichment: UserEnrichment - corporateDomain: CorporateDomain - organizationsWithTheSameDomain: list_CorporateDomainOrganization[CorporateDomainOrganization] - billingType: str - isUserCreatedBySSO: bool - protected: bool - role: EntityRole - activeOrganizationRole: str - verified: bool - singleAdminOrgs: list[ID] - -class list_UsageByTeam(list, UsageByTeam): pass - -class OrgSubscriptionUsage(GQLObject): - id: ID - name: str - byOrg: UsageByOrg - byTeam: list_UsageByTeam[UsageByTeam] - -class TutorialEdge(GQLObject): - node: Tutorial - cursor: str - -class list_Tutorial(list, Tutorial): pass - -class list_TutorialEdge(list, TutorialEdge): pass - -class TutorialConnection(GQLObject): - nodes: list_Tutorial[Tutorial] - edges: list_TutorialEdge[TutorialEdge] - pageInfo: PageInfo - -class TransformationEdge(GQLObject): - node: Transformation - cursor: str - -class list_TransformationEdge(list, TransformationEdge): pass - -class TransformationConnection(GQLObject): - nodes: list_Transformation[Transformation] - edges: list_TransformationEdge[TransformationEdge] - pageInfo: PageInfo - -class TransactionsWhereInput(GQLObject): - """ - TransactionsWhereInput - The Filters for the transactions query. You can either filter by apiIds or by apiOwnerIds, but not both. - - """ - userId: ID - apiIds: list[ID] - apiOwnerIds: list[ID] - withCharges: bool - queryFilters: QueryFilters - pagingArgs: PagingArgs - -class TransactionEdge(GQLObject): - node: Transaction - cursor: str - -class list_TransactionEdge(list, TransactionEdge): pass - -class TransactionConnection(GQLObject): - nodes: list_Transaction[Transaction] - edges: list_TransactionEdge[TransactionEdge] - pageInfo: PageInfo - totalCount: int - -class Tenant(GQLObject): - id: ID - name: str - domain: str - slugifiedKey: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - tenantPricingPlan: TenantPricingPlan - pricingPlanId: int - isCustomDomain: bool - internalOwnerId: int - subscription: BillingSubscription - -class TagDefinitionEdge(GQLObject): - node: TagDefinition - cursor: str - -class list_TagDefinition(list, TagDefinition): pass - -class list_TagDefinitionEdge(list, TagDefinitionEdge): pass - -class TagDefinitionConnection(GQLObject): - nodes: list_TagDefinition[TagDefinition] - edges: list_TagDefinitionEdge[TagDefinitionEdge] - pageInfo: PageInfo - -class BillingSubscriptionEdge(GQLObject): - node: BillingSubscription - cursor: str - -class list_BillingSubscriptionEdge(list, BillingSubscriptionEdge): pass - -class SubscriptionConnection(GQLObject): - nodes: list_BillingSubscription[BillingSubscription] - edges: list_BillingSubscriptionEdge[BillingSubscriptionEdge] - pageInfo: PageInfo - totalCount: int - -class SpotlightEdge(GQLObject): - node: Spotlight - cursor: str - -class list_SpotlightEdge(list, SpotlightEdge): pass - -class SpotlightConnection(GQLObject): - nodes: list_Spotlight[Spotlight] - edges: list_SpotlightEdge[SpotlightEdge] - pageInfo: PageInfo - -class EBDTY_Api_Field(Api): - class ApiArgs(GQLArgsSet, GQLObject): - weightLowerThan: int - - _args: ApiArgs - - - -class list_BlogPosts(list, BlogPosts): pass - -class SearchCollection(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: EBDTY_Api_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class SearchConnectionEdge(GQLObject): - node: SearchCollection - cursor: str - -class list_SearchCollection(list, SearchCollection): pass - -class list_SearchConnectionEdge(list, SearchConnectionEdge): pass - -class SearchCollectionConnection(GQLObject): - nodes: list_SearchCollection[SearchCollection] - edges: list_SearchConnectionEdge[SearchConnectionEdge] - pageInfo: PageInfo - total: int - -class SearchBlogPostEdge(GQLObject): - node: SearchBlogPost - cursor: str - -class list_SearchBlogPost(list, SearchBlogPost): pass - -class list_SearchBlogPostEdge(list, SearchBlogPostEdge): pass - -class SearchBlogPostConnection(GQLObject): - nodes: list_SearchBlogPost[SearchBlogPost] - edges: list_SearchBlogPostEdge[SearchBlogPostEdge] - pageInfo: PageInfo - total: int - -class RLOLA_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class LZUFV_EndpointsGroup_Field(EndpointsGroup): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointsGroupArgs - - - -class SearchApiVersion(GQLObject): - id: ID - api: str - description: str - longDescription: str - name: str - pricing: str - status: str - keywords: list[str] - thumbnail: str - thumbnailSmall: str - type: str - createdAt: DateTime - updatedAt: DateTime - visibility: str - webhooks: bool - websiteUrl: str - endpoints: RLOLA_Endpoint_Field - tags: list_APITag[APITag] - groups: LZUFV_EndpointsGroup_Field - authentication: Authentication - -class SearchApi(GQLObject): - id: str - apiType: str - name: str - title: str - description: str - keywords: list[str] - installsAllTime: int - installsDaily: int - thumbnail: str - thumbnailSmall: str - rating: int - categoryName: str - User: SearchApiUser - Ratings: list[int] - key: str - longDescription: str - visibility: str - score: Score - pricing: str - version: SearchApiVersion - createdAt: DateTime - updatedAt: DateTime - slugifiedName: str - objectID: str - locale: Locale - tags: list_APITag[APITag] - -class SearchApiEdge(GQLObject): - node: SearchApi - cursor: str - -class list_SearchApi(list, SearchApi): pass - -class list_SearchApiEdge(list, SearchApiEdge): pass - -class SearchApiConnection(GQLObject): - """ - took - how long the query takes to return the result. - - """ - nodes: list_SearchApi[SearchApi] - edges: list_SearchApiEdge[SearchApiEdge] - pageInfo: PageInfo - total: int - queryID: ID - replicaIndex: str - took: int - -class RoleEdge(GQLObject): - node: Role - cursor: str - -class list_Role(list, Role): pass - -class list_RoleEdge(list, RoleEdge): pass - -class RoleConnection(GQLObject): - nodes: list_Role[Role] - edges: list_RoleEdge[RoleEdge] - pageInfo: PageInfo - -class list_Message(list, Message): pass - -class MessageThread(GQLObject): - id: ID - apiId: str - ownerId: int - entityId: int - ownerDisplayName: str - entityDisplayName: str - apiDisplayName: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - messages: list_Message[Message] - lastMessage: Message - api: Api - entity: Entity - threadEntityStatus: ThreadEntityStatus - body: str - -class list_MessageThread(list, MessageThread): pass - -class MessageThreadsObject(GQLObject): - threads: list_MessageThread[MessageThread] - messages: list_Message[Message] - -class KafkaJSConfigurationInput(GQLObject): - brokers: list[str] - clientId: str - ssl: bool - sasl: SaslConfigurationInput - -class UpdateKafkaConfigurationInput(GQLObject): - kafkaConfiguration: KafkaJSConfigurationInput - schemaRegistryConfiguration: SchemaRegistryConfigurationInput - allowProducingRecords: bool - apiVersionId: str - -class TopicSchemaPair(GQLObject): - key: TopicSchema - value: TopicSchema - -class list_TopicOffset(list, TopicOffset): pass - -class list_TopicConfigurationItem(list, TopicConfigurationItem): pass - -class TopicMetadataResponse(GQLObject): - topicOffsets: list_TopicOffset[TopicOffset] - topicConfiguration: list_TopicConfigurationItem[TopicConfigurationItem] - schemas: TopicSchemaPair - -class GatewayEdge(GQLObject): - node: Gateway - cursor: str - -class list_GatewayEdge(list, GatewayEdge): pass - -class GatewayConnection(GQLObject): - nodes: list_Gateway[Gateway] - edges: list_GatewayEdge[GatewayEdge] - pageInfo: PageInfo - -class EntityRoleEdge(GQLObject): - node: EntityRole - cursor: str - -class list_EntityRole(list, EntityRole): pass - -class list_EntityRoleEdge(list, EntityRoleEdge): pass - -class EntityRoleConnection(GQLObject): - nodes: list_EntityRole[EntityRole] - edges: list_EntityRoleEdge[EntityRoleEdge] - pageInfo: PageInfo - -class list_headerParametersArray(list, headerParametersArray): pass - -class list_routeParametersArray(list, routeParametersArray): pass - -class parametersForUpdateOrCreateEndpointWithParameters(GQLObject): - header: list_headerParametersArray[headerParametersArray] - route: list_routeParametersArray[routeParametersArray] - -class list_payloadParametersForUpdateOrCreateEndpointWithParameters(list, payloadParametersForUpdateOrCreateEndpointWithParameters): pass - -class list_PayloadObjectInput(list, PayloadObjectInput): pass - -class updateOrCreateEndpointWithParameters(GQLObject): - apiVersionId: str - endpointId: str - description: str - method: str - name: str - params: parametersForUpdateOrCreateEndpointWithParameters - patternMatch: bool - payloadModel: payloadModelForUpdateOrCreateEndpointWithParameters - payloadParameters: list_payloadParametersForUpdateOrCreateEndpointWithParameters[payloadParametersForUpdateOrCreateEndpointWithParameters] - route: str - routeregex: str - displayResponse: bool - response: str - responseObject: ResponseObjectInput - mockResponseId: ID - mockResponseObject: MockResponseObjectInput - responsePayloads: list_PayloadObjectInput[PayloadObjectInput] - requestPayloads: list_PayloadObjectInput[PayloadObjectInput] - group: str - isGraphQL: bool - graphQLSchemaObject: GraphQLSchemaCreateInput - externalDocs: ExternalDocsInput - -class list_EndpointStatsData(list, EndpointStatsData): pass - -class EndpointStatsV2(GQLObject): - endpoint: Endpoint - stats: list_EndpointStatsData[EndpointStatsData] - apiData: Api - -class EndpointStats(GQLObject): - endpointid: ID - name: UFTQJ_name_Field - stats: list_EndpointStatsData[EndpointStatsData] - apiData: Api - -class Discussion(GQLObject): - id: int - userId: int - topicId: str - title: str - body: str - rating: int - commentsCount: int - status: str - createdAt: DateTime - updatedAt: DateTime - visibility: str - api: Api - user: User - type: str - -class Consumer(GQLObject): - id: ID - userId: ID - subscriptionId: ID - subscriptionObjectId: ID - billingPlanVersionId: ID - username: str - name: str - dateSubscribed: DateTime - createdAt: DateTime - plan: str - planPeriod: str - planPrice: float - planVersion: BillingPlanVersion - usages: SubscriptionUsage - quotaId: ID - lastActive: str - limit: int - total: float - subscription: SubscriptionString - transactions: list[str] - blocked: bool - apiId: ID - requests: int - entity: Entity - api: Api - apiVersionId: ID - billingItems: list_BillingItem[BillingItem] - -class ConsumerEdge(GQLObject): - node: Consumer - cursor: str - -class list_Consumer(list, Consumer): pass - -class list_ConsumerEdge(list, ConsumerEdge): pass - -class ConsumerConnection(GQLObject): - nodes: list_Consumer[Consumer] - edges: list_ConsumerEdge[ConsumerEdge] - pageInfo: PageInfo - count: int - -class ConsumersRow(GQLObject): - id: ID - userId: ID - subscriptionId: ID - subscriptionObjectId: ID - billingPlanVersionId: ID - username: str - name: str - dateSubscribed: DateTime - createdAt: DateTime - plan: str - planPeriod: str - planPrice: float - planVersion: BillingPlanVersion - usages: SubscriptionUsage - quotaId: ID - lastActive: str - limit: int - total: float - subscription: SubscriptionString - transactions: list[str] - blocked: bool - apiId: ID - requests: int - entity: Entity - api: Api - apiVersionId: ID - billingItems: list_BillingItem[BillingItem] - -class CollectionItem(GQLObject): - pass - -class TRWSK_CollectionItem_Field(CollectionItem): - class CollectionItemArgs(GQLArgsSet, GQLObject): - apisSkip: int - apisLimit: int - - _args: CollectionItemArgs - - - -class list_CollectionItem(list, CollectionItem): pass - -class CollectionV3(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: TRWSK_CollectionItem_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class JQMZV_CollectionItem_Field(CollectionItem): - class CollectionItemArgs(GQLArgsSet, GQLObject): - weightLowerThan: int - - _args: CollectionItemArgs - - - -class CollectionV2(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: JQMZV_CollectionItem_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class YRLAK_Api_Field(Api): - class ApiArgs(GQLArgsSet, GQLObject): - weightLowerThan: int - - _args: ApiArgs - - - -class Collection(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: YRLAK_Api_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class CategoryEdge(GQLObject): - node: Category - cursor: str - -class list_Category(list, Category): pass - -class list_CategoryEdge(list, CategoryEdge): pass - -class CategoryConnection(GQLObject): - nodes: list_Category[Category] - edges: list_CategoryEdge[CategoryEdge] - pageInfo: PageInfo - -class BillingPlanVersionEdge(GQLObject): - node: BillingPlanVersion - cursor: str - -class list_BillingPlanVersion(list, BillingPlanVersion): pass - -class list_BillingPlanVersionEdge(list, BillingPlanVersionEdge): pass - -class BillingPlanVersionConnection(GQLObject): - nodes: list_BillingPlanVersion[BillingPlanVersion] - edges: list_BillingPlanVersionEdge[BillingPlanVersionEdge] - pageInfo: PageInfo - -class list_BillingLimitInputV2(list, BillingLimitInputV2): pass - -class list_EnableBillingFeatureInputV2(list, EnableBillingFeatureInputV2): pass - -class upsertBillingPlanVersionInput(GQLObject): - billingPlanVersionId: str - showInMarketplace: bool - price: float - planType: str - rateLimit: RateLimitInputV2 - billingLimits: list_BillingLimitInputV2[BillingLimitInputV2] - enableBillingFeatures: list_EnableBillingFeatureInputV2[EnableBillingFeatureInputV2] - -class upsertBillingPlanAndVersionInput(GQLObject): - apiId: str - apiName: str - apiVersionId: str - apiVersionName: str - providerName: str - upsertBillingPlanInput: upsertBillingPlanInput - upsertBillingPlanVersionInput: upsertBillingPlanVersionInput - -class list_EnableBillingFeatureInput(list, EnableBillingFeatureInput): pass - -class list_BillingLimitInput(list, BillingLimitInput): pass - -class BillingPlanExtendedUpdateInput(GQLObject): - billingPlanId: str - api: str - apiName: str - apiVersion: str - apiVersionName: str - providerName: str - name: str - targetGroup: str - isPrivatePlan: bool - isStudent: bool - legalDocumentId: str - legalAccountId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - price: float - type: BillingPlanType - rateLimit: RateLimitInput - enableBillingFeatures: list_EnableBillingFeatureInput[EnableBillingFeatureInput] - billingLimits: list_BillingLimitInput[BillingLimitInput] - -class BillingPlanCreateInput(GQLObject): - api: str - apiName: str - apiVersion: str - apiVersionName: str - providerName: str - name: str - targetGroup: str - isPrivatePlan: bool - isStudent: bool - legalDocumentId: str - legalAccountId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - price: float - type: BillingPlanType - rateLimit: RateLimitInput - enableBillingFeatures: list_EnableBillingFeatureInput[EnableBillingFeatureInput] - billingLimits: list_BillingLimitInput[BillingLimitInput] - -class BillingItemEdge(GQLObject): - node: BillingItem - cursor: str - -class list_BillingItemEdge(list, BillingItemEdge): pass - -class BillingItemConnection(GQLObject): - nodes: list_BillingItem[BillingItem] - edges: list_BillingItemEdge[BillingItemEdge] - pageInfo: PageInfo - -class list_AuthenticationParamInput(list, AuthenticationParamInput): pass - -class authenticationInput(GQLObject): - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - oauthTokenUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - legs: int - clientAuthentication: ClientAuthenticationType - clientSecretRequired: bool - authParams: list_AuthenticationParamInput[AuthenticationParamInput] - handleOauthTokenAtFrontend: bool - extraMetadata: AuthenticationExtraMetadataInput - -class audit(GQLObject): - id: str - time: DateTime - actorRole: str - action: str - eventName: str - user: AuditUser - activeEntity: activeEntity - params: params - attributes: attributes - geo: geo - -class list_ApiTagValueInput(list, ApiTagValueInput): pass - -class ApiUpdateInput(GQLObject): - id: ID - ownerId: ID - category: str - visibility: ApiVisibility - termsOfService: ApiTermsOfServiceInput - description: str - longDescription: str - externalCustomId: ID - websiteUrl: str - thumbnail: Upload - tags: list_ApiTagValueInput[ApiTagValueInput] - gatewayIds: list[ID] - useHttpProxy: bool - requestTimeout: int - requestSizeLimit: int - saveRequestHeadersLogging: bool - saveRequestQueryParametersLogging: bool - saveRequestBodyLogging: bool - saveResponseHeadersLogging: bool - saveResponseBodyLogging: bool - requestSchemaValidation: bool - requestSchemaValidationUnknownAttributePolicy: SchemaValidationUnknownAttributePolicy - patternMatch: bool - patternMatchAllowOtherTypes: bool - -class ApiEdge(GQLObject): - node: Api - cursor: str - -class list_ApiEdge(list, ApiEdge): pass - -class ApiConnection(GQLObject): - nodes: list_Api[Api] - edges: list_ApiEdge[ApiEdge] - pageInfo: PageInfo - totalCount: int - -class list_ApiVersionSecretParameterInput(list, ApiVersionSecretParameterInput): pass - -class ApiVersionAccessControlUpdateInput(GQLObject): - secretParameters: list_ApiVersionSecretParameterInput[ApiVersionSecretParameterInput] - -class list_ApiCertificateAssociationTarget(list, ApiCertificateAssociationTarget): pass - -class ApiVersionUpdateInput(GQLObject): - current: bool - name: str - versionStatus: str - visibility: Visibility - apiVersionId: str - accessControl: ApiVersionAccessControlUpdateInput - associatedCertificates: list_ApiCertificateAssociationTarget[ApiCertificateAssociationTarget] - -class ApiVersionEdge(GQLObject): - node: ApiVersion - cursor: str - -class list_ApiVersionEdge(list, ApiVersionEdge): pass - -class ApiVersionConnection(GQLObject): - nodes: list_ApiVersion[ApiVersion] - edges: list_ApiVersionEdge[ApiVersionEdge] - pageInfo: PageInfo - -class ZICLX_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class RUVQP_EndpointsGroup_Field(EndpointsGroup): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointsGroupArgs - - - -class ApiVersionSearch(GQLObject): - id: ID - api: str - description: str - longDescription: str - name: str - pricing: str - status: str - keywords: list[str] - thumbnail: str - thumbnailSmall: str - type: str - createdAt: DateTime - updatedAt: DateTime - visibility: str - webhooks: bool - websiteUrl: str - endpoints: ZICLX_Endpoint_Field - groups: RUVQP_EndpointsGroup_Field - authentication: Authentication - -class ApiSearch(GQLObject): - id: str - apiType: str - name: str - title: str - description: str - keywords: list[str] - installsAllTime: int - installsDaily: int - thumbnail: str - thumbnailSmall: str - rating: int - categoryName: str - User: ApiSearchUser - Ratings: list[int] - key: str - longDescription: str - visibility: str - score: Score - pricing: str - version: ApiVersionSearch - createdAt: DateTime - updatedAt: DateTime - slugifiedName: str - objectID: str - tags: list_APITag[APITag] - -class ReferenceSpotlight(GQLObject): - id: ID - url: str - title: str - description: str - thumbnailUrl: str - display: bool - weight: int - apis: list_Api[Api] - -class list_Feature(list, Feature): pass - -class list_ReferenceSpotlight(list, ReferenceSpotlight): pass - -class ApiReference(GQLObject): - id: ID - image: str - videoId: ID - headline: str - features: list_Feature[Feature] - spotlights: list_ReferenceSpotlight[ReferenceSpotlight] - -class ApiFollowerEdge(GQLObject): - node: ApiFollower - cursor: str - -class list_ApiFollowerEdge(list, ApiFollowerEdge): pass - -class ApiFollowerConnection(GQLObject): - nodes: list_ApiFollower[ApiFollower] - edges: list_ApiFollowerEdge[ApiFollowerEdge] - pageInfo: PageInfo - -class ApiCertificateEdge(GQLObject): - node: ApiCertificate - cursor: str - -class list_ApiCertificate(list, ApiCertificate): pass - -class list_ApiCertificateEdge(list, ApiCertificateEdge): pass - -class ApiCertificateConnection(GQLObject): - nodes: list_ApiCertificate[ApiCertificate] - edges: list_ApiCertificateEdge[ApiCertificateEdge] - pageInfo: PageInfo - -class UserAlertEdge(GQLObject): - node: UserAlert - cursor: str - -class list_UserAlert(list, UserAlert): pass - -class list_UserAlertEdge(list, UserAlertEdge): pass - -class UserAlertsConnection(GQLObject): - nodes: list_UserAlert[UserAlert] - edges: list_UserAlertEdge[UserAlertEdge] - pageInfo: PageInfo - -class list_GatewayCustomMessageUpdateInput(list, GatewayCustomMessageUpdateInput): pass - -class GatewayInstanceUpdateInput(GQLObject): - id: ID - apiGatewayCodeTemplateId: int - dns: str - serviceStatus: str - configurations: GatewayConfigurationUpdateInput - customMessages: list_GatewayCustomMessageUpdateInput[GatewayCustomMessageUpdateInput] - isDefault: bool - -class list_GatewayCustomMessageCreateInput(list, GatewayCustomMessageCreateInput): pass - -class GatewayInstanceCreateInput(GQLObject): - apiGatewayCodeTemplateId: int - dns: str - type: GatewayType - configurations: GatewayConfigurationCreateInput - customMessages: list_GatewayCustomMessageCreateInput[GatewayCustomMessageCreateInput] - isDefault: bool - -class EventLogEdge(GQLObject): - cursor: str - node: EventLog - -class list_EventLogEdge(list, EventLogEdge): pass - -class list_EventLog(list, EventLog): pass - -class EventLogConnection(GQLObject): - edges: list_EventLogEdge[EventLogEdge] - nodes: list_EventLog[EventLog] - totalCount: int - pageInfo: PageInfo - -class AdminAuditLog(GQLObject): - """ - AdminAuditLog - admin audit log - - """ - id: str - action: str - eventName: str - user: AuditUser - auditText: str - statusCode: str - highlight: list[str] - createdAt: DateTime - -class AdminAuditLogEdge(GQLObject): - cursor: str - node: AdminAuditLog - -class list_AdminAuditLogEdge(list, AdminAuditLogEdge): pass - -class list_AdminAuditLog(list, AdminAuditLog): pass - -class AdminAuditLogConnection(GQLObject): - edges: list_AdminAuditLogEdge[AdminAuditLogEdge] - nodes: list_AdminAuditLog[AdminAuditLog] - totalCount: int - pageInfo: PageInfo - -class list_EventUrl(list, EventUrl): pass - -class list_EventType(list, EventType): pass - -class EventConfig(GQLObject): - id: ID - isActive: bool - secret: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - urls: list_EventUrl[EventUrl] - types: list_EventType[EventType] - -class EventUrlEdge(GQLObject): - cursor: str - node: EventUrl - -class list_EventUrlEdge(list, EventUrlEdge): pass - -class EventUrlConnection(GQLObject): - edges: list_EventUrlEdge[EventUrlEdge] - nodes: list_EventUrl[EventUrl] - totalCount: int - pageInfo: PageInfo - -class GatewayTemplateParamEdge(GQLObject): - cursor: str - node: GatewayTemplateParam - -class list_GatewayTemplateParamEdge(list, GatewayTemplateParamEdge): pass - -class list_GatewayTemplateParam(list, GatewayTemplateParam): pass - -class GatewayTemplateParamConnection(GQLObject): - edges: list_GatewayTemplateParamEdge[GatewayTemplateParamEdge] - nodes: list_GatewayTemplateParam[GatewayTemplateParam] - totalCount: int - pageInfo: PageInfo - -class GwTemplate(GQLObject): - id: ID - name: str - description: str - urlPattern: str - status: str - isCanBeDeleted: bool - createdAt: DateTime - updatedAt: DateTime - isCanBeEdited: bool - templateParams: list_GatewayTemplateParam[GatewayTemplateParam] - -class list_GatewayCustomMessage(list, GatewayCustomMessage): pass - -class GatewayInstance(GQLObject): - id: ID - apiGatewayCodeTemplateId: int - dns: str - type: str - deploymentKey: str - serviceStatus: str - status: str - createdAt: DateTime - updatedAt: DateTime - isDefault: bool - isCanBeEdited: bool - template: GwTemplate - configurations: GatewayConfigurations - customMessages: list_GatewayCustomMessage[GatewayCustomMessage] - -class GatewayInstanceEdge(GQLObject): - cursor: str - node: GatewayInstance - -class list_GatewayInstanceEdge(list, GatewayInstanceEdge): pass - -class list_GatewayInstance(list, GatewayInstance): pass - -class GatewayInstanceConnection(GQLObject): - edges: list_GatewayInstanceEdge[GatewayInstanceEdge] - nodes: list_GatewayInstance[GatewayInstance] - totalCount: int - pageInfo: PageInfo - -class GwTemplateEdge(GQLObject): - cursor: str - node: GwTemplate - -class list_GwTemplateEdge(list, GwTemplateEdge): pass - -class list_GwTemplate(list, GwTemplate): pass - -class GatewayTemplateConnection(GQLObject): - edges: list_GwTemplateEdge[GwTemplateEdge] - nodes: list_GwTemplate[GwTemplate] - totalCount: int - pageInfo: PageInfo - -class list_ExtensionConsumer(list, ExtensionConsumer): pass - -class Extension(GQLObject): - id: ID - name: str - description: str - title: str - url: str - sourceUrl: str - sourceType: str - slugifiedKey: str - isEnabled: bool - loggedInRequired: bool - path: str - extensionConsumers: list_ExtensionConsumer[ExtensionConsumer] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - topic: str - order: int - -class list_EventUrlSortablesSortingField(list, EventUrlSortablesSortingField): pass - -class EventUrlSortablesInput(GQLObject): - sortingFields: list_EventUrlSortablesSortingField[EventUrlSortablesSortingField] - -class list_GatewayInstanceSortingSortingField(list, GatewayInstanceSortingSortingField): pass - -class GatewayInstanceSortingInput(GQLObject): - sortingFields: list_GatewayInstanceSortingSortingField[GatewayInstanceSortingSortingField] - -class list_GatewayTemplateSortingSortingField(list, GatewayTemplateSortingSortingField): pass - -class GatewayTemplateSortingInput(GQLObject): - sortingFields: list_GatewayTemplateSortingSortingField[GatewayTemplateSortingSortingField] - -class list_GatewayTemplateParamsSortingFieldNameSortingField(list, GatewayTemplateParamsSortingFieldNameSortingField): pass - -class GatewayTemplateParamSortingInput(GQLObject): - sortingFields: list_GatewayTemplateParamsSortingFieldNameSortingField[GatewayTemplateParamsSortingFieldNameSortingField] - -class list_AdminAuditLogSortablesSortingField(list, AdminAuditLogSortablesSortingField): pass - -class AdminAuditLogSortablesInput(GQLObject): - sortingFields: list_AdminAuditLogSortablesSortingField[AdminAuditLogSortablesSortingField] - -class list_EventLogSortablesSortingField(list, EventLogSortablesSortingField): pass - -class EventLogSortablesInput(GQLObject): - sortingFields: list_EventLogSortablesSortingField[EventLogSortablesSortingField] - -class list_PartialGatewayTemplateParamCreateInput(list, PartialGatewayTemplateParamCreateInput): pass - -class GatewayTemplateCreateInput(GQLObject): - name: str - description: str - urlPattern: str - headers: list_PartialGatewayTemplateParamCreateInput[PartialGatewayTemplateParamCreateInput] - -class list_GatewayTemplateParamsUpdateInput(list, GatewayTemplateParamsUpdateInput): pass - -class GatewayTemplateUpdateInput(GQLObject): - name: str - description: str - urlPattern: str - id: ID - headers: list_GatewayTemplateParamsUpdateInput[GatewayTemplateParamsUpdateInput] - -class list_SEOTagAttribute(list, SEOTagAttribute): pass - -class SEOTag(GQLObject): - tag: str - innerBody: str - attributes: list_SEOTagAttribute[SEOTagAttribute] - -class list_SEOTag(list, SEOTag): pass - -class SEO(GQLObject): - id: str - url: str - description: str - brand: str - lang: str - tags: list_SEOTag[SEOTag] - -class list_AnalyticsStatsHttpResponseInput(list, AnalyticsStatsHttpResponseInput): pass - -class AnalyticsStatsInput(GQLObject): - apiIds: list[ID] - endpointRoutes: list[str] - apiVersionIds: list[ID] - consumerIds: list[ID] - endpointHashes: list[ID] - endpointIds: list[ID] - httpMethods: list[HttpMethod] - httpResponses: list_AnalyticsStatsHttpResponseInput[AnalyticsStatsHttpResponseInput] - originCountryNames: list[str] - fromDate: DateTime - toDate: DateTime - resolution: AnalyticsResolution - timeOffset: int - -class ApiCertificateCreationResult(GQLObject): - apiCertificate: ApiCertificate - isExpired: bool - -class list_ApiCertificateSortingField(list, ApiCertificateSortingField): pass - -class ApiCertificateOrderByInput(GQLObject): - sortingFields: list_ApiCertificateSortingField[ApiCertificateSortingField] - -class ApiDeveloperInput(GQLObject): - id: ID - developer: ID - status: ApiDeveloperStatus - user: ApiDeveloperEntityInput - -class list_ApiDeveloperInput(list, ApiDeveloperInput): pass - -class SaveApiDevelopersInput(GQLObject): - apiId: ID - developers: list_ApiDeveloperInput[ApiDeveloperInput] - -class list_ApiFollowerSortingField(list, ApiFollowerSortingField): pass - -class ApiFollowerOrderByInput(GQLObject): - fields: list_ApiFollowerSortingField[ApiFollowerSortingField] - -class list_ApiReference(list, ApiReference): pass - -class ApiReferenceConnection(GQLObject): - nodes: list_ApiReference[ApiReference] - -class list_ApiSearch(list, ApiSearch): pass - -class ApiSearchPaged(GQLObject): - results: list_ApiSearch[ApiSearch] - total: int - -class list_ApiSpecImportWarning(list, ApiSpecImportWarning): pass - -class ApiSpecImportResult(GQLObject): - apiId: ID - trackingId: ID - warnings: list_ApiSpecImportWarning[ApiSpecImportWarning] - -class list_ApiSpecImportProcessIssue(list, ApiSpecImportProcessIssue): pass - -class ApiSpecImportProcess(GQLObject): - """ - progress - Current progress of the import process - ranges from `0` to `1` and all that's in between. When a progress of `1` is reached having occurred no issues of severity `ERROR` - it means the API has been fully imported. - - hasError - If `true` - indicates that one or more issues with severity of `ERROR` had occurred - - """ - trackingId: ID - apiId: ID - progress: float - hasError: bool - issues: list_ApiSpecImportProcessIssue[ApiSpecImportProcessIssue] - -class list_ApiVersionSortingField(list, ApiVersionSortingField): pass - -class ApiVersionOrderByInput(GQLObject): - sortingFields: list_ApiVersionSortingField[ApiVersionSortingField] - -class list_ApiSortingField(list, ApiSortingField): pass - -class ApiOrderByInput(GQLObject): - sortingFields: list_ApiSortingField[ApiSortingField] - -class SchemaDefinitionSourceInput(GQLObject): - """ - SchemaDefinitionSourceInput - Provide the schema definition source - - """ - type: GqlSchemaSourceType - source: str - options: GqlOptions - -class GqlSpecInput(GQLObject): - baseUrl: str - schemaSource: SchemaDefinitionSourceInput - -class SpecInput(GQLObject): - gql: GqlSpecInput - -class NewApiVersionInput(GQLObject): - """ - spec - provide api specifications to fully define the api's current version - - """ - name: str - spec: SpecInput - -class ApiCreateInput(GQLObject): - """ - externalCustomId - An optional user-selected custom ID to attach to the created API by which it can be later fetched. -Value must be **unique** among all APIs in the current tenant. -Will serve as a convenient alternative for the API's basic platform-generated \`id\`, but either one may still be used independently. - - """ - name: str - description: str - category: str - externalCustomId: str - pricing: ApiPricing - visibility: ApiVisibility - apiType: ApiType - version: NewApiVersionInput - -class ApplicationEnvironment(GQLObject): - id: ID - keyName: str - mashapeId: str - applicationEnvironmentName: EnvironmentName - internalKey: str - key: str - applicationId: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - resetDate: int - authorizationType: AuthorizationType - authorizationValues: str - gateways: list_Gateway[Gateway] - grantType: AuthorizationGrantType - -class list_ApplicationEnvironment(list, ApplicationEnvironment): pass - -class ApplicationEnvironmentPaging(GQLObject): - applicationEnvironments: list_ApplicationEnvironment[ApplicationEnvironment] - totalCount: int - -class list_AsyncApiConfiguration(list, AsyncApiConfiguration): pass - -class AsyncApiConfigurationConnection(GQLObject): - nodes: list_AsyncApiConfiguration[AsyncApiConfiguration] - -class list_audit(list, audit): pass - -class auditTrails(GQLObject): - total: int - audits: list_audit[audit] - -class authStrategy(GQLObject): - id: int - brand: str - type: int - txtColor: str - title: str - icon: str - color: str - customButton: Any - authStrategy: authStrategyType - -class createAuthenticationInput(GQLObject): - apiVersionId: str - authentication: authenticationInput - -class AuthenticationCreateOrUpdateResult(GQLObject): - id: ID - authParams: list_AuthenticationParam[AuthenticationParam] - -class AuthenticationCreateInput(GQLObject): - apiVersionId: ID - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - clientAuthentication: ClientAuthenticationType - clientSecretRequired: bool - authParams: list_AuthenticationParamInput[AuthenticationParamInput] - handleOauthTokenAtFrontend: bool - -class AuthenticationUpdateInput(GQLObject): - apiVersionId: ID - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - clientAuthentication: ClientAuthenticationType - clientSecretRequired: bool - authParams: list_AuthenticationParamInput[AuthenticationParamInput] - handleOauthTokenAtFrontend: bool - -class list_billingFeatureEndpointArray(list, billingFeatureEndpointArray): pass - -class createBillingFeature(GQLObject): - apiVersionId: str - name: str - description: str - billingFeatureEndpoints: list_billingFeatureEndpointArray[billingFeatureEndpointArray] - -class updateBillingFeature(GQLObject): - name: str - description: str - billingFeatureId: str - apiVersionId: str - billingFeatureEndpoints: list_billingFeatureEndpointArray[billingFeatureEndpointArray] - -class BillingItemUpsertInput(GQLObject): - apiId: str - apiVersionId: str - billingItem: upsertBillingItem - -class AllowedPlanDevelopersInput(GQLObject): - id: str - status: str - user: PlanDeveloperUserInput - -class list_AllowedPlanDevelopersInput(list, AllowedPlanDevelopersInput): pass - -class AllowedPlanDevelopersUpdateInput(GQLObject): - allowedPlanDevelopers: list_AllowedPlanDevelopersInput[AllowedPlanDevelopersInput] - planId: str - apiId: str - apiVersionId: str - -class BillingPlanVersionsResponse(GQLObject): - data: list_BillingPlanVersion[BillingPlanVersion] - totalCount: int - -class BillingPlanVersionWhereInput(GQLObject): - apiId: ID - apiVersionId: ID - filters: BillingPlanVersionFilters - -class list_CategoryTextualDataInput(list, CategoryTextualDataInput): pass - -class CategoryCreateInput(GQLObject): - information: list_CategoryTextualDataInput[CategoryTextualDataInput] - thumbnail: str - pageTitle: str - weight: int - -class CategoryUpdateInput(GQLObject): - id: ID - information: list_CategoryTextualDataInput[CategoryTextualDataInput] - thumbnail: str - pageTitle: str - weight: int - -class list_CategorySortingField(list, CategorySortingField): pass - -class CategoryOrderByInput(GQLObject): - fields: list_CategorySortingField[CategorySortingField] - -class list_CollectionsSortingField(list, CollectionsSortingField): pass - -class CollectionsOrderByInput(GQLObject): - sortingFields: list_CollectionsSortingField[CollectionsSortingField] - -class list_Collection(list, Collection): pass - -class CollectionsResponse(GQLObject): - data: list_Collection[Collection] - total: int - -class PaginatedComments(GQLObject): - data: list_Comment[Comment] - total: int - -class list_EntityAttribute(list, EntityAttribute): pass - -class EntityMetadataInput(GQLObject): - entityId: ID - entityAttributes: list_EntityAttribute[EntityAttribute] - -class list_ConsumersRow(list, ConsumersRow): pass - -class Consumers(GQLObject): - count: int - rows: list_ConsumersRow[ConsumersRow] - -class Country(GQLObject): - code: str - currency: Currency - -class list_Discussion(list, Discussion): pass - -class DiscussionObject(GQLObject): - data: list_Discussion[Discussion] - total: int - -class list_EndpointStatsV2(list, EndpointStatsV2): pass - -class VersionEndpointStats(GQLObject): - apiVersionId: ID - apiVersionName: str - endpointsStats: list_EndpointStatsV2[EndpointStatsV2] - -class endpointsWithinDateInput(GQLObject): - projectId: ID - apiIds: list[ID] - endpointIds: list[ID] - fromDate: DateTime - toDate: DateTime - resolution: str - filters: list_StatsFilterBy[StatsFilterBy] - timeOffset: int - -class EndpointConnection(GQLObject): - nodes: list_Endpoint[Endpoint] - -class updateEndpointEntity(GQLObject): - apiId: str - versionId: str - endpointId: str - newData: endpointData - lang: str - -class EndpointsGroupCreateInput(GQLObject): - name: str - apiVersionId: ID - index: int - description: str - externalDocs: ExternalDocsInput - -class EndpointsGroupUpdateInput(GQLObject): - id: ID - name: str - index: int - description: str - externalDocs: ExternalDocsInput - -class list_EntityMetadata(list, EntityMetadata): pass - -class EntityMetadataConnection(GQLObject): - nodes: list_EntityMetadata[EntityMetadata] - -class list_EntityMetadataSortingField(list, EntityMetadataSortingField): pass - -class EntityMetadataOrderByInput(GQLObject): - fields: list_EntityMetadataSortingField[EntityMetadataSortingField] - -class list_EntityRoleInput(list, EntityRoleInput): pass - -class EntityRoleCreateInput(GQLObject): - entitiesRoles: list_EntityRoleInput[EntityRoleInput] - -class list_EntityRoleSorting(list, EntityRoleSorting): pass - -class EntityRoleOrderByInput(GQLObject): - sortingFields: list_EntityRoleSorting[EntityRoleSorting] - -class ApiGatewayConfiguration(GQLObject): - id: ID - apiGatewayInstanceId: ID - configurations: GatewayConfiguration - -class list_KafkaTopic(list, KafkaTopic): pass - -class KafkaTopics(GQLObject): - topics: list_KafkaTopic[KafkaTopic] - allowProducingRecords: bool - -class SubscribeOptions(GQLObject): - customOffset: KafkaOffset - fromBeginning: bool - timestamp: str - -class MessageCreateInput(GQLObject): - messageType: MessageType - message: MessageInput - -class list_UsersInvitation(list, UsersInvitation): pass - -class CreateNewOrganizationInputV4(GQLObject): - name: str - email: str - seats: int - thumbnail: str - description: str - cardToken: str - setupIntentId: str - recaptcha: str - users: list_UsersInvitation[UsersInvitation] - purchasing_power: str - numofdevs: str - apis: list[ID] - -class OrganizationCreateInput(GQLObject): - name: str - email: str - seats: int - thumbnail: str - description: str - cardToken: str - paymentMethodId: str - setupIntentId: str - recaptcha: str - users: list_UsersInvitation[UsersInvitation] - purchasing_power: str - numofdevs: str - apis: list[ID] - -class changeApiUsedVersionInput(GQLObject): - newProjectAllowedApiInput: createProjectAllowedAPIInput - currentProjectAllowedApiId: int - -class VirtualPermissionUpdateInput(GQLObject): - id: ID - key: str - displayName: str - permissionLevel: str - description: str - dependsOn: int - rolePermission: RolePermissionUpdateInput - -class list_VirtualPermissionUpdateInput(list, VirtualPermissionUpdateInput): pass - -class RoleCreateInput(GQLObject): - name: str - description: str - roleLevel: RoleLevel - isBasicRole: bool - isDefault: bool - permissions: list_VirtualPermissionUpdateInput[VirtualPermissionUpdateInput] - -class RoleUpdateInput(GQLObject): - id: ID - key: str - name: str - description: str - roleLevel: str - isBasicRole: bool - isDefault: bool - permissions: list_VirtualPermissionUpdateInput[VirtualPermissionUpdateInput] - -class list_RoleSorting(list, RoleSorting): pass - -class RoleOrderByInput(GQLObject): - sortingFields: list_RoleSorting[RoleSorting] - -class list_SearchApiSortingField(list, SearchApiSortingField): pass - -class SearchApiOrderByInput(GQLObject): - sortingFields: list_SearchApiSortingField[SearchApiSortingField] - -class list_SearchCollectionSortingField(list, SearchCollectionSortingField): pass - -class SearchCollectionOrderByInput(GQLObject): - sortingFields: list_SearchCollectionSortingField[SearchCollectionSortingField] - -class list_SpotlightSortingField(list, SpotlightSortingField): pass - -class SpotlightOrderByInput(GQLObject): - sortingFields: list_SpotlightSortingField[SpotlightSortingField] - -class SubscribeInput(GQLObject): - apiId: str - billingPlanVersionId: str - apiVersionId: str - ownerId: str - legalAgreementMetadata: SubscribeLegalAgreementMetadataInput - -class OrgSubscriptions(GQLObject): - rows: list_BillingSubscription[BillingSubscription] - count: int - -class SubscriptionsWhereInput(GQLObject): - userId: int - activeOnly: bool - id: int - apiId: str - mashapeId: str - type: BillingSubscriptionType - pagingArgs: PagingArgs - -class SubscriptionCreateInput(GQLObject): - apiId: str - billingPlanVersionId: str - ownerId: str - apiVersionId: str - legalAgreementMetadata: SubscribeLegalAgreementMetadataInput - -class list_TargetUrlUpdateInput(list, TargetUrlUpdateInput): pass - -class TargetGroupUpdateInput(GQLObject): - """ - shouldIntrospect - If API is of Graphql type, this parameter indicates if should introspect the new target URL -and update the schema accordingly - - """ - id: ID - loadBalancingStrategy: LoadBalancingStrategy - targetUrls: list_TargetUrlUpdateInput[TargetUrlUpdateInput] - shouldIntrospect: bool - -class PaginatedTeamUsers(GQLObject): - data: list_TeamUser[TeamUser] - total: int - totalActive: int - -class list_TransactionsSummaryMonth(list, TransactionsSummaryMonth): pass - -class TransactionsSummary(GQLObject): - totalAmount: float - transactionsByMonths: list_TransactionsSummaryMonth[TransactionsSummaryMonth] - -class list_TransformationSortingField(list, TransformationSortingField): pass - -class TransformationOrderByInput(GQLObject): - fields: list_TransformationSortingField[TransformationSortingField] - -class list_TutorialSortingField(list, TutorialSortingField): pass - -class TutorialOrderByInput(GQLObject): - sortingFields: list_TutorialSortingField[TutorialSortingField] - -class list_TeamsUsages(list, TeamsUsages): pass - -class UsagesStats(GQLObject): - usage: int - period: str - parentUsage: int - teamsUsages: list_TeamsUsages[TeamsUsages] - -class list_OrgSubscriptionUsage(list, OrgSubscriptionUsage): pass - -class OrganizationApiUsagesV2(GQLObject): - usages: list_OrgSubscriptionUsage[OrgSubscriptionUsage] - -class UserSavedApi(GQLObject): - id: ID - userId: int - apiId: str - status: int - api: Api - -class UserWhereInput(GQLObject): - username: str - includeUserAttributes: bool - email: str - userIds: list[ID] - teamId: ID - limit: int - offset: int - term: str - order: str - byField: str - filters: UsersFilterBy - -class Permission(GQLObject): - id: ID - key: str - displayName: str - permissionLevel: str - description: str - dependsOn: int - rolePermission: RolePermission - -class list_Workflow(list, Workflow): pass - -class WorkFlowsResponse(GQLObject): - data: list_Workflow[Workflow] - total: int - -class GetWorkflowsOptions(GQLObject): - topic: WorkflowTopic - requesteeId: int - requestorId: int - componentId: str - subComponentId: str - componentDisplayName: str - workflowStatus: list[WorkflowStatus] - pagingArgs: PagingArgs - -class list_WorkflowAudit(list, WorkflowAudit): pass - -class WorkFlowAuditsResponse(GQLObject): - data: list_WorkflowAudit[WorkflowAudit] - total: int diff --git a/tests/output/rapidapi/mutations.py b/tests/output/rapidapi/mutations.py deleted file mode 100644 index ed34b84..0000000 --- a/tests/output/rapidapi/mutations.py +++ /dev/null @@ -1,3106 +0,0 @@ -from typing import List -from pygqlmap import GQLMutation -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - - -class NonNull_EventUrlCreateInput(EventUrlCreateInput): pass - -class NonNull_EventUrlUpdateInput(EventUrlUpdateInput): pass - -class NonNull_EventConfigUpdateInput(EventConfigUpdateInput): pass - -class NonNull_GatewayInstanceCreateInput(GatewayInstanceCreateInput): pass - -class NonNull_GatewayInstanceUpdateInput(GatewayInstanceUpdateInput): pass - -class NonNull_GatewayTemplateCreateInput(GatewayTemplateCreateInput): pass - -class NonNull_GatewayTemplateUpdateInput(GatewayTemplateUpdateInput): pass - -class NonNull_GatewayTemplateParamsCreateInput(GatewayTemplateParamsCreateInput): pass - -class NonNull_EnvConfigUpdateInput(EnvConfigUpdateInput): pass - -class NonNull_deleteUserAlertsInput(deleteUserAlertsInput): pass - -class NonNull_editUserAlertInput(editUserAlertInput): pass - -class NonNull_UserAlertUpdateInput(UserAlertUpdateInput): pass - -class NonNull_list_UserAlertUpdateInput(list, UserAlertUpdateInput): pass - -class NonNull_ApiCertificateCreateInput(ApiCertificateCreateInput): pass - -class NonNull_list_ApiCertificateCreateInput(list, ApiCertificateCreateInput): pass - -class list_ApiCertificateCreationResult(list, ApiCertificateCreationResult): pass - -class NonNull_SaveApiDevelopersInput(SaveApiDevelopersInput): pass - -class NonNull_CreateApiFavoritesInput(CreateApiFavoritesInput): pass - -class NonNull_DeleteApiFavoritesInput(DeleteApiFavoritesInput): pass - -class NonNull_ApiFollowerCreateInput(ApiFollowerCreateInput): pass - -class NonNull_ApiFollowerDeleteInput(ApiFollowerDeleteInput): pass - -class NonNull_ApiCreateFromSpecInput(ApiCreateFromSpecInput): pass - -class NonNull_list_ApiCreateFromSpecInput(list, ApiCreateFromSpecInput): pass - -class list_ApiSpecImportResult(list, ApiSpecImportResult): pass - -class NonNull_ApiUpdateFromSpecInput(ApiUpdateFromSpecInput): pass - -class NonNull_list_ApiUpdateFromSpecInput(list, ApiUpdateFromSpecInput): pass - -class NonNull_ApiCreateFromRapidOasInput(ApiCreateFromRapidOasInput): pass - -class NonNull_list_ApiCreateFromRapidOasInput(list, ApiCreateFromRapidOasInput): pass - -class NonNull_ApiUpdateFromRapidOasInput(ApiUpdateFromRapidOasInput): pass - -class NonNull_list_ApiUpdateFromRapidOasInput(list, ApiUpdateFromRapidOasInput): pass - -class NonNull_ApiVersionCreateInput(ApiVersionCreateInput): pass - -class NonNull_list_ApiVersionCreateInput(list, ApiVersionCreateInput): pass - -class NonNull_GqlApiVersionCreateInput(GqlApiVersionCreateInput): pass - -class NonNull_list_GqlApiVersionCreateInput(list, GqlApiVersionCreateInput): pass - -class NonNull_ApiVersionUpdateInput(ApiVersionUpdateInput): pass - -class NonNull_list_ApiVersionUpdateInput(list, ApiVersionUpdateInput): pass - -class NonNull_ApiCreateInput(ApiCreateInput): pass - -class NonNull_ApiUpdateInput(ApiUpdateInput): pass - -class NonNull_ProvisionApiFromFileInput(ProvisionApiFromFileInput): pass - -class list_ProvisionApiFromFileInput(list, ProvisionApiFromFileInput): pass - -class NonNull_AppAuthorizationCreateInput(AppAuthorizationCreateInput): pass - -class NonNull_AppAuthorizationUpdateInput(AppAuthorizationUpdateInput): pass - -class NonNull_AddApplicationEnvironmentKeyInput(AddApplicationEnvironmentKeyInput): pass - -class NonNull_EditApplicationEnviornmentKeyInput(EditApplicationEnviornmentKeyInput): pass - -class NonNull_DeleteApplicationEnvironmentKeyInput(DeleteApplicationEnvironmentKeyInput): pass - -class NonNull_GenerateAssetUploadUrlInput(GenerateAssetUploadUrlInput): pass - -class NonNull_AssetUpdateInput(AssetUpdateInput): pass - -class NonNull_AsyncApiConfigurationCreateInput(AsyncApiConfigurationCreateInput): pass - -class NonNull_list_AsyncApiConfigurationCreateInput(list, AsyncApiConfigurationCreateInput): pass - -class NonNull_ThemeUserAttributesInput(ThemeUserAttributesInput): pass - -class NonNull_AuthenticationCreateInput(AuthenticationCreateInput): pass - -class NonNull_list_AuthenticationCreateInput(list, AuthenticationCreateInput): pass - -class list_Authentication(list, Authentication): pass - -class NonNull_AuthenticationUpdateInput(AuthenticationUpdateInput): pass - -class NonNull_list_AuthenticationUpdateInput(list, AuthenticationUpdateInput): pass - -class NonNull_upsertBillingFeatureInput(upsertBillingFeatureInput): pass - -class NonNull_BillingItemUpsertInput(BillingItemUpsertInput): pass - -class NonNull_BillingPlanCreateInput(BillingPlanCreateInput): pass - -class NonNull_BillingPlanMetadataUpdateInput(BillingPlanMetadataUpdateInput): pass - -class NonNull_BillingPlanExtendedUpdateInput(BillingPlanExtendedUpdateInput): pass - -class NonNull_upsertBillingPlanAndVersionInput(upsertBillingPlanAndVersionInput): pass - -class NonNull_CategoryCreateInput(CategoryCreateInput): pass - -class NonNull_CategoryUpdateInput(CategoryUpdateInput): pass - -class list_DeletedCategory(list, DeletedCategory): pass - -class NonNull_CollectionUpdateInput(CollectionUpdateInput): pass - -class NonNull_CollectionCreateInput(CollectionCreateInput): pass - -class NonNull_list_UpdateCollectionsInput(list, UpdateCollectionsInput): pass - -class NonNull_list_EntityAttribute(list, EntityAttribute): pass - -class list_EndpointOrder(list, EndpointOrder): pass - -class NonNull_EndpointsGroupCreateInput(EndpointsGroupCreateInput): pass - -class NonNull_list_EndpointsGroupCreateInput(list, EndpointsGroupCreateInput): pass - -class NonNull_EndpointsGroupUpdateInput(EndpointsGroupUpdateInput): pass - -class NonNull_list_EndpointsGroupUpdateInput(list, EndpointsGroupUpdateInput): pass - -class NonNull_EntityMetadataInput(EntityMetadataInput): pass - -class NonNull_UpdateGraphQLSchemaInput(UpdateGraphQLSchemaInput): pass - -class NonNull_SubscribeOptions(SubscribeOptions): pass - -class NonNull_ProduceMessageInput(ProduceMessageInput): pass - -class list_ProduceMessageResponse(list, ProduceMessageResponse): pass - -class NonNull_MessageCreateInput(MessageCreateInput): pass - -class NonNull_OrganizationUpdateInput(OrganizationUpdateInput): pass - -class NonNull_OrganizationCreateInput(OrganizationCreateInput): pass - -class NonNull_ResetUserPasswordInput(ResetUserPasswordInput): pass - -class NonNull_AddProjectInput(AddProjectInput): pass - -class NonNull_EditProjectInput(EditProjectInput): pass - -class NonNull_DeleteProjectInput(DeleteProjectInput): pass - -class NonNull_ProjectCreateInput(ProjectCreateInput): pass - -class NonNull_ProjectUpdateInput(ProjectUpdateInput): pass - -class list_createProjectAllowedAPIInput(list, createProjectAllowedAPIInput): pass - -class NonNull_RoleUpdateInput(RoleUpdateInput): pass - -class NonNull_RoleCreateInput(RoleCreateInput): pass - -class NonNull_SpotlightCreateInput(SpotlightCreateInput): pass - -class NonNull_SpotlightUpdateInput(SpotlightUpdateInput): pass - -class NonNull_SpotlightDeleteInput(SpotlightDeleteInput): pass - -class NonNull_SubscriptionCreateInput(SubscriptionCreateInput): pass - -class NonNull_ExternalGatewaySubscriptionCreateInput(ExternalGatewaySubscriptionCreateInput): pass - -class NonNull_TargetGroupUpdateInput(TargetGroupUpdateInput): pass - -class NonNull_list_TargetGroupUpdateInput(list, TargetGroupUpdateInput): pass - -class NonNull_TeamCreateInput(TeamCreateInput): pass - -class NonNull_TeamUpdateInput(TeamUpdateInput): pass - -class NonNull_TransformationCreateInput(TransformationCreateInput): pass - -class NonNull_list_TransformationCreateInput(list, TransformationCreateInput): pass - -class NonNull_TransformationUpdateInput(TransformationUpdateInput): pass - -class NonNull_list_TransformationUpdateInput(list, TransformationUpdateInput): pass - -class list_DeletedTransformation(list, DeletedTransformation): pass - -class NonNull_TutorialCreateInput(TutorialCreateInput): pass - -class NonNull_TutorialUpdateInput(TutorialUpdateInput): pass - -class NonNull_TutorialDeleteInput(TutorialDeleteInput): pass - -class list_RecoveryCode(list, RecoveryCode): pass - -class NonNull_UserInvitesDeleteInput(UserInvitesDeleteInput): pass - -class NonNull_UserInvitesReactivateInput(UserInvitesReactivateInput): pass - -class NonNull_UserUpdateInput(UserUpdateInput): pass - -class createEventUrl(GQLMutation): - """ - createEventUrl - Create an Event that can be subscribed to via a webhook - - """ - class EventUrlArgs(GQLArgsSet, GQLObject): - createDto: NonNull_EventUrlCreateInput - - _args: EventUrlArgs - - - type: EventUrl - -class updateEventUrl(GQLMutation): - """ - updateEventUrl - URLs for the events webhooks feature - - """ - class EventUrlArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - updateDto: NonNull_EventUrlUpdateInput - - _args: EventUrlArgs - - - type: EventUrl - -class deleteEventUrl(GQLMutation): - """ - deleteEventUrl - Delete event Url - - """ - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class upsertEventConfig(GQLMutation): - """ - upsertEventConfig - Update or Insert event configuration - - """ - class EventConfigArgs(GQLArgsSet, GQLObject): - input: NonNull_EventConfigUpdateInput - - _args: EventConfigArgs - - - type: EventConfig - -class deleteEventConfig(GQLMutation): - """ - deleteEventConfig - Delete event configuration - - """ - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class createGatewayInstance(GQLMutation): - """ - createGatewayInstance - Create a Gateway Instance in the Enterprise Tenant - - """ - class GatewayInstanceArgs(GQLArgsSet, GQLObject): - createDto: NonNull_GatewayInstanceCreateInput - - _args: GatewayInstanceArgs - - - type: GatewayInstance - -class updateGatewayInstance(GQLMutation): - """ - updateGatewayInstance - Update the gateway instance information - - """ - class GatewayInstanceArgs(GQLArgsSet, GQLObject): - updateDto: NonNull_GatewayInstanceUpdateInput - - _args: GatewayInstanceArgs - - - type: GatewayInstance - -class deleteGatewayInstance(GQLMutation): - """ - deleteGatewayInstance - Delete Gateway Instance - - """ - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class createGatewayTemplate(GQLMutation): - """ - createGatewayTemplate - Create a code template that can be referenced in a Gateway instance - - """ - class GwTemplateArgs(GQLArgsSet, GQLObject): - createDto: NonNull_GatewayTemplateCreateInput - - _args: GwTemplateArgs - - - type: GwTemplate - -class updateGatewayTemplate(GQLMutation): - """ - updateGatewayTemplate - Update the gateway configuration - - """ - class GwTemplateArgs(GQLArgsSet, GQLObject): - updateDto: NonNull_GatewayTemplateUpdateInput - - _args: GwTemplateArgs - - - type: GwTemplate - -class deleteGatewayTemplate(GQLMutation): - """ - deleteGatewayTemplate - Delete a code template and all its references in Gateways - - """ - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class createGatewayTemplateParam(GQLMutation): - """ - createGatewayTemplateParam - Create a user specified variable that can be referenced in the Gatway templates - - """ - class GatewayTemplateParamArgs(GQLArgsSet, GQLObject): - createDto: NonNull_GatewayTemplateParamsCreateInput - - _args: GatewayTemplateParamArgs - - - type: GatewayTemplateParam - -class updateEnvConfig(GQLMutation): - """ - updateEnvConfig - updating advance settings - - """ - class EnvConfigArgs(GQLArgsSet, GQLObject): - envConfig: NonNull_EnvConfigUpdateInput - - _args: EnvConfigArgs - - - type: EnvConfig - -class resetEnvConfig(GQLMutation): - class EnvConfigArgs(GQLArgsSet, GQLObject): - id: NonNull_int - - _args: EnvConfigArgs - - - type: EnvConfig - -class addUserAlert(GQLMutation): - """ - addUserAlert - Creates an alert to be notified when a metric crosses a threshold - - """ - class UserAlertArgs(GQLArgsSet, GQLObject): - input: addUserAlertInput - - _args: UserAlertArgs - - - type: UserAlert - -class deleteUserAlerts(GQLMutation): - """ - deleteUserAlerts - Delete alerts created by an API provider for an API - - """ - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_deleteUserAlertsInput - - _args: IDArgs - - - type: list[ID] - -class editUserAlert(GQLMutation): - """ - editUserAlert - Update alert created by an API provider for an API - - """ - class UserAlertArgs(GQLArgsSet, GQLObject): - input: NonNull_editUserAlertInput - - _args: UserAlertArgs - - - type: UserAlert - -class updateUserAlerts(GQLMutation): - """ - updateUserAlerts - Update alerts created by an API provider for an API - - """ - class UserAlertArgs(GQLArgsSet, GQLObject): - input: NonNull_list_UserAlertUpdateInput[NonNull_UserAlertUpdateInput] - - _args: UserAlertArgs - - - type: list_UserAlert[UserAlert] - -class createApiCertificates(GQLMutation): - """ - createApiCertificates - Creates API certificate for - - """ - class ApiCertificateCreationResultArgs(GQLArgsSet, GQLObject): - certificates: NonNull_list_ApiCertificateCreateInput[NonNull_ApiCertificateCreateInput] - - _args: ApiCertificateCreationResultArgs - - - type: list_ApiCertificateCreationResult[ApiCertificateCreationResult] - -class deleteApiCertificates(GQLMutation): - """ - deleteApiCertificates - Delete the API Certificate - - """ - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[ID] - - _args: boolArgs - - - type: bool - -class saveApiDevelopersToApi(GQLMutation): - """ - saveApiDevelopersToApi - Invite developers to an API - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_SaveApiDevelopersInput - - _args: boolArgs - - - type: bool - -class copyApiDevelopersFromVersion(GQLMutation): - """ - copyApiDevelopersFromVersion - Copies all API developers from an API Version - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: CopyApiDevelopersInput - - _args: boolArgs - - - type: bool - -class createApiFavorites(GQLMutation): - """ - createApiFavorites - Adding an API to the user favoites list on the user/team context on studio - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateApiFavoritesInput - - _args: boolArgs - - - type: bool - -class deleteApiFavorites(GQLMutation): - """ - deleteApiFavorites - Unmark the API from the user's favorites list - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteApiFavoritesInput - - _args: boolArgs - - - type: bool - -class createApiFollowers(GQLMutation): - """ - createApiFollowers - Adds a follower to an API - - """ - class ApiFollowerArgs(GQLArgsSet, GQLObject): - apiFollowers: NonNull_ApiFollowerCreateInput - - _args: ApiFollowerArgs - - - type: ApiFollower - -class deleteApiFollowers(GQLMutation): - """ - deleteApiFollowers - Removes a follower from an API - - """ - class boolArgs(GQLArgsSet, GQLObject): - apiFollowers: NonNull_ApiFollowerDeleteInput - - _args: boolArgs - - - type: bool - -class createApisFromSpecs(GQLMutation): - """ - createApisFromSpecs - Create an API from Supported spec files - - """ - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - creations: NonNull_list_ApiCreateFromSpecInput[NonNull_ApiCreateFromSpecInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class updateApisFromSpecs(GQLMutation): - """ - updateApisFromSpecs - Update API version from spec file - -https://enterprise-docs.rapidapi.com/docs/graphql-platform-api-examples#update-an-api - - """ - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - updates: NonNull_list_ApiUpdateFromSpecInput[NonNull_ApiUpdateFromSpecInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class createApisFromRapidOas(GQLMutation): - """ - createApisFromRapidOas - This mutation currently supports providing no more than one item to create at a time - - """ - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - creations: NonNull_list_ApiCreateFromRapidOasInput[NonNull_ApiCreateFromRapidOasInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class updateApisFromRapidOas(GQLMutation): - """ - updateApisFromRapidOas - This mutation currently supports providing no more than one item to update at a time - - """ - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - updates: NonNull_list_ApiUpdateFromRapidOasInput[NonNull_ApiUpdateFromRapidOasInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class createApiVersions(GQLMutation): - """ - createApiVersions - Creates a multiple API Versions - - """ - class ApiVersionArgs(GQLArgsSet, GQLObject): - apiVersions: NonNull_list_ApiVersionCreateInput[NonNull_ApiVersionCreateInput] - - _args: ApiVersionArgs - - - type: list_ApiVersion[ApiVersion] - -class createGqlApiVersions(GQLMutation): - """ - createGqlApiVersions - Create a new GraphQL API Version - - """ - class ApiVersionArgs(GQLArgsSet, GQLObject): - gqlApiVersions: NonNull_list_GqlApiVersionCreateInput[NonNull_GqlApiVersionCreateInput] - - _args: ApiVersionArgs - - - type: list_ApiVersion[ApiVersion] - -class updateApiVersions(GQLMutation): - """ - updateApiVersions - update the API Versions - - """ - class ApiVersionArgs(GQLArgsSet, GQLObject): - apiVersions: NonNull_list_ApiVersionUpdateInput[NonNull_ApiVersionUpdateInput] - - _args: ApiVersionArgs - - - type: list_ApiVersion[ApiVersion] - -class createApiVersionBillingPlanVersion(GQLMutation): - """ - createApiVersionBillingPlanVersion - [will be deprecated; do not use] Create API version and Billing Plan Version - - """ - class ApiVersionBillingPlanVersionArgs(GQLArgsSet, GQLObject): - input: createApiVersionBillingPlanVersionInput - - _args: ApiVersionBillingPlanVersionArgs - - - type: ApiVersionBillingPlanVersion - -class createApi(GQLMutation): - """ - createApi - Creates an API - -https://enterprise-docs.rapidapi.com/docs/graphql-platform-api-examples#create-an-api - - """ - class ApiArgs(GQLArgsSet, GQLObject): - api: NonNull_ApiCreateInput - - _args: ApiArgs - - - type: Api - -class updateApi(GQLMutation): - """ - updateApi - Update API metadata - - """ - class ApiArgs(GQLArgsSet, GQLObject): - api: NonNull_ApiUpdateInput - - _args: ApiArgs - - - type: Api - -class provisionSwaggerFiles(GQLMutation): - """ - provisionSwaggerFiles - [do not use; will be deprecated] use createApisFromSpecs - - """ - class strArgs(GQLArgsSet, GQLObject): - input: list_ProvisionApiFromFileInput[NonNull_ProvisionApiFromFileInput] - - _args: strArgs - - - type: list[str] - -class deleteApi(GQLMutation): - """ - deleteApi - Delete the API - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createApplicationAuthorization(GQLMutation): - """ - createApplicationAuthorization - Creates authorization of type OAuth - - """ - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - input: NonNull_AppAuthorizationCreateInput - - _args: ApplicationAuthorizationArgs - - - type: ApplicationAuthorization - -class updateApplicationAuthorization(GQLMutation): - """ - updateApplicationAuthorization - updated authorization value - - """ - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - input: NonNull_AppAuthorizationUpdateInput - - _args: ApplicationAuthorizationArgs - - - type: ApplicationAuthorization - -class deleteApplicationAuthorization(GQLMutation): - """ - deleteApplicationAuthorization - delete application authorization by id - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class addApplicationEnvironmentKey(GQLMutation): - """ - addApplicationEnvironmentKey - Creates an authorization of type x-rapid-key - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_AddApplicationEnvironmentKeyInput - - _args: AnyArgs - - - type: Any - -class editApplicationEnvironmentKey(GQLMutation): - """ - editApplicationEnvironmentKey - edit authorization value ( aka application env key ) - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_EditApplicationEnviornmentKeyInput - - _args: AnyArgs - - - type: Any - -class deleteApplicationEnvironmentKey(GQLMutation): - """ - deleteApplicationEnvironmentKey - delete application authorization of type x-rapid-key - - """ - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteApplicationEnvironmentKeyInput - - _args: IDArgs - - - type: ID - -class generateAssetUploadUrl(GQLMutation): - """ - generateAssetUploadUrl - Creates asset object; returns presignedURL used to upload asset. - - """ - class AssetArgs(GQLArgsSet, GQLObject): - input: NonNull_GenerateAssetUploadUrlInput - - _args: AssetArgs - - - type: Asset - -class deleteAsset(GQLMutation): - """ - deleteAsset - Delete an asset by ID - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class updateAssetUploaded(GQLMutation): - """ - updateAssetUploaded - Updates asset object state to uploaded after asset is uploaded to the presignedURL - - """ - class AssetArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: AssetArgs - - - type: Asset - -class updateAsset(GQLMutation): - """ - updateAsset - Update asset metadata: title, description, visibility - will control whether is visible in the hub - - """ - class AssetArgs(GQLArgsSet, GQLObject): - input: NonNull_AssetUpdateInput - - _args: AssetArgs - - - type: Asset - -class upsertAsyncApiConfiguration(GQLMutation): - """ - upsertAsyncApiConfiguration - [experimental] Update Async API configuration - - """ - class AsyncApiConfigurationArgs(GQLArgsSet, GQLObject): - asyncApiConfigurations: NonNull_list_AsyncApiConfigurationCreateInput[NonNull_AsyncApiConfigurationCreateInput] - - _args: AsyncApiConfigurationArgs - - - type: list_AsyncApiConfiguration[AsyncApiConfiguration] - -class upsertUserAttributes(GQLMutation): - """ - upsertUserAttributes - Takes a set of user attributes and updates them for a user - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: UserAttributesInput - - _args: AnyArgs - - - type: Any - -class updateUserAttributeItem(GQLMutation): - """ - updateUserAttributeItem - Update user metadata - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_ThemeUserAttributesInput - - _args: AnyArgs - - - type: Any - -class createAuthentications(GQLMutation): - """ - createAuthentications - Create provider specific authentication for an API - - """ - class AuthenticationArgs(GQLArgsSet, GQLObject): - authentications: NonNull_list_AuthenticationCreateInput[NonNull_AuthenticationCreateInput] - - _args: AuthenticationArgs - - - type: list_Authentication[Authentication] - -class updateAuthentications(GQLMutation): - """ - updateAuthentications - Set the API authentications configuration - - """ - class AuthenticationArgs(GQLArgsSet, GQLObject): - authentications: NonNull_list_AuthenticationUpdateInput[NonNull_AuthenticationUpdateInput] - - _args: AuthenticationArgs - - - type: list_Authentication[Authentication] - -class createOrUpdateAPIVersionAuthentication(GQLMutation): - """ - createOrUpdateAPIVersionAuthentication - Create or Update the authentication used to access an API - - """ - class AuthenticationCreateOrUpdateResultArgs(GQLArgsSet, GQLObject): - input: createAuthenticationInput - - _args: AuthenticationCreateOrUpdateResultArgs - - - type: AuthenticationCreateOrUpdateResult - -class createBillingFeature(GQLMutation): - """ - createBillingFeature - Create a new Billing Feature - - """ - class BillingFeatureArgs(GQLArgsSet, GQLObject): - createBillingFeature: createBillingFeature - - _args: BillingFeatureArgs - - - type: BillingFeature - -class updateBillingFeature(GQLMutation): - """ - updateBillingFeature - Update the API billing feature - - """ - class BillingFeatureArgs(GQLArgsSet, GQLObject): - updateBillingFeature: updateBillingFeature - - _args: BillingFeatureArgs - - - type: BillingFeature - -class upsertBillingFeature(GQLMutation): - """ - upsertBillingFeature - [will be deprecated; do not use] Updates billing feature for 1 API - - """ - class BillingFeatureArgs(GQLArgsSet, GQLObject): - upsertBillingFeature: NonNull_upsertBillingFeatureInput - - _args: BillingFeatureArgs - - - type: BillingFeature - -class deleteBillingFeature(GQLMutation): - """ - deleteBillingFeature - Delete API billing feature by id - - """ - class AnyArgs(GQLArgsSet, GQLObject): - billingFeatureId: str - - _args: AnyArgs - - - type: Any - -class deleteBillingFeatures(GQLMutation): - """ - deleteBillingFeatures - Delete API billing features - - """ - class AnyArgs(GQLArgsSet, GQLObject): - billingFeatureIds: list[str] - - _args: AnyArgs - - - type: Any - -class createStripeCustomer(GQLMutation): - """ - createStripeCustomer - Create a customer in Stripe with credit card details and personal details - - """ - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class updateStripeCustomer(GQLMutation): - """ - updateStripeCustomer - Updates customer details in Stripe - - """ - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class createStripeCustomerV2(GQLMutation): - """ - createStripeCustomerV2 - Create a customer in Stripe with credit card details and personal details - - """ - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class updateStripeCustomerV2(GQLMutation): - """ - updateStripeCustomerV2 - Updates customer details in Stripe - - """ - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class deleteCustomerPaymentMethod(GQLMutation): - """ - deleteCustomerPaymentMethod - Detele the payment method for a customer - - """ - type: bool - -class upsertBillingItem(GQLMutation): - """ - upsertBillingItem - [will be deprecated; do not use] Updates 1 billing item - - """ - class BillingItemArgs(GQLArgsSet, GQLObject): - input: NonNull_BillingItemUpsertInput - - _args: BillingItemArgs - - - type: BillingItem - -class deleteBillingItems(GQLMutation): - """ - deleteBillingItems - Delete all billing items for an API Project - - """ - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class deleteBillingPlans(GQLMutation): - """ - deleteBillingPlans - Delete billing plan from the API level - - """ - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class updateAllowedPlanDevelopers(GQLMutation): - """ - updateAllowedPlanDevelopers - Invite developer to a private created plan - - """ - class AllowedPlanDeveloperArgs(GQLArgsSet, GQLObject): - input: AllowedPlanDevelopersUpdateInput - - _args: AllowedPlanDeveloperArgs - - - type: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - -class editOrganizationInvoice(GQLMutation): - """ - editOrganizationInvoice - Update Orgs free seats count ( will be deprecated ) - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: EditOrganizationInvoiceInput - - _args: boolArgs - - - type: bool - -class createBillingPlan(GQLMutation): - """ - createBillingPlan - Create a new Billing Plan - - """ - class BillingPlanArgs(GQLArgsSet, GQLObject): - billingPlan: NonNull_BillingPlanCreateInput - - _args: BillingPlanArgs - - - type: BillingPlan - -class updateBillingPlanMetadata(GQLMutation): - """ - updateBillingPlanMetadata - Updates the data of the billing plan - - """ - class BillingPlanArgs(GQLArgsSet, GQLObject): - billingPlan: NonNull_BillingPlanMetadataUpdateInput - - _args: BillingPlanArgs - - - type: BillingPlan - -class updateBillingPlanExtended(GQLMutation): - """ - updateBillingPlanExtended - Updates billing plan sub object - - """ - class BillingPlanArgs(GQLArgsSet, GQLObject): - billingPlan: NonNull_BillingPlanExtendedUpdateInput - - _args: BillingPlanArgs - - - type: BillingPlan - -class upsertBillingPlanAndVersion(GQLMutation): - """ - upsertBillingPlanAndVersion - [will be deprecated; do not use] Updates plan and version for 1 API - - """ - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - upsertBillingPlanAndVersionInput: NonNull_upsertBillingPlanAndVersionInput - - _args: BillingPlanVersionArgs - - - type: BillingPlanVersion - -class blockUsers(GQLMutation): - """ - blockUsers - Block paid users from accessing the API - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: BlockedUserInput - - _args: boolArgs - - - type: bool - -class unblockUsers(GQLMutation): - """ - unblockUsers - Unblock paied users from accessing the API - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: BlockedUserInput - - _args: boolArgs - - - type: bool - -class createCategory(GQLMutation): - """ - createCategory - Create a new Category (API Level) - - """ - class CategoryArgs(GQLArgsSet, GQLObject): - category: NonNull_CategoryCreateInput - - _args: CategoryArgs - - - type: Category - -class updateCategory(GQLMutation): - """ - updateCategory - Update category itself - - """ - class CategoryArgs(GQLArgsSet, GQLObject): - category: NonNull_CategoryUpdateInput - - _args: CategoryArgs - - - type: Category - -class deleteCategories(GQLMutation): - """ - deleteCategories - Deletes a category - - """ - class DeletedCategoryArgs(GQLArgsSet, GQLObject): - categories: NonNull_list[NonNull_ID] - - _args: DeletedCategoryArgs - - - type: list_DeletedCategory[DeletedCategory] - -class deleteCollection(GQLMutation): - """ - deleteCollection - Deletes an existing collection - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class updateCollection(GQLMutation): - """ - updateCollection - Update single collection - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - input: NonNull_CollectionUpdateInput - - _args: CollectionArgs - - - type: Collection - -class createCollection(GQLMutation): - """ - createCollection - Create a new Hub Category - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - input: NonNull_CollectionCreateInput - - _args: CollectionArgs - - - type: Collection - -class bulkUpdateCollections(GQLMutation): - """ - bulkUpdateCollections - Updates collection - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - collections: NonNull_list_UpdateCollectionsInput[UpdateCollectionsInput] - - _args: CollectionArgs - - - type: list_Collection[Collection] - -class updateCollections(GQLMutation): - """ - updateCollections - Update multiple collections - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - collections: NonNull_list_UpdateCollectionsInput[UpdateCollectionsInput] - - _args: CollectionArgs - - - type: list_Collection[Collection] - -class postCommentV2(GQLMutation): - """ - postCommentV2 - Post a comment - - """ - class CommentArgs(GQLArgsSet, GQLObject): - input: CommentCreateInput - - _args: CommentArgs - - - type: Comment - -class deleteCommentV2(GQLMutation): - """ - deleteCommentV2 - Delete a comment - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: CommentDeleteInput - - _args: AnyArgs - - - type: Any - -class updateCommentV2(GQLMutation): - """ - updateCommentV2 - Update a comment - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: CommentUpdateInput - - _args: AnyArgs - - - type: Any - -class postCommentV3(GQLMutation): - """ - postCommentV3 - Post a comment - - """ - class CommentArgs(GQLArgsSet, GQLObject): - input: CommentCreateInput - - _args: CommentArgs - - - type: Comment - -class subscribeToPlan(GQLMutation): - """ - subscribeToPlan - A user or team can subscribe to an API - - """ - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - input: SubscribeInput - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class unfollowUser(GQLMutation): - """ - unfollowUser - Unfollow a user - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: FollowInput - - _args: boolArgs - - - type: bool - -class followUser(GQLMutation): - """ - followUser - Follow a user - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: FollowInput - - _args: boolArgs - - - type: bool - -class followApi(GQLMutation): - """ - followApi - [do not use; will be deprecated] Use createApiFollower - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: FollowApiInput - - _args: boolArgs - - - type: bool - -class unfollowApi(GQLMutation): - """ - unfollowApi - Unfollow selected API - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: FollowApiInput - - _args: boolArgs - - - type: bool - -class sendMessage(GQLMutation): - """ - sendMessage - Send a message to an API provider - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: SendMessageInput - - _args: boolArgs - - - type: bool - -class rateApi(GQLMutation): - """ - rateApi - Give an API rating - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: RatingInput - - _args: AnyArgs - - - type: Any - -class upsertEntityMetadataBulk(GQLMutation): - """ - upsertEntityMetadataBulk - [will be deprecated; do not use] Assign one or more attributes to an entity - - """ - class AnyArgs(GQLArgsSet, GQLObject): - entityId: ID - entityAttributes: NonNull_list_EntityAttribute[EntityAttribute] - - _args: AnyArgs - - - type: Any - -class upsertEntityMetadata(GQLMutation): - """ - upsertEntityMetadata - Assign one or more attributes to an entity (user, role, team) - - """ - class AnyArgs(GQLArgsSet, GQLObject): - entityMetadata: EntityMetadataInput - - _args: AnyArgs - - - type: Any - -class deleteIssueV2(GQLMutation): - """ - deleteIssueV2 - Deletes an issue - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueDeleteInput - - _args: AnyArgs - - - type: Any - -class updateIssueV2(GQLMutation): - """ - updateIssueV2 - Make a change to a public comment on an API. - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueUpdateInput - - _args: AnyArgs - - - type: Any - -class deleteIssues(GQLMutation): - """ - deleteIssues - Deletes an issue - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: IssuesDeleteInput - - _args: AnyArgs - - - type: Any - -class postIssueV3(GQLMutation): - """ - postIssueV3 - Post an issue to a provider - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueCreateInputV2 - - _args: AnyArgs - - - type: Any - -class updateOrCreateEndpointWithParameters(GQLMutation): - """ - updateOrCreateEndpointWithParameters - Create or make changes to an endpoint with a parameter on a provider's API. - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: updateOrCreateEndpointWithParameters - - _args: AnyArgs - - - type: Any - -class updateEndpointEntity(GQLMutation): - """ - updateEndpointEntity - [do not use; will be deprecated] use updateOrCreateEndpointWithParameters - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: updateEndpointEntity - - _args: AnyArgs - - - type: Any - -class deleteEndpoint(GQLMutation): - """ - deleteEndpoint - Delete an endpoint - - """ - class AnyArgs(GQLArgsSet, GQLObject): - endpointId: str - - _args: AnyArgs - - - type: Any - -class deleteEndpoints(GQLMutation): - """ - deleteEndpoints - Delete a few endpoints at once - - """ - class AnyArgs(GQLArgsSet, GQLObject): - endpointIds: list[str] - - _args: AnyArgs - - - type: Any - -class updateEndpointsCollectionOrder(GQLMutation): - """ - updateEndpointsCollectionOrder - Update selected endpoints order on playground - - """ - class AnyArgs(GQLArgsSet, GQLObject): - endpointsCollectionOrder: list_EndpointOrder[EndpointOrder] - - _args: AnyArgs - - - type: Any - -class createEndpointsGroups(GQLMutation): - """ - createEndpointsGroups - Create a group object that later user can attach endpoints - - """ - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - groups: NonNull_list_EndpointsGroupCreateInput[NonNull_EndpointsGroupCreateInput] - - _args: EndpointsGroupArgs - - - type: list_EndpointsGroup[EndpointsGroup] - -class updateEndpointsGroups(GQLMutation): - """ - updateEndpointsGroups - Update endpoints group properties - - """ - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - groups: NonNull_list_EndpointsGroupUpdateInput[NonNull_EndpointsGroupUpdateInput] - - _args: EndpointsGroupArgs - - - type: list_EndpointsGroup[EndpointsGroup] - -class deleteEndpointsGroups(GQLMutation): - """ - deleteEndpointsGroups - Delete a group that endpoints are attached to - - """ - class IDArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: IDArgs - - - type: list[ID] - -class duplicateNameCheck(GQLMutation): - """ - duplicateNameCheck - get entities ( User/Governance/Identity ) by term - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: DuplicateNameCheckInput - - _args: boolArgs - - - type: bool - -class createEntityMetadata(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - entityMetadata: NonNull_EntityMetadataInput - - _args: boolArgs - - - type: bool - -class updateEntityMetadata(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - entityMetadata: NonNull_EntityMetadataInput - - _args: boolArgs - - - type: bool - -class createEntitiesRoles(GQLMutation): - """ - createEntitiesRoles - Assign roles to users ( in all levels ) - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: EntityRoleCreateInput - - _args: boolArgs - - - type: bool - -class upsertEntityRole(GQLMutation): - """ - upsertEntityRole - Assigning roles to an entity (user, role, team) - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: EntityRoleInput - - _args: boolArgs - - - type: bool - -class updateGraphQLSchema(GQLMutation): - """ - updateGraphQLSchema - Update GraphQLSchema by graphQLSchemaId or endpointId (at least one is mandatory, graphQLSchemaId is prioritized) - - """ - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateGraphQLSchemaInput - - _args: IDArgs - - - type: ID - -class createHeadlinesPerApiId(GQLMutation): - """ - createHeadlinesPerApiId - Creates a readme for the API, shows on the hub about page - - """ - class strArgs(GQLArgsSet, GQLObject): - createHeadlines: createHeadlines - - _args: strArgs - - - type: str - -class updateHeadlines(GQLMutation): - """ - updateHeadlines - Updates a readme for the API, shows on the hub about page - - """ - class boolArgs(GQLArgsSet, GQLObject): - updateHeadlines: updateHeadlines - - _args: boolArgs - - - type: bool - -class createHeadlines(GQLMutation): - """ - createHeadlines - [will be deprecated; do not use] use createHeadlinesPerApiId - - """ - class strArgs(GQLArgsSet, GQLObject): - createHeadlines: createHeadlines - - _args: strArgs - - - type: str - -class followIssueV2(GQLMutation): - """ - followIssueV2 - Follow an issue - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueFollowInputV2 - - _args: AnyArgs - - - type: Any - -class updateKafkaConfiguration(GQLMutation): - """ - updateKafkaConfiguration - Update the configuration of the Kafka service - - """ - class KafkaConfigurationArgs(GQLArgsSet, GQLObject): - input: UpdateKafkaConfigurationInput - - _args: KafkaConfigurationArgs - - - type: KafkaConfiguration - -class subscribeToKafkaTopic(GQLMutation): - """ - subscribeToKafkaTopic - Get kafka subscription by topic for an API verison - - """ - class SubscribeKafkaResponseArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - topicName: NonNull_str - options: NonNull_SubscribeOptions - - _args: SubscribeKafkaResponseArgs - - - type: SubscribeKafkaResponse - -class produceKafkaMessage(GQLMutation): - """ - produceKafkaMessage - Produce a message to a Kafka API - - """ - class ProduceMessageResponseArgs(GQLArgsSet, GQLObject): - message: NonNull_ProduceMessageInput - - _args: ProduceMessageResponseArgs - - - type: list_ProduceMessageResponse[ProduceMessageResponse] - -class postMessage(GQLMutation): - """ - postMessage - Adds a message to an API's discussion board - - """ - class AnyArgs(GQLArgsSet, GQLObject): - message: NonNull_MessageCreateInput - - _args: AnyArgs - - - type: Any - -class postMessageV2(GQLMutation): - """ - postMessageV2 - Adds a message to an API's discussion board - - """ - class AnyArgs(GQLArgsSet, GQLObject): - message: NonNull_MessageCreateInput - - _args: AnyArgs - - - type: Any - -class updateThreadEntityStatus(GQLMutation): - """ - updateThreadEntityStatus - updates issues thread status - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: ThreadEntityStatusUpdateInput - - _args: boolArgs - - - type: bool - -class markNotificationAsViewed(GQLMutation): - """ - markNotificationAsViewed - Mark new notification as view - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: MarkNewNotificationAsViewedInput - - _args: boolArgs - - - type: bool - -class markNewNotificationAsRead(GQLMutation): - """ - markNewNotificationAsRead - Mark new notification as read - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: MarkNewNotificationsAsReadInput - - _args: boolArgs - - - type: bool - -class markNotificationsAsRead(GQLMutation): - """ - markNotificationsAsRead - [do not use; will be deprecated] Mark new notification as read - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: MarkNotificationsAsReadInput - - _args: boolArgs - - - type: bool - -class updateOrganization(GQLMutation): - """ - updateOrganization - Updating organization - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - input: NonNull_OrganizationUpdateInput - - _args: OrganizationArgs - - - type: Organization - -class deleteOrganization(GQLMutation): - """ - deleteOrganization - Delete an organization - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createOrganization(GQLMutation): - """ - createOrganization - Create an organization - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - input: NonNull_OrganizationCreateInput - - _args: OrganizationArgs - - - type: Organization - -class createNewOrganizationV4(GQLMutation): - """ - createNewOrganizationV4 - [will be deprecated; do not use] Create an organization - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: CreateNewOrganizationInputV4 - - _args: AnyArgs - - - type: Any - -class generateResetPasswordToken(GQLMutation): - """ - generateResetPasswordToken - Generate a reset password token - - """ - class AnyArgs(GQLArgsSet, GQLObject): - email: NonNull_str - - _args: AnyArgs - - - type: Any - -class resetUserPassword(GQLMutation): - """ - resetUserPassword - resets user password - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_ResetUserPasswordInput - - _args: AnyArgs - - - type: Any - -class deletePayoutInfo(GQLMutation): - """ - deletePayoutInfo - Delete payout information - - """ - class boolArgs(GQLArgsSet, GQLObject): - userId: NonNull_ID - - _args: boolArgs - - - type: bool - -class addProject(GQLMutation): - """ - addProject - [will be deprecated; do not use] Creates Application ( application and x-rapid-key ) - - """ - class ProjectArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectInput - - _args: ProjectArgs - - - type: Project - -class addProjectV2(GQLMutation): - """ - addProjectV2 - Creates Application ( application and x-rapid-key ) - - """ - class ProjectArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectInput - - _args: ProjectArgs - - - type: Project - -class editProjectV2(GQLMutation): - """ - editProjectV2 - Edit user application properties - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_EditProjectInput - - _args: AnyArgs - - - type: Any - -class deleteProject(GQLMutation): - """ - deleteProject - Delete a user application project - - """ - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectInput - - _args: IDArgs - - - type: ID - -class createProject(GQLMutation): - """ - createProject - Create an Application - - """ - class ProjectArgs(GQLArgsSet, GQLObject): - project: NonNull_ProjectCreateInput - - _args: ProjectArgs - - - type: Project - -class updateProject(GQLMutation): - """ - updateProject - updating project ( aka application ) - - """ - class ProjectArgs(GQLArgsSet, GQLObject): - project: NonNull_ProjectUpdateInput - - _args: ProjectArgs - - - type: Project - -class createProjectAllowedAPIs(GQLMutation): - """ - createProjectAllowedAPIs - Create the allowed APIs in an Application - - """ - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - input: list_createProjectAllowedAPIInput[createProjectAllowedAPIInput] - - _args: ProjectAllowedAPIArgs - - - type: list_ProjectAllowedAPI[ProjectAllowedAPI] - -class updateProjectAllowedAPI(GQLMutation): - """ - updateProjectAllowedAPI - Change the APIs list that the app/project has access to - - """ - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - input: updateProjectAllowedAPIInput - - _args: ProjectAllowedAPIArgs - - - type: ProjectAllowedAPI - -class deleteProjectAllowedAPIs(GQLMutation): - """ - deleteProjectAllowedAPIs - Deattach APIs from a project allowed list - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: deleteProjectAllowedAPIsInput - - _args: boolArgs - - - type: bool - -class changeApiUsedVersion(GQLMutation): - """ - changeApiUsedVersion - Changes the API version used by the developer application - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: changeApiUsedVersionInput - - _args: boolArgs - - - type: bool - -class createRapidReason(GQLMutation): - """ - createRapidReason - Give a reason for unsubscribing to an API - - """ - class IDArgs(GQLArgsSet, GQLObject): - rapidReasonInput: RapidReasonInput - - _args: IDArgs - - - type: ID - -class deprecatedUpdateRole(GQLMutation): - """ - deprecatedUpdateRole - [do not use; will be deprecated] update role - - """ - class AnyArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleUpdateInput - - _args: AnyArgs - - - type: Any - -class updateRole(GQLMutation): - """ - updateRole - Updates a role's description or permissions, or change whether it's set as default. - - """ - class RoleArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleUpdateInput - - _args: RoleArgs - - - type: Role - -class deprecatedCreateRole(GQLMutation): - """ - deprecatedCreateRole - [do not use; will be deprecated] create role - - """ - class RoleArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleCreateInput - - _args: RoleArgs - - - type: Role - -class createRole(GQLMutation): - """ - createRole - Create a role - - """ - class RoleArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleCreateInput - - _args: RoleArgs - - - type: Role - -class deprecatedDeleteRole(GQLMutation): - """ - deprecatedDeleteRole - [do not use; will be deprecated] delete role - - """ - class AnyArgs(GQLArgsSet, GQLObject): - roleId: ID - - _args: AnyArgs - - - type: Any - -class deleteRole(GQLMutation): - """ - deleteRole - Delete Role - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class createSecretData(GQLMutation): - """ - createSecretData - [will be deprecated; do not use] Create an API secret - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: createSecretDataInput - - _args: AnyArgs - - - type: Any - -class updateBaseUrl(GQLMutation): - """ - updateBaseUrl - [do not use; will be deprecated] use updateTargetGroups - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: updateBaseUrlInput - - _args: boolArgs - - - type: bool - -class createSpotlight(GQLMutation): - """ - createSpotlight - Creates a spotlight on an API listing - - """ - class SpotlightArgs(GQLArgsSet, GQLObject): - spotlight: NonNull_SpotlightCreateInput - - _args: SpotlightArgs - - - type: Spotlight - -class updateSpotlight(GQLMutation): - """ - updateSpotlight - Updates an existing spotlight on an API listing - - """ - class SpotlightArgs(GQLArgsSet, GQLObject): - spotlight: NonNull_SpotlightUpdateInput - - _args: SpotlightArgs - - - type: Spotlight - -class deleteSpotlight(GQLMutation): - """ - deleteSpotlight - Delete a spotlight connected to an API - - """ - class boolArgs(GQLArgsSet, GQLObject): - spotlight: NonNull_SpotlightDeleteInput - - _args: boolArgs - - - type: bool - -class deleteSubscriptions(GQLMutation): - """ - deleteSubscriptions - Delete a range of subscriptions by aray of IDs - - """ - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class deleteSubscription(GQLMutation): - """ - deleteSubscription - Delete a single API subscription by ID - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createSubscription(GQLMutation): - """ - createSubscription - Create a new API subscription - - """ - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - input: NonNull_SubscriptionCreateInput - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class createExternalGatewayApiSubscription(GQLMutation): - """ - createExternalGatewayApiSubscription - Create a new API subscription when using external gateway - - """ - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - input: NonNull_ExternalGatewaySubscriptionCreateInput - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class updateTargetGroups(GQLMutation): - """ - updateTargetGroups - Updates the target URL on 1 API version - - """ - class TargetGroupArgs(GQLArgsSet, GQLObject): - targetGroups: NonNull_list_TargetGroupUpdateInput[NonNull_TargetGroupUpdateInput] - - _args: TargetGroupArgs - - - type: list_TargetGroup[TargetGroup] - -class removeTeamUserFromAllOrgTeams(GQLMutation): - """ - removeTeamUserFromAllOrgTeams - remove user from the organization - - """ - class boolArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - email: NonNull_str - - _args: boolArgs - - - type: bool - -class updateTeamUser(GQLMutation): - """ - updateTeamUser - Add/Remove team for user - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: TeamUserUpdateInput - - _args: boolArgs - - - type: bool - -class updateUserRoles(GQLMutation): - """ - updateUserRoles - Update the role of user - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: UserRolesUpdateInput - - _args: boolArgs - - - type: bool - -class editTeam(GQLMutation): - """ - editTeam - Edit a team - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: EditTeamInput - - _args: boolArgs - - - type: bool - -class addUserToTeams(GQLMutation): - """ - addUserToTeams - Adds organization users to teams - - """ - class boolArgs(GQLArgsSet, GQLObject): - userId: NonNull_int - teamIds: NonNull_list[int] - - _args: boolArgs - - - type: bool - -class deleteTeam(GQLMutation): - """ - deleteTeam - Delete team - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createTeam(GQLMutation): - """ - createTeam - Create a team - - """ - class TeamArgs(GQLArgsSet, GQLObject): - input: NonNull_TeamCreateInput - - _args: TeamArgs - - - type: Team - -class updateTeam(GQLMutation): - """ - updateTeam - Updates team - - """ - class TeamArgs(GQLArgsSet, GQLObject): - input: NonNull_TeamUpdateInput - - _args: TeamArgs - - - type: Team - -class updateTransactions(GQLMutation): - """ - updateTransactions - Update transactions payout status - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: updateTransactionInput - - _args: boolArgs - - - type: bool - -class createTransformations(GQLMutation): - """ - createTransformations - Create a new API verison transformation - - """ - class TransformationArgs(GQLArgsSet, GQLObject): - transformations: NonNull_list_TransformationCreateInput[NonNull_TransformationCreateInput] - - _args: TransformationArgs - - - type: list_Transformation[Transformation] - -class updateTransformations(GQLMutation): - """ - updateTransformations - Update API version transformations - - """ - class TransformationArgs(GQLArgsSet, GQLObject): - transformations: NonNull_list_TransformationUpdateInput[NonNull_TransformationUpdateInput] - - _args: TransformationArgs - - - type: list_Transformation[Transformation] - -class deleteTransformations(GQLMutation): - """ - deleteTransformations - delete transformation from the api version - - """ - class DeletedTransformationArgs(GQLArgsSet, GQLObject): - transformations: NonNull_list[NonNull_ID] - - _args: DeletedTransformationArgs - - - type: list_DeletedTransformation[DeletedTransformation] - -class createTutorial(GQLMutation): - """ - createTutorial - Creates a tutorial on an API listing - - """ - class TutorialArgs(GQLArgsSet, GQLObject): - tutorial: NonNull_TutorialCreateInput - - _args: TutorialArgs - - - type: Tutorial - -class updateTutorial(GQLMutation): - """ - updateTutorial - Updates an existing tutorial on an API listing - - """ - class TutorialArgs(GQLArgsSet, GQLObject): - tutorial: NonNull_TutorialUpdateInput - - _args: TutorialArgs - - - type: Tutorial - -class deleteTutorial(GQLMutation): - """ - deleteTutorial - Removes an existing tutorial on an API listing - - """ - class boolArgs(GQLArgsSet, GQLObject): - tutorial: NonNull_TutorialDeleteInput - - _args: boolArgs - - - type: bool - -class phoneAuthSetup(GQLMutation): - """ - phoneAuthSetup - setting up phone authentication ( 2fa flow) - - """ - class PhoneVerificationArgs(GQLArgsSet, GQLObject): - phoneNumber: NonNull_str - - _args: PhoneVerificationArgs - - - type: PhoneVerification - -class phoneAuthSetupVerify(GQLMutation): - """ - phoneAuthSetupVerify - verifying phone authentication setup - - """ - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - token: NonNull_str - - _args: boolArgs - - - type: bool - -class authenticateUsingPhone(GQLMutation): - """ - authenticateUsingPhone - Authenticates the user using phone code - - """ - class PhoneVerificationArgs(GQLArgsSet, GQLObject): - phoneId: NonNull_ID - - _args: PhoneVerificationArgs - - - type: PhoneVerification - -class authenticateUsingPhoneVerify(GQLMutation): - """ - authenticateUsingPhoneVerify - Verifies that the phone setup succeeded ( by the user sending a code + token) - - """ - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - token: NonNull_str - - _args: boolArgs - - - type: bool - -class deletePhoneNumber(GQLMutation): - """ - deletePhoneNumber - Delete user phone number - - """ - class boolArgs(GQLArgsSet, GQLObject): - phoneId: NonNull_int - - _args: boolArgs - - - type: bool - -class generateRecoveryCodes(GQLMutation): - """ - generateRecoveryCodes - Generate a recovery codes for MFA - - """ - type: list_RecoveryCode[RecoveryCode] - -class regenerateRecoveryCodes(GQLMutation): - """ - regenerateRecoveryCodes - generates recovery codes part of setting up 2fa to a user - - """ - type: list_RecoveryCode[RecoveryCode] - -class markRecoveryCodeAsUsed(GQLMutation): - """ - markRecoveryCodeAsUsed - authenticates the user using recovery code ( 2fa flow ) - - """ - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - - _args: boolArgs - - - type: bool - -class applicationAuthSetup(GQLMutation): - """ - applicationAuthSetup - Sets up google authentication app - - """ - type: str - -class applicationAuthSetupVerify(GQLMutation): - """ - applicationAuthSetupVerify - Verifies that the Google authenticator setup succeeded ( by user sending a code) - - """ - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - - _args: boolArgs - - - type: bool - -class authenticateUsingApp(GQLMutation): - """ - authenticateUsingApp - Authenticates the user using google auth app - - """ - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - - _args: boolArgs - - - type: bool - -class deleteApplicationAuth(GQLMutation): - """ - deleteApplicationAuth - Delete app authentication - - """ - type: bool - -class createUserInvites(GQLMutation): - """ - createUserInvites - Invite users to organization - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: UserInvitesInput - - _args: boolArgs - - - type: bool - -class createUserInvitesV2(GQLMutation): - """ - createUserInvitesV2 - [do not use; will be deprecated] Invite users to organization - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: UserInvitesCreateInput - - _args: boolArgs - - - type: bool - -class acceptUserInvite(GQLMutation): - """ - acceptUserInvite - Accepts user invite to organization - - """ - class boolArgs(GQLArgsSet, GQLObject): - token: NonNull_str - - _args: boolArgs - - - type: bool - -class bulkDeleteUserInvitesV2(GQLMutation): - """ - bulkDeleteUserInvitesV2 - Deletes users that are in pending mode from the organization - - """ - class AnyArgs(GQLArgsSet, GQLObject): - emails: list[str] - orgId: int - - _args: AnyArgs - - - type: Any - -class deleteUserInvites(GQLMutation): - """ - deleteUserInvites - Used for deleting user/s that not yet confirmed the invitation - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_UserInvitesDeleteInput - - _args: AnyArgs - - - type: Any - -class bulkReactivateUserInvitesV2(GQLMutation): - """ - bulkReactivateUserInvitesV2 - Reactivates users from the organizartion - - """ - class boolArgs(GQLArgsSet, GQLObject): - emails: list[str] - orgId: int - - _args: boolArgs - - - type: bool - -class reactivateUserInvites(GQLMutation): - """ - reactivateUserInvites - Used for activating user/s that was deactivated - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_UserInvitesReactivateInput - - _args: boolArgs - - - type: bool - -class inviteUsersToTeams(GQLMutation): - """ - inviteUsersToTeams - Adds an array of user IDs to a team at the time the Org is created - - """ - class boolArgs(GQLArgsSet, GQLObject): - usersToInvite: Any - orgId: NonNull_ID - meta: Any - - _args: boolArgs - - - type: bool - -class saveUserApi(GQLMutation): - """ - saveUserApi - Save an API as a favorite - - """ - class UserSavedApiArgs(GQLArgsSet, GQLObject): - saveUserApi: SaveUserApi - - _args: UserSavedApiArgs - - - type: UserSavedApi - -class updateUserById(GQLMutation): - """ - updateUserById - Update a set of attributes on a user by ID. - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: UpdateUserInput - - _args: AnyArgs - - - type: Any - -class updateUserPassword(GQLMutation): - """ - updateUserPassword - Update the password of a user - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: UserPasswordInput - - _args: boolArgs - - - type: bool - -class deleteAll2faData(GQLMutation): - """ - deleteAll2faData - Delete all 2FA data - - """ - class AnyArgs(GQLArgsSet, GQLObject): - userId: NonNull_str - - _args: AnyArgs - - - type: Any - -class updateUserEmail(GQLMutation): - """ - updateUserEmail - Update the email address of a user - - """ - class AnyArgs(GQLArgsSet, GQLObject): - email: NonNull_str - - _args: AnyArgs - - - type: Any - -class verifyEmailCode(GQLMutation): - """ - verifyEmailCode - Takes a verification code and returns a boolean - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: VerifyEmailCodeInput - - _args: boolArgs - - - type: bool - -class updateUser(GQLMutation): - """ - updateUser - Updates user metadata / password - - """ - class UpdateUserResultArgs(GQLArgsSet, GQLObject): - input: NonNull_UserUpdateInput - - _args: UpdateUserResultArgs - - - type: UpdateUserResult - -class deleteUser(GQLMutation): - """ - deleteUser - Delete user for admins - - """ - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - mashapeId: NonNull_str - - _args: boolArgs - - - type: bool - -class createWorkflow(GQLMutation): - """ - createWorkflow - Create a workflow - - """ - class AnyArgs(GQLArgsSet, GQLObject): - options: CreateWorkflowInput - - _args: AnyArgs - - - type: Any - -class createSignupApprovalWorkflow(GQLMutation): - """ - createSignupApprovalWorkflow - Create a signup approval request - - """ - class AnyArgs(GQLArgsSet, GQLObject): - options: CreateSignupApprovalWorkflowInput - - _args: AnyArgs - - - type: Any - -class updateWorkflows(GQLMutation): - """ - updateWorkflows - Change an entity's workflow - - """ - class AnyArgs(GQLArgsSet, GQLObject): - options: UpdateWorkflowsInput - - _args: AnyArgs - - - type: Any - - -class Mutations(Enum): - createEventUrl = createEventUrl - updateEventUrl = updateEventUrl - deleteEventUrl = deleteEventUrl - upsertEventConfig = upsertEventConfig - deleteEventConfig = deleteEventConfig - createGatewayInstance = createGatewayInstance - updateGatewayInstance = updateGatewayInstance - deleteGatewayInstance = deleteGatewayInstance - createGatewayTemplate = createGatewayTemplate - updateGatewayTemplate = updateGatewayTemplate - deleteGatewayTemplate = deleteGatewayTemplate - createGatewayTemplateParam = createGatewayTemplateParam - updateEnvConfig = updateEnvConfig - resetEnvConfig = resetEnvConfig - addUserAlert = addUserAlert - deleteUserAlerts = deleteUserAlerts - editUserAlert = editUserAlert - updateUserAlerts = updateUserAlerts - createApiCertificates = createApiCertificates - deleteApiCertificates = deleteApiCertificates - saveApiDevelopersToApi = saveApiDevelopersToApi - copyApiDevelopersFromVersion = copyApiDevelopersFromVersion - createApiFavorites = createApiFavorites - deleteApiFavorites = deleteApiFavorites - createApiFollowers = createApiFollowers - deleteApiFollowers = deleteApiFollowers - createApisFromSpecs = createApisFromSpecs - updateApisFromSpecs = updateApisFromSpecs - createApisFromRapidOas = createApisFromRapidOas - updateApisFromRapidOas = updateApisFromRapidOas - createApiVersions = createApiVersions - createGqlApiVersions = createGqlApiVersions - updateApiVersions = updateApiVersions - createApiVersionBillingPlanVersion = createApiVersionBillingPlanVersion - createApi = createApi - updateApi = updateApi - provisionSwaggerFiles = provisionSwaggerFiles - deleteApi = deleteApi - createApplicationAuthorization = createApplicationAuthorization - updateApplicationAuthorization = updateApplicationAuthorization - deleteApplicationAuthorization = deleteApplicationAuthorization - addApplicationEnvironmentKey = addApplicationEnvironmentKey - editApplicationEnvironmentKey = editApplicationEnvironmentKey - deleteApplicationEnvironmentKey = deleteApplicationEnvironmentKey - generateAssetUploadUrl = generateAssetUploadUrl - deleteAsset = deleteAsset - updateAssetUploaded = updateAssetUploaded - updateAsset = updateAsset - upsertAsyncApiConfiguration = upsertAsyncApiConfiguration - upsertUserAttributes = upsertUserAttributes - updateUserAttributeItem = updateUserAttributeItem - createAuthentications = createAuthentications - updateAuthentications = updateAuthentications - createOrUpdateAPIVersionAuthentication = createOrUpdateAPIVersionAuthentication - createBillingFeature = createBillingFeature - updateBillingFeature = updateBillingFeature - upsertBillingFeature = upsertBillingFeature - deleteBillingFeature = deleteBillingFeature - deleteBillingFeatures = deleteBillingFeatures - createStripeCustomer = createStripeCustomer - updateStripeCustomer = updateStripeCustomer - createStripeCustomerV2 = createStripeCustomerV2 - updateStripeCustomerV2 = updateStripeCustomerV2 - deleteCustomerPaymentMethod = deleteCustomerPaymentMethod - upsertBillingItem = upsertBillingItem - deleteBillingItems = deleteBillingItems - deleteBillingPlans = deleteBillingPlans - updateAllowedPlanDevelopers = updateAllowedPlanDevelopers - editOrganizationInvoice = editOrganizationInvoice - createBillingPlan = createBillingPlan - updateBillingPlanMetadata = updateBillingPlanMetadata - updateBillingPlanExtended = updateBillingPlanExtended - upsertBillingPlanAndVersion = upsertBillingPlanAndVersion - blockUsers = blockUsers - unblockUsers = unblockUsers - createCategory = createCategory - updateCategory = updateCategory - deleteCategories = deleteCategories - deleteCollection = deleteCollection - updateCollection = updateCollection - createCollection = createCollection - bulkUpdateCollections = bulkUpdateCollections - updateCollections = updateCollections - postCommentV2 = postCommentV2 - deleteCommentV2 = deleteCommentV2 - updateCommentV2 = updateCommentV2 - postCommentV3 = postCommentV3 - subscribeToPlan = subscribeToPlan - unfollowUser = unfollowUser - followUser = followUser - followApi = followApi - unfollowApi = unfollowApi - sendMessage = sendMessage - rateApi = rateApi - upsertEntityMetadataBulk = upsertEntityMetadataBulk - upsertEntityMetadata = upsertEntityMetadata - deleteIssueV2 = deleteIssueV2 - updateIssueV2 = updateIssueV2 - deleteIssues = deleteIssues - postIssueV3 = postIssueV3 - updateOrCreateEndpointWithParameters = updateOrCreateEndpointWithParameters - updateEndpointEntity = updateEndpointEntity - deleteEndpoint = deleteEndpoint - deleteEndpoints = deleteEndpoints - updateEndpointsCollectionOrder = updateEndpointsCollectionOrder - createEndpointsGroups = createEndpointsGroups - updateEndpointsGroups = updateEndpointsGroups - deleteEndpointsGroups = deleteEndpointsGroups - duplicateNameCheck = duplicateNameCheck - createEntityMetadata = createEntityMetadata - updateEntityMetadata = updateEntityMetadata - createEntitiesRoles = createEntitiesRoles - upsertEntityRole = upsertEntityRole - updateGraphQLSchema = updateGraphQLSchema - createHeadlinesPerApiId = createHeadlinesPerApiId - updateHeadlines = updateHeadlines - createHeadlines = createHeadlines - followIssueV2 = followIssueV2 - updateKafkaConfiguration = updateKafkaConfiguration - subscribeToKafkaTopic = subscribeToKafkaTopic - produceKafkaMessage = produceKafkaMessage - postMessage = postMessage - postMessageV2 = postMessageV2 - updateThreadEntityStatus = updateThreadEntityStatus - markNotificationAsViewed = markNotificationAsViewed - markNewNotificationAsRead = markNewNotificationAsRead - markNotificationsAsRead = markNotificationsAsRead - updateOrganization = updateOrganization - deleteOrganization = deleteOrganization - createOrganization = createOrganization - createNewOrganizationV4 = createNewOrganizationV4 - generateResetPasswordToken = generateResetPasswordToken - resetUserPassword = resetUserPassword - deletePayoutInfo = deletePayoutInfo - addProject = addProject - addProjectV2 = addProjectV2 - editProjectV2 = editProjectV2 - deleteProject = deleteProject - createProject = createProject - updateProject = updateProject - createProjectAllowedAPIs = createProjectAllowedAPIs - updateProjectAllowedAPI = updateProjectAllowedAPI - deleteProjectAllowedAPIs = deleteProjectAllowedAPIs - changeApiUsedVersion = changeApiUsedVersion - createRapidReason = createRapidReason - deprecatedUpdateRole = deprecatedUpdateRole - updateRole = updateRole - deprecatedCreateRole = deprecatedCreateRole - createRole = createRole - deprecatedDeleteRole = deprecatedDeleteRole - deleteRole = deleteRole - createSecretData = createSecretData - updateBaseUrl = updateBaseUrl - createSpotlight = createSpotlight - updateSpotlight = updateSpotlight - deleteSpotlight = deleteSpotlight - deleteSubscriptions = deleteSubscriptions - deleteSubscription = deleteSubscription - createSubscription = createSubscription - createExternalGatewayApiSubscription = createExternalGatewayApiSubscription - updateTargetGroups = updateTargetGroups - removeTeamUserFromAllOrgTeams = removeTeamUserFromAllOrgTeams - updateTeamUser = updateTeamUser - updateUserRoles = updateUserRoles - editTeam = editTeam - addUserToTeams = addUserToTeams - deleteTeam = deleteTeam - createTeam = createTeam - updateTeam = updateTeam - updateTransactions = updateTransactions - createTransformations = createTransformations - updateTransformations = updateTransformations - deleteTransformations = deleteTransformations - createTutorial = createTutorial - updateTutorial = updateTutorial - deleteTutorial = deleteTutorial - phoneAuthSetup = phoneAuthSetup - phoneAuthSetupVerify = phoneAuthSetupVerify - authenticateUsingPhone = authenticateUsingPhone - authenticateUsingPhoneVerify = authenticateUsingPhoneVerify - deletePhoneNumber = deletePhoneNumber - generateRecoveryCodes = generateRecoveryCodes - regenerateRecoveryCodes = regenerateRecoveryCodes - markRecoveryCodeAsUsed = markRecoveryCodeAsUsed - applicationAuthSetup = applicationAuthSetup - applicationAuthSetupVerify = applicationAuthSetupVerify - authenticateUsingApp = authenticateUsingApp - deleteApplicationAuth = deleteApplicationAuth - createUserInvites = createUserInvites - createUserInvitesV2 = createUserInvitesV2 - acceptUserInvite = acceptUserInvite - bulkDeleteUserInvitesV2 = bulkDeleteUserInvitesV2 - deleteUserInvites = deleteUserInvites - bulkReactivateUserInvitesV2 = bulkReactivateUserInvitesV2 - reactivateUserInvites = reactivateUserInvites - inviteUsersToTeams = inviteUsersToTeams - saveUserApi = saveUserApi - updateUserById = updateUserById - updateUserPassword = updateUserPassword - deleteAll2faData = deleteAll2faData - updateUserEmail = updateUserEmail - verifyEmailCode = verifyEmailCode - updateUser = updateUser - deleteUser = deleteUser - createWorkflow = createWorkflow - createSignupApprovalWorkflow = createSignupApprovalWorkflow - updateWorkflows = updateWorkflows diff --git a/tests/output/rapidapi/queries.py b/tests/output/rapidapi/queries.py deleted file mode 100644 index 02acbbb..0000000 --- a/tests/output/rapidapi/queries.py +++ /dev/null @@ -1,3534 +0,0 @@ -from typing import List -from pygqlmap import GQLQuery -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class list_EnvConfigCategory(list, EnvConfigCategory): pass - -class NonNull_EnvConfigTerm(EnvConfigTerm): pass - -class list_EnvConfig(list, EnvConfig): pass - -class list_Extension(list, Extension): pass - -class list_AlertDefinition(list, AlertDefinition): pass - -class NonNull_UserAlertsWhereInput(UserAlertsWhereInput): pass - -class NonNull_AnalyticsStatsInput(AnalyticsStatsInput): pass - -class list_AnalyticsStats(list, AnalyticsStats): pass - -class NonNull_ApiFollowerWhereInput(ApiFollowerWhereInput): pass - -class list_ApiSpecImportProcess(list, ApiSpecImportProcess): pass - -class NonNull_AppAuthorizationsWhereInput(AppAuthorizationsWhereInput): pass - -class NonNull_AssetWhereInput(AssetWhereInput): pass - -class list_AssetForDownload(list, AssetForDownload): pass - -class NonNull_AsyncApiConfigurationWhereInput(AsyncApiConfigurationWhereInput): pass - -class NonNull_AuditWhereInput(AuditWhereInput): pass - -class list_authStrategy(list, authStrategy): pass - -class NonNull_BillingItemsWhereInput(BillingItemsWhereInput): pass - -class NonNull_list_endpointsAndApiVersionCouples(list, endpointsAndApiVersionCouples): pass - -class list_CategoryEntity(list, CategoryEntity): pass - -class list_CollapsedCollection(list, CollapsedCollection): pass - -class list_Follower(list, Follower): pass - -class list_OrgTransaction(list, OrgTransaction): pass - -class NonNull_ConsumersWhereInput(ConsumersWhereInput): pass - -class NonNull_ContactAdminSubscribeToAPIEvent(ContactAdminSubscribeToAPIEvent): pass - -class list_EndpointStats(list, EndpointStats): pass - -class list_EndpointAndVersion(list, EndpointAndVersion): pass - -class list_VersionEndpointStats(list, VersionEndpointStats): pass - -class NonNull_endpointsWithinDateInput(endpointsWithinDateInput): pass - -class NonNull_EndpointWhereInput(EndpointWhereInput): pass - -class list_Entity(list, Entity): pass - -class NonNull_EntityMetadataWhereInput(EntityMetadataWhereInput): pass - -class NonNull_EntityRoleWhereInput(EntityRoleWhereInput): pass - -class list_LogsCSV(list, LogsCSV): pass - -class list_Headline(list, Headline): pass - -class NonNull_GetLegalAgreementSigningURLInput(GetLegalAgreementSigningURLInput): pass - -class NonNull_MessagesWhereInput(MessagesWhereInput): pass - -class list_NewNotification(list, NewNotification): pass - -class NonNull_RoleWhereInput(RoleWhereInput): pass - -class NonNull_SearchApiWhereInput(SearchApiWhereInput): pass - -class NonNull_SearchBlogPostWhereInput(SearchBlogPostWhereInput): pass - -class NonNull_SpotlightWhereInput(SpotlightWhereInput): pass - -class list_ActiveSubscriptionCount(list, ActiveSubscriptionCount): pass - -class list_SubscriptionsCount(list, SubscriptionsCount): pass - -class NonNull_TeamUserWhereInput(TeamUserWhereInput): pass - -class NonNull_TutorialWhereInput(TutorialWhereInput): pass - -class list_Phone(list, Phone): pass - -class list_RecoveryCode(list, RecoveryCode): pass - -class list_UsagesStats(list, UsagesStats): pass - -class list_InviteUsersSearch(list, InviteUsersSearch): pass - -class list_UserSavedApi(list, UserSavedApi): pass - -class list_User(list, User): pass - -class NonNull_SearchUsersWhereInput(SearchUsersWhereInput): pass - -class NonNull_UserWhereInput(UserWhereInput): pass - -class list_Permission(list, Permission): pass - -class NonNull_VirtualPermissionWhereInput(VirtualPermissionWhereInput): pass - -class list_Exclusion(list, Exclusion): pass - -class ping(GQLQuery): - """ - ping - Used to determine whether or not RapidAPI is responding to API calls - - """ - type: str - -class eventUrls(GQLQuery): - """ - eventUrls - Get all URLs for an Event - - """ - class EventUrlConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: EventUrlWhereInput - order: EventUrlSortablesInput - - _args: EventUrlConnectionArgs - - - type: EventUrlConnection - -class eventUrl(GQLQuery): - """ - eventUrl - Get details of the specific URL for the Event - - """ - class EventUrlArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: EventUrlArgs - - - type: EventUrl - -class eventTypes(GQLQuery): - """ - eventTypes - Get types of Events - - """ - type: list_EventType[EventType] - -class eventConfig(GQLQuery): - """ - eventConfig - Get event configuration information - - """ - type: EventConfig - -class gatewayInstances(GQLQuery): - """ - gatewayInstances - Get all gateway instances - - """ - class GatewayInstanceConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: GatewayInstanceWhereInput - order: GatewayInstanceSortingInput - - _args: GatewayInstanceConnectionArgs - - - type: GatewayInstanceConnection - -class gatewayInstance(GQLQuery): - """ - gatewayInstance - Get the gateway instance information - - """ - class GatewayInstanceArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: GatewayInstanceArgs - - - type: GatewayInstance - -class gatewayTemplates(GQLQuery): - """ - gatewayTemplates - Get all templates - - """ - class GatewayTemplateConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: GatewayTemplateWhereInput - order: GatewayTemplateSortingInput - - _args: GatewayTemplateConnectionArgs - - - type: GatewayTemplateConnection - -class gatewayTemplate(GQLQuery): - """ - gatewayTemplate - Get details of a specific tempalte - - """ - class GwTemplateArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: GwTemplateArgs - - - type: GwTemplate - -class gatewayTemplatesParams(GQLQuery): - """ - gatewayTemplatesParams - Get all parameters across a tempalte - - """ - class GatewayTemplateParamConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: GatewayTemplateParamsWhereInput - order: GatewayTemplateParamSortingInput - - _args: GatewayTemplateParamConnectionArgs - - - type: GatewayTemplateParamConnection - -class gatewayTemplateParam(GQLQuery): - """ - gatewayTemplateParam - Get details of a specific template prameter - - """ - class GatewayTemplateParamArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: GatewayTemplateParamArgs - - - type: GatewayTemplateParam - -class envConfigCategories(GQLQuery): - """ - envConfigCategories - A category of enterprise congfiguration - - """ - type: list_EnvConfigCategory[EnvConfigCategory] - -class envConfig(GQLQuery): - """ - envConfig - An individaul enterprise configruation - - """ - class EnvConfigArgs(GQLArgsSet, GQLObject): - id: NonNull_int - - _args: EnvConfigArgs - - - type: EnvConfig - -class envConfigs(GQLQuery): - """ - envConfigs - All configurations for an Enterprise - - """ - class EnvConfigArgs(GQLArgsSet, GQLObject): - envConfigTerm: NonNull_EnvConfigTerm - - _args: EnvConfigArgs - - - type: list_EnvConfig[EnvConfig] - -class adminAuditLogs(GQLQuery): - """ - adminAuditLogs - Enterprise admin audit logs - - """ - class AdminAuditLogConnectionArgs(GQLArgsSet, GQLObject): - where: AdminAuditLogInput - pagination: PaginationArgs - orderBy: AdminAuditLogSortablesInput - - _args: AdminAuditLogConnectionArgs - - - type: AdminAuditLogConnection - -class eventLogs(GQLQuery): - """ - eventLogs - Get audit trail(s) for Events - - """ - class EventLogConnectionArgs(GQLArgsSet, GQLObject): - where: EventLogInput - pagination: PaginationArgs - orderBy: EventLogSortablesInput - - _args: EventLogConnectionArgs - - - type: EventLogConnection - -class extensions(GQLQuery): - """ - extensions - Get extensions for an API - - """ - class ExtensionArgs(GQLArgsSet, GQLObject): - client: str - page: str - path: str - - _args: ExtensionArgs - - - type: list_Extension[Extension] - -class getSEOTagsByURL(GQLQuery): - """ - getSEOTagsByURL - returns the CEO tags defined for an API - - """ - class SEOArgs(GQLArgsSet, GQLObject): - url: str - - _args: SEOArgs - - - type: SEO - -class getUserAlertById(GQLQuery): - """ - getUserAlertById - Get alert created by an API Provider by Id - - """ - class UserAlertArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: UserAlertArgs - - - type: UserAlert - -class getUserAlertsByScope(GQLQuery): - """ - getUserAlertsByScope - Get alerts created by an API provider for an API by scope - - """ - class UserAlertArgs(GQLArgsSet, GQLObject): - scope: NonNull_ID - - _args: UserAlertArgs - - - type: list_UserAlert[UserAlert] - -class getAlertsDefinitions(GQLQuery): - """ - getAlertsDefinitions - Get definitions of alerts across RapidAPI - - """ - type: list_AlertDefinition[AlertDefinition] - -class userAlerts(GQLQuery): - """ - userAlerts - Get alerts created by an API provider for an API - - """ - class UserAlertsConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_UserAlertsWhereInput - - _args: UserAlertsConnectionArgs - - - type: UserAlertsConnection - -class userAlert(GQLQuery): - """ - userAlert - Get alert created by an API provider for an API - - """ - class UserAlertArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: UserAlertArgs - - - type: UserAlert - -class allowedPlanDeveloperByPlanId(GQLQuery): - """ - allowedPlanDeveloperByPlanId - Get invited developers for a private plan of an API - - """ - class AllowedPlanDeveloperArgs(GQLArgsSet, GQLObject): - planId: str - - _args: AllowedPlanDeveloperArgs - - - type: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - -class apiTrafficAnalytics(GQLQuery): - """ - apiTrafficAnalytics - The GraphQL Platform API exposes a useful operation for analyzing API call volume, errors and latency. It allows you to filter and group the data by multiple dimensions such as time, API, consumer and much more. The results are returned in a flat object that can easily be transformed into input for charting or pivot tables. - - - """ - class AnalyticsStatsArgs(GQLArgsSet, GQLObject): - where: NonNull_AnalyticsStatsInput - groupBy: AnalyticsStatsGroupByInput - - _args: AnalyticsStatsArgs - - - type: list_AnalyticsStats[AnalyticsStats] - -class apiCertificate(GQLQuery): - """ - apiCertificate - returns the API Certificate details based on the certificate Id - - """ - class ApiCertificateArgs(GQLArgsSet, GQLObject): - apiCertificateId: NonNull_ID - - _args: ApiCertificateArgs - - - type: ApiCertificate - -class apiCertificates(GQLQuery): - """ - apiCertificates - returns the API Certificates details based on the API Id and User Id - - """ - class ApiCertificateConnectionArgs(GQLArgsSet, GQLObject): - where: ApiCertificateWhereInput - orderBy: ApiCertificateOrderByInput - pagination: PaginationInput - - _args: ApiCertificateConnectionArgs - - - type: ApiCertificateConnection - -class apiDevelopersByApiId(GQLQuery): - """ - apiDevelopersByApiId - returns API developer details based on the API Id parameter - - """ - class ApiDeveloperArgs(GQLArgsSet, GQLObject): - apiId: str - pagingArgs: PagingArgs - - _args: ApiDeveloperArgs - - - type: list_ApiDeveloper[ApiDeveloper] - -class apiFollowers(GQLQuery): - """ - apiFollowers - Returns a list of users who follow a specific API(s) - - """ - class ApiFollowerConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_ApiFollowerWhereInput - orderBy: ApiFollowerOrderByInput - pagination: PaginationInput - - _args: ApiFollowerConnectionArgs - - - type: ApiFollowerConnection - -class apiReferenceByApiAndVersionId(GQLQuery): - """ - apiReferenceByApiAndVersionId - [will be deprecated; do not use] Use apiReferences - - """ - class ApiReferenceArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - versionId: NonNull_str - - _args: ApiReferenceArgs - - - type: ApiReference - -class apiReferences(GQLQuery): - """ - apiReferences - Something with API Spotlights... - - """ - class ApiReferenceConnectionArgs(GQLArgsSet, GQLObject): - where: ApiReferenceWhereInput - - _args: ApiReferenceConnectionArgs - - - type: ApiReferenceConnection - -class apiSearch(GQLQuery): - """ - apiSearch - [will be deprecated; do not use] Search for API - - """ - class ApiSearchPagedArgs(GQLArgsSet, GQLObject): - searchArguments: SearchArguments - - _args: ApiSearchPagedArgs - - - type: ApiSearchPaged - -class apiSearchV3(GQLQuery): - """ - apiSearchV3 - [will be deprecated; do not use] Search for API - - """ - class ApiSearchPagedArgs(GQLArgsSet, GQLObject): - searchArguments: SearchArguments - - _args: ApiSearchPagedArgs - - - type: ApiSearchPaged - -class apiSpecImportProgresses(GQLQuery): - """ - apiSpecImportProgresses - Supports the async process for the API import (especially for long time upload might be a result of a big file import. Polling request from the client to the backend - returns success result only when the API was completely imported. - - """ - class ApiSpecImportProcessArgs(GQLArgsSet, GQLObject): - trackingIds: NonNull_list[NonNull_ID] - - _args: ApiSpecImportProcessArgs - - - type: list_ApiSpecImportProcess[ApiSpecImportProcess] - -class bulkApisSummaryByTrackingIds(GQLQuery): - """ - bulkApisSummaryByTrackingIds - Check to see if the API import operation has completed across multiple APIs - - """ - class BatchTrackingIdsSummaryArgs(GQLArgsSet, GQLObject): - trackingIds: NonNull_list[ID] - - _args: BatchTrackingIdsSummaryArgs - - - type: BatchTrackingIdsSummary - -class calculatedStatistics(GQLQuery): - """ - calculatedStatistics - Get API usage analytics - - """ - class CalculatedStatisticsArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: NonNull_str - resolution: str - projectIds: list[str] - apiIds: list[str] - endpoints: list[str] - groupBy: StatsGroupBy - apiVersionIds: list[ID] - entityId: ID - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: CalculatedStatisticsArgs - - - type: CalculatedStatistics - -class getApiVersion(GQLQuery): - """ - getApiVersion - [will be deprecated; do not use] return the apiVersion information based on the apiVersion's Id input - - """ - class ApiVersionArgs(GQLArgsSet, GQLObject): - versionId: NonNull_ID - - _args: ApiVersionArgs - - - type: ApiVersion - -class apiVersion(GQLQuery): - """ - apiVersion - [will be deprecated; do not use] return the apiVersion information based on the apiVersion's Id input - - """ - class ApiVersionArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_ID - - _args: ApiVersionArgs - - - type: ApiVersion - -class apiVersions(GQLQuery): - """ - apiVersions - returns a list of apiVersions based on the ApiVersionWhereInput - - """ - class ApiVersionConnectionArgs(GQLArgsSet, GQLObject): - where: ApiVersionWhereInput - orderBy: ApiVersionOrderByInput - pagination: PaginationInput - - _args: ApiVersionConnectionArgs - - - type: ApiVersionConnection - -class api(GQLQuery): - """ - api - Obtain an API's details, such as its name and current version. - -https://enterprise-docs.rapidapi.com/docs/graphql-platform-api-examples#obtain-an-apis-details - - """ - class ApiArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: ApiArgs - - - type: Api - -class apis(GQLQuery): - """ - apis - Returns the APIs based on the APIWhereInput - -https://enterprise-docs.rapidapi.com/docs/graphql-platform-api-examples#query-apis - - - - """ - class ApiConnectionArgs(GQLArgsSet, GQLObject): - where: ApiWhereInput - orderBy: ApiOrderByInput - pagination: PaginationInput - - _args: ApiConnectionArgs - - - type: ApiConnection - -class exportOpenApi(GQLQuery): - """ - exportOpenApi - Returns a generated OAS 3 representation of a certain API version in the platform, including the RapidAPI metadata extension properties.\n\n`apiId` and the optional `apiVersionId` args specify which API and version to target for export.\nOmitting the `apiVersionId` arg will target the *current* version of the API specified by `apiId`.\n\nA non-null result would be returned only in accordance with the following rules:\n- the target `apiId` or `apiVersionId` (if specifically provided) have some match in the platform, and either:\n - the target API is defined with `PUBLIC` visibility, or\n - the target API is defined with `PRIVATE` visibility and either:\n - the requestor or any team they are a member of is owning the target API or\n - the requestor or any team they are a member of is **invited** to the target API\n\nIf the API is visible to the requestor for export but not owned by it, certain sensitive fields (e.g `servers` array) in the exported document may be returned blank. - -https://enterprise-docs.rapidapi.com/docs/graphql-platform-api-examples#export-an-oas-document-for-an-api - - """ - class AnyArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - apiVersionId: ID - - _args: AnyArgs - - - type: Any - -class validateSwagger(GQLQuery): - """ - validateSwagger - [marked for deprecation; do not use] Validates a swagger input - - """ - class AnyArgs(GQLArgsSet, GQLObject): - input: validateSwaggerInput - - _args: AnyArgs - - - type: Any - -class applicationAuthorization(GQLQuery): - """ - applicationAuthorization - get application authorization (x-rapid-key/oauth) - - """ - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: ApplicationAuthorizationArgs - - - type: ApplicationAuthorization - -class applicationAuthorizations(GQLQuery): - """ - applicationAuthorizations - get application authorization (x-rapid-key/oauth) - - """ - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - where: NonNull_AppAuthorizationsWhereInput - - _args: ApplicationAuthorizationArgs - - - type: list_ApplicationAuthorization[ApplicationAuthorization] - -class applicationEnvironmentsKeysByApplicationIdAndEnvironment(GQLQuery): - """ - applicationEnvironmentsKeysByApplicationIdAndEnvironment - applicationEnvironments (applicationAuthorization) by application Id. going to be deprecated, please don't know - - """ - class ApplicationEnvironmentPagingArgs(GQLArgsSet, GQLObject): - applicationId: str - environment: str - - _args: ApplicationEnvironmentPagingArgs - - - type: ApplicationEnvironmentPaging - -class applicationEnvironmentsByApplicationIdAndEnvironment(GQLQuery): - """ - applicationEnvironmentsByApplicationIdAndEnvironment - applicationEnvironments (applicationAuthorization) by application Id. going to be deprecated, please don't know - - """ - class ApplicationEnvironmentArgs(GQLArgsSet, GQLObject): - applicationId: str - environment: str - - _args: ApplicationEnvironmentArgs - - - type: ApplicationEnvironment - -class applicationById(GQLQuery): - """ - applicationById - application by Id - - """ - class ApplicationArgs(GQLArgsSet, GQLObject): - id: int - - _args: ApplicationArgs - - - type: Application - -class asset(GQLQuery): - """ - asset - Fetch an asset by ID - - """ - class AssetArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: AssetArgs - - - type: Asset - -class assets(GQLQuery): - """ - assets - Query assets by IDs or external IDs, optional filter on visibility - - """ - class AssetArgs(GQLArgsSet, GQLObject): - where: NonNull_AssetWhereInput - - _args: AssetArgs - - - type: list_Asset[Asset] - -class assetsDownloadUrls(GQLQuery): - """ - assetsDownloadUrls - Query assets by IDs or external IDs, optional filter on visibility; Includes download URL in response - - """ - class AssetForDownloadArgs(GQLArgsSet, GQLObject): - where: NonNull_AssetWhereInput - - _args: AssetForDownloadArgs - - - type: list_AssetForDownload[AssetForDownload] - -class asyncApiConfigurations(GQLQuery): - """ - asyncApiConfigurations - [experimental] Get async API configuration - - """ - class AsyncApiConfigurationConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_AsyncApiConfigurationWhereInput - - _args: AsyncApiConfigurationConnectionArgs - - - type: AsyncApiConfigurationConnection - -class userAttributesByUserId(GQLQuery): - """ - userAttributesByUserId - Get all user attributes by user ID - - """ - class UserAttributesArgs(GQLArgsSet, GQLObject): - userId: int - - _args: UserAttributesArgs - - - type: UserAttributes - -class auditByOrganizationId(GQLQuery): - """ - auditByOrganizationId - Organization level Audits (e.g. creation, user invited, etc...) - - """ - class auditTrailsArgs(GQLArgsSet, GQLObject): - searchTerm: str - from_: int - orgId: int - - _args: auditTrailsArgs - - - type: auditTrails - -class audit(GQLQuery): - """ - audit - Enterprise Admin Audit (e.g. config CRUD events) - - """ - class auditTrailsArgs(GQLArgsSet, GQLObject): - where: NonNull_AuditWhereInput - - _args: auditTrailsArgs - - - type: auditTrails - -class auditLogin(GQLQuery): - """ - auditLogin - Audit for user logins - - """ - class auditTrailsArgs(GQLArgsSet, GQLObject): - from_: int - userId: str - - _args: auditTrailsArgs - - - type: auditTrails - -class userByEmail(GQLQuery): - """ - userByEmail - Get user ID by user email address - - """ - class UserArgs(GQLArgsSet, GQLObject): - email: str - - _args: UserArgs - - - type: User - -class activeUser(GQLQuery): - """ - activeUser - The User making the request - - """ - type: User - -class getAuthStrategies(GQLQuery): - """ - getAuthStrategies - Get the configured login options - - """ - type: list_authStrategy[authStrategy] - -class getBillingFeaturesByApiVersionId(GQLQuery): - """ - getBillingFeaturesByApiVersionId - [will be deprecated; do not use] Get billing feature by API versionId (will have same results as getBillingFeaturesByApiId) - - """ - class BillingFeatureArgs(GQLArgsSet, GQLObject): - versionId: str - - _args: BillingFeatureArgs - - - type: list_BillingFeature[BillingFeature] - -class getBillingFeaturesByApiId(GQLQuery): - """ - getBillingFeaturesByApiId - Get billing feature by API id - - """ - class BillingFeatureArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - - _args: BillingFeatureArgs - - - type: list_BillingFeature[BillingFeature] - -class isMonetizationEnabled(GQLQuery): - """ - isMonetizationEnabled - check if the monetization is enabled in the environment - - """ - type: bool - -class billingItems(GQLQuery): - """ - billingItems - Get Billing items where input must include apiId or apiVersionId,\nPagination not supported - - """ - class BillingItemConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_BillingItemsWhereInput - - _args: BillingItemConnectionArgs - - - type: BillingItemConnection - -class getFreeSeatsObj(GQLQuery): - """ - getFreeSeatsObj - Get billing information attached to an org - - """ - class SeatsBillingInformationArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - - _args: SeatsBillingInformationArgs - - - type: SeatsBillingInformation - -class getBillingPlanVersionsByApiId(GQLQuery): - """ - getBillingPlanVersionsByApiId - [will be deprecated; do not use] use billingPlanVersions query - - """ - class BillingPlanVersionsResponseArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - apiVersionId: str - pagingArgs: PagingArgsBilling - filters: BillingPlanVersionFilters - - _args: BillingPlanVersionsResponseArgs - - - type: BillingPlanVersionsResponse - -class getBillingPlanVersionById(GQLQuery): - """ - getBillingPlanVersionById - [will be deprecated; do not use] use billingPlanVersion query - - """ - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - billingPlanVersionId: NonNull_str - - _args: BillingPlanVersionArgs - - - type: BillingPlanVersion - -class billingPlanVersion(GQLQuery): - """ - billingPlanVersion - Get Billing Plan Version details - - """ - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: BillingPlanVersionArgs - - - type: BillingPlanVersion - -class billingPlanVersions(GQLQuery): - """ - billingPlanVersions - Get Billing Plan versions\nPagination is not fully supported yet. - - """ - class BillingPlanVersionConnectionArgs(GQLArgsSet, GQLObject): - where: BillingPlanVersionWhereInput - pagination: PaginationInput - - _args: BillingPlanVersionConnectionArgs - - - type: BillingPlanVersionConnection - -class calculatedStatisticsByEndpointAndApiversion(GQLQuery): - """ - calculatedStatisticsByEndpointAndApiversion - Get API usage analytics by endpoint and API Version - - """ - class CalculatedStatisticsArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: NonNull_str - resolution: str - endpointsAndApiVersions: NonNull_list_endpointsAndApiVersionCouples[endpointsAndApiVersionCouples] - groupBy: StatsGroupBy - apiId: NonNull_str - entityId: ID - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: CalculatedStatisticsArgs - - - type: CalculatedStatistics - -class categoriesV2(GQLQuery): - """ - categoriesV2 - [will be deprecated; do not use] Returns a list categories - - """ - class CategoryConnectionArgs(GQLArgsSet, GQLObject): - where: CategoryWhereInput - orderBy: CategoryOrderByInput - pagination: PaginationInput - - _args: CategoryConnectionArgs - - - type: CategoryConnection - -class categoryEntities(GQLQuery): - """ - categoryEntities - [will be deprecated; do not use] Return the category entity information - - """ - class CategoryEntityArgs(GQLArgsSet, GQLObject): - lang: str - pagingArgs: PagingArgs - - _args: CategoryEntityArgs - - - type: list_CategoryEntity[CategoryEntity] - -class categories(GQLQuery): - """ - categories - [will be deprecated; do not use] Returns a list of categories based on search inputs - - """ - class CategoryArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - - _args: CategoryArgs - - - type: list_Category[Category] - -class collectionsItemsByIds(GQLQuery): - """ - collectionsItemsByIds - Returns the collections of items by IDs - - """ - class CollectionItemArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[ID] - - _args: CollectionItemArgs - - - type: list_CollectionItem[CollectionItem] - -class collections(GQLQuery): - """ - collections - Get API collection list - - """ - class CollectionsResponseArgs(GQLArgsSet, GQLObject): - where: CollectionsWhereInput - orderBy: CollectionsOrderByInput - minWeightToFetchApis: int - - _args: CollectionsResponseArgs - - - type: CollectionsResponse - -class collectionsByOwnerId(GQLQuery): - """ - collectionsByOwnerId - Returns the collections for a specific tenant id (Assumption Owner = tenant in this context) - - """ - class CollectionsResponseArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - minWeightToFetchApis: int - collection_type: str - - _args: CollectionsResponseArgs - - - type: CollectionsResponse - -class getOrgHomepageCollections(GQLQuery): - """ - getOrgHomepageCollections - Returns a list of collections for a specific organization - - """ - class CollectionsResponseArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - minWeightToFetchApis: int - - _args: CollectionsResponseArgs - - - type: CollectionsResponse - -class collectionById(GQLQuery): - """ - collectionById - Returns a collection based on Collection ID - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - collectionId: NonNull_ID - - _args: CollectionArgs - - - type: Collection - -class collection(GQLQuery): - """ - collection - Returns a collection based on Collection ID - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: CollectionArgs - - - type: Collection - -class collapsedCollections(GQLQuery): - """ - collapsedCollections - Get the list of collapsed Collections - - """ - class CollapsedCollectionArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - limit: int - page: int - - _args: CollapsedCollectionArgs - - - type: list_CollapsedCollection[CollapsedCollection] - -class collectionBySlugifiedKey(GQLQuery): - """ - collectionBySlugifiedKey - Returns a collection based on name - - """ - class CollectionArgs(GQLArgsSet, GQLObject): - slugifiedKey: str - - _args: CollectionArgs - - - type: Collection - -class getPrivateCollections(GQLQuery): - """ - getPrivateCollections - [Marked for deprecation; do not use ]Returns private collection - - """ - type: list_Collection[Collection] - -class getPrivateCollectionsV2(GQLQuery): - """ - getPrivateCollectionsV2 - Returns private collection - - """ - type: list_Collection[Collection] - -class collectionBySlugifiedKeyV2(GQLQuery): - """ - collectionBySlugifiedKeyV2 - Returns a collection based on name V2 - - """ - class CollectionV2Args(GQLArgsSet, GQLObject): - slugifiedKey: str - - _args: CollectionV2Args - - - type: CollectionV2 - -class collectionBySlugifiedKeyV3(GQLQuery): - """ - collectionBySlugifiedKeyV3 - Returns a collection based on name V3 - - """ - class CollectionV3Args(GQLArgsSet, GQLObject): - slugifiedKey: str - - _args: CollectionV3Args - - - type: CollectionV3 - -class getCommentsByIssueIdV2(GQLQuery): - """ - getCommentsByIssueIdV2 - Returns the comments by an issue ID - - """ - class PaginatedCommentsArgs(GQLArgsSet, GQLObject): - issueId: NonNull_int - pagingArgs: PagingArgs - - _args: PaginatedCommentsArgs - - - type: PaginatedComments - -class getCommentByIdV2(GQLQuery): - """ - getCommentByIdV2 - Returns the comment by an issue and comment ID - - """ - class CommentArgs(GQLArgsSet, GQLObject): - issueId: NonNull_int - commentId: NonNull_int - - _args: CommentArgs - - - type: Comment - -class search(GQLQuery): - """ - search - Returns a list of APIs based on search parameters - - """ - class ApiSearchArgs(GQLArgsSet, GQLObject): - term: NonNull_str - - _args: ApiSearchArgs - - - type: list_ApiSearch[ApiSearch] - -class searchEntityByApiId(GQLQuery): - """ - searchEntityByApiId - Search for a specific entity within a specific API - - """ - class AnyArgs(GQLArgsSet, GQLObject): - userName: NonNull_str - apiId: NonNull_str - distinct: str - - _args: AnyArgs - - - type: list[Any] - -class getOpenApiSpecByApiId(GQLQuery): - """ - getOpenApiSpecByApiId - [will be deprecated; do not use] returns the OAS for the API ID parameter provided - - """ - class AnyArgs(GQLArgsSet, GQLObject): - apiId: ID - - _args: AnyArgs - - - type: Any - -class entityById(GQLQuery): - """ - entityById - returns (User/Team/organization) by entityId - - """ - class EntityArgs(GQLArgsSet, GQLObject): - id: ID - - _args: EntityArgs - - - type: Entity - -class activeEntity(GQLQuery): - """ - activeEntity - The entity ( User/Team ) making the request - - """ - type: Entity - -class apiByNameAndOwnerName(GQLQuery): - """ - apiByNameAndOwnerName - [will be deprecated; do not use] Query an API by Name and Owner Name - - """ - class ApiArgs(GQLArgsSet, GQLObject): - apiName: str - ownerName: str - - _args: ApiArgs - - - type: Api - -class apiBySlugifiedNameAndOwnerName(GQLQuery): - """ - apiBySlugifiedNameAndOwnerName - [will be deprecated; do not use] Query and API by Slugified Name and Owner Name - - """ - class ApiArgs(GQLArgsSet, GQLObject): - slugifiedName: str - ownerName: str - - _args: ApiArgs - - - type: Api - -class apiByNameAndOwnerId(GQLQuery): - """ - apiByNameAndOwnerId - [will be deprecated; do not use] Query an API by Name and Owner Id - - """ - class ApiArgs(GQLArgsSet, GQLObject): - apiName: str - ownerId: str - - _args: ApiArgs - - - type: Api - -class userFollows(GQLQuery): - """ - userFollows - Query the ID of a user and get back the users they follow. - - """ - class FollowUserArgs(GQLArgsSet, GQLObject): - userId: int - - _args: FollowUserArgs - - - type: list_FollowUser[FollowUser] - -class apiById(GQLQuery): - """ - apiById - [will be deprecated; do not use] Query an API by id - - """ - class ApiArgs(GQLArgsSet, GQLObject): - apiId: str - - _args: ApiArgs - - - type: Api - -class apisById(GQLQuery): - """ - apisById - [will be deprecated; do not use] Get APIs by Id - - """ - class ApiArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[ID] - - _args: ApiArgs - - - type: list_Api[Api] - -class followUserAction(GQLQuery): - """ - followUserAction - **This needs to be updated to a mutation** Follow a provider - - """ - class FollowPairArgs(GQLArgsSet, GQLObject): - followerId: int - followeeId: int - - _args: FollowPairArgs - - - type: FollowPair - -class userFollowers(GQLQuery): - """ - userFollowers - Get follows by user ID - - """ - class FollowerArgs(GQLArgsSet, GQLObject): - userId: int - - _args: FollowerArgs - - - type: list_Follower[Follower] - -class calculateSeatsPrice(GQLQuery): - """ - calculateSeatsPrice - Calculate the seat price - - """ - class floatArgs(GQLArgsSet, GQLObject): - seats: NonNull_int - - _args: floatArgs - - - type: float - -class getSeatsTransactionsByOrgId(GQLQuery): - """ - getSeatsTransactionsByOrgId - Return a list of transactions for seats by organization Id - - """ - class OrgTransactionArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - - _args: OrgTransactionArgs - - - type: list_OrgTransaction[OrgTransaction] - -class organizationsTreeToken(GQLQuery): - """ - organizationsTreeToken - Getting organization hierarchy of API requestor encode by JWT - - """ - type: str - -class getMinimumSeats(GQLQuery): - """ - getMinimumSeats - Get the default seats configuration - - """ - type: int - -class transactionsById(GQLQuery): - """ - transactionsById - Get a transaction based on an API Id or a User Id - - """ - class TransactionsPagingArgs(GQLArgsSet, GQLObject): - apiId: str - userId: int - type: str - pagingArgs: PagingArgs - queryFilters: QueryFilters - paymentStatusFilters: list[TransactionPaymentStatus] - - _args: TransactionsPagingArgs - - - type: TransactionsPaging - -class unionDiscussionsByAuthor(GQLQuery): - """ - unionDiscussionsByAuthor - [marked for deprecation; do not use] Returns discussions by author - - """ - class DiscussionObjectArgs(GQLArgsSet, GQLObject): - authorId: int - limit: int - offset: int - orderField: str - orderType: str - type: str - - _args: DiscussionObjectArgs - - - type: DiscussionObject - -class getActiveUserContext(GQLQuery): - """ - getActiveUserContext - Get the active user context of the logged in user - - """ - type: ContextEntity - -class getActiveTeamContext(GQLQuery): - """ - getActiveTeamContext - Get the active team context of the logged in user - - """ - type: ContextEntity - -class transactionsAnalyticsByApiId(GQLQuery): - """ - transactionsAnalyticsByApiId - Returns the transactions analytics for one API by ID - - """ - class TransactionsAnalyticsArgs(GQLArgsSet, GQLObject): - apiId: str - fromDate: str - toDate: str - attributes: str - - _args: TransactionsAnalyticsArgs - - - type: TransactionsAnalytics - -class getConsumers(GQLQuery): - """ - getConsumers - Gets a list of consumers for an API by type (Free, Paid, All) - - """ - class ConsumersArgs(GQLArgsSet, GQLObject): - apiId: str - userId: list[int] - offset: int - limit: int - sort: str - usernames: str - plansFilter: list[str] - lastActive: list[str] - - _args: ConsumersArgs - - - type: Consumers - -class getFreeConsumers(GQLQuery): - """ - getFreeConsumers - Return free users by Api Id - - """ - class ConsumersArgs(GQLArgsSet, GQLObject): - apiId: NonNull_list[NonNull_ID] - offset: int - limit: int - order: str - lastActive: list[str] - username: list[str] - userId: list[int] - - _args: ConsumersArgs - - - type: Consumers - -class consumers(GQLQuery): - """ - consumers - return all the consumers based on the API ID - - """ - class ConsumerConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_ConsumersWhereInput - - _args: ConsumerConnectionArgs - - - type: ConsumerConnection - -class requestAdminToSubscribeToAnAPI(GQLQuery): - """ - requestAdminToSubscribeToAnAPI - [will be deprecated; do not use] requesting subscribe to an API - - """ - class boolArgs(GQLArgsSet, GQLObject): - eventData: NonNull_ContactAdminSubscribeToAPIEvent - - _args: boolArgs - - - type: bool - -class getCountryMetadata(GQLQuery): - """ - getCountryMetadata - Get metadata about a Country - - """ - class CountryArgs(GQLArgsSet, GQLObject): - ip: str - - _args: CountryArgs - - - type: Country - -class unionIssuesByAuthorV2(GQLQuery): - """ - unionIssuesByAuthorV2 - Returns discussions by author - - """ - class DiscussionObjectArgs(GQLArgsSet, GQLObject): - authorId: int - type: str - pagingArgs: PagingArgs - apiIds: list[str] - - _args: DiscussionObjectArgs - - - type: DiscussionObject - -class getIssuesByApiIdV2(GQLQuery): - """ - getIssuesByApiIdV2 - Returns the issues associated with an API id - - """ - class IssueObjectArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - pagingArgs: PagingArgs - providerId: str - - _args: IssueObjectArgs - - - type: IssueObject - -class getIssuesByApiIdsV2(GQLQuery): - """ - getIssuesByApiIdsV2 - Returns the issues associated with an APIs ids - - """ - class IssueObjectArgs(GQLArgsSet, GQLObject): - apiIds: list[NonNull_str] - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class endpointStats(GQLQuery): - """ - endpointStats - The analytics for each endpoint - - """ - class EndpointStatsArgs(GQLArgsSet, GQLObject): - apiIds: NonNull_list[ID] - projectIds: list[ID] - endpointIds: list[ID] - fromDate: str - toDate: str - resolution: str - - _args: EndpointStatsArgs - - - type: list_EndpointStats[EndpointStats] - -class endpointStatsByEntity(GQLQuery): - """ - endpointStatsByEntity - The analytics for each endpoint by entity - - """ - class EndpointStatsArgs(GQLArgsSet, GQLObject): - entityId: ID - apiId: NonNull_ID - endpointIds: list[ID] - fromDate: DateTime - toDate: DateTime - resolution: Resolution - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: EndpointStatsArgs - - - type: list_EndpointStats[EndpointStats] - -class endpointStatsByEntityV2(GQLQuery): - """ - endpointStatsByEntityV2 - The analytics for each endpoint by entity v2 - - """ - class VersionEndpointStatsArgs(GQLArgsSet, GQLObject): - entityId: ID - apiId: NonNull_ID - endpointsAndApiVersions: list_EndpointAndVersion[EndpointAndVersion] - fromDate: DateTime - toDate: DateTime - resolution: Resolution - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: VersionEndpointStatsArgs - - - type: list_VersionEndpointStats[VersionEndpointStats] - -class getEndpointsWithinDateByParameters(GQLQuery): - """ - getEndpointsWithinDateByParameters - Get the endpoints of an API within a date range - - """ - class EndpointStatsArgs(GQLArgsSet, GQLObject): - input: NonNull_endpointsWithinDateInput - showDeleted: bool - - _args: EndpointStatsArgs - - - type: list_EndpointStats[EndpointStats] - -class endpoint(GQLQuery): - """ - endpoint - Get an Endpoint - - """ - class EndpointArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: EndpointArgs - - - type: Endpoint - -class endpoints(GQLQuery): - """ - endpoints - Get a list of endpoints - - """ - class EndpointConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_EndpointWhereInput - - _args: EndpointConnectionArgs - - - type: EndpointConnection - -class searchEntities(GQLQuery): - """ - searchEntities - Search for API by all associated entities (e.g. users, types, etc...) - - """ - class EntityArgs(GQLArgsSet, GQLObject): - term: str - limit: int - status: str - type: str - - _args: EntityArgs - - - type: list_Entity[Entity] - -class entitiesMetadata(GQLQuery): - class EntityMetadataConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_EntityMetadataWhereInput - orderBy: EntityMetadataOrderByInput - pagination: PaginationInput - - _args: EntityMetadataConnectionArgs - - - type: EntityMetadataConnection - -class getEntitiesRoles(GQLQuery): - """ - getEntitiesRoles - get Entity (User/Team/Organization ) assigned roles - - """ - class EntityRoleArgs(GQLArgsSet, GQLObject): - entityIds: list[int] - orgId: int - parentIds: list[int] - - _args: EntityRoleArgs - - - type: list_EntityRole[EntityRole] - -class entitiesRoles(GQLQuery): - """ - entitiesRoles - get roles assigned to Entity - - """ - class EntityRoleConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_EntityRoleWhereInput - orderBy: EntityRoleOrderByInput - pagination: PaginationInput - - _args: EntityRoleConnectionArgs - - - type: EntityRoleConnection - -class getLogsCSV(GQLQuery): - """ - getLogsCSV - Export analytics to a CSV file - - """ - class LogsCSVArgs(GQLArgsSet, GQLObject): - apiId: ID - projectId: ID - - _args: LogsCSVArgs - - - type: list_LogsCSV[LogsCSV] - -class exportLogsCSVProvider(GQLQuery): - """ - exportLogsCSVProvider - Export CSV of audit trails for Provider related actions - - """ - class LogsCSVExportsArgs(GQLArgsSet, GQLObject): - contextId: NonNull_ID - fromDate: NonNull_DateTime - toDate: NonNull_DateTime - totalCount: NonNull_int - filters: RequestLogFilters - timeOffset: int - - _args: LogsCSVExportsArgs - - - type: LogsCSVExports - -class exportLogsCSVDeveloper(GQLQuery): - """ - exportLogsCSVDeveloper - Export CSV of audit trails for Developer related actions - - """ - class LogsCSVExportsArgs(GQLArgsSet, GQLObject): - contextId: NonNull_ID - fromDate: NonNull_DateTime - toDate: NonNull_DateTime - totalCount: NonNull_int - filters: RequestLogFilters - timeOffset: int - - _args: LogsCSVExportsArgs - - - type: LogsCSVExports - -class gateways(GQLQuery): - """ - gateways - [will be deprecated; do not use] Get all gateway instance - - """ - type: GatewayConnection - -class getGateways(GQLQuery): - """ - getGateways - Return a list of Gateways - - """ - type: list_Gateway[Gateway] - -class getGatewayConfiguration(GQLQuery): - """ - getGatewayConfiguration - Get the configuration of a Gateway - - """ - class ApiGatewayConfigurationArgs(GQLArgsSet, GQLObject): - id: NonNull_int - - _args: ApiGatewayConfigurationArgs - - - type: ApiGatewayConfiguration - -class graphQlIntrospectionSchema(GQLQuery): - """ - graphQlIntrospectionSchema - Get the current GraphQL __schema using introspectionCall query - - """ - class AnyArgs(GQLArgsSet, GQLObject): - introspectionCallUrl: NonNull_str - - _args: AnyArgs - - - type: Any - -class headlinesByApiNameAndOwnerId(GQLQuery): - """ - headlinesByApiNameAndOwnerId - Get the API readme by ownerId - - """ - class HeadlineArgs(GQLArgsSet, GQLObject): - apiName: str - apiOwnerId: str - size: int - - _args: HeadlineArgs - - - type: list_Headline[Headline] - -class getIssuesByOrganizatonId(GQLQuery): - """ - getIssuesByOrganizatonId - Return the issues associated with an organziation Id - - """ - class IssueObjectArgs(GQLArgsSet, GQLObject): - id: NonNull_str - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class getResponseTimeByProviderId(GQLQuery): - """ - getResponseTimeByProviderId - returns provider response time - - """ - class floatArgs(GQLArgsSet, GQLObject): - providerId: NonNull_int - - _args: floatArgs - - - type: float - -class getAverageResponseTime(GQLQuery): - """ - getAverageResponseTime - Returns the average API Response Time - - """ - type: float - -class unionIssuesByAuthor(GQLQuery): - """ - unionIssuesByAuthor - [marked for deprecation; do not use] Returns discussions by author - - """ - class DiscussionObjectArgs(GQLArgsSet, GQLObject): - authorId: int - type: str - pagingArgs: PagingArgs - - _args: DiscussionObjectArgs - - - type: DiscussionObject - -class getIssueByIdV2(GQLQuery): - """ - getIssueByIdV2 - Returns the issues by Id - - """ - class IssueArgs(GQLArgsSet, GQLObject): - issueId: int - - _args: IssueArgs - - - type: Issue - -class getIssuesByOrganizationId(GQLQuery): - """ - getIssuesByOrganizationId - Return the issues associated with an organziation Id - - """ - class IssueObjectArgs(GQLArgsSet, GQLObject): - id: str - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class getIssuesByTeamIdV2(GQLQuery): - """ - getIssuesByTeamIdV2 - Returns the issues associated with a team id - - """ - class IssueObjectArgs(GQLArgsSet, GQLObject): - id: str - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class getIssuesFollowsByUserIdV2(GQLQuery): - """ - getIssuesFollowsByUserIdV2 - Returns issues for APIs followed by a user - - """ - class IssueFollowArgs(GQLArgsSet, GQLObject): - userId: int - - _args: IssueFollowArgs - - - type: list_IssueFollow[IssueFollow] - -class kafkaConfiguration(GQLQuery): - """ - kafkaConfiguration - returns the kafka configuration for the apiVersion - - """ - class KafkaConfigurationArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - - _args: KafkaConfigurationArgs - - - type: KafkaConfiguration - -class kafkaTopics(GQLQuery): - """ - kafkaTopics - returns a list of all the kafka topics related to the apiVersion - - """ - class KafkaTopicsArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - - _args: KafkaTopicsArgs - - - type: KafkaTopics - -class kafkaSchemas(GQLQuery): - """ - kafkaSchemas - returns a list of all the kafka schemas related to the apiVersion - - """ - class KafkaSchemasArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - - _args: KafkaSchemasArgs - - - type: KafkaSchemas - -class kafkaTopicMetadata(GQLQuery): - """ - kafkaTopicMetadata - returns the kafka topic metadata - - """ - class TopicMetadataResponseArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - topicName: NonNull_str - - _args: TopicMetadataResponseArgs - - - type: TopicMetadataResponse - -class getTemplate(GQLQuery): - """ - getTemplate - Gets the document for Docusign workflow - - """ - class EnvelopeTemplateArgs(GQLArgsSet, GQLObject): - accountId: str - templateId: str - - _args: EnvelopeTemplateArgs - - - type: EnvelopeTemplate - -class getLegalAgreementInfo(GQLQuery): - """ - getLegalAgreementInfo - Gets the created legal document provider information - - """ - type: LegalAgreementInfo - -class updateLegalAgreementInfo(GQLQuery): - """ - updateLegalAgreementInfo - Update the attributes attached to an API's legal agreement - - """ - class LegalAgreementInfoArgs(GQLArgsSet, GQLObject): - input: UpdateLegalAgreementInfo - - _args: LegalAgreementInfoArgs - - - type: LegalAgreementInfo - -class createLegalAgreementInfo(GQLQuery): - """ - createLegalAgreementInfo - Create a new legal agreement provider integration for API plans - - """ - class LegalAgreementInfoArgs(GQLArgsSet, GQLObject): - input: CreateLegalAgreementInfo - - _args: LegalAgreementInfoArgs - - - type: LegalAgreementInfo - -class deleteLegalAgreementInfo(GQLQuery): - """ - deleteLegalAgreementInfo - Upadte existing legal agreement provider integration for API plans - - """ - class AnyArgs(GQLArgsSet, GQLObject): - entityId: str - - _args: AnyArgs - - - type: Any - -class getLegalAgreementSigningURL(GQLQuery): - """ - getLegalAgreementSigningURL - Build a legal agreement signging url for the UI as an external integration for signing on plans - - """ - class LegalAgreementInfoUrlArgs(GQLArgsSet, GQLObject): - input: NonNull_GetLegalAgreementSigningURLInput - - _args: LegalAgreementInfoUrlArgs - - - type: LegalAgreementInfoUrl - -class logPayloadByRequestId(GQLQuery): - """ - logPayloadByRequestId - Returns the details of a request by Id - - """ - class LogPayloadArgs(GQLArgsSet, GQLObject): - requestId: ID - callTime: str - - _args: LogPayloadArgs - - - type: LogPayload - -class logPayloadByRequestIdWithLoggingRestrictions(GQLQuery): - """ - logPayloadByRequestIdWithLoggingRestrictions - Returns the details of the request by Id with logging restrictions - - """ - class RestrictedLogPayloadArgs(GQLArgsSet, GQLObject): - requestId: ID - callTime: str - apiId: str - - _args: RestrictedLogPayloadArgs - - - type: RestrictedLogPayload - -class developerLogPayloadByRequestIdWithLoggingRestrictions(GQLQuery): - """ - developerLogPayloadByRequestIdWithLoggingRestrictions - Get request payload for developer - - """ - class RestrictedLogPayloadArgs(GQLArgsSet, GQLObject): - requestId: ID - callTime: str - apiId: str - projectId: str - - _args: RestrictedLogPayloadArgs - - - type: RestrictedLogPayload - -class messageThreads(GQLQuery): - """ - messageThreads - Search for message threads by specific filters - - """ - class MessageThreadsObjectArgs(GQLArgsSet, GQLObject): - where: MessageThreadsWhereInput - - _args: MessageThreadsObjectArgs - - - type: MessageThreadsObject - -class messages(GQLQuery): - """ - messages - Get messages by filters - - """ - class MessageArgs(GQLArgsSet, GQLObject): - where: NonNull_MessagesWhereInput - - _args: MessageArgs - - - type: list_Message[Message] - -class getApiAverageResponseTime(GQLQuery): - """ - getApiAverageResponseTime - Returns the average API Response Time - - """ - class floatArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - - _args: floatArgs - - - type: float - -class getProviderAverageResponseTime(GQLQuery): - """ - getProviderAverageResponseTime - Get providers average response time for responding to an private message - - """ - class floatArgs(GQLArgsSet, GQLObject): - providerId: NonNull_int - - _args: floatArgs - - - type: float - -class getRelativeAverageResponseTime(GQLQuery): - """ - getRelativeAverageResponseTime - returns provider response time compared to other providers - - """ - class RelativeARTResponseArgs(GQLArgsSet, GQLObject): - providerId: NonNull_int - - _args: RelativeARTResponseArgs - - - type: RelativeARTResponse - -class getMessageThread(GQLQuery): - """ - getMessageThread - Get the messages of a thread - - """ - class MessageThreadArgs(GQLArgsSet, GQLObject): - threadId: int - - _args: MessageThreadArgs - - - type: MessageThread - -class newNotificationsByUserId(GQLQuery): - """ - newNotificationsByUserId - [will be deprecated; do not use] Get new notifications by User Id - - """ - class NewNotificationArgs(GQLArgsSet, GQLObject): - userId: int - limit: int - offset: int - - _args: NewNotificationArgs - - - type: list_NewNotification[NewNotification] - -class notificationsByUserId(GQLQuery): - """ - notificationsByUserId - [will be deprecated; do not use] Get notifications by User Id - - """ - class NotificationArgs(GQLArgsSet, GQLObject): - userId: int - limit: int - offset: int - - _args: NotificationArgs - - - type: list_Notification[Notification] - -class organization(GQLQuery): - """ - organization - Getting an organization list of the API requestor - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - where: WhereOrgTeam - - _args: OrganizationArgs - - - type: Organization - -class organizations(GQLQuery): - """ - organizations - Obtains a list of organizations in which the API requester is an organization administrator. The **teams** field returns an array of teams in each organization. The **users** field returns an array of users in the organization. - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - where: OrganizationWhereInput - - _args: OrganizationArgs - - - type: list_Organization[Organization] - -class getOrganizations(GQLQuery): - """ - getOrganizations - Get organization of user executing the query - - """ - type: list_Organization[Organization] - -class getOrganizationBySlugifiedName(GQLQuery): - """ - getOrganizationBySlugifiedName - [will be deprecated; do not use] returns the organization based on the Sluggified name - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - slugifiedName: str - - _args: OrganizationArgs - - - type: Organization - -class getOrganizationById(GQLQuery): - """ - getOrganizationById - [will be deprecated; do not use] returns the organization based on the orgId - - """ - class OrganizationArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - - _args: OrganizationArgs - - - type: Organization - -class getEmailDomainAndCheckIfIgnored(GQLQuery): - """ - getEmailDomainAndCheckIfIgnored - Get the email domain and check if it's ignored by an org - - """ - type: CorporateDomain - -class getOrganizationsWithTheSameEmail(GQLQuery): - """ - getOrganizationsWithTheSameEmail - Get organizations that were created by an admin and his/her email domain matches the API caller domain - - """ - type: list_CorporateDomainOrganization[CorporateDomainOrganization] - -class searchOrganizations(GQLQuery): - """ - searchOrganizations - Returns a list of organizations - - """ - class EntityArgs(GQLArgsSet, GQLObject): - term: str - limit: int - - _args: EntityArgs - - - type: list_Entity[Entity] - -class validateResetPasswordToken(GQLQuery): - """ - validateResetPasswordToken - Takes a password reset token and returns whether it is valid - - """ - class ValidateTokenResponseArgs(GQLArgsSet, GQLObject): - token: NonNull_str - - _args: ValidateTokenResponseArgs - - - type: ValidateTokenResponse - -class getProjectAllowedAPIs(GQLQuery): - """ - getProjectAllowedAPIs - Returns the allowed API IDs by Project/App - - """ - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - mashapeId: NonNull_str - projectId: NonNull_int - pagingArgs: PagingArgs - - _args: ProjectAllowedAPIArgs - - - type: list_ProjectAllowedAPI[ProjectAllowedAPI] - -class requestLogsByEntity(GQLQuery): - """ - requestLogsByEntity - getting API calls logs associated to an application - - """ - class RequestLogsResultArgs(GQLArgsSet, GQLObject): - apiId: str - projectId: str - fromDate: NonNull_str - toDate: str - limit: int - offset: int - orderBy: RequestLogsOrderBy - orderDir: OrderDirection - filters: RequestLogFilters - timeOffset: int - - _args: RequestLogsResultArgs - - - type: RequestLogsResult - -class getAccessControlRoles(GQLQuery): - """ - getAccessControlRoles - Get all roles - - """ - class RoleArgs(GQLArgsSet, GQLObject): - roleLevels: list[RoleLevel] - - _args: RoleArgs - - - type: list_Role[Role] - -class getRoles(GQLQuery): - """ - getRoles - Get all defined roles - - """ - class RoleArgs(GQLArgsSet, GQLObject): - roleLevels: list[RoleLevel] - - _args: RoleArgs - - - type: list_Role[Role] - -class roles(GQLQuery): - """ - roles - get roles metada - - """ - class RoleConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_RoleWhereInput - orderBy: RoleOrderByInput - pagination: PaginationInput - - _args: RoleConnectionArgs - - - type: RoleConnection - -class searchApis(GQLQuery): - """ - searchApis - Returns a list of APIs based on search parameters - - """ - class SearchApiConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_SearchApiWhereInput - orderBy: SearchApiOrderByInput - pagination: PaginationInput - - _args: SearchApiConnectionArgs - - - type: SearchApiConnection - -class searchBlogPosts(GQLQuery): - """ - searchBlogPosts - Returns a list of blog posts based on search parameters - - """ - class SearchBlogPostConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_SearchBlogPostWhereInput - pagination: PaginationInput - - _args: SearchBlogPostConnectionArgs - - - type: SearchBlogPostConnection - -class searchCollections(GQLQuery): - """ - searchCollections - Returns list of collections - - """ - class SearchCollectionConnectionArgs(GQLArgsSet, GQLObject): - where: SearchCollectionWhereInput - orderBy: SearchCollectionOrderByInput - pagination: PaginationInput - - _args: SearchCollectionConnectionArgs - - - type: SearchCollectionConnection - -class spotlights(GQLQuery): - """ - spotlights - Returns the spotlights for a specific API - - """ - class SpotlightConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_SpotlightWhereInput - orderBy: SpotlightOrderByInput - pagination: PaginationInput - - _args: SpotlightConnectionArgs - - - type: SpotlightConnection - -class searchSubscribedEntityByApiIdAndAppName(GQLQuery): - """ - searchSubscribedEntityByApiIdAndAppName - Returns a list of entities subscribed to an API and App Name - - """ - class ProjectArgs(GQLArgsSet, GQLObject): - appName: NonNull_str - apiId: NonNull_str - - _args: ProjectArgs - - - type: list_Project[Project] - -class activeSubscriptionsCount(GQLQuery): - """ - activeSubscriptionsCount - [will be deprecated; do not use] Returns analytics data about an API per subscription by API id - - """ - class ActiveSubscriptionCountArgs(GQLArgsSet, GQLObject): - apiId: str - fromDate: str - toDate: str - resolution: Resolution - - _args: ActiveSubscriptionCountArgs - - - type: list_ActiveSubscriptionCount[ActiveSubscriptionCount] - -class getInternalSubscriptions(GQLQuery): - """ - getInternalSubscriptions - Get the subscriptions of a team that subscribed to other teams' APIs within the same org - - """ - type: list_BillingSubscription[BillingSubscription] - -class searchSubscribedEntityByApiId(GQLQuery): - """ - searchSubscribedEntityByApiId - Returns a list of entities subscribed to an API - - """ - class AnyArgs(GQLArgsSet, GQLObject): - userName: NonNull_str - apiId: NonNull_str - - _args: AnyArgs - - - type: list[Any] - -class getSubscriptions(GQLQuery): - """ - getSubscriptions - [will be deprecated; do not use] Get subscriptions by Id - - """ - class SubscriptionsPagingArgs(GQLArgsSet, GQLObject): - id: int - userId: int - apiId: str - mashapeId: str - pagingArgs: PagingArgs - - _args: SubscriptionsPagingArgs - - - type: SubscriptionsPaging - -class getOrganizationSubscriptions(GQLQuery): - """ - getOrganizationSubscriptions - [will be deprecated; do not use] Get the subscriptions owned by an organization - - """ - class OrgSubscriptionsArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: OrgSubscriptionsArgs - - - type: OrgSubscriptions - -class subscriptions(GQLQuery): - """ - subscriptions - Returns a set of subscriptions - - """ - class SubscriptionConnectionArgs(GQLArgsSet, GQLObject): - where: SubscriptionsWhereInput - pagination: PaginationInput - - _args: SubscriptionConnectionArgs - - - type: SubscriptionConnection - -class subscription(GQLQuery): - """ - subscription - Returns one subscription. - - """ - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - id: int - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class subscriptionsCount(GQLQuery): - """ - subscriptionsCount - Returns the count of a set of subscriptions by date range - - """ - class SubscriptionsCountArgs(GQLArgsSet, GQLObject): - where: SubscriptionsCountWhereInput - - _args: SubscriptionsCountArgs - - - type: list_SubscriptionsCount[SubscriptionsCount] - -class getTagsList(GQLQuery): - """ - getTagsList - gets defined tags list in environment level - - """ - type: list_TagDefinition[TagDefinition] - -class tagDefinitions(GQLQuery): - """ - tagDefinitions - Returns the tag's definitions - - """ - type: TagDefinitionConnection - -class paginatedTeamUsersByOrganizationId(GQLQuery): - """ - paginatedTeamUsersByOrganizationId - Get organization users ( should be deprecated , please don't use) - - """ - class PaginatedTeamUsersArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - pagingArgs: PagingArgs - - _args: PaginatedTeamUsersArgs - - - type: PaginatedTeamUsers - -class paginatedTeamUsersByOrganizationIdV2(GQLQuery): - """ - paginatedTeamUsersByOrganizationIdV2 - Get organization users - - """ - class PaginatedTeamUsersArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - pagingArgs: PagingArgs - - _args: PaginatedTeamUsersArgs - - - type: PaginatedTeamUsers - -class teamUserByEmailAndOrgId(GQLQuery): - """ - teamUserByEmailAndOrgId - Get user in a team by email and Organization id - - """ - class TeamUserArgs(GQLArgsSet, GQLObject): - email: str - orgId: int - - _args: TeamUserArgs - - - type: TeamUser - -class teamUser(GQLQuery): - """ - teamUser - Get user by organization Id - - """ - class TeamUserArgs(GQLArgsSet, GQLObject): - where: NonNull_TeamUserWhereInput - - _args: TeamUserArgs - - - type: TeamUser - -class findUsersInOrganization(GQLQuery): - """ - findUsersInOrganization - search users within organization by term - - """ - class TeamUserArgs(GQLArgsSet, GQLObject): - orgId: int - term: str - - _args: TeamUserArgs - - - type: list_TeamUser[TeamUser] - -class teamByTeamId(GQLQuery): - """ - teamByTeamId - get a team based on it's team id and organization id - - """ - class TeamArgs(GQLArgsSet, GQLObject): - teamId: int - orgId: int - - _args: TeamArgs - - - type: Team - -class teamsByOrganizationId(GQLQuery): - """ - teamsByOrganizationId - Get the team based on the Organization Id - - """ - class TeamArgs(GQLArgsSet, GQLObject): - orgId: int - - _args: TeamArgs - - - type: list_Team[Team] - -class getTeamBySlugifiedName(GQLQuery): - """ - getTeamBySlugifiedName - Gets teams by slugified key - - """ - class TeamArgs(GQLArgsSet, GQLObject): - slugifiedName: str - - _args: TeamArgs - - - type: Team - -class searchTeams(GQLQuery): - """ - searchTeams - Returns a list of teams - - """ - class TeamArgs(GQLArgsSet, GQLObject): - term: str - limit: int - - _args: TeamArgs - - - type: list_Team[Team] - -class team(GQLQuery): - """ - team - get a team based on its id - - """ - class TeamArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: TeamArgs - - - type: Team - -class teams(GQLQuery): - """ - teams - get list of teams based on OrgId and Slugified name - - """ - class TeamArgs(GQLArgsSet, GQLObject): - where: TeamWhereInput - - _args: TeamArgs - - - type: list_Team[Team] - -class tenant(GQLQuery): - """ - tenant - Get tenant by tenant ID. - - """ - type: Tenant - -class transactions(GQLQuery): - """ - transactions - Get all transactions by the filters in 'where' input.\n\nNote: Pagination using PaginationInput is only partially supported.\nUse PagingArgs in Where input instead, both for pagination and for sorting. - - """ - class TransactionConnectionArgs(GQLArgsSet, GQLObject): - where: TransactionsWhereInput - pagination: PaginationInput - - _args: TransactionConnectionArgs - - - type: TransactionConnection - -class transactionsSummary(GQLQuery): - """ - transactionsSummary - Get details about transactions - - """ - class TransactionsSummaryArgs(GQLArgsSet, GQLObject): - where: TransactionsSummaryWhereInput - - _args: TransactionsSummaryArgs - - - type: TransactionsSummary - -class transformations(GQLQuery): - """ - transformations - Get a list of all the transformations from the API Version - - """ - class TransformationConnectionArgs(GQLArgsSet, GQLObject): - where: TransformationWhereInput - orderBy: TransformationOrderByInput - pagination: PaginationInput - - _args: TransformationConnectionArgs - - - type: TransformationConnection - -class tutorials(GQLQuery): - """ - tutorials - Returns the tutorials for a specified API - - """ - class TutorialConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_TutorialWhereInput - orderBy: TutorialOrderByInput - pagination: PaginationInput - - _args: TutorialConnectionArgs - - - type: TutorialConnection - -class getPhoneNumbers(GQLQuery): - """ - getPhoneNumbers - returns user configures phones for 2fa - - """ - type: list_Phone[Phone] - -class getRecoveryCodes(GQLQuery): - """ - getRecoveryCodes - get Users recovery codes - - """ - type: list_RecoveryCode[RecoveryCode] - -class isTwoFactorEnabledByType(GQLQuery): - """ - isTwoFactorEnabledByType - is 2fa factor configured on a type - - """ - class boolArgs(GQLArgsSet, GQLObject): - type: NonNull_str - - _args: boolArgs - - - type: bool - -class getUsagesAndParentUsageForSubscription(GQLQuery): - """ - getUsagesAndParentUsageForSubscription - Get usage for subscriptions - - """ - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - orderDir: str - periods: list[str] - parentId: int - isInternal: bool - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class getUsagesAgrregatedByTeamsForSubscription(GQLQuery): - """ - getUsagesAgrregatedByTeamsForSubscription - Get usage aggregated by teams using organizationId and apiId - - """ - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - orderDir: str - periods: list[str] - apiVersionId: str - internalData: list[str] - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class getUsagesAndParentUsageForSubscriptionByBuckets(GQLQuery): - """ - getUsagesAndParentUsageForSubscriptionByBuckets - Get usage for subscriptions - - """ - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - periods: list[str] - parentId: int - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class getUsagesAgrregatedByTeamsForSubscriptionByBuckets(GQLQuery): - """ - getUsagesAgrregatedByTeamsForSubscriptionByBuckets - Get usage aggregated by teams using organizationId and apiId - - """ - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - periods: list[str] - apiVersionId: str - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class organizationQuotaUsageByApiIdV2(GQLQuery): - """ - organizationQuotaUsageByApiIdV2 - Returns the usage of an organization's quota by one API - - """ - class OrganizationApiUsagesV2Args(GQLArgsSet, GQLObject): - apiId: ID - apiVersionId: ID - internalData: Any - - _args: OrganizationApiUsagesV2Args - - - type: OrganizationApiUsagesV2 - -class getUserInviteByToken(GQLQuery): - """ - getUserInviteByToken - Get all user invited instances by per organization level token - - """ - class UserInviteArgs(GQLArgsSet, GQLObject): - token: NonNull_str - - _args: UserInviteArgs - - - type: UserInvite - -class checkUserInvitesBranding(GQLQuery): - """ - checkUserInvitesBranding - [will be deprecated; do not use] checks users branding - - """ - class boolArgs(GQLArgsSet, GQLObject): - input: UserInvitesBrandingInput - - _args: boolArgs - - - type: bool - -class checkIfEmailsAlreadyInvited(GQLQuery): - """ - checkIfEmailsAlreadyInvited - check if user is already invite to an organization - - """ - class AnyArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - emails: NonNull_list[str] - - _args: AnyArgs - - - type: Any - -class searchUsersToInvite(GQLQuery): - """ - searchUsersToInvite - Returns a list of users to invite - - """ - class InviteUsersSearchArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - brand: str - term: str - offset: int - limit: int - - _args: InviteUsersSearchArgs - - - type: list_InviteUsersSearch[InviteUsersSearch] - -class getUserSavedApis(GQLQuery): - """ - getUserSavedApis - Gets uses saved APIs - - """ - class UserSavedApiArgs(GQLArgsSet, GQLObject): - userCollectionId: str - - _args: UserSavedApiArgs - - - type: list_UserSavedApi[UserSavedApi] - -class userById(GQLQuery): - """ - userById - Get user by ID - - """ - class UserArgs(GQLArgsSet, GQLObject): - id: int - - _args: UserArgs - - - type: User - -class userByUsername(GQLQuery): - """ - userByUsername - Get user by username - - """ - class UserArgs(GQLArgsSet, GQLObject): - username: str - includeUserAttributes: bool - - _args: UserArgs - - - type: User - -class getPrivateApisJwt(GQLQuery): - """ - getPrivateApisJwt - returns API caller private APIs id list encoded in a JWT - - """ - type: str - -class searchUsers(GQLQuery): - """ - searchUsers - Returns a list of users - - """ - class UserArgs(GQLArgsSet, GQLObject): - brand: str - term: str - offset: int - limit: int - - _args: UserArgs - - - type: list_User[User] - -class searchUsersV2(GQLQuery): - """ - searchUsersV2 - Returns a list of users - - """ - class UserArgs(GQLArgsSet, GQLObject): - where: NonNull_SearchUsersWhereInput - - _args: UserArgs - - - type: list_User[User] - -class user(GQLQuery): - """ - user - Get details about a user - - """ - class UserArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: UserArgs - - - type: User - -class users(GQLQuery): - """ - users - Get users by any attribute type - - """ - class UserArgs(GQLArgsSet, GQLObject): - where: NonNull_UserWhereInput - - _args: UserArgs - - - type: list_User[User] - -class getVirtualPermissions(GQLQuery): - """ - getVirtualPermissions - Get full permission list associate to a permission - - """ - class PermissionArgs(GQLArgsSet, GQLObject): - permissionLevel: list[RoleLevel] - - _args: PermissionArgs - - - type: list_Permission[Permission] - -class virtualPermissions(GQLQuery): - """ - virtualPermissions - Query by ID or display name to get back a virtual permission - - """ - class VirtualPermissionArgs(GQLArgsSet, GQLObject): - where: NonNull_VirtualPermissionWhereInput - - _args: VirtualPermissionArgs - - - type: list_VirtualPermission[VirtualPermission] - -class getWorkflowsForProvider(GQLQuery): - """ - getWorkflowsForProvider - Get the approval list requested to the the API caller that is a provider - - """ - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class getWorkflowsForDeveloper(GQLQuery): - """ - getWorkflowsForDeveloper - Get the approval list requested by the API caller - - """ - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class getWorkflowsByRequestor(GQLQuery): - """ - getWorkflowsByRequestor - Get the approval list requested to the the API caller - - """ - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class getWorkflowsByRequestee(GQLQuery): - """ - getWorkflowsByRequestee - Get the approval list requested by the API caller - - """ - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class canWorkflowBeSubmitted(GQLQuery): - """ - canWorkflowBeSubmitted - Determine if a workflow can be submitted - - """ - class boolArgs(GQLArgsSet, GQLObject): - options: CanWorkflowBeSubmittedOptions - - _args: boolArgs - - - type: bool - -class getWorkflowAudits(GQLQuery): - """ - getWorkflowAudits - Get workflows operations audits - - """ - class WorkFlowAuditsResponseArgs(GQLArgsSet, GQLObject): - workflowId: int - - _args: WorkFlowAuditsResponseArgs - - - type: WorkFlowAuditsResponse - -class getWorkflowsCount(GQLQuery): - """ - getWorkflowsCount - get approval list count - - """ - class intArgs(GQLArgsSet, GQLObject): - options: GetWorkflowCountOptions - - _args: intArgs - - - type: int - -class exclusions(GQLQuery): - """ - exclusions - Returns exclusions for Hub Extensions - - """ - class ExclusionArgs(GQLArgsSet, GQLObject): - client: str - page: str - - _args: ExclusionArgs - - - type: list_Exclusion[Exclusion] - - -class Queries(Enum): - ping = ping - eventUrls = eventUrls - eventUrl = eventUrl - eventTypes = eventTypes - eventConfig = eventConfig - gatewayInstances = gatewayInstances - gatewayInstance = gatewayInstance - gatewayTemplates = gatewayTemplates - gatewayTemplate = gatewayTemplate - gatewayTemplatesParams = gatewayTemplatesParams - gatewayTemplateParam = gatewayTemplateParam - envConfigCategories = envConfigCategories - envConfig = envConfig - envConfigs = envConfigs - adminAuditLogs = adminAuditLogs - eventLogs = eventLogs - extensions = extensions - getSEOTagsByURL = getSEOTagsByURL - getUserAlertById = getUserAlertById - getUserAlertsByScope = getUserAlertsByScope - getAlertsDefinitions = getAlertsDefinitions - userAlerts = userAlerts - userAlert = userAlert - allowedPlanDeveloperByPlanId = allowedPlanDeveloperByPlanId - apiTrafficAnalytics = apiTrafficAnalytics - apiCertificate = apiCertificate - apiCertificates = apiCertificates - apiDevelopersByApiId = apiDevelopersByApiId - apiFollowers = apiFollowers - apiReferenceByApiAndVersionId = apiReferenceByApiAndVersionId - apiReferences = apiReferences - apiSearch = apiSearch - apiSearchV3 = apiSearchV3 - apiSpecImportProgresses = apiSpecImportProgresses - bulkApisSummaryByTrackingIds = bulkApisSummaryByTrackingIds - calculatedStatistics = calculatedStatistics - getApiVersion = getApiVersion - apiVersion = apiVersion - apiVersions = apiVersions - api = api - apis = apis - exportOpenApi = exportOpenApi - validateSwagger = validateSwagger - applicationAuthorization = applicationAuthorization - applicationAuthorizations = applicationAuthorizations - applicationEnvironmentsKeysByApplicationIdAndEnvironment = applicationEnvironmentsKeysByApplicationIdAndEnvironment - applicationEnvironmentsByApplicationIdAndEnvironment = applicationEnvironmentsByApplicationIdAndEnvironment - applicationById = applicationById - asset = asset - assets = assets - assetsDownloadUrls = assetsDownloadUrls - asyncApiConfigurations = asyncApiConfigurations - userAttributesByUserId = userAttributesByUserId - auditByOrganizationId = auditByOrganizationId - audit = audit - auditLogin = auditLogin - userByEmail = userByEmail - activeUser = activeUser - getAuthStrategies = getAuthStrategies - getBillingFeaturesByApiVersionId = getBillingFeaturesByApiVersionId - getBillingFeaturesByApiId = getBillingFeaturesByApiId - isMonetizationEnabled = isMonetizationEnabled - billingItems = billingItems - getFreeSeatsObj = getFreeSeatsObj - getBillingPlanVersionsByApiId = getBillingPlanVersionsByApiId - getBillingPlanVersionById = getBillingPlanVersionById - billingPlanVersion = billingPlanVersion - billingPlanVersions = billingPlanVersions - calculatedStatisticsByEndpointAndApiversion = calculatedStatisticsByEndpointAndApiversion - categoriesV2 = categoriesV2 - categoryEntities = categoryEntities - categories = categories - collectionsItemsByIds = collectionsItemsByIds - collections = collections - collectionsByOwnerId = collectionsByOwnerId - getOrgHomepageCollections = getOrgHomepageCollections - collectionById = collectionById - collection = collection - collapsedCollections = collapsedCollections - collectionBySlugifiedKey = collectionBySlugifiedKey - getPrivateCollections = getPrivateCollections - getPrivateCollectionsV2 = getPrivateCollectionsV2 - collectionBySlugifiedKeyV2 = collectionBySlugifiedKeyV2 - collectionBySlugifiedKeyV3 = collectionBySlugifiedKeyV3 - getCommentsByIssueIdV2 = getCommentsByIssueIdV2 - getCommentByIdV2 = getCommentByIdV2 - search = search - searchEntityByApiId = searchEntityByApiId - getOpenApiSpecByApiId = getOpenApiSpecByApiId - entityById = entityById - activeEntity = activeEntity - apiByNameAndOwnerName = apiByNameAndOwnerName - apiBySlugifiedNameAndOwnerName = apiBySlugifiedNameAndOwnerName - apiByNameAndOwnerId = apiByNameAndOwnerId - userFollows = userFollows - apiById = apiById - apisById = apisById - followUserAction = followUserAction - userFollowers = userFollowers - calculateSeatsPrice = calculateSeatsPrice - getSeatsTransactionsByOrgId = getSeatsTransactionsByOrgId - organizationsTreeToken = organizationsTreeToken - getMinimumSeats = getMinimumSeats - transactionsById = transactionsById - unionDiscussionsByAuthor = unionDiscussionsByAuthor - getActiveUserContext = getActiveUserContext - getActiveTeamContext = getActiveTeamContext - transactionsAnalyticsByApiId = transactionsAnalyticsByApiId - getConsumers = getConsumers - getFreeConsumers = getFreeConsumers - consumers = consumers - requestAdminToSubscribeToAnAPI = requestAdminToSubscribeToAnAPI - getCountryMetadata = getCountryMetadata - unionIssuesByAuthorV2 = unionIssuesByAuthorV2 - getIssuesByApiIdV2 = getIssuesByApiIdV2 - getIssuesByApiIdsV2 = getIssuesByApiIdsV2 - endpointStats = endpointStats - endpointStatsByEntity = endpointStatsByEntity - endpointStatsByEntityV2 = endpointStatsByEntityV2 - getEndpointsWithinDateByParameters = getEndpointsWithinDateByParameters - endpoint = endpoint - endpoints = endpoints - searchEntities = searchEntities - entitiesMetadata = entitiesMetadata - getEntitiesRoles = getEntitiesRoles - entitiesRoles = entitiesRoles - getLogsCSV = getLogsCSV - exportLogsCSVProvider = exportLogsCSVProvider - exportLogsCSVDeveloper = exportLogsCSVDeveloper - gateways = gateways - getGateways = getGateways - getGatewayConfiguration = getGatewayConfiguration - graphQlIntrospectionSchema = graphQlIntrospectionSchema - headlinesByApiNameAndOwnerId = headlinesByApiNameAndOwnerId - getIssuesByOrganizatonId = getIssuesByOrganizatonId - getResponseTimeByProviderId = getResponseTimeByProviderId - getAverageResponseTime = getAverageResponseTime - unionIssuesByAuthor = unionIssuesByAuthor - getIssueByIdV2 = getIssueByIdV2 - getIssuesByOrganizationId = getIssuesByOrganizationId - getIssuesByTeamIdV2 = getIssuesByTeamIdV2 - getIssuesFollowsByUserIdV2 = getIssuesFollowsByUserIdV2 - kafkaConfiguration = kafkaConfiguration - kafkaTopics = kafkaTopics - kafkaSchemas = kafkaSchemas - kafkaTopicMetadata = kafkaTopicMetadata - getTemplate = getTemplate - getLegalAgreementInfo = getLegalAgreementInfo - updateLegalAgreementInfo = updateLegalAgreementInfo - createLegalAgreementInfo = createLegalAgreementInfo - deleteLegalAgreementInfo = deleteLegalAgreementInfo - getLegalAgreementSigningURL = getLegalAgreementSigningURL - logPayloadByRequestId = logPayloadByRequestId - logPayloadByRequestIdWithLoggingRestrictions = logPayloadByRequestIdWithLoggingRestrictions - developerLogPayloadByRequestIdWithLoggingRestrictions = developerLogPayloadByRequestIdWithLoggingRestrictions - messageThreads = messageThreads - messages = messages - getApiAverageResponseTime = getApiAverageResponseTime - getProviderAverageResponseTime = getProviderAverageResponseTime - getRelativeAverageResponseTime = getRelativeAverageResponseTime - getMessageThread = getMessageThread - newNotificationsByUserId = newNotificationsByUserId - notificationsByUserId = notificationsByUserId - organization = organization - organizations = organizations - getOrganizations = getOrganizations - getOrganizationBySlugifiedName = getOrganizationBySlugifiedName - getOrganizationById = getOrganizationById - getEmailDomainAndCheckIfIgnored = getEmailDomainAndCheckIfIgnored - getOrganizationsWithTheSameEmail = getOrganizationsWithTheSameEmail - searchOrganizations = searchOrganizations - validateResetPasswordToken = validateResetPasswordToken - getProjectAllowedAPIs = getProjectAllowedAPIs - requestLogsByEntity = requestLogsByEntity - getAccessControlRoles = getAccessControlRoles - getRoles = getRoles - roles = roles - searchApis = searchApis - searchBlogPosts = searchBlogPosts - searchCollections = searchCollections - spotlights = spotlights - searchSubscribedEntityByApiIdAndAppName = searchSubscribedEntityByApiIdAndAppName - activeSubscriptionsCount = activeSubscriptionsCount - getInternalSubscriptions = getInternalSubscriptions - searchSubscribedEntityByApiId = searchSubscribedEntityByApiId - getSubscriptions = getSubscriptions - getOrganizationSubscriptions = getOrganizationSubscriptions - subscriptions = subscriptions - subscription = subscription - subscriptionsCount = subscriptionsCount - getTagsList = getTagsList - tagDefinitions = tagDefinitions - paginatedTeamUsersByOrganizationId = paginatedTeamUsersByOrganizationId - paginatedTeamUsersByOrganizationIdV2 = paginatedTeamUsersByOrganizationIdV2 - teamUserByEmailAndOrgId = teamUserByEmailAndOrgId - teamUser = teamUser - findUsersInOrganization = findUsersInOrganization - teamByTeamId = teamByTeamId - teamsByOrganizationId = teamsByOrganizationId - getTeamBySlugifiedName = getTeamBySlugifiedName - searchTeams = searchTeams - team = team - teams = teams - tenant = tenant - transactions = transactions - transactionsSummary = transactionsSummary - transformations = transformations - tutorials = tutorials - getPhoneNumbers = getPhoneNumbers - getRecoveryCodes = getRecoveryCodes - isTwoFactorEnabledByType = isTwoFactorEnabledByType - getUsagesAndParentUsageForSubscription = getUsagesAndParentUsageForSubscription - getUsagesAgrregatedByTeamsForSubscription = getUsagesAgrregatedByTeamsForSubscription - getUsagesAndParentUsageForSubscriptionByBuckets = getUsagesAndParentUsageForSubscriptionByBuckets - getUsagesAgrregatedByTeamsForSubscriptionByBuckets = getUsagesAgrregatedByTeamsForSubscriptionByBuckets - organizationQuotaUsageByApiIdV2 = organizationQuotaUsageByApiIdV2 - getUserInviteByToken = getUserInviteByToken - checkUserInvitesBranding = checkUserInvitesBranding - checkIfEmailsAlreadyInvited = checkIfEmailsAlreadyInvited - searchUsersToInvite = searchUsersToInvite - getUserSavedApis = getUserSavedApis - userById = userById - userByUsername = userByUsername - getPrivateApisJwt = getPrivateApisJwt - searchUsers = searchUsers - searchUsersV2 = searchUsersV2 - user = user - users = users - getVirtualPermissions = getVirtualPermissions - virtualPermissions = virtualPermissions - getWorkflowsForProvider = getWorkflowsForProvider - getWorkflowsForDeveloper = getWorkflowsForDeveloper - getWorkflowsByRequestor = getWorkflowsByRequestor - getWorkflowsByRequestee = getWorkflowsByRequestee - canWorkflowBeSubmitted = canWorkflowBeSubmitted - getWorkflowAudits = getWorkflowAudits - getWorkflowsCount = getWorkflowsCount - exclusions = exclusions diff --git a/tests/output/rapidapi/scalars.py b/tests/output/rapidapi/scalars.py deleted file mode 100644 index 7622db2..0000000 --- a/tests/output/rapidapi/scalars.py +++ /dev/null @@ -1,21 +0,0 @@ -from pygqlmap.gql_types import * - -String = str ##The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. - -Boolean = bool ##The `Boolean` scalar type represents `true` or `false`. - -ID = ID ##The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. - -Int = int ##The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. - -DateTime = str ##Our custom date scalar - -Float = float ##The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). - -Any = str ##Dynamic type, returns a value as is. - -Upload = str ##The `Upload` scalar type represents a file upload. - -JSONObject = str ##The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). - -name = str diff --git a/tests/output/rapidapi/type_refs.py b/tests/output/rapidapi/type_refs.py deleted file mode 100644 index d53cda5..0000000 --- a/tests/output/rapidapi/type_refs.py +++ /dev/null @@ -1,4 +0,0 @@ -from typing import TypeVar, List -from pygqlmap.components import GQLObject -from pygqlmap.gql_types import ID - diff --git a/tests/output/rapidapi_nodesc/enums.py b/tests/output/rapidapi_nodesc/enums.py deleted file mode 100644 index add700a..0000000 --- a/tests/output/rapidapi_nodesc/enums.py +++ /dev/null @@ -1,689 +0,0 @@ -from enum import Enum - -class EnvConfigType(Enum): - DEFAULT = None - number = 'number' - string = 'string' - boolean = 'boolean' - object = 'object' - -class Brand(Enum): - DEFAULT = None - default = 'default' - rakuten = 'rakuten' - rapidapi = 'rapidapi' - -class EventUrlSortables(Enum): - DEFAULT = None - ID = 'ID' - URL = 'URL' - -class Order(Enum): - DEFAULT = None - DESC = 'DESC' ##Descending - ASC = 'ASC' ##Ascending - -class GatewayInstanceSorting(Enum): - DEFAULT = None - ID = 'ID' - DNS = 'DNS' - TYPE = 'TYPE' - DEPLOYMENT_KEY = 'DEPLOYMENT_KEY' - SERVICE_STATUS = 'SERVICE_STATUS' - STATUS = 'STATUS' - -class GatewayTemplateSorting(Enum): - DEFAULT = None - ID = 'ID' - NAME = 'NAME' - DESCRIPTION = 'DESCRIPTION' - URL_PATTERN = 'URL_PATTERN' - -class GatewayTemplateParamsSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - CODE_TEMPLATE_ID = 'CODE_TEMPLATE_ID' - PARAM_NAME = 'PARAM_NAME' - PARAM_VALUE = 'PARAM_VALUE' - PARAM_DESCRIPTION = 'PARAM_DESCRIPTION' - STATUS = 'STATUS' - -class AdminAuditLogSortables(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' - -class EventLogSortables(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' - -class GatewayType(Enum): - DEFAULT = None - RapidAPI = 'RapidAPI' - rapidapi = 'rapidapi' - Apigee = 'Apigee' - Kong = 'Kong' - WSO2 = 'WSO2' - Azure = 'Azure' - AWS = 'AWS' - -class MessageKey(Enum): - DEFAULT = None - MISSING_KEY = 'MISSING_KEY' - BLOCKED_USER = 'BLOCKED_USER' - DISABLED_ENDPOINT = 'DISABLED_ENDPOINT' - MISSING_REQUIRED_PARAM = 'MISSING_REQUIRED_PARAM' - UNKNOWN_PARAMS = 'UNKNOWN_PARAMS' - APP_LIMIT_API_ERROR = 'APP_LIMIT_API_ERROR' - API_GATEWAY_ERROR = 'API_GATEWAY_ERROR' - QUOTA_THROTTLED = 'QUOTA_THROTTLED' - QUOTA_REACHED = 'QUOTA_REACHED' - INVALID_KET = 'INVALID_KET' - API_MISSING = 'API_MISSING' - NOT_SUBSCRIBED = 'NOT_SUBSCRIBED' - RATE_LIMIT = 'RATE_LIMIT' - GENERIC_ERROR = 'GENERIC_ERROR' - -class AlertStatus(Enum): - DEFAULT = None - Enabled = 'Enabled' - Disabled = 'Disabled' - -class Channel(Enum): - DEFAULT = None - Email = 'Email' - SMS = 'SMS' - -class Condition(Enum): - DEFAULT = None - gt = 'gt' - gte = 'gte' - lt = 'lt' - lte = 'lte' - eq = 'eq' - -class time(Enum): - DEFAULT = None - second = 'second' - minute = 'minute' - hour = 'hour' - day = 'day' - -class AnalyticsStatsGroupBy(Enum): - DEFAULT = None - API = 'API' - ENDPOINT = 'ENDPOINT' - ENDPOINT_HASH = 'ENDPOINT_HASH' - APP = 'APP' - API_VERSION = 'API_VERSION' - -class AnalyticsResolution(Enum): - DEFAULT = None - SECONDS = 'SECONDS' - MINUTES = 'MINUTES' - HOURS = 'HOURS' - DAYS = 'DAYS' - MONTHS = 'MONTHS' - YEARS = 'YEARS' - -class ApiCertificatePublicKeySignatureAlgorithm(Enum): - DEFAULT = None - RSA_ENCRYPTION = 'RSA_ENCRYPTION' - -class ApiCertificateSortingFieldName(Enum): - DEFAULT = None - CREATED_AT = 'CREATED_AT' - -class ApiDeveloperStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class ApiFollowerSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - FOLLOWER_ID = 'FOLLOWER_ID' - API_ID = 'API_ID' - CREATED_AT = 'CREATED_AT' - -class ApiSpecType(Enum): - DEFAULT = None - OPENAPI = 'OPENAPI' - WSDL = 'WSDL' - POSTMAN_COLLECTION = 'POSTMAN_COLLECTION' - OAS = 'OAS' - -class ApiSpecImportWarningType(Enum): - DEFAULT = None - PROP_NOT_ALLOWED = 'PROP_NOT_ALLOWED' - MIN_NUMBER_VALUE_EXCEEDED = 'MIN_NUMBER_VALUE_EXCEEDED' - MIN_EXCLUSIVE_NUMBER_VALUE_EXCEEDED = 'MIN_EXCLUSIVE_NUMBER_VALUE_EXCEEDED' - MIN_OBJECT_PROP_COUNT_EXCEEDED = 'MIN_OBJECT_PROP_COUNT_EXCEEDED' - MAX_OBJECT_PROP_COUNT_EXCEEDED = 'MAX_OBJECT_PROP_COUNT_EXCEEDED' - MIN_ARRAY_ITEM_COUNT_EXCEEDED = 'MIN_ARRAY_ITEM_COUNT_EXCEEDED' - FORMAT_MISMATCH = 'FORMAT_MISMATCH' - ARRAY_DUPLICATE_ITEMS_NOT_ALLOWED = 'ARRAY_DUPLICATE_ITEMS_NOT_ALLOWED' - HAS_DUPLICATE_ENDPOINTS = 'HAS_DUPLICATE_ENDPOINTS' - UNKNOWN = 'UNKNOWN' - -class ApiSpecImportProcessIssueSeverity(Enum): - DEFAULT = None - WARNING = 'WARNING' - ERROR = 'ERROR' - -class StatsGroupBy(Enum): - DEFAULT = None - api = 'api' - project = 'project' - date = 'date' - -class SpecFormat(Enum): - DEFAULT = None - WSDL = 'WSDL' - XML = 'XML' - JSON = 'JSON' - YAML = 'YAML' - -class SpecType(Enum): - DEFAULT = None - OAS = 'OAS' - WSDL = 'WSDL' - POSTMAN_COLLECTION = 'POSTMAN_COLLECTION' - -class VersionStatus(Enum): - DEFAULT = None - DRAFT = 'DRAFT' - ACTIVE = 'ACTIVE' - DEPRECATED = 'DEPRECATED' - -class apiSubTypeEnum(Enum): - DEFAULT = None - rest = 'rest' - graphql = 'graphql' - kafka = 'kafka' - soap = 'soap' - async_ = 'async' - oas = 'oas' - -class ApiVersionType(Enum): - DEFAULT = None - rest = 'rest' - graphql = 'graphql' - kafka = 'kafka' - soap = 'soap' - async_ = 'async' - oas = 'oas' - -class ApiStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class ApiPricing(Enum): - DEFAULT = None - FREE = 'FREE' - PAID = 'PAID' - FREEMIUM = 'FREEMIUM' - -class ApiType(Enum): - DEFAULT = None - http = 'http' - kafka = 'kafka' - async_ = 'async' - oas = 'oas' - -class SchemaValidationUnknownAttributePolicy(Enum): - DEFAULT = None - BLOCK = 'BLOCK' - STRIP = 'STRIP' - PASSTHROUGH = 'PASSTHROUGH' - -class ApiImportFileFormat(Enum): - DEFAULT = None - openapi = 'openapi' - postman_collection = 'postman_collection' - -class ApiSortingFieldName(Enum): - DEFAULT = None - NAME = 'NAME' - VISIBILITY = 'VISIBILITY' - CREATED_AT = 'CREATED_AT' - UPDATED_AT = 'UPDATED_AT' - -class ApiVisibility(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' - PRIVATE = 'PRIVATE' - -class GqlSchemaSourceType(Enum): - DEFAULT = None - introspection = 'introspection' ##make an introspection call to the api server to get the schema definition - SDL = 'SDL' ##schema definition language - schemaAST = 'schemaAST' ##AST representation of the schema - -class AppAuthorizationType(Enum): - DEFAULT = None - RAPIDAPI = 'RAPIDAPI' - OAUTH2 = 'OAUTH2' - HEADER = 'HEADER' - BASIC = 'BASIC' - BEARER = 'BEARER' - -class AuthorizationGrantType(Enum): - DEFAULT = None - CLIENT_CREDENTIALS = 'CLIENT_CREDENTIALS' - AUTHORIZATION_CODE = 'AUTHORIZATION_CODE' - PASSWORD = 'PASSWORD' - JWT = 'JWT' - -class AppAuthorizationStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class AuthorizationType(Enum): - DEFAULT = None - RAPIDAPI = 'RAPIDAPI' - OAUTH2 = 'OAUTH2' - -class EnvironmentName(Enum): - DEFAULT = None - Testing = 'Testing' - Production = 'Production' - -class SecurityType(Enum): - DEFAULT = None - HTTP = 'HTTP' - API_KEY = 'API_KEY' - OAUTH2 = 'OAUTH2' - -class SecurityRequirementAuthScope(Enum): - DEFAULT = None - API_VERSION = 'API_VERSION' - ENDPOINT = 'ENDPOINT' - -class CodeChallengeMethod(Enum): - DEFAULT = None - S256 = 'S256' - Plain = 'Plain' - -class AuthenticationType(Enum): - DEFAULT = None - NO_AUTH = 'NO_AUTH' - RAPID = 'RAPID' - BASIC = 'BASIC' - BEARER = 'BEARER' - HEADER = 'HEADER' - QUERY = 'QUERY' - OAUTH2 = 'OAUTH2' - -class GrantType(Enum): - DEFAULT = None - CLIENT_CREDENTIALS = 'CLIENT_CREDENTIALS' - AUTHORIZATION_CODE = 'AUTHORIZATION_CODE' - PASSWORD = 'PASSWORD' - -class SeparatorType(Enum): - DEFAULT = None - SPACE = 'SPACE' - COMMA = 'COMMA' - -class ClientAuthenticationType(Enum): - DEFAULT = None - HEADER = 'HEADER' - BODY = 'BODY' - -class BillingFeatureStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class BillingPlanType(Enum): - DEFAULT = None - MONTHLY = 'MONTHLY' - PERUSE = 'PERUSE' - -class CategoryLanguage(Enum): - DEFAULT = None - EN_US = 'EN_US' - FR_FR = 'FR_FR' - ES_ES = 'ES_ES' - DE_DE = 'DE_DE' - IT_IT = 'IT_IT' - JA_JP = 'JA_JP' - KO_KR = 'KO_KR' - RU_RU = 'RU_RU' - HI_IN = 'HI_IN' - HE_IL = 'HE_IL' - NL_NL = 'NL_NL' - TR_TR = 'TR_TR' - UK_UA = 'UK_UA' - ZH_CN = 'ZH_CN' - PT_BR = 'PT_BR' - -class CategorySortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - NAME = 'NAME' - WEIGHT = 'WEIGHT' - CREATED_AT = 'CREATED_AT' - UPDATED_AT = 'UPDATED_AT' - -class OrderDirection(Enum): - DEFAULT = None - desc = 'desc' - asc = 'asc' - DESC = 'DESC' - ASC = 'ASC' - -class HttpMethod(Enum): - DEFAULT = None - GET = 'GET' - POST = 'POST' - PUT = 'PUT' - DELETE = 'DELETE' - PATCH = 'PATCH' - HEAD = 'HEAD' - -class Resolution(Enum): - DEFAULT = None - seconds = 'seconds' - minutes = 'minutes' - hours = 'hours' - days = 'days' - months = 'months' - years = 'years' - -class TransactionPaymentStatus(Enum): - DEFAULT = None - paid = 'paid' - partially_refunded = 'partially_refunded' - refunded = 'refunded' - declined = 'declined' - pending = 'pending' - -class Locale(Enum): - DEFAULT = None - EN = 'EN' - FR = 'FR' - ES = 'ES' - DE = 'DE' - IT = 'IT' - JA = 'JA' - KO = 'KO' - RU = 'RU' - HI = 'HI' - NL = 'NL' - TR = 'TR' - UK = 'UK' - ZH = 'ZH' - PT = 'PT' - HE = 'HE' - -class Visibility(Enum): - DEFAULT = None - PUBLIC = 'PUBLIC' - PRIVATE = 'PRIVATE' - -class DeletionStatus(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class SortingFieldOrder(Enum): - DEFAULT = None - ASC = 'ASC' - DESC = 'DESC' - -class ConsumersType(Enum): - DEFAULT = None - ALL = 'ALL' - FREE = 'FREE' - PAID = 'PAID' - -class ApiEndpointHttpMethod(Enum): - DEFAULT = None - GET = 'GET' - POST = 'POST' - PUT = 'PUT' - PATCH = 'PATCH' - DELETE = 'DELETE' - -class EntityType(Enum): - DEFAULT = None - Organization = 'Organization' - Team = 'Team' - User = 'User' - -class EntityMetadataSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - ENTITY_ID = 'ENTITY_ID' - ATTRIBUTE_NAME = 'ATTRIBUTE_NAME' - ATTRIBUTE_VALUE = 'ATTRIBUTE_VALUE' - -class EntityRoleSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - -class GRAPH_QL_SCHEMA_STATUS(Enum): - DEFAULT = None - ACTIVE = 'ACTIVE' - DELETED = 'DELETED' - -class SchemaType(Enum): - DEFAULT = None - AVRO = 'AVRO' - PROTOBUF = 'PROTOBUF' - JSON = 'JSON' - -class Compression(Enum): - DEFAULT = None - gzip = 'gzip' - snappy = 'snappy' - lz4 = 'lz4' - zstd = 'zstd' - -class MessageType(Enum): - DEFAULT = None - support = 'support' - announcement = 'announcement' - -class EntityStatusFlag(Enum): - DEFAULT = None - none = 'none' - read = 'read' - archived = 'archived' - starred = 'starred' - -class UnsubscribeReasons(Enum): - DEFAULT = None - SWITCH_PLAN = 'SWITCH_PLAN' - TEMPORARY_USE = 'TEMPORARY_USE' - BAD_FEATURES = 'BAD_FEATURES' - BUGS = 'BUGS' - ALTERNATIVE_API = 'ALTERNATIVE_API' - EXPENSIVE = 'EXPENSIVE' - OTHER = 'OTHER' - -class RapidReasonsEvents(Enum): - DEFAULT = None - UNSUBSCRIBE = 'UNSUBSCRIBE' - -class RequestLogsOrderBy(Enum): - DEFAULT = None - requestId = 'requestId' - projectId = 'projectId' - api = 'api' - apiId = 'apiId' - endpoint = 'endpoint' - httpMethod = 'httpMethod' - period = 'period' - apiLatency = 'apiLatency' - callTime = 'callTime' - originIp = 'originIp' - originCountry = 'originCountry' - engineError = 'engineError' - httpStatus = 'httpStatus' - reqHeadersSize = 'reqHeadersSize' - resHeadersSize = 'resHeadersSize' - reqBodySize = 'reqBodySize' - resBodySize = 'resBodySize' - -class RoleLevel(Enum): - DEFAULT = None - ORGANIZATION = 'ORGANIZATION' - USER_ENVIRONMENT = 'USER_ENVIRONMENT' - USER_ORGANIZATION = 'USER_ORGANIZATION' - USER_TEAM = 'USER_TEAM' - TEAM_ENVIRONMENT = 'TEAM_ENVIRONMENT' - -class RoleSortingFieldName(Enum): - DEFAULT = None - NAME = 'NAME' - -class SearchApiSortingFieldName(Enum): - DEFAULT = None - ByRelevance = 'ByRelevance' - ByAlphabetical = 'ByAlphabetical' - ByUpdatedAt = 'ByUpdatedAt' - installsAllTime = 'installsAllTime' - -class SearchCollectionSortingFieldName(Enum): - DEFAULT = None - id = 'id' - title = 'title' - slugifiedKey = 'slugifiedKey' - weight = 'weight' - thumbnail = 'thumbnail' - shortDescription = 'shortDescription' - type = 'type' - -class SecretParameterPlacement(Enum): - DEFAULT = None - QUERY = 'QUERY' - HEADER = 'HEADER' - -class SpotlightType(Enum): - DEFAULT = None - link = 'link' - link_pdf = 'link_pdf' - file_pdf = 'file_pdf' - -class SpotlightFieldName(Enum): - DEFAULT = None - id = 'id' - type = 'type' - apiId = 'apiId' - spotlightURL = 'spotlightURL' - status = 'status' - slugifiedName = 'slugifiedName' - thumbnailURL = 'thumbnailURL' - title = 'title' - description = 'description' - weight = 'weight' - published = 'published' - updatedAt = 'updatedAt' - createdAt = 'createdAt' - -class Period(Enum): - DEFAULT = None - day = 'day' - month = 'month' - -class BillingSubscriptionType(Enum): - DEFAULT = None - API = 'API' - SEATS = 'SEATS' - TENANT = 'TENANT' - -class LoadBalancingStrategy(Enum): - DEFAULT = None - RANDOM = 'RANDOM' - GEO_IP = 'GEO_IP' - -class TransformationConditionType(Enum): - DEFAULT = None - IGNORE = 'IGNORE' - OVERWRITE = 'OVERWRITE' - -class TransformationActionType(Enum): - DEFAULT = None - ADD = 'ADD' - REMOVE = 'REMOVE' - REMAP = 'REMAP' - METHOD = 'METHOD' - PATH = 'PATH' - BASE_URL = 'BASE_URL' - -class TransformationValueType(Enum): - DEFAULT = None - VARIABLE = 'VARIABLE' - STATIC = 'STATIC' - TEMPLATE = 'TEMPLATE' - -class TransformationMethodType(Enum): - DEFAULT = None - POST = 'POST' - GET = 'GET' - PUT = 'PUT' - DELETE = 'DELETE' - PATCH = 'PATCH' - -class TransformationType(Enum): - DEFAULT = None - REQUEST = 'REQUEST' - RESPONSE = 'RESPONSE' - -class TransformationSortingFieldName(Enum): - DEFAULT = None - ID = 'ID' - CREATED_AT = 'CREATED_AT' - UPDATED_AT = 'UPDATED_AT' - -class TutorialType(Enum): - DEFAULT = None - API_TUTORIAL = 'API_TUTORIAL' - -class TutorialFieldName(Enum): - DEFAULT = None - id = 'id' - slugifiedName = 'slugifiedName' - apiId = 'apiId' - apiVersion = 'apiVersion' - authorId = 'authorId' - published = 'published' - title = 'title' - content = 'content' - thumbnailURL = 'thumbnailURL' - publishedDate = 'publishedDate' - readTime = 'readTime' - type = 'type' - createdAt = 'createdAt' - updatedAt = 'updatedAt' - -class UsageResolution(Enum): - DEFAULT = None - seconds = 'seconds' - minutes = 'minutes' - hours = 'hours' - days = 'days' - months = 'months' - years = 'years' - -class WorkflowStatus(Enum): - DEFAULT = None - OPEN = 'OPEN' - APPROVED = 'APPROVED' - REJECTED = 'REJECTED' - -class WorkflowTopic(Enum): - DEFAULT = None - PublishAPI = 'PublishAPI' - RequestAccessPlan = 'RequestAccessPlan' - SignupRequestApproval = 'SignupRequestApproval' - JoinOrganization = 'JoinOrganization' - RequestApplicationAuthorization = 'RequestApplicationAuthorization' - -class SignupApprovalWorkflowTopic(Enum): - DEFAULT = None - SignupRequestApproval = 'SignupRequestApproval' diff --git a/tests/output/rapidapi_nodesc/gql_simple_types.py b/tests/output/rapidapi_nodesc/gql_simple_types.py deleted file mode 100644 index 6d7f356..0000000 --- a/tests/output/rapidapi_nodesc/gql_simple_types.py +++ /dev/null @@ -1,1290 +0,0 @@ -from typing import Generic, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from .enums import * -from .scalars import * -from .type_refs import * - -class EPSBN_name_Field(ArguedStr): - class strArgs(GQLArgsSet, GQLObject): - showDeleted: bool - - _args: strArgs - - - -class Exclusion(GQLObject): - topic: str - -class UpdateWorkflowsInput(GQLObject): - workflowIds: list[int] - status: DeletionStatus - workflowStatus: WorkflowStatus - additionalData: Any - componentId: str - subComponentId: str - topic: str - -class CreateWorkflowInput(GQLObject): - componentId: str - subComponentId: str - componentDisplayName: str - topic: WorkflowTopic - workflowStatus: WorkflowStatus - additionalData: Any - -class WorkflowAudit(GQLObject): - elasticSearchId: ID - id: int - topic: str - requestorId: int - requestorEmail: str - requestorDisplayName: str - requesteeEmail: str - requesteeDisplayName: str - requestorContextDisplayName: str - requesteeContextDisplayName: str - requesteeId: int - componentId: str - subComponentId: str - additionalData: Any - workflowStatus: WorkflowStatus - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - componentDisplayName: str - -class VirtualPermissionWhereInput(GQLObject): - permissionLevel: list[RoleLevel] - -class RolePermission(GQLObject): - granted: bool - readOnly: bool - -class UserUpdateInput(GQLObject): - id: str - currentPassword: str - newPassword: str - name: str - company: str - position: str - location: str - bio: str - imageFile: str - email: str - status: str - -class UserPasswordInput(GQLObject): - currentPassword: str - newPassword: str - -class UserEnrichment(GQLObject): - name: str - bio: str - company: str - position: str - location: str - thumbnail: str - socialLinks: list[Any] - -class UpdateUserResult(GQLObject): - status: str - -class SaveUserApi(GQLObject): - id: ID - apiId: str - status: int - -class UserInvitesDeleteInput(GQLObject): - emails: list[str] - orgId: int - -class UserInvitesCreateInput(GQLObject): - email: str - teamIds: list[int] - organizationId: int - role: str - id: int - inviterId: int - -class UserInvite(GQLObject): - id: ID - token: str - email: str - teamId: int - organizationId: int - role: str - -class FollowInput(GQLObject): - followerId: int - followeeId: int - -class UsageByOrg(GQLObject): - quota: float - usage: float - billingCycleStart: DateTime - period: str - usagePercentages: float - -class UsageItem(GQLObject): - startDate: str - endDate: str - usage: int - overUsageAmount: float - overChargePrice: float - -class Phone(GQLObject): - id: ID - userId: ID - phoneNumber: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class TutorialSortingField(GQLObject): - fieldName: TutorialFieldName - by: SortingFieldOrder - -class TutorialDeleteInput(GQLObject): - apiId: ID - apiVersion: ID - slugifiedName: str - -class TutorialCreateInput(GQLObject): - apiId: ID - apiVersion: ID - published: bool - title: str - content: str - thumbnailURL: str - type: str - -class TransformationWhereInput(GQLObject): - id: list[ID] - apiVersionId: list[ID] - -class TransformationUpdateInput(GQLObject): - id: ID - apiVersionId: ID - action: TransformationActionType - transformationType: TransformationType - condition: TransformationConditionType - targetPath: str - targetMethod: TransformationMethodType - from_: str - target: str - value: str - valueType: TransformationValueType - plans: list[ID] - endpoints: list[ID] - -class DeletedTransformation(GQLObject): - id: ID - deleted: bool - -class updateTransactionInput(GQLObject): - ids: list[ID] - paidout: bool - amount: float - -class OrgTransaction(GQLObject): - invoiceLink: str - createdAt: str - totalAmount: float - -class TransactionsSummaryWhereInput(GQLObject): - fromDate: str - toDate: str - apiIds: list[ID] - userIds: list[ID] - -class TransactionsItem(GQLObject): - title: str - sum: float - -class TenantPricingPlan(GQLObject): - id: int - name: str - contentDescription: JSONObject - price: float - currency: str - billingPlanId: str - trialPeriod: int - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - displayName: str - -class TeamUpdateInput(GQLObject): - id: int - name: str - thumbnail: str - description: str - -class EditTeamInput(GQLObject): - id: int - name: str - thumbnail: str - description: str - -class UserRolesUpdateInput(GQLObject): - entityId: int - roleId: int - orgId: int - -class TargetUrlUpdateInput(GQLObject): - url: str - loadBalancingStrategyValue: str - -class TagDefinition(GQLObject): - id: str - color: str - description: str - status: str - type: str - name: str - values: list[str] - editableByProvider: bool - forceEnumValidation: bool - isVisible: bool - requiredOnAPI: bool - showTagName: bool - createdAt: DateTime - updatedAt: DateTime - -class SubscriptionsCount(GQLObject): - createdAt: str - count: int - -class ActiveSubscriptionCount(GQLObject): - date: str - count: int - -class AdditionalSubscriptionProviderData(GQLObject): - subscriptionTrialEnd: DateTime - cancelAt: DateTime - canceledAt: DateTime - startDate: DateTime - endedAt: DateTime - currentPeriodStart: DateTime - currentPeriodEnd: DateTime - -class SubscriptionQuotaUsage(GQLObject): - id: ID - limit: int - subscriptionId: ID - billingCycleStart: DateTime - billingCycleEnd: DateTime - quotaId: ID - total: int - period: Period - -class SpotlightWhereInput(GQLObject): - id: ID - apiId: ID - type: SpotlightType - weight: int - published: bool - title: str - description: str - spotlightURL: str - status: str - slugifiedName: str - thumbnailURL: str - updatedAt: DateTime - createdAt: DateTime - -class SpotlightUpdateInput(GQLObject): - id: ID - apiId: ID - type: SpotlightType - weight: int - published: bool - title: str - description: str - spotlightURL: str - file: Upload - -class SecretParameter(GQLObject): - id: ID - placement: SecretParameterPlacement - name: str - value: str - description: str - -class createSecretDataInput(GQLObject): - apiVersionId: str - url: str - secret: str - -class SearchCollectionWhereInput(GQLObject): - term: str - locale: Locale - -class SearchBlogPost(GQLObject): - slugifiedName: str - title: str - link: str - readTime: str - thumbnail: str - description: str - updatedAt: DateTime - -class SearchApiWhereInput(GQLObject): - categoryNames: list[str] - exclude: list[str] - term: str - tags: list[Any] - collectionIds: list[str] - privateApisJwt: str - pricing: list[ApiPricing] - locale: Locale - -class Score(GQLObject): - apiId: str - avgSuccessRate: int - avgServiceLevel: int - avgLatency: int - popularityScore: float - -class RoleWhereInput(GQLObject): - roleLevels: list[RoleLevel] - -class RequestLogsOnApiFilters(GQLObject): - projectIds: list[ID] - endpoints: list[str] - httpMethods: list[HttpMethod] - httpStatuses: list[int] - originIps: list[str] - -class RapidReasonInput(GQLObject): - consumerUserId: int - providerUserId: int - externalId: Any - eventType: RapidReasonsEvents - reasonType: UnsubscribeReasons - reasonComments: str - apiId: str - apiVersionId: str - -class updateProjectAllowedAPIInput(GQLObject): - id: int - projectId: int - apiId: str - apiVersionId: str - mashapeId: str - -class ProjectUpdateInput(GQLObject): - projectId: ID - projectName: str - projectDescription: str - thumbnail: Upload - enableLimitsToAPIs: bool - -class EditProjectInput(GQLObject): - projectId: ID - projectName: str - projectDescription: str - thumbnail: Upload - enableLimitsToAPIs: bool - -class AddProjectInput(GQLObject): - projectOwner: ID - projectName: str - description: str - thumbnail: Upload - billing: str - -class ValidateTokenResponse(GQLObject): - status: int - isValid: bool - took: int - -class CorporateDomainOrganization(GQLObject): - organizationId: ID - members: int - thumbnail: str - orgname: str - -class OrganizationUpdateInput(GQLObject): - organizationId: int - name: str - email: str - seats: int - thumbnail: str - description: str - -class OrganizationWhereInput(GQLObject): - userId: ID - slugifiedName: str - -class AdminOwnerProject(GQLObject): - email: str - id: int - mashapeId: str - name: str - slugifiedName: str - status: str - thumbnail: str - type: str - -class MarkNotificationsAsReadInput(GQLObject): - userId: str - createdAt: str - -class MarkNewNotificationAsViewedInput(GQLObject): - notificationsIds: list[int] - isNew: bool - -class NewNotification(GQLObject): - id: int - userId: int - type: str - createdAt: DateTime - updatedAt: DateTime - isRead: bool - isNew: bool - title: str - body: str - callToAction: str - image: str - any: str - -class SendMessageInput(GQLObject): - fromEmail: str - toEmail: str - toId: str - title: str - body: str - apiName: str - apiId: str - type: str - -class MessageInput(GQLObject): - authorId: int - title: str - body: str - apiId: str - entityId: int - ownerId: int - messageThreadId: int - ownerDisplayName: str - entityDisplayName: str - apiDisplayName: str - -class MessagesWhereInput(GQLObject): - messageThreadId: ID - -class RelativeARTResponse(GQLObject): - currentProviderAverage: float - allProvidersAverage: float - -class LogPayload(GQLObject): - requestid: ID - reqpayload: Any - -class CreateLegalAgreementInfo(GQLObject): - refreshToken: str - accessToken: str - vendor: str - -class EnvelopeDocument(GQLObject): - documentId: str - uri: str - name: str - order: int - -class ProduceMessageInput(GQLObject): - apiVersionId: str - topicName: str - key: str - value: str - partition: str - compression: Compression - headers: Any - valueSchemaId: int - keySchemaId: int - -class SchemaRegistryConfigurationInput(GQLObject): - url: str - user: str - password: str - -class SaslConfigurationInput(GQLObject): - mechanism: str - password: str - username: str - -class TopicSchema(GQLObject): - id: int - schema: str - schemaType: SchemaType - subject: str - version: int - -class TopicOffset(GQLObject): - partition: int - offset: str - high: str - low: str - -class SubscribeKafkaResponse(GQLObject): - actionsChannel: str - authKey: str - messagesChannel: str - publishKey: str - subscribeKey: str - -class KafkaTopic(GQLObject): - name: str - -class IssueFollow(GQLObject): - id: int - follower: int - followee: int - mashapeId: str - mashapeIssueId: str - createdAt: DateTime - updatedAt: DateTime - status: str - -class updateHeadlines(GQLObject): - apiId: str - headlineId: str - text: str - textModified: bool - -class Headline(GQLObject): - text: str - id: str - status: str - index: int - title: str - textModified: bool - createdAt: DateTime - updatedAt: DateTime - -class GraphQLSchemaCreateInput(GQLObject): - id: ID - endpointId: ID - schema: Any - isIntrospectionCall: bool - allowHubSchemaRefresh: bool - introspectionCallUrl: str - status: GRAPH_QL_SCHEMA_STATUS - -class Header(GQLObject): - id: int - paramName: str - paramValue: str - paramDescription: str - -class FollowApiInput(GQLObject): - apiId: str - userId: str - -class LogsCSV(GQLObject): - id: ID - requestorId: ID - requestorUsername: str - fileName: str - downloadUrl: str - filters: str - status: str - createdAt: DateTime - updatedAt: DateTime - ttl: DateTime - -class EntityRoleWhereInput(GQLObject): - entityIds: list[int] - orgId: int - parentIds: list[int] - -class EntityMetadataSortingField(GQLObject): - fieldName: EntityMetadataSortingFieldName - by: SortingFieldOrder - -class EntityMetadata(GQLObject): - id: ID - entityId: ID - attributeName: str - attributeValue: str - -class EntityAttribute(GQLObject): - attributeName: str - attributeValue: str - -class EndpointOrder(GQLObject): - endpointId: str - groupId: str - index: int - -class MockResponseObjectInput(GQLObject): - mockResponseStatusCode: int - body: str - headers: str - format: str - isMockResponse: bool - -class endpointData(GQLObject): - apiversion: str - code: int - createdAt: DateTime - updatedAt: DateTime - description: str - group: str - method: str - name: str - pricing: str - response: str - route: str - routeregex: str - status: str - thumbail: str - type: str - webhook: bool - payload: str - displayResponse: bool - -class payloadModelForUpdateOrCreateEndpointWithParameters(GQLObject): - id: str - body: str - description: str - format: str - name: str - status: str - statusCode: ID - condition: str - apiendpoint: str - payloadType: str - schema: Any - schemaDefinition: Any - examples: Any - -class headerParametersArray(GQLObject): - index: int - id: str - condition: str - description: str - name: str - status: str - querystring: bool - paramType: str - options: list[str] - value: Any - schema: Any - schemaDefinition: Any - examples: Any - -class EndpointPath(GQLObject): - description: str - summary: str - path: str - type: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - meta: Any - status: str - -class EndpointWhereInput(GQLObject): - id: list[ID] - -class EndpointStatsData(GQLObject): - date: str - requests: int - errors: int - latency: float - endpointid: ID - -class IssueDeleteInput(GQLObject): - issueId: int - -class IssuesDeleteInput(GQLObject): - issueIds: list[int] - -class Currency(GQLObject): - code: str - name: str - symbol: str - symbol_native: str - decimal_digits: int - rakuten_symbol: Any - -class ContactAdminSubscribeToAPIEvent(GQLObject): - api_name: str - api_link: str - team_id: int - org_id: int - consumer_name: str - email: str - plan_name: str - plan_price: int - -class ConsumerQuota(GQLObject): - limit: int - period: str - quotaId: str - title: str - total: float - billingCycleStart: DateTime - -class PaginationInput(GQLObject): - first: int - after: str - last: int - before: str - -class Follower(GQLObject): - startFollowDate: str - id: int - email: str - username: str - -class PagingArgs(GQLObject): - offset: int - limit: int - orderBy: str - orderDirection: OrderDirection - searchTerm: str - -class CommentDeleteInput(GQLObject): - issueId: int - commentId: int - -class CommentCreateInput(GQLObject): - body: str - issueId: int - -class CollectionUpdateInput(GQLObject): - id: ID - title: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: list[ID] - ownerId: int - -class BlogPosts(GQLObject): - id: str - link: str - type: str - title: str - thumbnail: str - image: str - -class CollectionsWhereInput(GQLObject): - ownerId: str - isByOwner: bool - collectionType: str - -class CategoryWhereInput(GQLObject): - id: list[ID] - name: list[str] - language: CategoryLanguage - slugifiedName: list[str] - -class CategoryTextualDataInput(GQLObject): - language: CategoryLanguage - name: str - shortDescription: str - longDescription: str - -class CategoryEntity(GQLObject): - createdAt: DateTime - id: ID - longDescription: str - name: str - shortDescription: str - slugifiedName: str - status: str - type: str - updatedAt: DateTime - weight: int - -class endpointsAndApiVersionCouples(GQLObject): - endpointHash: str - apiversion: str - -class BlockedUserInput(GQLObject): - apiId: str - usersIds: list[int] - -class BillingLimitInputV2(GQLObject): - id: str - item: str - amount: int - limitType: str - overagePrice: float - period: str - unlimited: bool - perusagePrice: float - status: str - currency: str - -class upsertBillingPlanInput(GQLObject): - billingPlanId: str - name: str - targetGroup: str - isPrivatePlan: bool - isStudent: bool - legalDocumentId: str - legalAccountId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - -class BillingPlanVersionFilters(GQLObject): - query: str - -class RateLimit(GQLObject): - enabled: bool - unit: int - unitName: str - amount: int - -class SeatsBillingInformation(GQLObject): - freeSeats: int - unitPrice: int - isCustomInvoiceBilling: bool - billingPlanVersionId: str - -class RateLimitInput(GQLObject): - enabled: bool - unit: int - unitName: str - amount: int - -class EnableBillingFeatureInput(GQLObject): - billingFeature: str - note: str - -class OverageLocalePrice(GQLObject): - price: float - symbol: str - -class upsertBillingItem(GQLObject): - billingItemId: str - name: str - description: str - allEndpoints: bool - endpointHashes: list[str] - -class BillingInformation(GQLObject): - id: int - stripeId: str - userId: int - customerId: str - fullName: str - last4: str - type: str - exp_month: int - exp_year: int - zip: str - billingStatus: str - mashapeId: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class upsertBillingFeatureInput(GQLObject): - apiId: str - apiVersionId: str - name: str - description: str - billingFeatureId: str - endpointHashes: list[str] - -class AuthenticationParamInput(GQLObject): - id: ID - name: str - description: str - status: str - -class AuthenticationExtraMetadataInput(GQLObject): - pkceEnabled: bool - codeChallengeMethod: CodeChallengeMethod - customOAuth2AuthPrefix: str - JWTProfile: bool - -class SecurityRequirement(GQLObject): - id: ID - scope: SecurityRequirementAuthScope - -class geo(GQLObject): - country: str - city: str - region: str - timezone: str - ll: list[float] - -class params(GQLObject): - input: Any - -class AuditWhereInput(GQLObject): - searchTerm: str - from_: int - orgId: int - -class UserAttributesInput(GQLObject): - type: str - attributeValue: list[Any] - -class AsyncApiConfigurationWhereInput(GQLObject): - apiVersionId: list[ID] - -class AsyncApiConfiguration(GQLObject): - id: ID - spec: str - -class AssetUpdateInput(GQLObject): - id: ID - title: str - description: str - visible: bool - -class AssetForDownload(GQLObject): - id: ID - downloadUrl: str - filename: str - title: str - externalId: str - fileSizeBytes: float - -class Application(GQLObject): - id: ID - mashapeId: str - mashapeAccountId: str - name: str - thumbnail: str - billing: int - description: str - mashapeApplicationName: str - hasLogo: bool - favorite: bool - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class EditApplicationEnviornmentKeyInput(GQLObject): - applicationEnviornmentId: ID - mashapeId: str - keyName: str - environment: str - -class AppAuthorizationUpdateInput(GQLObject): - id: ID - name: str - -class AppAuthorizationsWhereInput(GQLObject): - projectId: ID - -class ApiWhereInput(GQLObject): - id: list[ID] - externalCustomIds: list[ID] - ownerId: list[ID] - subscriberId: list[ID] - visibility: ApiVisibility - apiSlugifiedName: list[str] - ownerSlugifiedName: list[str] - name: list[str] - isFavorite: bool - categories: list[ID] - searchTerm: str - -class ApiSecurityInfo(GQLObject): - rapidapiProxySecret: str - -class ApiTermsOfServiceInput(GQLObject): - text: str - -class validateSwaggerInput(GQLObject): - file: Upload - -class ApiVersionSecretParameterInput(GQLObject): - name: str - value: str - description: str - placement: SecretParameterPlacement - -class GqlApiVersionCreateInput(GQLObject): - api: str - name: str - visibility: Visibility - oldApiVersionId: str - introspectionCallUrl: str - isIntrospectionCall: bool - allowHubSchemaRefresh: bool - gqlFile: Any - -class RequestPayload(GQLObject): - id: str - name: str - format: str - body: str - description: str - type: str - apiversion: str - createdAt: DateTime - updatedAt: DateTime - statusCode: int - apiendpoint: str - examples: Any - schema: Any - schemaDefinition: Any - -class Publicdns(GQLObject): - address: str - proxyMode: str - apiversion: str - current: bool - id: ID - createdAt: DateTime - updatedAt: DateTime - status: str - -class ApiVersionSortingField(GQLObject): - fieldName: ApiSortingFieldName - by: SortingFieldOrder - -class APITag(GQLObject): - id: str - status: str - tagdefinition: str - value: str - createdAt: DateTime - -class StatsFilterBy(GQLObject): - values: list[str] - name: str - -class BatchTrackingIdsSummary(GQLObject): - success: int - failed: int - total: int - finishedEntities: int - totalEntities: int - -class ApiSpecImportWarning(GQLObject): - type: ApiSpecImportWarningType - critical: bool - text: str - info: Any - -class ApiCreateFromRapidOasInput(GQLObject): - spec: Upload - -class ApiCreateFromSpecInput(GQLObject): - spec: Upload - specType: ApiSpecType - category: str - name: str - description: str - -class ApiSearchUser(GQLObject): - id: int - thumbnail: str - name: str - username: str - -class Feature(GQLObject): - heading: str - caption: str - image: str - -class apiRating(GQLObject): - rating: float - votes: int - bestRating: int - -class ApiFollowerWhereInput(GQLObject): - apiId: ID - followerIds: list[ID] - -class ApiFollowerDeleteInput(GQLObject): - apiId: ID - -class DeleteApiFavoritesInput(GQLObject): - apiIds: list[ID] - -class CopyApiDevelopersInput(GQLObject): - apiId: str - apiVersionIdFrom: str - apiVersionIdTo: str - -class ApiCertificateSortingField(GQLObject): - fieldName: ApiCertificateSortingFieldName - by: SortingFieldOrder - -class ApiCertificateCreateInput(GQLObject): - alias: str - certificateFile: Upload - -class ApiCertificateIssuerInfo(GQLObject): - commonName: str - countryName: str - localityName: str - organizationName: str - organizationalUnitName: str - stateOrProvinceName: str - emailAddress: str - -class AnalyticsStatsGroupByInput(GQLObject): - fields: list[AnalyticsStatsGroupBy] - -class UserAlertsWhereInput(GQLObject): - scope: ID - -class UserAlertUpdateInput(GQLObject): - id: ID - name: str - description: str - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - baseUrl: str - apiIds: list[ID] - projectIds: list[ID] - endpointsIds: list[ID] - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - endpointHashes: list[ID] - -class addUserAlertInput(GQLObject): - name: str - description: str - scope: ID - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - apiIds: list[ID] - projectIds: list[ID] - baseUrl: str - minNextAlertTime: DateTime - endpointsIds: list[ID] - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - endpointHashes: list[ID] - -class AlertDefinition(GQLObject): - id: ID - type: str - status: AlertStatus - description: str - units: str - -class EnvConfigUpdateInput(GQLObject): - id: int - value: str - -class GatewayTemplateParamsUpdateInput(GQLObject): - paramName: str - paramValue: str - paramDescription: str - id: ID - -class GatewayCustomMessageUpdateInput(GQLObject): - messageKey: MessageKey - messageValue: str - id: ID - -class GatewayCustomMessageCreateInput(GQLObject): - messageKey: MessageKey - messageValue: str - -class EventConfigUpdateInput(GQLObject): - isActive: bool - shouldGenerateSecret: bool - -class EventUrlCreateInput(GQLObject): - url: str - -class EventLogSortablesSortingField(GQLObject): - fieldName: EventLogSortables - order: Order - -class AdminAuditLogSortablesSortingField(GQLObject): - fieldName: AdminAuditLogSortables - order: Order - -class EnvConfigTerm(GQLObject): - key: str - brand: Brand - categoryId: int - hideInAdvancedSettingsUI: bool - allowAdminAccess: bool - -class GatewayTemplateParamsWhereInput(GQLObject): - status: str - -class GatewayTemplateWhereInput(GQLObject): - status: str - -class GatewayInstanceWhereInput(GQLObject): - status: str - -class EventUrlWhereInput(GQLObject): - url: str - -class EventLog(GQLObject): - id: str - url: str - eventType: str - eventData: str - eventText: str - statusCode: str - highlight: list[str] - createdAt: DateTime - -class AuditUser(GQLObject): - id: int - email: str - name: str - thumbnail: str - type: str - mashapeId: str - slugifiedName: str - -class EventType(GQLObject): - id: ID - name: str - label: str - example: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class EnvConfigCategory(GQLObject): - id: int - name: str - createdAt: DateTime - updatedAt: DateTime - -class GatewayConfigurations(GQLObject): - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - -class PageInfo(GQLObject): - hasNextPage: bool - hasPreviousPage: bool - startCursor: str - endCursor: str diff --git a/tests/output/rapidapi_nodesc/gql_types.py b/tests/output/rapidapi_nodesc/gql_types.py deleted file mode 100644 index f196b9c..0000000 --- a/tests/output/rapidapi_nodesc/gql_types.py +++ /dev/null @@ -1,4584 +0,0 @@ -from typing import Generic, Union, List -from pygqlmap.components import GQLArgsSet, GQLObject -from pygqlmap.gql_types import * -from pygqlmap.src.arg_builtin import * -from typing import NewType -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class GetWorkflowCountOptions(GQLObject): - requestorId: int - requesteeId: int - requestorContextId: int - workflowStatus: WorkflowStatus - status: str - componentId: str - subComponentId: str - topic: str - topics: list[str] - -class CreateSignupApprovalWorkflowInput(GQLObject): - topic: SignupApprovalWorkflowTopic - additionalData: Any - -class CanWorkflowBeSubmittedOptions(GQLObject): - topic: WorkflowTopic - componentId: str - -class Workflow(GQLObject): - id: ID - workflowId: int - topic: str - requestorId: int - requestorContextId: int - requestorEmail: str - requestorDisplayName: str - requesteeEmail: str - requesteeDisplayName: str - requestorContextDisplayName: str - requesteeContextDisplayName: str - requesteeId: int - componentId: str - subComponentId: str - additionalData: Any - workflowStatus: WorkflowStatus - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - componentDisplayName: str - requesteeContextId: int - -class RolePermissionUpdateInput(GQLObject): - granted: bool - readOnly: bool - -class SearchUsersWhereInput(GQLObject): - brand: str - term: str - offset: int - limit: int - -class VerifyEmailCodeInput(GQLObject): - token: str - verificationCode: str - -class UpdateUserInput(GQLObject): - name: str - company: str - position: str - location: str - bio: str - imageFile: str - email: str - -class ProfileInfo(GQLObject): - id: int - mashapeId: str - github: str - twitter: str - website: str - location: str - linkedin: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - userId: int - fullname: str - company: str - position: str - description: str - facebook: str - quora: str - stackoverflow: str - googleplus: str - -class UsersFilterBy(GQLObject): - status: str - -class UserInvitesReactivateInput(GQLObject): - emails: list[str] - orgId: int - -class UserInvitesBrandingInput(GQLObject): - email: str - id: int - inviterId: int - -class UserInvitesInput(GQLObject): - email: str - teamIds: list[int] - organizationId: int - role: str - id: int - inviterId: int - -class InviteUsersSearch(GQLObject): - id: ID - username: str - name: str - email: str - thumbnail: str - isPendingUser: bool - isOrganizationUser: bool - -class UsageByTeam(GQLObject): - limit: float - subscriptionId: float - total: float - teamId: float - -class TeamsUsages(GQLObject): - usage: int - id: str - -class PhoneVerification(GQLObject): - id: ID - userId: ID - retries: int - token: str - code: str - phoneNumber: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class RecoveryCode(GQLObject): - id: ID - userId: ID - code: str - used: bool - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class TutorialWhereInput(GQLObject): - id: ID - apiId: ID - apiVersion: ID - slugifiedName: str - authorId: str - published: bool - title: str - content: str - thumbnailURL: str - publishedDate: DateTime - readTime: str - type: str - createdAt: DateTime - updatedAt: DateTime - -class TutorialUpdateInput(GQLObject): - slugifiedName: str - apiId: ID - apiVersion: ID - published: bool - title: str - content: str - thumbnailURL: str - readTime: str - type: str - -class Tutorial(GQLObject): - id: ID - slugifiedName: str - apiId: ID - apiVersion: ID - authorId: str - published: bool - title: str - content: str - thumbnailURL: str - publishedDate: DateTime - readTime: str - type: TutorialType - createdAt: DateTime - updatedAt: DateTime - -class TransformationSortingField(GQLObject): - fieldName: TransformationSortingFieldName - by: SortingFieldOrder - -class TransformationCreateInput(GQLObject): - apiVersionId: ID - action: TransformationActionType - transformationType: TransformationType - condition: TransformationConditionType - targetPath: str - targetMethod: TransformationMethodType - from_: str - target: str - value: str - valueType: TransformationValueType - plans: list[ID] - endpoints: list[ID] - -class Transformation(GQLObject): - id: ID - apiVersionId: ID - action: TransformationActionType - transformationType: TransformationType - condition: TransformationConditionType - from_: str - target: str - targetPath: str - targetMethod: TransformationMethodType - value: str - valueType: TransformationValueType - plans: list[ID] - endpoints: list[ID] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class TransactionsSummaryMonth(GQLObject): - monthlySubscriptions: float - overages: float - date: str - -class TransactionsAnalytics(GQLObject): - total: float - mrrTotal: float - overagesTotal: float - categories: list[str] - series: Any - -class TransactionCharge(GQLObject): - status: str - -class TermsOfService(GQLObject): - id: ID - name: str - text: str - createdAt: DateTime - updatedAt: DateTime - -class TeamWhereInput(GQLObject): - slugifiedName: str - orgId: int - -class TeamCreateInput(GQLObject): - organizationId: int - name: str - thumbnail: str - description: str - -class TeamUserWhereInput(GQLObject): - email: str - orgId: int - -class TeamUserUpdateInput(GQLObject): - orgId: int - teamUserId: int - teamToRemove: int - teamToAdd: int - newRole: str - -class TargetUrl(GQLObject): - url: str - loadBalancingStrategyValue: str - -class SubscriptionsCountWhereInput(GQLObject): - apiId: str - fromDate: str - toDate: str - resolution: Resolution - isParent: bool - -class ExternalGatewaySubscriptionCreateInput(GQLObject): - apiId: str - apiVersionId: str - -class SubscribeLegalAgreementMetadataInput(GQLObject): - dsLegalAccountId: str - dsLegalEnvelopId: str - -class usageByBillingItem(GQLObject): - id: ID - name: str - quota: int - usage: int - period: str - usagePercentages: float - billingCycleStart: DateTime - -class SpotlightSortingField(GQLObject): - fieldName: SpotlightFieldName - by: SortingFieldOrder - -class SpotlightDeleteInput(GQLObject): - id: ID - apiId: ID - -class SpotlightCreateInput(GQLObject): - apiId: ID - type: SpotlightType - weight: int - published: bool - title: str - description: str - spotlightURL: str - file: Upload - -class updateBaseUrlInput(GQLObject): - secretDataId: str - url: str - -class SearchCollectionSortingField(GQLObject): - fieldName: SearchCollectionSortingFieldName - by: SortingFieldOrder - -class SearchBlogPostWhereInput(GQLObject): - term: str - -class SearchApiSortingField(GQLObject): - fieldName: SearchApiSortingFieldName - by: SortingFieldOrder - -class SearchApiUser(GQLObject): - id: int - thumbnail: str - name: str - username: str - -class RoleSorting(GQLObject): - fieldName: RoleSortingFieldName - by: SortingFieldOrder - -class RequestLogsOnProjectFilters(GQLObject): - apiIds: list[ID] - endpoints: list[str] - httpMethods: list[HttpMethod] - httpStatuses: list[int] - originIps: list[str] - -class RequestLogFilters(GQLObject): - projectIds: list[str] - apiIds: list[str] - userIds: list[ID] - endpoints: list[str] - endpointRoutes: list[str] - httpMethods: list[HttpMethod] - httpStatuses: list[int] - originIps: list[str] - gatewayIds: list[ID] - -class deleteProjectAllowedAPIsInput(GQLObject): - projectAllowedAPIIds: list[int] - projectId: int - mashapeId: str - -class createProjectAllowedAPIInput(GQLObject): - projectId: int - apiId: str - apiVersionId: str - mashapeId: str - -class ProjectCreateInput(GQLObject): - projectOwner: ID - projectName: str - description: str - thumbnail: Upload - -class DeleteProjectInput(GQLObject): - projectId: ID - projectName: str - mashapeId: ID - -class PayoutInfo(GQLObject): - id: ID - userId: int - mashapeId: str - name: str - address: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class ResetUserPasswordInput(GQLObject): - password: str - confirmPassword: str - token: str - -class CorporateDomain(GQLObject): - domain: str - ignore: bool - -class UsersInvitation(GQLObject): - id: str - email: str - role: str - -class BillingAdditionalValues(GQLObject): - total: int - subscriptionId: ID - -class WhereOrgTeam(GQLObject): - parentId: ID - orgId: ID - -class NotificationMessage(GQLObject): - title: str - link: str - text: str - thumbnail: str - user: str - -class MarkNewNotificationsAsReadInput(GQLObject): - notificationId: int - isRead: bool - -class ThreadEntityStatusUpdateInput(GQLObject): - messageThreadIds: list[int] - flag: EntityStatusFlag - value: bool - -class Message(GQLObject): - id: ID - authorId: int - title: str - body: str - apiId: str - entityId: int - ownerId: int - messageThreadId: int - ownerDisplayName: str - entityDisplayName: str - apiDisplayName: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class ThreadEntityStatus(GQLObject): - id: ID - entityId: int - messageThreadId: int - createdAt: DateTime - updatedAt: DateTime - flag: int - isRead: bool - isArchived: bool - isStarred: bool - -class MessageThreadsWhereInput(GQLObject): - apiIds: list[str] - apiDisplayName: str - entityDisplayName: str - entityStatusFlag: EntityStatusFlag - entityId: ID - -class RestrictedLogPayload(GQLObject): - requestid: ID - reqparams: Any - reqheaders: Any - resheaders: Any - reqbody: Any - resbody: Any - saveRequestQueryParametersLogging: bool - saveRequestHeadersLogging: bool - saveResponseHeadersLogging: bool - saveRequestBodyLogging: bool - saveResponseBodyLogging: bool - -class GetLegalAgreementSigningURLInput(GQLObject): - entityId: str - legalDocumentId: str - legalAccountId: str - billingPlanId: str - -class UpdateLegalAgreementInfo(GQLObject): - id: ID - refreshToken: str - accessToken: str - vendor: str - -class LegalAgreementInfoUrl(GQLObject): - url: str - -class KafkaOffset(GQLObject): - partition: int - offset: int - -class SchemaRegistryConfiguration(GQLObject): - url: str - user: str - password: str - -class SaslConfiguration(GQLObject): - mechanism: str - password: str - username: str - -class TopicConfigurationItem(GQLObject): - configName: str - configValue: str - readOnly: bool - isDefault: bool - isSensitive: bool - -class ProduceMessageResponse(GQLObject): - topicName: str - partition: int - errorCode: int - baseOffset: str - -class KafkaSchemas(GQLObject): - schemas: list[str] - -class IssueFollowInputV2(GQLObject): - issueId: int - -class Announcement(GQLObject): - id: int - apiId: str - providerId: str - body: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class createHeadlines(GQLObject): - apiId: str - text: str - textModified: bool - -class UpdateGraphQLSchemaInput(GQLObject): - source: Upload - graphQLSchemaId: ID - endpointId: ID - -class GqlDoc(GQLObject): - docKey: str - defaultDescription: str - description: str - visible: bool - -class GatewayConfiguration(GQLObject): - id: ID - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - apiGatewayInstanceId: int - -class LogsCSVExports(GQLObject): - status: int - statusText: str - -class EntityRoleSorting(GQLObject): - fieldName: EntityRoleSortingFieldName - by: SortingFieldOrder - -class EntityRoleInput(GQLObject): - id: ID - entityId: int - roleId: int - parentId: int - orgId: int - -class EntityMetadataWhereInput(GQLObject): - entityId: list[ID] - attributeName: str - attributeValue: str - -class DuplicateNameCheckInput(GQLObject): - term: str - id: int - actionType: str - -class ExternalDocsInput(GQLObject): - description: str - url: str - -class PayloadObjectInput(GQLObject): - body: str - headers: str - format: str - id: str - name: str - description: str - status: str - type: str - statusCode: int - examples: Any - schema: Any - schemaDefinition: Any - -class ResponseObjectInput(GQLObject): - body: str - headers: str - format: str - -class payloadParametersForUpdateOrCreateEndpointWithParameters(GQLObject): - index: int - id: str - condition: str - description: str - name: str - paramType: str - value: str - querystring: bool - type: str - status: str - options: list[str] - schema: Any - schemaDefinition: Any - examples: Any - -class routeParametersArray(GQLObject): - index: int - id: str - condition: str - description: str - name: str - status: str - paramType: str - querystring: bool - value: Any - options: list[str] - schema: Any - schemaDefinition: Any - examples: Any - -class EndpointParams(GQLObject): - optional: Any - required: Any - headers: Any - constant: Any - parameters: Any - -class ExternalDocs(GQLObject): - description: str - url: str - -class EndpointAndVersion(GQLObject): - apiversion: str - endpointid: str - endpointHash: str - -class Readme(GQLObject): - text: str - updatedAt: DateTime - -class IssueUpdateInput(GQLObject): - title: str - body: str - issueId: int - -class IssueCreateInputV2(GQLObject): - title: str - body: str - apiId: str - apiVersion: str - -class ContextEntity(GQLObject): - context: Any - token: str - privateApisJwt: str - -class ConsumersWhereInput(GQLObject): - apiId: list[ID] - offset: int - limit: int - order: str - lastActive: list[str] - userId: list[int] - sort: str - usernames: list[str] - plansFilter: list[str] - consumersType: ConsumersType - -class SubscriptionString(GQLObject): - status: str - -class MultipleValuesQueryFilter(GQLObject): - operand: str - value: str - -class FollowPair(GQLObject): - id: int - follower: int - followee: int - status: str - updatedAt: DateTime - createdAt: DateTime - -class Account(GQLObject): - id: int - credentials: str - projectName: str - name: str - domain: str - thumbnail: str - -class CommentUpdateInput(GQLObject): - body: str - issueId: int - commentId: int - -class UpdateCollectionsInput(GQLObject): - collectionId: ID - weight: float - shortDescription: str - longDescription: str - thumbnail: str - title: str - apis: list[ID] - ownerId: int - -class CollectionCreateInput(GQLObject): - title: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: list[ID] - ownerId: int - collection_type: str - -class CollapsedCollection(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: list[str] - -class CollectionsSortingField(GQLObject): - fieldName: str - order: SortingFieldOrder - -class CategorySortingField(GQLObject): - fieldName: CategorySortingFieldName - by: SortingFieldOrder - -class DeletedCategory(GQLObject): - id: ID - deleted: bool - reason: str - -class Category(GQLObject): - id: ID - name: str - slugifiedName: str - status: str - shortDescription: str - longDescription: str - thumbnail: str - pageTitle: str - weight: int - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class BlogPost(GQLObject): - slugifiedName: str - title: str - id: str - link: str - readTime: str - thumbnail: str - description: str - image: str - updatedAt: DateTime - -class EnableBillingFeatureInputV2(GQLObject): - id: str - billingFeature: str - note: str - status: str - -class RateLimitInputV2(GQLObject): - enabled: bool - unit: int - unitName: str - amount: int - -class PagingArgsBilling(GQLObject): - page: int - limit: int - orderBy: str - orderDirection: OrderDirection - visibility: str - -class LocalePrice(GQLObject): - price: float - symbol: str - -class EditOrganizationInvoiceInput(GQLObject): - organizationId: int - freeSeats: int - isCustomInvoiceBilling: bool - -class BillingPlanMetadataUpdateInput(GQLObject): - billingPlanId: str - legalDocumentId: str - legalAccountId: str - name: str - visibility: str - hidden: bool - recommended: bool - targetGroup: str - isStudent: bool - shouldRequestApproval: bool - requestApprovalQuestion: str - -class BillingLimitInput(GQLObject): - item: str - amount: int - limitType: str - overagePrice: float - period: str - unlimited: bool - perusagePrice: float - currency: str - -class PlanDeveloperUserInput(GQLObject): - id: str - type: str - -class BillingItemsWhereInput(GQLObject): - versionId: str - apiId: str - -class CreateStripeCustomerInput(GQLObject): - cardToken: str - fullName: str - userId: int - -class BillingFeatureEndpoint(GQLObject): - id: str - endpoint: str - endpointHash: str - billingfeature: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - -class billingFeatureEndpointArray(GQLObject): - endpoint: str - -class AuthenticationParam(GQLObject): - id: ID - name: str - description: str - authentication: str - -class AuthenticationExtraMetadata(GQLObject): - pkceEnabled: bool - codeChallengeMethod: CodeChallengeMethod - customOAuth2AuthPrefix: str - JWTProfile: bool - -class authStrategyType(GQLObject): - type: str - -class attributes(GQLObject): - rapidClient: str - userAgent: str - -class activeEntity(GQLObject): - id: int - type: str - name: str - -class ThemeUserAttributesInput(GQLObject): - attributeName: str - attributeValue: str - -class UserAttributesRow(GQLObject): - userId: int - attributeName: str - attributeValue: Any - -class AsyncApiConfigurationCreateInput(GQLObject): - apiVersionId: ID - spec: str - -class GenerateAssetUploadUrlInput(GQLObject): - externalId: ID - filename: str - description: str - title: str - -class AssetWhereInput(GQLObject): - ids: list[ID] - externalIds: list[ID] - visible: bool - -class Asset(GQLObject): - id: ID - externalId: ID - filename: str - title: str - description: str - visible: bool - fileSizeBytes: float - isUploadDone: bool - presignedUrl: str - createdAt: DateTime - -class DeleteApplicationEnvironmentKeyInput(GQLObject): - applicationEnviornmentId: ID - -class AddApplicationEnvironmentKeyInput(GQLObject): - applicationId: ID - environment: str - -class AppAuthorizationCreateInput(GQLObject): - projectId: ID - name: str - authorizationType: AppAuthorizationType - grantType: AuthorizationGrantType - authorizationValues: str - gatewayIds: list[ID] - -class GqlOptions(GQLObject): - enableSchemaIntrospectionOnHub: bool - -class ApiSortingField(GQLObject): - fieldName: ApiSortingFieldName - by: SortingFieldOrder - -class ProvisionApiFromFileInput(GQLObject): - name: str - category: str - description: str - file: Upload - fileFormat: ApiImportFileFormat - ownerId: ID - -class ApiTagValueInput(GQLObject): - id: ID - definitionId: ID - value: str - -class createApiVersionBillingPlanVersionInput(GQLObject): - billingPlanVersionId: str - billingPlanId: str - apiVersionId: str - showInMarketplace: bool - -class ApiCertificateAssociationTarget(GQLObject): - apiCertificateId: ID - -class ApiVersionCreateInput(GQLObject): - api: str - name: str - visibility: Visibility - oldApiVersionId: str - apiVersionType: ApiVersionType - -class ResponsePayload(GQLObject): - id: str - name: str - format: str - body: str - headers: str - description: str - type: str - apiversion: str - status: str - createdAt: DateTime - updatedAt: DateTime - statusCode: int - apiendpoint: str - examples: Any - schema: Any - schemaDefinition: Any - -class ApiVersionWhereInput(GQLObject): - id: list[ID] - apiId: list[ID] - versionStatus: list[VersionStatus] - -class SpecInfo(GQLObject): - spec: str - format: SpecFormat - type: SpecType - -class CalculatedStatistics(GQLObject): - requeststotal: float - requestsmax: int - requestsmin: int - requestsavg: float - requeststps: float - errorsavg: float - errorsmedian: float - errorsmax: float - errorsmin: float - errorstotal: int - latencyavg: float - latencymedian: float - latencymax: float - latencymin: float - -class StatsData(GQLObject): - date: str - requests: int - errors: float - latency: float - projectId: str - apiid: str - -class ApiSpecImportProcessIssue(GQLObject): - message: str - severity: ApiSpecImportProcessIssueSeverity - -class ApiUpdateFromRapidOasInput(GQLObject): - spec: Upload - apiVersionId: ID - -class ApiUpdateFromSpecInput(GQLObject): - apiVersionId: ID - spec: Upload - specType: ApiSpecType - -class SearchArguments(GQLObject): - categoryName: str - categoryNames: list[str] - exclude: list[str] - term: str - sortBy: str - size: int - offset: int - page: int - tags: list[Any] - collectionIds: list[str] - privateApisJwt: str - -class ApiReferenceWhereInput(GQLObject): - apiVersionId: list[ID] - -class RatingInput(GQLObject): - apiId: str - rating: int - -class ApiQuality(GQLObject): - apiId: ID - score: int - -class ApiFollowerSortingField(GQLObject): - fieldName: ApiFollowerSortingFieldName - by: SortingFieldOrder - -class ApiFollowerCreateInput(GQLObject): - apiId: ID - -class CreateApiFavoritesInput(GQLObject): - apiIds: list[ID] - -class ApiDeveloperEntityInput(GQLObject): - id: ID - mashapeId: str - name: str - type: EntityType - -class ApiCertificateWhereInput(GQLObject): - id: list[ID] - ownerId: list[ID] - -class ApiCertificateSubjectInfo(GQLObject): - alternativeNames: list[str] - commonName: str - countryName: str - localityName: str - organizationName: str - organizationalUnitName: str - stateOrProvinceName: str - emailAddress: str - -class AnalyticsStatsHttpResponseInput(GQLObject): - eq: list[int] - ne: list[int] - lt: int - le: int - gt: int - ge: int - -class AnalyticsStats(GQLObject): - requests: int - errors: int - latency: float - date: DateTime - endpointId: ID - apiId: ID - endpointHash: ID - appMashapeId: ID - apiVersionId: ID - -class deleteUserAlertsInput(GQLObject): - ids: list[ID] - -class editUserAlertInput(GQLObject): - id: ID - name: str - description: str - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - apiIds: list[ID] - projectIds: list[ID] - baseUrl: str - minNextAlertTime: DateTime - endpointsIds: list[ID] - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - endpointHashes: list[ID] - -class UserAlert(GQLObject): - id: ID - entityId: ID - name: str - description: str - scope: ID - typeId: int - condition: Condition - threshold: float - timeInterval: time - timePeriod: int - channel: Channel - status: AlertStatus - throttleInterval: time - throttlePeriod: int - apiIds: list[ID] - projectIds: list[ID] - endpointsIds: list[ID] - baseUrl: str - apiVersionsIds: list[ID] - billingPlansIds: list[ID] - minNextAlertTime: DateTime - endpointHashes: list[ID] - deletedAt: DateTime - createdAt: DateTime - updatedAt: DateTime - -class SEOTagAttribute(GQLObject): - key: str - value: str - -class GatewayTemplateParamsCreateInput(GQLObject): - paramName: str - paramValue: str - paramDescription: str - codeTemplateId: int - -class PartialGatewayTemplateParamCreateInput(GQLObject): - paramName: str - paramValue: str - paramDescription: str - -class GatewayConfigurationUpdateInput(GQLObject): - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - -class GatewayConfigurationCreateInput(GQLObject): - gatewayDefaultTimeOut: int - limitRequestSize: int - allowHttpTraffic: bool - -class EventUrlUpdateInput(GQLObject): - url: str - -class ExtensionWhereInput(GQLObject): - isEnabled: bool - path: str - isUserLoggedIn: bool - page: str - client: str - -class EventLogInput(GQLObject): - query: str - -class AdminAuditLogInput(GQLObject): - query: str - -class GatewayTemplateParamsSortingFieldNameSortingField(GQLObject): - fieldName: GatewayTemplateParamsSortingFieldName - order: Order - -class GatewayTemplateSortingSortingField(GQLObject): - fieldName: GatewayTemplateSorting - order: Order - -class GatewayInstanceSortingSortingField(GQLObject): - fieldName: GatewayInstanceSorting - order: Order - -class EventUrlSortablesSortingField(GQLObject): - fieldName: EventUrlSortables - order: Order - -class PaginationArgs(GQLObject): - first: int - last: int - before: str - after: str - -class EnvConfig(GQLObject): - id: int - key: str - value: str - isDefaultValue: bool - type: EnvConfigType - description: str - categoryId: int - label: str - allowAdminAccess: bool - isPrivate: bool - createdAt: DateTime - updatedAt: DateTime - -class ExtensionConsumer(GQLObject): - id: ID - extensionId: int - client: str - page: str - order: int - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class EventUrl(GQLObject): - id: ID - url: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class GatewayTemplateParam(GQLObject): - id: ID - codeTemplateId: int - paramName: str - paramValue: str - paramDescription: str - status: str - createdAt: DateTime - updatedAt: DateTime - -class GatewayCustomMessage(GQLObject): - id: ID - apiGatewayInstanceId: int - messageKey: str - messageValue: str - createdAt: DateTime - updatedAt: DateTime - -class list_StatsData(list, StatsData): pass - -class Stats(GQLObject): - apiStats: list_StatsData[StatsData] - -class FollowersUser(GQLObject): - startFollowDate: str - id: int - email: str - username: str - user: NewType('User', GQLObject) ## Circular Reference for User - attributes: Any - -class KafkaJSConfiguration(GQLObject): - brokers: list[str] - clientId: str - ssl: bool - sasl: SaslConfiguration - -class KafkaConfiguration(GQLObject): - kafkaConfiguration: KafkaJSConfiguration - schemaRegistryConfiguration: SchemaRegistryConfiguration - allowProducingRecords: bool - -class list_AuthenticationParam(list, AuthenticationParam): pass - -class Authentication(GQLObject): - id: ID - apiVersionId: str - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - clientSecretRequired: bool - clientAuthentication: ClientAuthenticationType - authParams: list_AuthenticationParam[AuthenticationParam] - handleOauthTokenAtFrontend: bool - extraMetadata: AuthenticationExtraMetadata - -class list_SecurityRequirement(list, SecurityRequirement): pass - -class BaseAuthentication(GQLObject): - schemeId: ID - apiVersionId: ID - name: str - description: str - securityType: SecurityType - requirements: list_SecurityRequirement[SecurityRequirement] - -class list_BaseAuthentication(list, BaseAuthentication): pass - -class list_SecretParameter(list, SecretParameter): pass - -class ApiVersionAccessControlInfo(GQLObject): - authentication: Authentication - security: list_BaseAuthentication[BaseAuthentication] - secretParameters: list_SecretParameter[SecretParameter] - -class list_GqlDoc(list, GqlDoc): pass - -class GraphQLSchema(GQLObject): - id: ID - endpointId: ID - schema: Any - allowHubSchemaRefresh: bool - isIntrospectionCall: bool - status: str - type: str - createdAt: DateTime - updatedAt: DateTime - documentation: list_GqlDoc[GqlDoc] - -class GCYQM_GraphQLSchema_Field(GraphQLSchema): - class GraphQLSchemaArgs(GQLArgsSet, GQLObject): - withOverrides: bool - - _args: GraphQLSchemaArgs - - - -class list_RequestPayload(list, RequestPayload): pass - -class list_ResponsePayload(list, ResponsePayload): pass - -class GWFFI_ResponsePayload_Field(ResponsePayload): - class ResponsePayloadArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ResponsePayloadArgs - - - -class Endpoint(GQLObject): - id: ID - index: int - apiversion: str - createdAt: DateTime - updatedAt: DateTime - description: str - group: str - method: ApiEndpointHttpMethod - name: str - route: str - routeregex: str - webhook: bool - params: EndpointParams - displayResponse: bool - isGraphQL: bool - graphQLSchema: GCYQM_GraphQLSchema_Field - mockResponseId: ID - isMockResponse: bool - summary: str - externalDocs: ExternalDocs - endpointHash: str - appliedOauth2Scopes: list_AuthenticationParam[AuthenticationParam] - authentication: Authentication - security: list_BaseAuthentication[BaseAuthentication] - requestPayloads: list_RequestPayload[RequestPayload] - responsePayloads: list_ResponsePayload[ResponsePayload] - mockResponse: GWFFI_ResponsePayload_Field - -class EndpointsGroup(GQLObject): - id: ID - name: str - apiVersionId: ID - index: int - status: str - createdAt: DateTime - updatedAt: DateTime - description: str - externalDocs: ExternalDocs - -class AllowedPlanDeveloper(GQLObject): - id: int - mashapeId: str - billingPlanId: str - user: NewType('Entity', GQLObject) ## Circular Reference for Entity - userId: int - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - -class ApiVersionBillingPlanVersion(GQLObject): - id: str - apiVersionId: str - billingPlan: NewType('BillingPlan', GQLObject) ## Circular Reference for BillingPlan - billingPlanId: str - billingPlanVersion: NewType('BillingPlanVersion', GQLObject) ## Circular Reference for BillingPlanVersion - billingPlanVersionId: str - showInMarketplace: bool - allowBillingVersionForApiVersion: bool - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - -class BillingItemEndpoint(GQLObject): - id: str - endpoint: str - endpointHash: str - apiEndpoint: Endpoint - bulk: bool - billingitem: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - -class UsageData(GQLObject): - period: str - requests: int - billingItemId: ID - subscriptionId: ID - billingItem: NewType('BillingItem', GQLObject) ## Circular Reference for BillingItem - -class NZJUC_BillingItemEndpoint_Field(BillingItemEndpoint): - class BillingItemEndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemEndpointArgs - - - -class list_BillingItemEndpoint(list, BillingItemEndpoint): pass - -class PBZLM_UsageData_Field(UsageData): - class UsageDataArgs(GQLArgsSet, GQLObject): - subscriptionId: NonNull_ID - fromDate: str - toDate: str - resolution: UsageResolution - orderDir: OrderDirection - - _args: UsageDataArgs - - - -class list_UsageData(list, UsageData): pass - -class BillingItem(GQLObject): - id: str - name: str - title: str - description: str - apiversion: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - billingitemendpoints: NZJUC_BillingItemEndpoint_Field - allEndpoints: bool - usageInSubscription: PBZLM_UsageData_Field - -class BillingLimit(GQLObject): - id: str - period: str - amount: int - currency: str - unlimited: bool - overageprice: float - overageLocalePrice: OverageLocalePrice - item: str - limitType: str - billingplanversion: str - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - billingitem: BillingItem - -class list_Endpoint(list, Endpoint): pass - -class BillingFeature(GQLObject): - id: ID - name: str - slugifiedName: str - description: str - apiVersionId: ID - status: BillingFeatureStatus - createdAt: DateTime - updatedAt: DateTime - billingFeatureEndpoints: list_Endpoint[Endpoint] - -class EnableBillingFeature(GQLObject): - id: str - billingfeature: str - billingFeatureObject: BillingFeature - billingplanversion: str - type: str - status: str - note: str - createdAt: DateTime - updatedAt: DateTime - -class list_usageByBillingItem(list, usageByBillingItem): pass - -class SubscriptionUsage(GQLObject): - mostUsagePercentage: float - topPercentageLimitedUsage: float - usageByBillingItem: list_usageByBillingItem[usageByBillingItem] - pricing: str - -class list_UsageItem(list, UsageItem): pass - -class UsagePeriodGrouper(GQLObject): - period: str - calculated: list_UsageItem[UsageItem] - -class Usage(GQLObject): - quotaId: ID - quota: int - title: str - overChargePrice: float - period: str - calculated: list_UsageItem[UsageItem] - -class list_Usage(list, Usage): pass - -class Usages(GQLObject): - usage: list_Usage[Usage] - version: str - startDate: str - endDate: str - -class Transaction(GQLObject): - id: int - stripId: str - subscriptionId: str - totalAmount: float - additionalAmount: float - refunded: int - paid: int - payoutAmount: float - periodStart: str - periodEnd: str - invoiceLink: str - refundDate: str - refundedAmount: float - mashapeId: str - status: str - updatedAt: str - createdAt: str - deletedAt: str - userId: int - apiId: str - paidout: str - chargeId: str - disputed: int - subscription: NewType('BillingSubscription', GQLObject) ## Circular Reference for BillingSubscription - entity: NewType('Entity', GQLObject) ## Circular Reference for Entity - usages: Usages - Charge: TransactionCharge - stripeId: str - invoicePeriodStart: str - invoicePeriodEnd: str - -class LRUAG_UsagePeriodGrouper_Field(UsagePeriodGrouper): - class UsagePeriodGrouperArgs(GQLArgsSet, GQLObject): - billingItemIds: list[NonNull_ID] - fromDate: str - toDate: str - resolution: UsageResolution - orderDir: OrderDirection - - _args: UsagePeriodGrouperArgs - - - -class list_UsagePeriodGrouper(list, UsagePeriodGrouper): pass - -class list_GQLObject(list, GQLObject): pass - -class list_SubscriptionQuotaUsage(list, SubscriptionQuotaUsage): pass - -class list_Transaction(list, Transaction): pass - -class BillingSubscription(GQLObject): - subscriptionUsage: SubscriptionUsage - id: int - userId: int - apiId: str - stripeId: str - billingPlanVersionId: str - canceled: int - autocanceled: bool - type: str - isInternal: bool - mashapeId: str - status: str - apiVersionId: str - customToken: str - canceledAt: DateTime - createdAt: DateTime - deletedAt: DateTime - updatedAt: DateTime - apiVersion: NewType('ApiVersion', GQLObject) ## Circular Reference for ApiVersion - api: NewType('Api', GQLObject) ## Circular Reference for Api - user: NewType('User', GQLObject) ## Circular Reference for User - billingPlanVersion: NewType('BillingPlanVersion', GQLObject) ## Circular Reference for BillingPlanVersion - usageByBillingItem: LRUAG_UsagePeriodGrouper_Field - usages: SubscriptionUsage - parentId: int - teamsSubscriptions: list_GQLObject[GQLObject] ## Circular Reference for BillingSubscription - entity: NewType('Entity', GQLObject) ## Circular Reference for Entity - tenantQuotaUsage: list_SubscriptionQuotaUsage[SubscriptionQuotaUsage] - additionalSubscriptionData: AdditionalSubscriptionProviderData - transactions: list_Transaction[Transaction] - -class KFKPD_ApiVersionBillingPlanVersion_Field(ApiVersionBillingPlanVersion): - class ApiVersionBillingPlanVersionArgs(GQLArgsSet, GQLObject): - apiVersionId: str - filters: BillingPlanVersionFilters - - _args: ApiVersionBillingPlanVersionArgs - - - -class list_ApiVersionBillingPlanVersion(list, ApiVersionBillingPlanVersion): pass - -class WWBZF_BillingLimit_Field(BillingLimit): - class BillingLimitArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingLimitArgs - - - -class list_BillingLimit(list, BillingLimit): pass - -class list_EnableBillingFeature(list, EnableBillingFeature): pass - -class list_BillingSubscription(list, BillingSubscription): pass - -class BillingPlanVersion(GQLObject): - id: str - name: str - current: bool - period: str - visibility: str - option: str - price: float - localePrice: LocalePrice - pricing: str - billingplan: str - billingPlan: NewType('BillingPlan', GQLObject) ## Circular Reference for BillingPlan - type: str - status: str - createdAt: DateTime - updatedAt: DateTime - apiVersionBillingPlanVersion: KFKPD_ApiVersionBillingPlanVersion_Field - billinglimits: WWBZF_BillingLimit_Field - enablebillingfeatures: list_EnableBillingFeature[EnableBillingFeature] - rateLimit: RateLimit - subscriptions: list_BillingSubscription[BillingSubscription] - subscriptionsCount: int - -class list_TargetUrl(list, TargetUrl): pass - -class TargetGroup(GQLObject): - id: ID - apiId: ID - loadBalancingStrategy: LoadBalancingStrategy - name: str - targetUrls: list_TargetUrl[TargetUrl] - -class list_AllowedPlanDeveloper(list, AllowedPlanDeveloper): pass - -class GNRMX_BillingPlanVersion_Field(BillingPlanVersion): - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - id: str - showDeleted: bool - - _args: BillingPlanVersionArgs - - - -class BillingPlan(GQLObject): - id: str - apiversion: str - name: str - slugifiedName: str - status: str - type: str - visibility: Visibility - hidden: bool - recommended: bool - createdAt: DateTime - updatedAt: DateTime - allowedPlanDevelopers: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - allowedPlanDevelopersCount: int - legalDocumentId: str - legalAccountId: str - isStudent: bool - version: GNRMX_BillingPlanVersion_Field - targetGroup: TargetGroup - targetGroupId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - -class ApiCertificate(GQLObject): - id: ID - ownerId: ID - alias: str - effectiveDate: DateTime - expiry: DateTime - createdAt: DateTime - updatedAt: DateTime - serialNumber: str - signatureAlgorithm: str - publicKeySignatureAlgorithm: ApiCertificatePublicKeySignatureAlgorithm - publicKeySizeInBits: int - publicKeyExponent: int - certificateDataAsPem: str - issuer: ApiCertificateIssuerInfo - subject: ApiCertificateSubjectInfo - associations: list_GQLObject[GQLObject] ## Circular Reference for ApiCertificateAssociation - associatedApiVersionsCount: int - -class ApiCertificateAssociation(GQLObject): - apiCertificateId: ID - apiVersionId: ID - createdAt: DateTime - apiCertificate: ApiCertificate - apiVersion: NewType('ApiVersion', GQLObject) ## Circular Reference for ApiVersion - -class ApiSchema(GQLObject): - identifier: str - apiVersion: NewType('ApiVersion', GQLObject) ## Circular Reference for ApiVersion - definition: Any - index: int - -class SecretData(GQLObject): - id: ID - apiversion: ID - -class PXJIG_ResponsePayload_Field(ResponsePayload): - class ResponsePayloadArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ResponsePayloadArgs - - - -class PXYOH_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class CTVGR_EndpointsGroup_Field(EndpointsGroup): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointsGroupArgs - - - -class list_EndpointsGroup(list, EndpointsGroup): pass - -class XIKYO_Publicdns_Field(Publicdns): - class PublicdnsArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: PublicdnsArgs - - - -class list_Publicdns(list, Publicdns): pass - -class NOXSP_BillingPlan_Field(BillingPlan): - class BillingPlanArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - showDeleted: bool - visibility: Visibility - - _args: BillingPlanArgs - - - -class list_BillingPlan(list, BillingPlan): pass - -class ZLKFZ_BillingItem_Field(BillingItem): - class BillingItemArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemArgs - - - -class list_BillingItem(list, BillingItem): pass - -class GLSPT_BillingItemEndpoint_Field(BillingItemEndpoint): - class BillingItemEndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemEndpointArgs - - - -class list_Transformation(list, Transformation): pass - -class list_ApiCertificateAssociation(list, ApiCertificateAssociation): pass - -class QAYSB_Asset_Field(Asset): - class AssetArgs(GQLArgsSet, GQLObject): - visible: bool - - _args: AssetArgs - - - -class list_Asset(list, Asset): pass - -class list_ApiSchema(list, ApiSchema): pass - -class ApiVersion(GQLObject): - id: ID - api: str - current: bool - name: str - status: str - keywords: list[str] - createdAt: DateTime - updatedAt: DateTime - visibility: str - apiInstance: NewType('Api', GQLObject) ## Circular Reference for Api - kafkaConfiguration: KafkaConfiguration - asyncApiConfiguration: AsyncApiConfiguration - webhooks: bool - payloads: PXJIG_ResponsePayload_Field - accessControl: ApiVersionAccessControlInfo - endpoints: PXYOH_Endpoint_Field - groups: CTVGR_EndpointsGroup_Field - publicdns: XIKYO_Publicdns_Field - billingplans: NOXSP_BillingPlan_Field - billingitems: ZLKFZ_BillingItem_Field - billingitemendpoints: GLSPT_BillingItemEndpoint_Field - publicBillingPlanVersions: list_ApiVersionBillingPlanVersion[ApiVersionBillingPlanVersion] - targetGroup: TargetGroup - targetGroupId: str - transformations: list_Transformation[Transformation] - versionStatus: VersionStatus - apiVersionType: ApiVersionType - associatedApiCertificates: list_ApiCertificateAssociation[ApiCertificateAssociation] - assets: QAYSB_Asset_Field - apiSchemas: list_ApiSchema[ApiSchema] - specInfo: SpecInfo - -class FollowApi(GQLObject): - id: str - follower: str - api: str - status: str - apiData: NewType('Api', GQLObject) ## Circular Reference for Api - user: NewType('User', GQLObject) ## Circular Reference for User - -class Comment(GQLObject): - id: int - issueId: int - userId: int - body: str - top: bool - rating: int - mashapeId: str - mashapeAccountId: str - mashapeIssueId: str - index: int - status: str - createdAt: DateTime - updatedAt: DateTime - user: NewType('User', GQLObject) ## Circular Reference for User - -class WJHIL_Comment_Field(Comment): - class CommentArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: CommentArgs - - - -class list_Comment(list, Comment): pass - -class MWDQP_Comment_Field(Comment): - class CommentArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: CommentArgs - - - -class Issue(GQLObject): - id: int - userId: int - topicId: str - title: str - body: str - rating: int - commentsCount: int - mashapeId: str - visibility: str - index: int - mashapeAccountId: str - closed: bool - status: str - createdAt: DateTime - updatedAt: DateTime - comments: WJHIL_Comment_Field - commentsV2: MWDQP_Comment_Field - user: NewType('User', GQLObject) ## Circular Reference for User - api: NewType('Api', GQLObject) ## Circular Reference for Api - -class Spotlight(GQLObject): - id: ID - type: SpotlightType - apiId: ID - spotlightURL: str - status: str - slugifiedName: str - thumbnailURL: str - title: str - description: str - weight: int - published: bool - updatedAt: DateTime - createdAt: DateTime - -class ApiDeveloper(GQLObject): - id: ID - developer: ID - api: ID - type: EntityType - status: ApiDeveloperStatus - blocked: bool - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - user: NewType('Entity', GQLObject) ## Circular Reference for Entity - -class list_Spotlight(list, Spotlight): pass - -class Documentation(GQLObject): - readme: Readme - spotlights: list_Spotlight[Spotlight] - -class UFTRO_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - showDeleted: bool - - _args: EndpointArgs - - - -class RequestLog(GQLObject): - requestId: ID - projectId: ID - api: str - apiId: ID - endpoint: str - endpointObject: UFTRO_Endpoint_Field - endpointId: str - httpMethod: HttpMethod - period: int - apiLatency: int - callTime: DateTime - displayCallTime: DateTime - originIp: str - originCountry: str - engineError: int - httpStatus: int - reqHeadersSize: int - resHeadersSize: int - reqBodySize: int - resBodySize: int - project: NewType('Project', GQLObject) ## Circular Reference for Project - version: ApiVersion - -class list_RequestLog(list, RequestLog): pass - -class RequestLogsResult(GQLObject): - requests: list_RequestLog[RequestLog] - totalCount: int - -class list_APITag(list, APITag): pass - -class list_FollowApi(list, FollowApi): pass - -class QAWSG_Issue_Field(Issue): - class IssueArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: IssueArgs - - - -class list_Issue(list, Issue): pass - -class CJTZR_Announcement_Field(Announcement): - class AnnouncementArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: AnnouncementArgs - - - -class list_Announcement(list, Announcement): pass - -class JPJOJ_ApiDeveloper_Field(ApiDeveloper): - class ApiDeveloperArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ApiDeveloperArgs - - - -class list_ApiDeveloper(list, ApiDeveloper): pass - -class list_TargetGroup(list, TargetGroup): pass - -class list_ApiVersion(list, ApiVersion): pass - -class RQPJL_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class BEMEU_BillingFeature_Field(BillingFeature): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingFeatureArgs - - - -class list_BillingFeature(list, BillingFeature): pass - -class HDKHW_BillingItem_Field(BillingItem): - class BillingItemArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingItemArgs - - - -class AUCGM_BillingPlan_Field(BillingPlan): - class BillingPlanArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: BillingPlanArgs - - - -class QBVAK_RequestLogsResult_Field(RequestLogsResult): - class RequestLogsResultArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: str - limit: int - offset: int - orderBy: RequestLogsOrderBy - orderDir: OrderDirection - filters: RequestLogsOnApiFilters - - _args: RequestLogsResultArgs - - - -class Api(GQLObject): - id: str - externalCustomId: ID - name: str - installsAllTime: int - requestTimeout: int - requestSizeLimit: int - installsDaily: int - installsMonthly: int - installsWeekly: int - pricing: ApiPricing - apiType: ApiType - currentVersion: ApiVersion - category: str - createdAt: str - updatedAt: str - ownerId: int - proxy: bool - status: ApiStatus - description: str - longDescription: str - tags: list_APITag[APITag] - thumbnail: str - thumbnailSmall: str - websiteUrl: str - termsOfService: TermsOfService - visibility: ApiVisibility - owner: NewType('Entity', GQLObject) ## Circular Reference for Entity - score: Score - followers: list_FollowApi[FollowApi] - followersCount: int - subscriptionsCount: int - issues: QAWSG_Issue_Field - rating: apiRating - slugifiedName: str - categoryId: str - allowedContext: list[str] - spotlights: list_Spotlight[Spotlight] - patternMatch: bool - patternMatchAllowOtherTypes: bool - requestSchemaValidation: bool - requestSchemaValidationUnknownAttributePolicy: SchemaValidationUnknownAttributePolicy - gatewayIds: list[ID] - announcements: CJTZR_Announcement_Field - apiDevelopers: JPJOJ_ApiDeveloper_Field - targetGroups: list_TargetGroup[TargetGroup] - publishApiPendingRequest: bool - saveRequestHeadersLogging: bool - saveRequestQueryParametersLogging: bool - saveRequestBodyLogging: bool - saveResponseHeadersLogging: bool - saveResponseBodyLogging: bool - useHttpProxy: bool - security: ApiSecurityInfo - versions: list_ApiVersion[ApiVersion] - documentation: Documentation - endpoints: RQPJL_Endpoint_Field - billingFeatures: BEMEU_BillingFeature_Field - billingItems: HDKHW_BillingItem_Field - billingPlans: AUCGM_BillingPlan_Field - isFavorite: bool - quality: ApiQuality - requestsCount: int - requestLogs: QBVAK_RequestLogsResult_Field - -class ProjectAllowedAPI(GQLObject): - id: int - projectId: int - apiId: str - api: Api - apiVersionId: str - apiVersion: ApiVersion - createdAt: DateTime - updatedAt: DateTime - status: str - -class list_Header(list, Header): pass - -class GatewayTemplate(GQLObject): - id: int - name: str - description: str - urlPattern: str - status: str - type: str - headers: list_Header[Header] - -class Gateway(GQLObject): - id: int - apiGatewayCodeTemplateId: int - version: str - dns: str - type: str - serviceStatus: str - status: str - lastActive: str - gatewayTemplate: GatewayTemplate - configurations: GatewayConfiguration - isDefault: bool - -class list_Gateway(list, Gateway): pass - -class ApplicationAuthorization(GQLObject): - id: ID - name: str - mashapeId: ID - key: str - applicationId: ID - status: AppAuthorizationStatus - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - authorizationType: AppAuthorizationType - authorizationValues: str - gateways: list_Gateway[Gateway] - grantType: AuthorizationGrantType - -class list_Account(list, Account): pass - -class EKSWA_ProjectAllowedAPI_Field(ProjectAllowedAPI): - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: ProjectAllowedAPIArgs - - - -class list_ProjectAllowedAPI(list, ProjectAllowedAPI): pass - -class list_ApplicationAuthorization(list, ApplicationAuthorization): pass - -class HBZFJ_RequestLogsResult_Field(RequestLogsResult): - class RequestLogsResultArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: str - limit: int - offset: int - orderBy: RequestLogsOrderBy - orderDir: OrderDirection - filters: RequestLogsOnProjectFilters - - _args: RequestLogsResultArgs - - - -class Project(GQLObject): - id: int - mashapeId: str - name: str - description: str - thumbnail: str - favorite: bool - accounts: list_Account[Account] - xMashapeKey: str - acl: NewType('ProjectInfo', GQLObject) ## Circular Reference for ProjectInfo - enableLimitsToAPIs: bool - projectAllowedAPIs: EKSWA_ProjectAllowedAPI_Field - applicationAuthorizations: list_ApplicationAuthorization[ApplicationAuthorization] - requestLogs: HBZFJ_RequestLogsResult_Field - -class ProjectInfo(GQLObject): - id: int - owner: int - project: int - user: NewType('User', GQLObject) ## Circular Reference for User - entity: NewType('Entity', GQLObject) ## Circular Reference for Entity - Project: Project - -class SubscriptionsPaging(GQLObject): - subscriptions: list_BillingSubscription[BillingSubscription] - totalCount: int - -class TransactionsPaging(GQLObject): - transactions: list_Transaction[Transaction] - totalCount: int - -class TransactionsGraphData(GQLObject): - prev: TransactionsItem - curr: TransactionsItem - overages: TransactionsItem - -class list_UserAttributesRow(list, UserAttributesRow): pass - -class UserAttributes(GQLObject): - count: int - rows: list_UserAttributesRow[UserAttributesRow] - -class list_EnvelopeDocument(list, EnvelopeDocument): pass - -class EnvelopeTemplate(GQLObject): - documents: list_EnvelopeDocument[EnvelopeDocument] - templateId: str - uri: str - created: DateTime - name: str - description: str - -class list_EnvelopeTemplate(list, EnvelopeTemplate): pass - -class Template(GQLObject): - envelopeTemplates: list_EnvelopeTemplate[EnvelopeTemplate] - -class DocuSignAccount(GQLObject): - id: str - name: str - baseUri: str - template: Template - -class list_DocuSignAccount(list, DocuSignAccount): pass - -class DocuSignUserInfo(GQLObject): - name: str - email: str - accounts: list_DocuSignAccount[DocuSignAccount] - -class DocuSign(GQLObject): - docuSignUserInfo: DocuSignUserInfo - -class LegalAgreementInfo(GQLObject): - id: ID - entityId: int - isLoggedIn: bool - vendor: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - docuSign: DocuSign - -class list_ProjectInfo(list, ProjectInfo): pass - -class UXENS_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - getAllSubscriptions: bool - - _args: BillingSubscriptionArgs - - - -class KXQIM_SubscriptionsPaging_Field(SubscriptionsPaging): - class SubscriptionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - getAllSubscriptions: bool - - _args: SubscriptionsPagingArgs - - - -class EAQVL_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - - _args: BillingSubscriptionArgs - - - -class XFDRW_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - billingPlanVersionId: ID - - _args: BillingSubscriptionArgs - - - -class list_MultipleValuesQueryFilter(list, MultipleValuesQueryFilter): pass - -class QueryFilter(GQLObject): - columnName: str - operand: str - value: Any - values: list_MultipleValuesQueryFilter[MultipleValuesQueryFilter] - -class list_QueryFilter(list, QueryFilter): pass - -class QueryFilters(GQLObject): - filters: list_QueryFilter[QueryFilter] - -class IVEAS_TransactionsPaging_Field(TransactionsPaging): - class TransactionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - apiNameFilter: str - queryFilters: QueryFilters - - _args: TransactionsPagingArgs - - - -class YQXLY_TransactionsPaging_Field(TransactionsPaging): - class TransactionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - apiNameFilter: str - queryFilters: QueryFilters - - _args: TransactionsPagingArgs - - - -class NKJCM_Transaction_Field(Transaction): - class TransactionArgs(GQLArgsSet, GQLObject): - id: ID - mashapeId: ID - - _args: TransactionArgs - - - -class NonNull_DateTime(DateTime): pass - -class VJFWZ_Stats_Field(Stats): - class StatsArgs(GQLArgsSet, GQLObject): - apiId: ID - fromDate: NonNull_DateTime - toDate: DateTime - resolution: Resolution - groupBy: StatsGroupBy - - _args: StatsArgs - - - -class list_Stats(list, Stats): pass - -class list_Api(list, Api): pass - -class Entity(GQLObject): - id: str - mashapeId: str - thumbnail: str - name: str - email: str - username: str - location: str - company: str - position: str - slugifiedName: str - type: str - createdAt: DateTime - numOfApisUsed: int - numOfProjects: int - followsList: list_GQLObject[GQLObject] ## Circular Reference for FollowUser - numOfSubscriptions: int - projectAcls: list_ProjectInfo[ProjectInfo] - subscriptions: UXENS_BillingSubscription_Field - subscriptionsPaging: KXQIM_SubscriptionsPaging_Field - activeSubscriptionByApiId: EAQVL_BillingSubscription_Field - activeSubscriptionByApiIdAndBillingPlanVersionId: XFDRW_BillingSubscription_Field - pagedTransactions: IVEAS_TransactionsPaging_Field - notFullyRefundedTransactions: YQXLY_TransactionsPaging_Field - transactionsGraphData: TransactionsGraphData - transaction: NKJCM_Transaction_Field - parents: list_GQLObject[GQLObject] ## Circular Reference for Entity - stats: VJFWZ_Stats_Field - billingInformation: BillingInformation - bio: str - publishedApisList: list_Api[Api] - apis: list_Api[Api] - attributes: UserAttributes - userEnrichment: UserEnrichment - legalAgreementInfo: LegalAgreementInfo - payoutInfo: PayoutInfo - -class FollowUser(GQLObject): - startFollowDate: str - id: int - email: str - username: str - user: Entity - attributes: Any - -class ApiFollower(GQLObject): - id: ID - followerId: ID - apiId: ID - createdAt: DateTime - api: Api - follower: NewType('User', GQLObject) ## Circular Reference for User - -class Notification(GQLObject): - id: int - userId: int - type: int - text: str - message: NotificationMessage - messageType: str - read: bool - createdAt: DateTime - updatedAt: DateTime - -class ProjectAcl(GQLObject): - id: int - owner: int - project: int - createdAt: DateTime - updatedAt: DateTime - Project: Project - -class TeamUser(GQLObject): - id: int - name: str - username: str - thumbnail: str - email: str - inviteStatus: str - teams: list_GQLObject[GQLObject] ## Circular Reference for Team - role: str - token: str - userData: NewType('User', GQLObject) ## Circular Reference for User - teamsCount: int - -class IssueObject(GQLObject): - data: list_Issue[Issue] - total: int - -class VirtualPermission(GQLObject): - id: ID - key: str - displayName: str - permissionLevel: str - description: str - dependsOn: int - rolePermission: RolePermission - -class list_VirtualPermission(list, VirtualPermission): pass - -class Role(GQLObject): - id: ID - key: str - name: str - description: str - roleLevel: str - isBasicRole: bool - isDefault: bool - permissions: list_VirtualPermission[VirtualPermission] - -class EntityRole(GQLObject): - id: ID - entityId: int - roleId: int - parentId: int - orgId: int - role: Role - -class list_TeamUser(list, TeamUser): pass - -class list_ProjectAcl(list, ProjectAcl): pass - -class CQQAK_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - - _args: BillingSubscriptionArgs - - - -class MRTUE_FollowersUser_Field(FollowersUser): - class FollowersUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowersUserArgs - - - -class list_FollowersUser(list, FollowersUser): pass - -class MQRAU_IssueObject_Field(IssueObject): - class IssueObjectArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - -class ROICV_EntityRole_Field(EntityRole): - class EntityRoleArgs(GQLArgsSet, GQLObject): - where: WhereOrgTeam - - _args: EntityRoleArgs - - - -class Team(GQLObject): - id: ID - mashapeId: str - thumbnail: str - name: str - slugifiedName: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - status: str - users: list_TeamUser[TeamUser] - ProjectAcls: list_ProjectAcl[ProjectAcl] - usersCount: int - description: str - subscriptions: CQQAK_BillingSubscription_Field - followersList: MRTUE_FollowersUser_Field - publishedApisList: list_Api[Api] - isTeamMember: bool - issues: MQRAU_IssueObject_Field - role: ROICV_EntityRole_Field - -class AdminProjectAcl(GQLObject): - id: int - owner: AdminOwnerProject - project: int - createdAt: DateTime - updatedAt: DateTime - Project: Project - -class SCBAJ_Team_Field(Team): - class TeamArgs(GQLArgsSet, GQLObject): - where: WhereOrgTeam - - _args: TeamArgs - - - -class list_Team(list, Team): pass - -class DRCWF_FollowersUser_Field(FollowersUser): - class FollowersUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowersUserArgs - - - -class YLRVH_IssueObject_Field(IssueObject): - class IssueObjectArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - -class list_AdminProjectAcl(list, AdminProjectAcl): pass - -class Organization(GQLObject): - id: ID - email: str - name: str - thumbnail: str - slugifiedName: str - status: str - billingInformation: BillingInformation - description: str - teams: SCBAJ_Team_Field - publishedApisList: list_Api[Api] - users: list_GQLObject[GQLObject] ## Circular Reference for User - followersList: DRCWF_FollowersUser_Field - isOrganizationAdmin: bool - apisCount: int - internalSubscriptionsCount: int - externalSubscriptionsCount: int - issues: YLRVH_IssueObject_Field - billingAdditionalValues: BillingAdditionalValues - payoutInfo: PayoutInfo - balance: float - occupiedSeats: int - entity: Any - seatsBillingInformation: SeatsBillingInformation - billingType: str - role: EntityRole - createdAt: DateTime - updatedAt: DateTime - numOfTeams: int - numOfUsers: int - apis: list_Api[Api] - internalSubscriptions: list_BillingSubscription[BillingSubscription] - externalSubscriptions: list_BillingSubscription[BillingSubscription] - ProjectAcls: list_AdminProjectAcl[AdminProjectAcl] - -class list_StatsFilterBy(list, StatsFilterBy): pass - -class OHGTY_Stats_Field(Stats): - class StatsArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: NonNull_str - resolution: str - projectId: str - apiId: str - groupBy: StatsGroupBy - filters: list_StatsFilterBy[StatsFilterBy] - timeOffset: int - - _args: StatsArgs - - - -class FTDYP_FollowersUser_Field(FollowersUser): - class FollowersUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowersUserArgs - - - -class ICBCI_FollowUser_Field(FollowUser): - class FollowUserArgs(GQLArgsSet, GQLObject): - includeUserAttributes: bool - - _args: FollowUserArgs - - - -class list_FollowUser(list, FollowUser): pass - -class list_ApiFollower(list, ApiFollower): pass - -class list_IssueFollow(list, IssueFollow): pass - -class SGSIZ_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - - _args: BillingSubscriptionArgs - - - -class QDUJP_SubscriptionsPaging_Field(SubscriptionsPaging): - class SubscriptionsPagingArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - isStripeId: bool - - _args: SubscriptionsPagingArgs - - - -class TTYLO_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - - _args: BillingSubscriptionArgs - - - -class UCHJL_BillingSubscription_Field(BillingSubscription): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - billingPlanVersionId: ID - - _args: BillingSubscriptionArgs - - - -class list_Notification(list, Notification): pass - -class SCKYH_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - projectId: ID - mashapeId: ID - - _args: ProjectArgs - - - -class XBCWW_Project_Field(Project): - class ProjectArgs(GQLArgsSet, GQLObject): - projectIds: list[NonNull_ID] - mashapeIds: list[NonNull_ID] - - _args: ProjectArgs - - - -class list_Project(list, Project): pass - -class OADYM_ProjectInfo_Field(ProjectInfo): - class ProjectInfoArgs(GQLArgsSet, GQLObject): - projectId: NonNull_ID - - _args: ProjectInfoArgs - - - -class NGUOZ_Transaction_Field(Transaction): - class TransactionArgs(GQLArgsSet, GQLObject): - id: ID - mashapeId: ID - - _args: TransactionArgs - - - -class list_Organization(list, Organization): pass - -class list_CorporateDomainOrganization(list, CorporateDomainOrganization): pass - -class User(GQLObject): - id: str - email: str - gmail: str - githubUsername: str - facebookUsername: str - rememberMe: str - followers: int - company: str - position: str - location: str - lastActive: DateTime - thumbnail: str - name: str - username: str - packages: int - discussions: int - lastActivePublic: bool - emailPublic: bool - githubUrl: str - githubUrlPublic: bool - mashapeId: str - status: str - origin_site: str - rakutenToken: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - stats: OHGTY_Stats_Field - apisCount: int - followersList: FTDYP_FollowersUser_Field - followsList: ICBCI_FollowUser_Field - followedApis: list_ApiFollower[ApiFollower] - followsIssues: list_IssueFollow[IssueFollow] - followsIssuesV2: list_IssueFollow[IssueFollow] - subscriptions: SGSIZ_BillingSubscription_Field - subscriptionsPaging: QDUJP_SubscriptionsPaging_Field - activeSubscriptionByApiId: TTYLO_BillingSubscription_Field - activeSubscriptionByApiIdAndBillingPlanVersionId: UCHJL_BillingSubscription_Field - notifications: list_Notification[Notification] - numOfApisUsed: int - numOfProjects: int - numOfSubscriptions: int - billingInformation: BillingInformation - allowedPlanDevelopers: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - payoutInfo: PayoutInfo - project: SCKYH_Project_Field - projects: XBCWW_Project_Field - projectACL: OADYM_ProjectInfo_Field - ProjectACLs: list_ProjectInfo[ProjectInfo] - ProfileInfo: ProfileInfo - transactionsGraphData: TransactionsGraphData - transaction: NGUOZ_Transaction_Field - ProjectAcls: list_ProjectAcl[ProjectAcl] - publishedApisList: list_Api[Api] - bio: str - Teams: list_Team[Team] - organizations: list_Organization[Organization] - attributes: UserAttributes - isCurrentUser: bool - balance: float - entity: Any - userEnrichment: UserEnrichment - corporateDomain: CorporateDomain - organizationsWithTheSameDomain: list_CorporateDomainOrganization[CorporateDomainOrganization] - billingType: str - isUserCreatedBySSO: bool - protected: bool - role: EntityRole - activeOrganizationRole: str - verified: bool - singleAdminOrgs: list[ID] - -class list_UsageByTeam(list, UsageByTeam): pass - -class OrgSubscriptionUsage(GQLObject): - id: ID - name: str - byOrg: UsageByOrg - byTeam: list_UsageByTeam[UsageByTeam] - -class TutorialEdge(GQLObject): - node: Tutorial - cursor: str - -class list_Tutorial(list, Tutorial): pass - -class list_TutorialEdge(list, TutorialEdge): pass - -class TutorialConnection(GQLObject): - nodes: list_Tutorial[Tutorial] - edges: list_TutorialEdge[TutorialEdge] - pageInfo: PageInfo - -class TransformationEdge(GQLObject): - node: Transformation - cursor: str - -class list_TransformationEdge(list, TransformationEdge): pass - -class TransformationConnection(GQLObject): - nodes: list_Transformation[Transformation] - edges: list_TransformationEdge[TransformationEdge] - pageInfo: PageInfo - -class TransactionsWhereInput(GQLObject): - userId: ID - apiIds: list[ID] - apiOwnerIds: list[ID] - withCharges: bool - queryFilters: QueryFilters - pagingArgs: PagingArgs - -class TransactionEdge(GQLObject): - node: Transaction - cursor: str - -class list_TransactionEdge(list, TransactionEdge): pass - -class TransactionConnection(GQLObject): - nodes: list_Transaction[Transaction] - edges: list_TransactionEdge[TransactionEdge] - pageInfo: PageInfo - totalCount: int - -class Tenant(GQLObject): - id: ID - name: str - domain: str - slugifiedKey: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - tenantPricingPlan: TenantPricingPlan - pricingPlanId: int - isCustomDomain: bool - internalOwnerId: int - subscription: BillingSubscription - -class TagDefinitionEdge(GQLObject): - node: TagDefinition - cursor: str - -class list_TagDefinition(list, TagDefinition): pass - -class list_TagDefinitionEdge(list, TagDefinitionEdge): pass - -class TagDefinitionConnection(GQLObject): - nodes: list_TagDefinition[TagDefinition] - edges: list_TagDefinitionEdge[TagDefinitionEdge] - pageInfo: PageInfo - -class BillingSubscriptionEdge(GQLObject): - node: BillingSubscription - cursor: str - -class list_BillingSubscriptionEdge(list, BillingSubscriptionEdge): pass - -class SubscriptionConnection(GQLObject): - nodes: list_BillingSubscription[BillingSubscription] - edges: list_BillingSubscriptionEdge[BillingSubscriptionEdge] - pageInfo: PageInfo - totalCount: int - -class SpotlightEdge(GQLObject): - node: Spotlight - cursor: str - -class list_SpotlightEdge(list, SpotlightEdge): pass - -class SpotlightConnection(GQLObject): - nodes: list_Spotlight[Spotlight] - edges: list_SpotlightEdge[SpotlightEdge] - pageInfo: PageInfo - -class AVCAN_Api_Field(Api): - class ApiArgs(GQLArgsSet, GQLObject): - weightLowerThan: int - - _args: ApiArgs - - - -class list_BlogPosts(list, BlogPosts): pass - -class SearchCollection(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: AVCAN_Api_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class SearchConnectionEdge(GQLObject): - node: SearchCollection - cursor: str - -class list_SearchCollection(list, SearchCollection): pass - -class list_SearchConnectionEdge(list, SearchConnectionEdge): pass - -class SearchCollectionConnection(GQLObject): - nodes: list_SearchCollection[SearchCollection] - edges: list_SearchConnectionEdge[SearchConnectionEdge] - pageInfo: PageInfo - total: int - -class SearchBlogPostEdge(GQLObject): - node: SearchBlogPost - cursor: str - -class list_SearchBlogPost(list, SearchBlogPost): pass - -class list_SearchBlogPostEdge(list, SearchBlogPostEdge): pass - -class SearchBlogPostConnection(GQLObject): - nodes: list_SearchBlogPost[SearchBlogPost] - edges: list_SearchBlogPostEdge[SearchBlogPostEdge] - pageInfo: PageInfo - total: int - -class HUKNW_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class ZBLJK_EndpointsGroup_Field(EndpointsGroup): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointsGroupArgs - - - -class SearchApiVersion(GQLObject): - id: ID - api: str - description: str - longDescription: str - name: str - pricing: str - status: str - keywords: list[str] - thumbnail: str - thumbnailSmall: str - type: str - createdAt: DateTime - updatedAt: DateTime - visibility: str - webhooks: bool - websiteUrl: str - endpoints: HUKNW_Endpoint_Field - tags: list_APITag[APITag] - groups: ZBLJK_EndpointsGroup_Field - authentication: Authentication - -class SearchApi(GQLObject): - id: str - apiType: str - name: str - title: str - description: str - keywords: list[str] - installsAllTime: int - installsDaily: int - thumbnail: str - thumbnailSmall: str - rating: int - categoryName: str - User: SearchApiUser - Ratings: list[int] - key: str - longDescription: str - visibility: str - score: Score - pricing: str - version: SearchApiVersion - createdAt: DateTime - updatedAt: DateTime - slugifiedName: str - objectID: str - locale: Locale - tags: list_APITag[APITag] - -class SearchApiEdge(GQLObject): - node: SearchApi - cursor: str - -class list_SearchApi(list, SearchApi): pass - -class list_SearchApiEdge(list, SearchApiEdge): pass - -class SearchApiConnection(GQLObject): - nodes: list_SearchApi[SearchApi] - edges: list_SearchApiEdge[SearchApiEdge] - pageInfo: PageInfo - total: int - queryID: ID - replicaIndex: str - took: int - -class RoleEdge(GQLObject): - node: Role - cursor: str - -class list_Role(list, Role): pass - -class list_RoleEdge(list, RoleEdge): pass - -class RoleConnection(GQLObject): - nodes: list_Role[Role] - edges: list_RoleEdge[RoleEdge] - pageInfo: PageInfo - -class list_Message(list, Message): pass - -class MessageThread(GQLObject): - id: ID - apiId: str - ownerId: int - entityId: int - ownerDisplayName: str - entityDisplayName: str - apiDisplayName: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - messages: list_Message[Message] - lastMessage: Message - api: Api - entity: Entity - threadEntityStatus: ThreadEntityStatus - body: str - -class list_MessageThread(list, MessageThread): pass - -class MessageThreadsObject(GQLObject): - threads: list_MessageThread[MessageThread] - messages: list_Message[Message] - -class KafkaJSConfigurationInput(GQLObject): - brokers: list[str] - clientId: str - ssl: bool - sasl: SaslConfigurationInput - -class UpdateKafkaConfigurationInput(GQLObject): - kafkaConfiguration: KafkaJSConfigurationInput - schemaRegistryConfiguration: SchemaRegistryConfigurationInput - allowProducingRecords: bool - apiVersionId: str - -class TopicSchemaPair(GQLObject): - key: TopicSchema - value: TopicSchema - -class list_TopicOffset(list, TopicOffset): pass - -class list_TopicConfigurationItem(list, TopicConfigurationItem): pass - -class TopicMetadataResponse(GQLObject): - topicOffsets: list_TopicOffset[TopicOffset] - topicConfiguration: list_TopicConfigurationItem[TopicConfigurationItem] - schemas: TopicSchemaPair - -class GatewayEdge(GQLObject): - node: Gateway - cursor: str - -class list_GatewayEdge(list, GatewayEdge): pass - -class GatewayConnection(GQLObject): - nodes: list_Gateway[Gateway] - edges: list_GatewayEdge[GatewayEdge] - pageInfo: PageInfo - -class EntityRoleEdge(GQLObject): - node: EntityRole - cursor: str - -class list_EntityRole(list, EntityRole): pass - -class list_EntityRoleEdge(list, EntityRoleEdge): pass - -class EntityRoleConnection(GQLObject): - nodes: list_EntityRole[EntityRole] - edges: list_EntityRoleEdge[EntityRoleEdge] - pageInfo: PageInfo - -class list_headerParametersArray(list, headerParametersArray): pass - -class list_routeParametersArray(list, routeParametersArray): pass - -class parametersForUpdateOrCreateEndpointWithParameters(GQLObject): - header: list_headerParametersArray[headerParametersArray] - route: list_routeParametersArray[routeParametersArray] - -class list_payloadParametersForUpdateOrCreateEndpointWithParameters(list, payloadParametersForUpdateOrCreateEndpointWithParameters): pass - -class list_PayloadObjectInput(list, PayloadObjectInput): pass - -class updateOrCreateEndpointWithParameters(GQLObject): - apiVersionId: str - endpointId: str - description: str - method: str - name: str - params: parametersForUpdateOrCreateEndpointWithParameters - patternMatch: bool - payloadModel: payloadModelForUpdateOrCreateEndpointWithParameters - payloadParameters: list_payloadParametersForUpdateOrCreateEndpointWithParameters[payloadParametersForUpdateOrCreateEndpointWithParameters] - route: str - routeregex: str - displayResponse: bool - response: str - responseObject: ResponseObjectInput - mockResponseId: ID - mockResponseObject: MockResponseObjectInput - responsePayloads: list_PayloadObjectInput[PayloadObjectInput] - requestPayloads: list_PayloadObjectInput[PayloadObjectInput] - group: str - isGraphQL: bool - graphQLSchemaObject: GraphQLSchemaCreateInput - externalDocs: ExternalDocsInput - -class list_EndpointStatsData(list, EndpointStatsData): pass - -class EndpointStatsV2(GQLObject): - endpoint: Endpoint - stats: list_EndpointStatsData[EndpointStatsData] - apiData: Api - -class EndpointStats(GQLObject): - endpointid: ID - name: EPSBN_name_Field - stats: list_EndpointStatsData[EndpointStatsData] - apiData: Api - -class Discussion(GQLObject): - id: int - userId: int - topicId: str - title: str - body: str - rating: int - commentsCount: int - status: str - createdAt: DateTime - updatedAt: DateTime - visibility: str - api: Api - user: User - type: str - -class Consumer(GQLObject): - id: ID - userId: ID - subscriptionId: ID - subscriptionObjectId: ID - billingPlanVersionId: ID - username: str - name: str - dateSubscribed: DateTime - createdAt: DateTime - plan: str - planPeriod: str - planPrice: float - planVersion: BillingPlanVersion - usages: SubscriptionUsage - quotaId: ID - lastActive: str - limit: int - total: float - subscription: SubscriptionString - transactions: list[str] - blocked: bool - apiId: ID - requests: int - entity: Entity - api: Api - apiVersionId: ID - billingItems: list_BillingItem[BillingItem] - -class ConsumerEdge(GQLObject): - node: Consumer - cursor: str - -class list_Consumer(list, Consumer): pass - -class list_ConsumerEdge(list, ConsumerEdge): pass - -class ConsumerConnection(GQLObject): - nodes: list_Consumer[Consumer] - edges: list_ConsumerEdge[ConsumerEdge] - pageInfo: PageInfo - count: int - -class ConsumersRow(GQLObject): - id: ID - userId: ID - subscriptionId: ID - subscriptionObjectId: ID - billingPlanVersionId: ID - username: str - name: str - dateSubscribed: DateTime - createdAt: DateTime - plan: str - planPeriod: str - planPrice: float - planVersion: BillingPlanVersion - usages: SubscriptionUsage - quotaId: ID - lastActive: str - limit: int - total: float - subscription: SubscriptionString - transactions: list[str] - blocked: bool - apiId: ID - requests: int - entity: Entity - api: Api - apiVersionId: ID - billingItems: list_BillingItem[BillingItem] - -class CollectionItem(GQLObject): - pass - -class HDCRS_CollectionItem_Field(CollectionItem): - class CollectionItemArgs(GQLArgsSet, GQLObject): - apisSkip: int - apisLimit: int - - _args: CollectionItemArgs - - - -class list_CollectionItem(list, CollectionItem): pass - -class CollectionV3(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: HDCRS_CollectionItem_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class UAZEU_CollectionItem_Field(CollectionItem): - class CollectionItemArgs(GQLArgsSet, GQLObject): - weightLowerThan: int - - _args: CollectionItemArgs - - - -class CollectionV2(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: UAZEU_CollectionItem_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class YSRTF_Api_Field(Api): - class ApiArgs(GQLArgsSet, GQLObject): - weightLowerThan: int - - _args: ApiArgs - - - -class Collection(GQLObject): - id: str - title: str - slugifiedKey: str - weight: float - shortDescription: str - longDescription: str - thumbnail: str - apis: YSRTF_Api_Field - blogPostId: str - post: BlogPost - blogPosts: list_BlogPosts[BlogPosts] - orderCollectionItems: list[str] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - ownerId: int - orgId: str - orgName: str - collection_type: str - -class CategoryEdge(GQLObject): - node: Category - cursor: str - -class list_Category(list, Category): pass - -class list_CategoryEdge(list, CategoryEdge): pass - -class CategoryConnection(GQLObject): - nodes: list_Category[Category] - edges: list_CategoryEdge[CategoryEdge] - pageInfo: PageInfo - -class BillingPlanVersionEdge(GQLObject): - node: BillingPlanVersion - cursor: str - -class list_BillingPlanVersion(list, BillingPlanVersion): pass - -class list_BillingPlanVersionEdge(list, BillingPlanVersionEdge): pass - -class BillingPlanVersionConnection(GQLObject): - nodes: list_BillingPlanVersion[BillingPlanVersion] - edges: list_BillingPlanVersionEdge[BillingPlanVersionEdge] - pageInfo: PageInfo - -class list_BillingLimitInputV2(list, BillingLimitInputV2): pass - -class list_EnableBillingFeatureInputV2(list, EnableBillingFeatureInputV2): pass - -class upsertBillingPlanVersionInput(GQLObject): - billingPlanVersionId: str - showInMarketplace: bool - price: float - planType: str - rateLimit: RateLimitInputV2 - billingLimits: list_BillingLimitInputV2[BillingLimitInputV2] - enableBillingFeatures: list_EnableBillingFeatureInputV2[EnableBillingFeatureInputV2] - -class upsertBillingPlanAndVersionInput(GQLObject): - apiId: str - apiName: str - apiVersionId: str - apiVersionName: str - providerName: str - upsertBillingPlanInput: upsertBillingPlanInput - upsertBillingPlanVersionInput: upsertBillingPlanVersionInput - -class list_EnableBillingFeatureInput(list, EnableBillingFeatureInput): pass - -class list_BillingLimitInput(list, BillingLimitInput): pass - -class BillingPlanExtendedUpdateInput(GQLObject): - billingPlanId: str - api: str - apiName: str - apiVersion: str - apiVersionName: str - providerName: str - name: str - targetGroup: str - isPrivatePlan: bool - isStudent: bool - legalDocumentId: str - legalAccountId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - price: float - type: BillingPlanType - rateLimit: RateLimitInput - enableBillingFeatures: list_EnableBillingFeatureInput[EnableBillingFeatureInput] - billingLimits: list_BillingLimitInput[BillingLimitInput] - -class BillingPlanCreateInput(GQLObject): - api: str - apiName: str - apiVersion: str - apiVersionName: str - providerName: str - name: str - targetGroup: str - isPrivatePlan: bool - isStudent: bool - legalDocumentId: str - legalAccountId: str - shouldRequestApproval: bool - requestApprovalQuestion: str - price: float - type: BillingPlanType - rateLimit: RateLimitInput - enableBillingFeatures: list_EnableBillingFeatureInput[EnableBillingFeatureInput] - billingLimits: list_BillingLimitInput[BillingLimitInput] - -class BillingItemEdge(GQLObject): - node: BillingItem - cursor: str - -class list_BillingItemEdge(list, BillingItemEdge): pass - -class BillingItemConnection(GQLObject): - nodes: list_BillingItem[BillingItem] - edges: list_BillingItemEdge[BillingItemEdge] - pageInfo: PageInfo - -class list_AuthenticationParamInput(list, AuthenticationParamInput): pass - -class authenticationInput(GQLObject): - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - oauthTokenUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - legs: int - clientAuthentication: ClientAuthenticationType - clientSecretRequired: bool - authParams: list_AuthenticationParamInput[AuthenticationParamInput] - handleOauthTokenAtFrontend: bool - extraMetadata: AuthenticationExtraMetadataInput - -class audit(GQLObject): - id: str - time: DateTime - actorRole: str - action: str - eventName: str - user: AuditUser - activeEntity: activeEntity - params: params - attributes: attributes - geo: geo - -class list_ApiTagValueInput(list, ApiTagValueInput): pass - -class ApiUpdateInput(GQLObject): - id: ID - ownerId: ID - category: str - visibility: ApiVisibility - termsOfService: ApiTermsOfServiceInput - description: str - longDescription: str - externalCustomId: ID - websiteUrl: str - thumbnail: Upload - tags: list_ApiTagValueInput[ApiTagValueInput] - gatewayIds: list[ID] - useHttpProxy: bool - requestTimeout: int - requestSizeLimit: int - saveRequestHeadersLogging: bool - saveRequestQueryParametersLogging: bool - saveRequestBodyLogging: bool - saveResponseHeadersLogging: bool - saveResponseBodyLogging: bool - requestSchemaValidation: bool - requestSchemaValidationUnknownAttributePolicy: SchemaValidationUnknownAttributePolicy - patternMatch: bool - patternMatchAllowOtherTypes: bool - -class ApiEdge(GQLObject): - node: Api - cursor: str - -class list_ApiEdge(list, ApiEdge): pass - -class ApiConnection(GQLObject): - nodes: list_Api[Api] - edges: list_ApiEdge[ApiEdge] - pageInfo: PageInfo - totalCount: int - -class list_ApiVersionSecretParameterInput(list, ApiVersionSecretParameterInput): pass - -class ApiVersionAccessControlUpdateInput(GQLObject): - secretParameters: list_ApiVersionSecretParameterInput[ApiVersionSecretParameterInput] - -class list_ApiCertificateAssociationTarget(list, ApiCertificateAssociationTarget): pass - -class ApiVersionUpdateInput(GQLObject): - current: bool - name: str - versionStatus: str - visibility: Visibility - apiVersionId: str - accessControl: ApiVersionAccessControlUpdateInput - associatedCertificates: list_ApiCertificateAssociationTarget[ApiCertificateAssociationTarget] - -class ApiVersionEdge(GQLObject): - node: ApiVersion - cursor: str - -class list_ApiVersionEdge(list, ApiVersionEdge): pass - -class ApiVersionConnection(GQLObject): - nodes: list_ApiVersion[ApiVersion] - edges: list_ApiVersionEdge[ApiVersionEdge] - pageInfo: PageInfo - -class OJRWD_Endpoint_Field(Endpoint): - class EndpointArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointArgs - - - -class YLLWC_EndpointsGroup_Field(EndpointsGroup): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: EndpointsGroupArgs - - - -class ApiVersionSearch(GQLObject): - id: ID - api: str - description: str - longDescription: str - name: str - pricing: str - status: str - keywords: list[str] - thumbnail: str - thumbnailSmall: str - type: str - createdAt: DateTime - updatedAt: DateTime - visibility: str - webhooks: bool - websiteUrl: str - endpoints: OJRWD_Endpoint_Field - groups: YLLWC_EndpointsGroup_Field - authentication: Authentication - -class ApiSearch(GQLObject): - id: str - apiType: str - name: str - title: str - description: str - keywords: list[str] - installsAllTime: int - installsDaily: int - thumbnail: str - thumbnailSmall: str - rating: int - categoryName: str - User: ApiSearchUser - Ratings: list[int] - key: str - longDescription: str - visibility: str - score: Score - pricing: str - version: ApiVersionSearch - createdAt: DateTime - updatedAt: DateTime - slugifiedName: str - objectID: str - tags: list_APITag[APITag] - -class ReferenceSpotlight(GQLObject): - id: ID - url: str - title: str - description: str - thumbnailUrl: str - display: bool - weight: int - apis: list_Api[Api] - -class list_Feature(list, Feature): pass - -class list_ReferenceSpotlight(list, ReferenceSpotlight): pass - -class ApiReference(GQLObject): - id: ID - image: str - videoId: ID - headline: str - features: list_Feature[Feature] - spotlights: list_ReferenceSpotlight[ReferenceSpotlight] - -class ApiFollowerEdge(GQLObject): - node: ApiFollower - cursor: str - -class list_ApiFollowerEdge(list, ApiFollowerEdge): pass - -class ApiFollowerConnection(GQLObject): - nodes: list_ApiFollower[ApiFollower] - edges: list_ApiFollowerEdge[ApiFollowerEdge] - pageInfo: PageInfo - -class ApiCertificateEdge(GQLObject): - node: ApiCertificate - cursor: str - -class list_ApiCertificate(list, ApiCertificate): pass - -class list_ApiCertificateEdge(list, ApiCertificateEdge): pass - -class ApiCertificateConnection(GQLObject): - nodes: list_ApiCertificate[ApiCertificate] - edges: list_ApiCertificateEdge[ApiCertificateEdge] - pageInfo: PageInfo - -class UserAlertEdge(GQLObject): - node: UserAlert - cursor: str - -class list_UserAlert(list, UserAlert): pass - -class list_UserAlertEdge(list, UserAlertEdge): pass - -class UserAlertsConnection(GQLObject): - nodes: list_UserAlert[UserAlert] - edges: list_UserAlertEdge[UserAlertEdge] - pageInfo: PageInfo - -class list_GatewayCustomMessageUpdateInput(list, GatewayCustomMessageUpdateInput): pass - -class GatewayInstanceUpdateInput(GQLObject): - id: ID - apiGatewayCodeTemplateId: int - dns: str - serviceStatus: str - configurations: GatewayConfigurationUpdateInput - customMessages: list_GatewayCustomMessageUpdateInput[GatewayCustomMessageUpdateInput] - isDefault: bool - -class list_GatewayCustomMessageCreateInput(list, GatewayCustomMessageCreateInput): pass - -class GatewayInstanceCreateInput(GQLObject): - apiGatewayCodeTemplateId: int - dns: str - type: GatewayType - configurations: GatewayConfigurationCreateInput - customMessages: list_GatewayCustomMessageCreateInput[GatewayCustomMessageCreateInput] - isDefault: bool - -class EventLogEdge(GQLObject): - cursor: str - node: EventLog - -class list_EventLogEdge(list, EventLogEdge): pass - -class list_EventLog(list, EventLog): pass - -class EventLogConnection(GQLObject): - edges: list_EventLogEdge[EventLogEdge] - nodes: list_EventLog[EventLog] - totalCount: int - pageInfo: PageInfo - -class AdminAuditLog(GQLObject): - id: str - action: str - eventName: str - user: AuditUser - auditText: str - statusCode: str - highlight: list[str] - createdAt: DateTime - -class AdminAuditLogEdge(GQLObject): - cursor: str - node: AdminAuditLog - -class list_AdminAuditLogEdge(list, AdminAuditLogEdge): pass - -class list_AdminAuditLog(list, AdminAuditLog): pass - -class AdminAuditLogConnection(GQLObject): - edges: list_AdminAuditLogEdge[AdminAuditLogEdge] - nodes: list_AdminAuditLog[AdminAuditLog] - totalCount: int - pageInfo: PageInfo - -class list_EventUrl(list, EventUrl): pass - -class list_EventType(list, EventType): pass - -class EventConfig(GQLObject): - id: ID - isActive: bool - secret: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - urls: list_EventUrl[EventUrl] - types: list_EventType[EventType] - -class EventUrlEdge(GQLObject): - cursor: str - node: EventUrl - -class list_EventUrlEdge(list, EventUrlEdge): pass - -class EventUrlConnection(GQLObject): - edges: list_EventUrlEdge[EventUrlEdge] - nodes: list_EventUrl[EventUrl] - totalCount: int - pageInfo: PageInfo - -class GatewayTemplateParamEdge(GQLObject): - cursor: str - node: GatewayTemplateParam - -class list_GatewayTemplateParamEdge(list, GatewayTemplateParamEdge): pass - -class list_GatewayTemplateParam(list, GatewayTemplateParam): pass - -class GatewayTemplateParamConnection(GQLObject): - edges: list_GatewayTemplateParamEdge[GatewayTemplateParamEdge] - nodes: list_GatewayTemplateParam[GatewayTemplateParam] - totalCount: int - pageInfo: PageInfo - -class GwTemplate(GQLObject): - id: ID - name: str - description: str - urlPattern: str - status: str - isCanBeDeleted: bool - createdAt: DateTime - updatedAt: DateTime - isCanBeEdited: bool - templateParams: list_GatewayTemplateParam[GatewayTemplateParam] - -class list_GatewayCustomMessage(list, GatewayCustomMessage): pass - -class GatewayInstance(GQLObject): - id: ID - apiGatewayCodeTemplateId: int - dns: str - type: str - deploymentKey: str - serviceStatus: str - status: str - createdAt: DateTime - updatedAt: DateTime - isDefault: bool - isCanBeEdited: bool - template: GwTemplate - configurations: GatewayConfigurations - customMessages: list_GatewayCustomMessage[GatewayCustomMessage] - -class GatewayInstanceEdge(GQLObject): - cursor: str - node: GatewayInstance - -class list_GatewayInstanceEdge(list, GatewayInstanceEdge): pass - -class list_GatewayInstance(list, GatewayInstance): pass - -class GatewayInstanceConnection(GQLObject): - edges: list_GatewayInstanceEdge[GatewayInstanceEdge] - nodes: list_GatewayInstance[GatewayInstance] - totalCount: int - pageInfo: PageInfo - -class GwTemplateEdge(GQLObject): - cursor: str - node: GwTemplate - -class list_GwTemplateEdge(list, GwTemplateEdge): pass - -class list_GwTemplate(list, GwTemplate): pass - -class GatewayTemplateConnection(GQLObject): - edges: list_GwTemplateEdge[GwTemplateEdge] - nodes: list_GwTemplate[GwTemplate] - totalCount: int - pageInfo: PageInfo - -class list_ExtensionConsumer(list, ExtensionConsumer): pass - -class Extension(GQLObject): - id: ID - name: str - description: str - title: str - url: str - sourceUrl: str - sourceType: str - slugifiedKey: str - isEnabled: bool - loggedInRequired: bool - path: str - extensionConsumers: list_ExtensionConsumer[ExtensionConsumer] - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - topic: str - order: int - -class list_EventUrlSortablesSortingField(list, EventUrlSortablesSortingField): pass - -class EventUrlSortablesInput(GQLObject): - sortingFields: list_EventUrlSortablesSortingField[EventUrlSortablesSortingField] - -class list_GatewayInstanceSortingSortingField(list, GatewayInstanceSortingSortingField): pass - -class GatewayInstanceSortingInput(GQLObject): - sortingFields: list_GatewayInstanceSortingSortingField[GatewayInstanceSortingSortingField] - -class list_GatewayTemplateSortingSortingField(list, GatewayTemplateSortingSortingField): pass - -class GatewayTemplateSortingInput(GQLObject): - sortingFields: list_GatewayTemplateSortingSortingField[GatewayTemplateSortingSortingField] - -class list_GatewayTemplateParamsSortingFieldNameSortingField(list, GatewayTemplateParamsSortingFieldNameSortingField): pass - -class GatewayTemplateParamSortingInput(GQLObject): - sortingFields: list_GatewayTemplateParamsSortingFieldNameSortingField[GatewayTemplateParamsSortingFieldNameSortingField] - -class list_AdminAuditLogSortablesSortingField(list, AdminAuditLogSortablesSortingField): pass - -class AdminAuditLogSortablesInput(GQLObject): - sortingFields: list_AdminAuditLogSortablesSortingField[AdminAuditLogSortablesSortingField] - -class list_EventLogSortablesSortingField(list, EventLogSortablesSortingField): pass - -class EventLogSortablesInput(GQLObject): - sortingFields: list_EventLogSortablesSortingField[EventLogSortablesSortingField] - -class list_PartialGatewayTemplateParamCreateInput(list, PartialGatewayTemplateParamCreateInput): pass - -class GatewayTemplateCreateInput(GQLObject): - name: str - description: str - urlPattern: str - headers: list_PartialGatewayTemplateParamCreateInput[PartialGatewayTemplateParamCreateInput] - -class list_GatewayTemplateParamsUpdateInput(list, GatewayTemplateParamsUpdateInput): pass - -class GatewayTemplateUpdateInput(GQLObject): - name: str - description: str - urlPattern: str - id: ID - headers: list_GatewayTemplateParamsUpdateInput[GatewayTemplateParamsUpdateInput] - -class list_SEOTagAttribute(list, SEOTagAttribute): pass - -class SEOTag(GQLObject): - tag: str - innerBody: str - attributes: list_SEOTagAttribute[SEOTagAttribute] - -class list_SEOTag(list, SEOTag): pass - -class SEO(GQLObject): - id: str - url: str - description: str - brand: str - lang: str - tags: list_SEOTag[SEOTag] - -class list_AnalyticsStatsHttpResponseInput(list, AnalyticsStatsHttpResponseInput): pass - -class AnalyticsStatsInput(GQLObject): - apiIds: list[ID] - endpointRoutes: list[str] - apiVersionIds: list[ID] - consumerIds: list[ID] - endpointHashes: list[ID] - endpointIds: list[ID] - httpMethods: list[HttpMethod] - httpResponses: list_AnalyticsStatsHttpResponseInput[AnalyticsStatsHttpResponseInput] - originCountryNames: list[str] - fromDate: DateTime - toDate: DateTime - resolution: AnalyticsResolution - timeOffset: int - -class ApiCertificateCreationResult(GQLObject): - apiCertificate: ApiCertificate - isExpired: bool - -class list_ApiCertificateSortingField(list, ApiCertificateSortingField): pass - -class ApiCertificateOrderByInput(GQLObject): - sortingFields: list_ApiCertificateSortingField[ApiCertificateSortingField] - -class ApiDeveloperInput(GQLObject): - id: ID - developer: ID - status: ApiDeveloperStatus - user: ApiDeveloperEntityInput - -class list_ApiDeveloperInput(list, ApiDeveloperInput): pass - -class SaveApiDevelopersInput(GQLObject): - apiId: ID - developers: list_ApiDeveloperInput[ApiDeveloperInput] - -class list_ApiFollowerSortingField(list, ApiFollowerSortingField): pass - -class ApiFollowerOrderByInput(GQLObject): - fields: list_ApiFollowerSortingField[ApiFollowerSortingField] - -class list_ApiReference(list, ApiReference): pass - -class ApiReferenceConnection(GQLObject): - nodes: list_ApiReference[ApiReference] - -class list_ApiSearch(list, ApiSearch): pass - -class ApiSearchPaged(GQLObject): - results: list_ApiSearch[ApiSearch] - total: int - -class list_ApiSpecImportWarning(list, ApiSpecImportWarning): pass - -class ApiSpecImportResult(GQLObject): - apiId: ID - trackingId: ID - warnings: list_ApiSpecImportWarning[ApiSpecImportWarning] - -class list_ApiSpecImportProcessIssue(list, ApiSpecImportProcessIssue): pass - -class ApiSpecImportProcess(GQLObject): - trackingId: ID - apiId: ID - progress: float - hasError: bool - issues: list_ApiSpecImportProcessIssue[ApiSpecImportProcessIssue] - -class list_ApiVersionSortingField(list, ApiVersionSortingField): pass - -class ApiVersionOrderByInput(GQLObject): - sortingFields: list_ApiVersionSortingField[ApiVersionSortingField] - -class list_ApiSortingField(list, ApiSortingField): pass - -class ApiOrderByInput(GQLObject): - sortingFields: list_ApiSortingField[ApiSortingField] - -class SchemaDefinitionSourceInput(GQLObject): - type: GqlSchemaSourceType - source: str - options: GqlOptions - -class GqlSpecInput(GQLObject): - baseUrl: str - schemaSource: SchemaDefinitionSourceInput - -class SpecInput(GQLObject): - gql: GqlSpecInput - -class NewApiVersionInput(GQLObject): - name: str - spec: SpecInput - -class ApiCreateInput(GQLObject): - name: str - description: str - category: str - externalCustomId: str - pricing: ApiPricing - visibility: ApiVisibility - apiType: ApiType - version: NewApiVersionInput - -class ApplicationEnvironment(GQLObject): - id: ID - keyName: str - mashapeId: str - applicationEnvironmentName: EnvironmentName - internalKey: str - key: str - applicationId: str - status: str - createdAt: DateTime - updatedAt: DateTime - deletedAt: DateTime - resetDate: int - authorizationType: AuthorizationType - authorizationValues: str - gateways: list_Gateway[Gateway] - grantType: AuthorizationGrantType - -class list_ApplicationEnvironment(list, ApplicationEnvironment): pass - -class ApplicationEnvironmentPaging(GQLObject): - applicationEnvironments: list_ApplicationEnvironment[ApplicationEnvironment] - totalCount: int - -class list_AsyncApiConfiguration(list, AsyncApiConfiguration): pass - -class AsyncApiConfigurationConnection(GQLObject): - nodes: list_AsyncApiConfiguration[AsyncApiConfiguration] - -class list_audit(list, audit): pass - -class auditTrails(GQLObject): - total: int - audits: list_audit[audit] - -class authStrategy(GQLObject): - id: int - brand: str - type: int - txtColor: str - title: str - icon: str - color: str - customButton: Any - authStrategy: authStrategyType - -class createAuthenticationInput(GQLObject): - apiVersionId: str - authentication: authenticationInput - -class AuthenticationCreateOrUpdateResult(GQLObject): - id: ID - authParams: list_AuthenticationParam[AuthenticationParam] - -class AuthenticationCreateInput(GQLObject): - apiVersionId: ID - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - clientAuthentication: ClientAuthenticationType - clientSecretRequired: bool - authParams: list_AuthenticationParamInput[AuthenticationParamInput] - handleOauthTokenAtFrontend: bool - -class AuthenticationUpdateInput(GQLObject): - apiVersionId: ID - authType: AuthenticationType - description: str - accessTokenUrl: str - authorizationUrl: str - requestTokenUrl: str - grantType: GrantType - separator: SeparatorType - clientAuthentication: ClientAuthenticationType - clientSecretRequired: bool - authParams: list_AuthenticationParamInput[AuthenticationParamInput] - handleOauthTokenAtFrontend: bool - -class list_billingFeatureEndpointArray(list, billingFeatureEndpointArray): pass - -class createBillingFeature(GQLObject): - apiVersionId: str - name: str - description: str - billingFeatureEndpoints: list_billingFeatureEndpointArray[billingFeatureEndpointArray] - -class updateBillingFeature(GQLObject): - name: str - description: str - billingFeatureId: str - apiVersionId: str - billingFeatureEndpoints: list_billingFeatureEndpointArray[billingFeatureEndpointArray] - -class BillingItemUpsertInput(GQLObject): - apiId: str - apiVersionId: str - billingItem: upsertBillingItem - -class AllowedPlanDevelopersInput(GQLObject): - id: str - status: str - user: PlanDeveloperUserInput - -class list_AllowedPlanDevelopersInput(list, AllowedPlanDevelopersInput): pass - -class AllowedPlanDevelopersUpdateInput(GQLObject): - allowedPlanDevelopers: list_AllowedPlanDevelopersInput[AllowedPlanDevelopersInput] - planId: str - apiId: str - apiVersionId: str - -class BillingPlanVersionsResponse(GQLObject): - data: list_BillingPlanVersion[BillingPlanVersion] - totalCount: int - -class BillingPlanVersionWhereInput(GQLObject): - apiId: ID - apiVersionId: ID - filters: BillingPlanVersionFilters - -class list_CategoryTextualDataInput(list, CategoryTextualDataInput): pass - -class CategoryCreateInput(GQLObject): - information: list_CategoryTextualDataInput[CategoryTextualDataInput] - thumbnail: str - pageTitle: str - weight: int - -class CategoryUpdateInput(GQLObject): - id: ID - information: list_CategoryTextualDataInput[CategoryTextualDataInput] - thumbnail: str - pageTitle: str - weight: int - -class list_CategorySortingField(list, CategorySortingField): pass - -class CategoryOrderByInput(GQLObject): - fields: list_CategorySortingField[CategorySortingField] - -class list_CollectionsSortingField(list, CollectionsSortingField): pass - -class CollectionsOrderByInput(GQLObject): - sortingFields: list_CollectionsSortingField[CollectionsSortingField] - -class list_Collection(list, Collection): pass - -class CollectionsResponse(GQLObject): - data: list_Collection[Collection] - total: int - -class PaginatedComments(GQLObject): - data: list_Comment[Comment] - total: int - -class list_EntityAttribute(list, EntityAttribute): pass - -class EntityMetadataInput(GQLObject): - entityId: ID - entityAttributes: list_EntityAttribute[EntityAttribute] - -class list_ConsumersRow(list, ConsumersRow): pass - -class Consumers(GQLObject): - count: int - rows: list_ConsumersRow[ConsumersRow] - -class Country(GQLObject): - code: str - currency: Currency - -class list_Discussion(list, Discussion): pass - -class DiscussionObject(GQLObject): - data: list_Discussion[Discussion] - total: int - -class list_EndpointStatsV2(list, EndpointStatsV2): pass - -class VersionEndpointStats(GQLObject): - apiVersionId: ID - apiVersionName: str - endpointsStats: list_EndpointStatsV2[EndpointStatsV2] - -class endpointsWithinDateInput(GQLObject): - projectId: ID - apiIds: list[ID] - endpointIds: list[ID] - fromDate: DateTime - toDate: DateTime - resolution: str - filters: list_StatsFilterBy[StatsFilterBy] - timeOffset: int - -class EndpointConnection(GQLObject): - nodes: list_Endpoint[Endpoint] - -class updateEndpointEntity(GQLObject): - apiId: str - versionId: str - endpointId: str - newData: endpointData - lang: str - -class EndpointsGroupCreateInput(GQLObject): - name: str - apiVersionId: ID - index: int - description: str - externalDocs: ExternalDocsInput - -class EndpointsGroupUpdateInput(GQLObject): - id: ID - name: str - index: int - description: str - externalDocs: ExternalDocsInput - -class list_EntityMetadata(list, EntityMetadata): pass - -class EntityMetadataConnection(GQLObject): - nodes: list_EntityMetadata[EntityMetadata] - -class list_EntityMetadataSortingField(list, EntityMetadataSortingField): pass - -class EntityMetadataOrderByInput(GQLObject): - fields: list_EntityMetadataSortingField[EntityMetadataSortingField] - -class list_EntityRoleInput(list, EntityRoleInput): pass - -class EntityRoleCreateInput(GQLObject): - entitiesRoles: list_EntityRoleInput[EntityRoleInput] - -class list_EntityRoleSorting(list, EntityRoleSorting): pass - -class EntityRoleOrderByInput(GQLObject): - sortingFields: list_EntityRoleSorting[EntityRoleSorting] - -class ApiGatewayConfiguration(GQLObject): - id: ID - apiGatewayInstanceId: ID - configurations: GatewayConfiguration - -class list_KafkaTopic(list, KafkaTopic): pass - -class KafkaTopics(GQLObject): - topics: list_KafkaTopic[KafkaTopic] - allowProducingRecords: bool - -class SubscribeOptions(GQLObject): - customOffset: KafkaOffset - fromBeginning: bool - timestamp: str - -class MessageCreateInput(GQLObject): - messageType: MessageType - message: MessageInput - -class list_UsersInvitation(list, UsersInvitation): pass - -class CreateNewOrganizationInputV4(GQLObject): - name: str - email: str - seats: int - thumbnail: str - description: str - cardToken: str - setupIntentId: str - recaptcha: str - users: list_UsersInvitation[UsersInvitation] - purchasing_power: str - numofdevs: str - apis: list[ID] - -class OrganizationCreateInput(GQLObject): - name: str - email: str - seats: int - thumbnail: str - description: str - cardToken: str - paymentMethodId: str - setupIntentId: str - recaptcha: str - users: list_UsersInvitation[UsersInvitation] - purchasing_power: str - numofdevs: str - apis: list[ID] - -class changeApiUsedVersionInput(GQLObject): - newProjectAllowedApiInput: createProjectAllowedAPIInput - currentProjectAllowedApiId: int - -class VirtualPermissionUpdateInput(GQLObject): - id: ID - key: str - displayName: str - permissionLevel: str - description: str - dependsOn: int - rolePermission: RolePermissionUpdateInput - -class list_VirtualPermissionUpdateInput(list, VirtualPermissionUpdateInput): pass - -class RoleCreateInput(GQLObject): - name: str - description: str - roleLevel: RoleLevel - isBasicRole: bool - isDefault: bool - permissions: list_VirtualPermissionUpdateInput[VirtualPermissionUpdateInput] - -class RoleUpdateInput(GQLObject): - id: ID - key: str - name: str - description: str - roleLevel: str - isBasicRole: bool - isDefault: bool - permissions: list_VirtualPermissionUpdateInput[VirtualPermissionUpdateInput] - -class list_RoleSorting(list, RoleSorting): pass - -class RoleOrderByInput(GQLObject): - sortingFields: list_RoleSorting[RoleSorting] - -class list_SearchApiSortingField(list, SearchApiSortingField): pass - -class SearchApiOrderByInput(GQLObject): - sortingFields: list_SearchApiSortingField[SearchApiSortingField] - -class list_SearchCollectionSortingField(list, SearchCollectionSortingField): pass - -class SearchCollectionOrderByInput(GQLObject): - sortingFields: list_SearchCollectionSortingField[SearchCollectionSortingField] - -class list_SpotlightSortingField(list, SpotlightSortingField): pass - -class SpotlightOrderByInput(GQLObject): - sortingFields: list_SpotlightSortingField[SpotlightSortingField] - -class SubscribeInput(GQLObject): - apiId: str - billingPlanVersionId: str - apiVersionId: str - ownerId: str - legalAgreementMetadata: SubscribeLegalAgreementMetadataInput - -class OrgSubscriptions(GQLObject): - rows: list_BillingSubscription[BillingSubscription] - count: int - -class SubscriptionsWhereInput(GQLObject): - userId: int - activeOnly: bool - id: int - apiId: str - mashapeId: str - type: BillingSubscriptionType - pagingArgs: PagingArgs - -class SubscriptionCreateInput(GQLObject): - apiId: str - billingPlanVersionId: str - ownerId: str - apiVersionId: str - legalAgreementMetadata: SubscribeLegalAgreementMetadataInput - -class list_TargetUrlUpdateInput(list, TargetUrlUpdateInput): pass - -class TargetGroupUpdateInput(GQLObject): - id: ID - loadBalancingStrategy: LoadBalancingStrategy - targetUrls: list_TargetUrlUpdateInput[TargetUrlUpdateInput] - shouldIntrospect: bool - -class PaginatedTeamUsers(GQLObject): - data: list_TeamUser[TeamUser] - total: int - totalActive: int - -class list_TransactionsSummaryMonth(list, TransactionsSummaryMonth): pass - -class TransactionsSummary(GQLObject): - totalAmount: float - transactionsByMonths: list_TransactionsSummaryMonth[TransactionsSummaryMonth] - -class list_TransformationSortingField(list, TransformationSortingField): pass - -class TransformationOrderByInput(GQLObject): - fields: list_TransformationSortingField[TransformationSortingField] - -class list_TutorialSortingField(list, TutorialSortingField): pass - -class TutorialOrderByInput(GQLObject): - sortingFields: list_TutorialSortingField[TutorialSortingField] - -class list_TeamsUsages(list, TeamsUsages): pass - -class UsagesStats(GQLObject): - usage: int - period: str - parentUsage: int - teamsUsages: list_TeamsUsages[TeamsUsages] - -class list_OrgSubscriptionUsage(list, OrgSubscriptionUsage): pass - -class OrganizationApiUsagesV2(GQLObject): - usages: list_OrgSubscriptionUsage[OrgSubscriptionUsage] - -class UserSavedApi(GQLObject): - id: ID - userId: int - apiId: str - status: int - api: Api - -class UserWhereInput(GQLObject): - username: str - includeUserAttributes: bool - email: str - userIds: list[ID] - teamId: ID - limit: int - offset: int - term: str - order: str - byField: str - filters: UsersFilterBy - -class Permission(GQLObject): - id: ID - key: str - displayName: str - permissionLevel: str - description: str - dependsOn: int - rolePermission: RolePermission - -class list_Workflow(list, Workflow): pass - -class WorkFlowsResponse(GQLObject): - data: list_Workflow[Workflow] - total: int - -class GetWorkflowsOptions(GQLObject): - topic: WorkflowTopic - requesteeId: int - requestorId: int - componentId: str - subComponentId: str - componentDisplayName: str - workflowStatus: list[WorkflowStatus] - pagingArgs: PagingArgs - -class list_WorkflowAudit(list, WorkflowAudit): pass - -class WorkFlowAuditsResponse(GQLObject): - data: list_WorkflowAudit[WorkflowAudit] - total: int diff --git a/tests/output/rapidapi_nodesc/mutations.py b/tests/output/rapidapi_nodesc/mutations.py deleted file mode 100644 index 71bf486..0000000 --- a/tests/output/rapidapi_nodesc/mutations.py +++ /dev/null @@ -1,2286 +0,0 @@ -from typing import List -from pygqlmap import GQLMutation -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - - -class NonNull_EventUrlCreateInput(EventUrlCreateInput): pass - -class NonNull_EventUrlUpdateInput(EventUrlUpdateInput): pass - -class NonNull_EventConfigUpdateInput(EventConfigUpdateInput): pass - -class NonNull_GatewayInstanceCreateInput(GatewayInstanceCreateInput): pass - -class NonNull_GatewayInstanceUpdateInput(GatewayInstanceUpdateInput): pass - -class NonNull_GatewayTemplateCreateInput(GatewayTemplateCreateInput): pass - -class NonNull_GatewayTemplateUpdateInput(GatewayTemplateUpdateInput): pass - -class NonNull_GatewayTemplateParamsCreateInput(GatewayTemplateParamsCreateInput): pass - -class NonNull_EnvConfigUpdateInput(EnvConfigUpdateInput): pass - -class NonNull_deleteUserAlertsInput(deleteUserAlertsInput): pass - -class NonNull_editUserAlertInput(editUserAlertInput): pass - -class NonNull_UserAlertUpdateInput(UserAlertUpdateInput): pass - -class NonNull_list_UserAlertUpdateInput(list, UserAlertUpdateInput): pass - -class NonNull_ApiCertificateCreateInput(ApiCertificateCreateInput): pass - -class NonNull_list_ApiCertificateCreateInput(list, ApiCertificateCreateInput): pass - -class list_ApiCertificateCreationResult(list, ApiCertificateCreationResult): pass - -class NonNull_SaveApiDevelopersInput(SaveApiDevelopersInput): pass - -class NonNull_CreateApiFavoritesInput(CreateApiFavoritesInput): pass - -class NonNull_DeleteApiFavoritesInput(DeleteApiFavoritesInput): pass - -class NonNull_ApiFollowerCreateInput(ApiFollowerCreateInput): pass - -class NonNull_ApiFollowerDeleteInput(ApiFollowerDeleteInput): pass - -class NonNull_ApiCreateFromSpecInput(ApiCreateFromSpecInput): pass - -class NonNull_list_ApiCreateFromSpecInput(list, ApiCreateFromSpecInput): pass - -class list_ApiSpecImportResult(list, ApiSpecImportResult): pass - -class NonNull_ApiUpdateFromSpecInput(ApiUpdateFromSpecInput): pass - -class NonNull_list_ApiUpdateFromSpecInput(list, ApiUpdateFromSpecInput): pass - -class NonNull_ApiCreateFromRapidOasInput(ApiCreateFromRapidOasInput): pass - -class NonNull_list_ApiCreateFromRapidOasInput(list, ApiCreateFromRapidOasInput): pass - -class NonNull_ApiUpdateFromRapidOasInput(ApiUpdateFromRapidOasInput): pass - -class NonNull_list_ApiUpdateFromRapidOasInput(list, ApiUpdateFromRapidOasInput): pass - -class NonNull_ApiVersionCreateInput(ApiVersionCreateInput): pass - -class NonNull_list_ApiVersionCreateInput(list, ApiVersionCreateInput): pass - -class NonNull_GqlApiVersionCreateInput(GqlApiVersionCreateInput): pass - -class NonNull_list_GqlApiVersionCreateInput(list, GqlApiVersionCreateInput): pass - -class NonNull_ApiVersionUpdateInput(ApiVersionUpdateInput): pass - -class NonNull_list_ApiVersionUpdateInput(list, ApiVersionUpdateInput): pass - -class NonNull_ApiCreateInput(ApiCreateInput): pass - -class NonNull_ApiUpdateInput(ApiUpdateInput): pass - -class NonNull_ProvisionApiFromFileInput(ProvisionApiFromFileInput): pass - -class list_ProvisionApiFromFileInput(list, ProvisionApiFromFileInput): pass - -class NonNull_AppAuthorizationCreateInput(AppAuthorizationCreateInput): pass - -class NonNull_AppAuthorizationUpdateInput(AppAuthorizationUpdateInput): pass - -class NonNull_AddApplicationEnvironmentKeyInput(AddApplicationEnvironmentKeyInput): pass - -class NonNull_EditApplicationEnviornmentKeyInput(EditApplicationEnviornmentKeyInput): pass - -class NonNull_DeleteApplicationEnvironmentKeyInput(DeleteApplicationEnvironmentKeyInput): pass - -class NonNull_GenerateAssetUploadUrlInput(GenerateAssetUploadUrlInput): pass - -class NonNull_AssetUpdateInput(AssetUpdateInput): pass - -class NonNull_AsyncApiConfigurationCreateInput(AsyncApiConfigurationCreateInput): pass - -class NonNull_list_AsyncApiConfigurationCreateInput(list, AsyncApiConfigurationCreateInput): pass - -class NonNull_ThemeUserAttributesInput(ThemeUserAttributesInput): pass - -class NonNull_AuthenticationCreateInput(AuthenticationCreateInput): pass - -class NonNull_list_AuthenticationCreateInput(list, AuthenticationCreateInput): pass - -class list_Authentication(list, Authentication): pass - -class NonNull_AuthenticationUpdateInput(AuthenticationUpdateInput): pass - -class NonNull_list_AuthenticationUpdateInput(list, AuthenticationUpdateInput): pass - -class NonNull_upsertBillingFeatureInput(upsertBillingFeatureInput): pass - -class NonNull_BillingItemUpsertInput(BillingItemUpsertInput): pass - -class NonNull_BillingPlanCreateInput(BillingPlanCreateInput): pass - -class NonNull_BillingPlanMetadataUpdateInput(BillingPlanMetadataUpdateInput): pass - -class NonNull_BillingPlanExtendedUpdateInput(BillingPlanExtendedUpdateInput): pass - -class NonNull_upsertBillingPlanAndVersionInput(upsertBillingPlanAndVersionInput): pass - -class NonNull_CategoryCreateInput(CategoryCreateInput): pass - -class NonNull_CategoryUpdateInput(CategoryUpdateInput): pass - -class list_DeletedCategory(list, DeletedCategory): pass - -class NonNull_CollectionUpdateInput(CollectionUpdateInput): pass - -class NonNull_CollectionCreateInput(CollectionCreateInput): pass - -class NonNull_list_UpdateCollectionsInput(list, UpdateCollectionsInput): pass - -class NonNull_list_EntityAttribute(list, EntityAttribute): pass - -class list_EndpointOrder(list, EndpointOrder): pass - -class NonNull_EndpointsGroupCreateInput(EndpointsGroupCreateInput): pass - -class NonNull_list_EndpointsGroupCreateInput(list, EndpointsGroupCreateInput): pass - -class NonNull_EndpointsGroupUpdateInput(EndpointsGroupUpdateInput): pass - -class NonNull_list_EndpointsGroupUpdateInput(list, EndpointsGroupUpdateInput): pass - -class NonNull_EntityMetadataInput(EntityMetadataInput): pass - -class NonNull_UpdateGraphQLSchemaInput(UpdateGraphQLSchemaInput): pass - -class NonNull_SubscribeOptions(SubscribeOptions): pass - -class NonNull_ProduceMessageInput(ProduceMessageInput): pass - -class list_ProduceMessageResponse(list, ProduceMessageResponse): pass - -class NonNull_MessageCreateInput(MessageCreateInput): pass - -class NonNull_OrganizationUpdateInput(OrganizationUpdateInput): pass - -class NonNull_OrganizationCreateInput(OrganizationCreateInput): pass - -class NonNull_ResetUserPasswordInput(ResetUserPasswordInput): pass - -class NonNull_AddProjectInput(AddProjectInput): pass - -class NonNull_EditProjectInput(EditProjectInput): pass - -class NonNull_DeleteProjectInput(DeleteProjectInput): pass - -class NonNull_ProjectCreateInput(ProjectCreateInput): pass - -class NonNull_ProjectUpdateInput(ProjectUpdateInput): pass - -class list_createProjectAllowedAPIInput(list, createProjectAllowedAPIInput): pass - -class NonNull_RoleUpdateInput(RoleUpdateInput): pass - -class NonNull_RoleCreateInput(RoleCreateInput): pass - -class NonNull_SpotlightCreateInput(SpotlightCreateInput): pass - -class NonNull_SpotlightUpdateInput(SpotlightUpdateInput): pass - -class NonNull_SpotlightDeleteInput(SpotlightDeleteInput): pass - -class NonNull_SubscriptionCreateInput(SubscriptionCreateInput): pass - -class NonNull_ExternalGatewaySubscriptionCreateInput(ExternalGatewaySubscriptionCreateInput): pass - -class NonNull_TargetGroupUpdateInput(TargetGroupUpdateInput): pass - -class NonNull_list_TargetGroupUpdateInput(list, TargetGroupUpdateInput): pass - -class NonNull_TeamCreateInput(TeamCreateInput): pass - -class NonNull_TeamUpdateInput(TeamUpdateInput): pass - -class NonNull_TransformationCreateInput(TransformationCreateInput): pass - -class NonNull_list_TransformationCreateInput(list, TransformationCreateInput): pass - -class NonNull_TransformationUpdateInput(TransformationUpdateInput): pass - -class NonNull_list_TransformationUpdateInput(list, TransformationUpdateInput): pass - -class list_DeletedTransformation(list, DeletedTransformation): pass - -class NonNull_TutorialCreateInput(TutorialCreateInput): pass - -class NonNull_TutorialUpdateInput(TutorialUpdateInput): pass - -class NonNull_TutorialDeleteInput(TutorialDeleteInput): pass - -class list_RecoveryCode(list, RecoveryCode): pass - -class NonNull_UserInvitesDeleteInput(UserInvitesDeleteInput): pass - -class NonNull_UserInvitesReactivateInput(UserInvitesReactivateInput): pass - -class NonNull_UserUpdateInput(UserUpdateInput): pass - -class createEventUrl(GQLMutation): - class EventUrlArgs(GQLArgsSet, GQLObject): - createDto: NonNull_EventUrlCreateInput - - _args: EventUrlArgs - - - type: EventUrl - -class updateEventUrl(GQLMutation): - class EventUrlArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - updateDto: NonNull_EventUrlUpdateInput - - _args: EventUrlArgs - - - type: EventUrl - -class deleteEventUrl(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class upsertEventConfig(GQLMutation): - class EventConfigArgs(GQLArgsSet, GQLObject): - input: NonNull_EventConfigUpdateInput - - _args: EventConfigArgs - - - type: EventConfig - -class deleteEventConfig(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class createGatewayInstance(GQLMutation): - class GatewayInstanceArgs(GQLArgsSet, GQLObject): - createDto: NonNull_GatewayInstanceCreateInput - - _args: GatewayInstanceArgs - - - type: GatewayInstance - -class updateGatewayInstance(GQLMutation): - class GatewayInstanceArgs(GQLArgsSet, GQLObject): - updateDto: NonNull_GatewayInstanceUpdateInput - - _args: GatewayInstanceArgs - - - type: GatewayInstance - -class deleteGatewayInstance(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class createGatewayTemplate(GQLMutation): - class GwTemplateArgs(GQLArgsSet, GQLObject): - createDto: NonNull_GatewayTemplateCreateInput - - _args: GwTemplateArgs - - - type: GwTemplate - -class updateGatewayTemplate(GQLMutation): - class GwTemplateArgs(GQLArgsSet, GQLObject): - updateDto: NonNull_GatewayTemplateUpdateInput - - _args: GwTemplateArgs - - - type: GwTemplate - -class deleteGatewayTemplate(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: IDArgs - - - type: ID - -class createGatewayTemplateParam(GQLMutation): - class GatewayTemplateParamArgs(GQLArgsSet, GQLObject): - createDto: NonNull_GatewayTemplateParamsCreateInput - - _args: GatewayTemplateParamArgs - - - type: GatewayTemplateParam - -class updateEnvConfig(GQLMutation): - class EnvConfigArgs(GQLArgsSet, GQLObject): - envConfig: NonNull_EnvConfigUpdateInput - - _args: EnvConfigArgs - - - type: EnvConfig - -class resetEnvConfig(GQLMutation): - class EnvConfigArgs(GQLArgsSet, GQLObject): - id: NonNull_int - - _args: EnvConfigArgs - - - type: EnvConfig - -class addUserAlert(GQLMutation): - class UserAlertArgs(GQLArgsSet, GQLObject): - input: addUserAlertInput - - _args: UserAlertArgs - - - type: UserAlert - -class deleteUserAlerts(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_deleteUserAlertsInput - - _args: IDArgs - - - type: list[ID] - -class editUserAlert(GQLMutation): - class UserAlertArgs(GQLArgsSet, GQLObject): - input: NonNull_editUserAlertInput - - _args: UserAlertArgs - - - type: UserAlert - -class updateUserAlerts(GQLMutation): - class UserAlertArgs(GQLArgsSet, GQLObject): - input: NonNull_list_UserAlertUpdateInput[NonNull_UserAlertUpdateInput] - - _args: UserAlertArgs - - - type: list_UserAlert[UserAlert] - -class createApiCertificates(GQLMutation): - class ApiCertificateCreationResultArgs(GQLArgsSet, GQLObject): - certificates: NonNull_list_ApiCertificateCreateInput[NonNull_ApiCertificateCreateInput] - - _args: ApiCertificateCreationResultArgs - - - type: list_ApiCertificateCreationResult[ApiCertificateCreationResult] - -class deleteApiCertificates(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[ID] - - _args: boolArgs - - - type: bool - -class saveApiDevelopersToApi(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_SaveApiDevelopersInput - - _args: boolArgs - - - type: bool - -class copyApiDevelopersFromVersion(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: CopyApiDevelopersInput - - _args: boolArgs - - - type: bool - -class createApiFavorites(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_CreateApiFavoritesInput - - _args: boolArgs - - - type: bool - -class deleteApiFavorites(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteApiFavoritesInput - - _args: boolArgs - - - type: bool - -class createApiFollowers(GQLMutation): - class ApiFollowerArgs(GQLArgsSet, GQLObject): - apiFollowers: NonNull_ApiFollowerCreateInput - - _args: ApiFollowerArgs - - - type: ApiFollower - -class deleteApiFollowers(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - apiFollowers: NonNull_ApiFollowerDeleteInput - - _args: boolArgs - - - type: bool - -class createApisFromSpecs(GQLMutation): - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - creations: NonNull_list_ApiCreateFromSpecInput[NonNull_ApiCreateFromSpecInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class updateApisFromSpecs(GQLMutation): - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - updates: NonNull_list_ApiUpdateFromSpecInput[NonNull_ApiUpdateFromSpecInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class createApisFromRapidOas(GQLMutation): - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - creations: NonNull_list_ApiCreateFromRapidOasInput[NonNull_ApiCreateFromRapidOasInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class updateApisFromRapidOas(GQLMutation): - class ApiSpecImportResultArgs(GQLArgsSet, GQLObject): - updates: NonNull_list_ApiUpdateFromRapidOasInput[NonNull_ApiUpdateFromRapidOasInput] - - _args: ApiSpecImportResultArgs - - - type: list_ApiSpecImportResult[ApiSpecImportResult] - -class createApiVersions(GQLMutation): - class ApiVersionArgs(GQLArgsSet, GQLObject): - apiVersions: NonNull_list_ApiVersionCreateInput[NonNull_ApiVersionCreateInput] - - _args: ApiVersionArgs - - - type: list_ApiVersion[ApiVersion] - -class createGqlApiVersions(GQLMutation): - class ApiVersionArgs(GQLArgsSet, GQLObject): - gqlApiVersions: NonNull_list_GqlApiVersionCreateInput[NonNull_GqlApiVersionCreateInput] - - _args: ApiVersionArgs - - - type: list_ApiVersion[ApiVersion] - -class updateApiVersions(GQLMutation): - class ApiVersionArgs(GQLArgsSet, GQLObject): - apiVersions: NonNull_list_ApiVersionUpdateInput[NonNull_ApiVersionUpdateInput] - - _args: ApiVersionArgs - - - type: list_ApiVersion[ApiVersion] - -class createApiVersionBillingPlanVersion(GQLMutation): - class ApiVersionBillingPlanVersionArgs(GQLArgsSet, GQLObject): - input: createApiVersionBillingPlanVersionInput - - _args: ApiVersionBillingPlanVersionArgs - - - type: ApiVersionBillingPlanVersion - -class createApi(GQLMutation): - class ApiArgs(GQLArgsSet, GQLObject): - api: NonNull_ApiCreateInput - - _args: ApiArgs - - - type: Api - -class updateApi(GQLMutation): - class ApiArgs(GQLArgsSet, GQLObject): - api: NonNull_ApiUpdateInput - - _args: ApiArgs - - - type: Api - -class provisionSwaggerFiles(GQLMutation): - class strArgs(GQLArgsSet, GQLObject): - input: list_ProvisionApiFromFileInput[NonNull_ProvisionApiFromFileInput] - - _args: strArgs - - - type: list[str] - -class deleteApi(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createApplicationAuthorization(GQLMutation): - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - input: NonNull_AppAuthorizationCreateInput - - _args: ApplicationAuthorizationArgs - - - type: ApplicationAuthorization - -class updateApplicationAuthorization(GQLMutation): - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - input: NonNull_AppAuthorizationUpdateInput - - _args: ApplicationAuthorizationArgs - - - type: ApplicationAuthorization - -class deleteApplicationAuthorization(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class addApplicationEnvironmentKey(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_AddApplicationEnvironmentKeyInput - - _args: AnyArgs - - - type: Any - -class editApplicationEnvironmentKey(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_EditApplicationEnviornmentKeyInput - - _args: AnyArgs - - - type: Any - -class deleteApplicationEnvironmentKey(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteApplicationEnvironmentKeyInput - - _args: IDArgs - - - type: ID - -class generateAssetUploadUrl(GQLMutation): - class AssetArgs(GQLArgsSet, GQLObject): - input: NonNull_GenerateAssetUploadUrlInput - - _args: AssetArgs - - - type: Asset - -class deleteAsset(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class updateAssetUploaded(GQLMutation): - class AssetArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: AssetArgs - - - type: Asset - -class updateAsset(GQLMutation): - class AssetArgs(GQLArgsSet, GQLObject): - input: NonNull_AssetUpdateInput - - _args: AssetArgs - - - type: Asset - -class upsertAsyncApiConfiguration(GQLMutation): - class AsyncApiConfigurationArgs(GQLArgsSet, GQLObject): - asyncApiConfigurations: NonNull_list_AsyncApiConfigurationCreateInput[NonNull_AsyncApiConfigurationCreateInput] - - _args: AsyncApiConfigurationArgs - - - type: list_AsyncApiConfiguration[AsyncApiConfiguration] - -class upsertUserAttributes(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: UserAttributesInput - - _args: AnyArgs - - - type: Any - -class updateUserAttributeItem(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_ThemeUserAttributesInput - - _args: AnyArgs - - - type: Any - -class createAuthentications(GQLMutation): - class AuthenticationArgs(GQLArgsSet, GQLObject): - authentications: NonNull_list_AuthenticationCreateInput[NonNull_AuthenticationCreateInput] - - _args: AuthenticationArgs - - - type: list_Authentication[Authentication] - -class updateAuthentications(GQLMutation): - class AuthenticationArgs(GQLArgsSet, GQLObject): - authentications: NonNull_list_AuthenticationUpdateInput[NonNull_AuthenticationUpdateInput] - - _args: AuthenticationArgs - - - type: list_Authentication[Authentication] - -class createOrUpdateAPIVersionAuthentication(GQLMutation): - class AuthenticationCreateOrUpdateResultArgs(GQLArgsSet, GQLObject): - input: createAuthenticationInput - - _args: AuthenticationCreateOrUpdateResultArgs - - - type: AuthenticationCreateOrUpdateResult - -class createBillingFeature(GQLMutation): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - createBillingFeature: createBillingFeature - - _args: BillingFeatureArgs - - - type: BillingFeature - -class updateBillingFeature(GQLMutation): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - updateBillingFeature: updateBillingFeature - - _args: BillingFeatureArgs - - - type: BillingFeature - -class upsertBillingFeature(GQLMutation): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - upsertBillingFeature: NonNull_upsertBillingFeatureInput - - _args: BillingFeatureArgs - - - type: BillingFeature - -class deleteBillingFeature(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - billingFeatureId: str - - _args: AnyArgs - - - type: Any - -class deleteBillingFeatures(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - billingFeatureIds: list[str] - - _args: AnyArgs - - - type: Any - -class createStripeCustomer(GQLMutation): - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class updateStripeCustomer(GQLMutation): - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class createStripeCustomerV2(GQLMutation): - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class updateStripeCustomerV2(GQLMutation): - class BillingInformationArgs(GQLArgsSet, GQLObject): - input: CreateStripeCustomerInput - - _args: BillingInformationArgs - - - type: BillingInformation - -class deleteCustomerPaymentMethod(GQLMutation): - type: bool - -class upsertBillingItem(GQLMutation): - class BillingItemArgs(GQLArgsSet, GQLObject): - input: NonNull_BillingItemUpsertInput - - _args: BillingItemArgs - - - type: BillingItem - -class deleteBillingItems(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class deleteBillingPlans(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class updateAllowedPlanDevelopers(GQLMutation): - class AllowedPlanDeveloperArgs(GQLArgsSet, GQLObject): - input: AllowedPlanDevelopersUpdateInput - - _args: AllowedPlanDeveloperArgs - - - type: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - -class editOrganizationInvoice(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: EditOrganizationInvoiceInput - - _args: boolArgs - - - type: bool - -class createBillingPlan(GQLMutation): - class BillingPlanArgs(GQLArgsSet, GQLObject): - billingPlan: NonNull_BillingPlanCreateInput - - _args: BillingPlanArgs - - - type: BillingPlan - -class updateBillingPlanMetadata(GQLMutation): - class BillingPlanArgs(GQLArgsSet, GQLObject): - billingPlan: NonNull_BillingPlanMetadataUpdateInput - - _args: BillingPlanArgs - - - type: BillingPlan - -class updateBillingPlanExtended(GQLMutation): - class BillingPlanArgs(GQLArgsSet, GQLObject): - billingPlan: NonNull_BillingPlanExtendedUpdateInput - - _args: BillingPlanArgs - - - type: BillingPlan - -class upsertBillingPlanAndVersion(GQLMutation): - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - upsertBillingPlanAndVersionInput: NonNull_upsertBillingPlanAndVersionInput - - _args: BillingPlanVersionArgs - - - type: BillingPlanVersion - -class blockUsers(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: BlockedUserInput - - _args: boolArgs - - - type: bool - -class unblockUsers(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: BlockedUserInput - - _args: boolArgs - - - type: bool - -class createCategory(GQLMutation): - class CategoryArgs(GQLArgsSet, GQLObject): - category: NonNull_CategoryCreateInput - - _args: CategoryArgs - - - type: Category - -class updateCategory(GQLMutation): - class CategoryArgs(GQLArgsSet, GQLObject): - category: NonNull_CategoryUpdateInput - - _args: CategoryArgs - - - type: Category - -class deleteCategories(GQLMutation): - class DeletedCategoryArgs(GQLArgsSet, GQLObject): - categories: NonNull_list[NonNull_ID] - - _args: DeletedCategoryArgs - - - type: list_DeletedCategory[DeletedCategory] - -class deleteCollection(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class updateCollection(GQLMutation): - class CollectionArgs(GQLArgsSet, GQLObject): - input: NonNull_CollectionUpdateInput - - _args: CollectionArgs - - - type: Collection - -class createCollection(GQLMutation): - class CollectionArgs(GQLArgsSet, GQLObject): - input: NonNull_CollectionCreateInput - - _args: CollectionArgs - - - type: Collection - -class bulkUpdateCollections(GQLMutation): - class CollectionArgs(GQLArgsSet, GQLObject): - collections: NonNull_list_UpdateCollectionsInput[UpdateCollectionsInput] - - _args: CollectionArgs - - - type: list_Collection[Collection] - -class updateCollections(GQLMutation): - class CollectionArgs(GQLArgsSet, GQLObject): - collections: NonNull_list_UpdateCollectionsInput[UpdateCollectionsInput] - - _args: CollectionArgs - - - type: list_Collection[Collection] - -class postCommentV2(GQLMutation): - class CommentArgs(GQLArgsSet, GQLObject): - input: CommentCreateInput - - _args: CommentArgs - - - type: Comment - -class deleteCommentV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: CommentDeleteInput - - _args: AnyArgs - - - type: Any - -class updateCommentV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: CommentUpdateInput - - _args: AnyArgs - - - type: Any - -class postCommentV3(GQLMutation): - class CommentArgs(GQLArgsSet, GQLObject): - input: CommentCreateInput - - _args: CommentArgs - - - type: Comment - -class subscribeToPlan(GQLMutation): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - input: SubscribeInput - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class unfollowUser(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: FollowInput - - _args: boolArgs - - - type: bool - -class followUser(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: FollowInput - - _args: boolArgs - - - type: bool - -class followApi(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: FollowApiInput - - _args: boolArgs - - - type: bool - -class unfollowApi(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: FollowApiInput - - _args: boolArgs - - - type: bool - -class sendMessage(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: SendMessageInput - - _args: boolArgs - - - type: bool - -class rateApi(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: RatingInput - - _args: AnyArgs - - - type: Any - -class upsertEntityMetadataBulk(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - entityId: ID - entityAttributes: NonNull_list_EntityAttribute[EntityAttribute] - - _args: AnyArgs - - - type: Any - -class upsertEntityMetadata(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - entityMetadata: EntityMetadataInput - - _args: AnyArgs - - - type: Any - -class deleteIssueV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueDeleteInput - - _args: AnyArgs - - - type: Any - -class updateIssueV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueUpdateInput - - _args: AnyArgs - - - type: Any - -class deleteIssues(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: IssuesDeleteInput - - _args: AnyArgs - - - type: Any - -class postIssueV3(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueCreateInputV2 - - _args: AnyArgs - - - type: Any - -class updateOrCreateEndpointWithParameters(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: updateOrCreateEndpointWithParameters - - _args: AnyArgs - - - type: Any - -class updateEndpointEntity(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: updateEndpointEntity - - _args: AnyArgs - - - type: Any - -class deleteEndpoint(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - endpointId: str - - _args: AnyArgs - - - type: Any - -class deleteEndpoints(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - endpointIds: list[str] - - _args: AnyArgs - - - type: Any - -class updateEndpointsCollectionOrder(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - endpointsCollectionOrder: list_EndpointOrder[EndpointOrder] - - _args: AnyArgs - - - type: Any - -class createEndpointsGroups(GQLMutation): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - groups: NonNull_list_EndpointsGroupCreateInput[NonNull_EndpointsGroupCreateInput] - - _args: EndpointsGroupArgs - - - type: list_EndpointsGroup[EndpointsGroup] - -class updateEndpointsGroups(GQLMutation): - class EndpointsGroupArgs(GQLArgsSet, GQLObject): - groups: NonNull_list_EndpointsGroupUpdateInput[NonNull_EndpointsGroupUpdateInput] - - _args: EndpointsGroupArgs - - - type: list_EndpointsGroup[EndpointsGroup] - -class deleteEndpointsGroups(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: IDArgs - - - type: list[ID] - -class duplicateNameCheck(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: DuplicateNameCheckInput - - _args: boolArgs - - - type: bool - -class createEntityMetadata(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - entityMetadata: NonNull_EntityMetadataInput - - _args: boolArgs - - - type: bool - -class updateEntityMetadata(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - entityMetadata: NonNull_EntityMetadataInput - - _args: boolArgs - - - type: bool - -class createEntitiesRoles(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: EntityRoleCreateInput - - _args: boolArgs - - - type: bool - -class upsertEntityRole(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: EntityRoleInput - - _args: boolArgs - - - type: bool - -class updateGraphQLSchema(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_UpdateGraphQLSchemaInput - - _args: IDArgs - - - type: ID - -class createHeadlinesPerApiId(GQLMutation): - class strArgs(GQLArgsSet, GQLObject): - createHeadlines: createHeadlines - - _args: strArgs - - - type: str - -class updateHeadlines(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - updateHeadlines: updateHeadlines - - _args: boolArgs - - - type: bool - -class createHeadlines(GQLMutation): - class strArgs(GQLArgsSet, GQLObject): - createHeadlines: createHeadlines - - _args: strArgs - - - type: str - -class followIssueV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: IssueFollowInputV2 - - _args: AnyArgs - - - type: Any - -class updateKafkaConfiguration(GQLMutation): - class KafkaConfigurationArgs(GQLArgsSet, GQLObject): - input: UpdateKafkaConfigurationInput - - _args: KafkaConfigurationArgs - - - type: KafkaConfiguration - -class subscribeToKafkaTopic(GQLMutation): - class SubscribeKafkaResponseArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - topicName: NonNull_str - options: NonNull_SubscribeOptions - - _args: SubscribeKafkaResponseArgs - - - type: SubscribeKafkaResponse - -class produceKafkaMessage(GQLMutation): - class ProduceMessageResponseArgs(GQLArgsSet, GQLObject): - message: NonNull_ProduceMessageInput - - _args: ProduceMessageResponseArgs - - - type: list_ProduceMessageResponse[ProduceMessageResponse] - -class postMessage(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - message: NonNull_MessageCreateInput - - _args: AnyArgs - - - type: Any - -class postMessageV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - message: NonNull_MessageCreateInput - - _args: AnyArgs - - - type: Any - -class updateThreadEntityStatus(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: ThreadEntityStatusUpdateInput - - _args: boolArgs - - - type: bool - -class markNotificationAsViewed(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: MarkNewNotificationAsViewedInput - - _args: boolArgs - - - type: bool - -class markNewNotificationAsRead(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: MarkNewNotificationsAsReadInput - - _args: boolArgs - - - type: bool - -class markNotificationsAsRead(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: MarkNotificationsAsReadInput - - _args: boolArgs - - - type: bool - -class updateOrganization(GQLMutation): - class OrganizationArgs(GQLArgsSet, GQLObject): - input: NonNull_OrganizationUpdateInput - - _args: OrganizationArgs - - - type: Organization - -class deleteOrganization(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createOrganization(GQLMutation): - class OrganizationArgs(GQLArgsSet, GQLObject): - input: NonNull_OrganizationCreateInput - - _args: OrganizationArgs - - - type: Organization - -class createNewOrganizationV4(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: CreateNewOrganizationInputV4 - - _args: AnyArgs - - - type: Any - -class generateResetPasswordToken(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - email: NonNull_str - - _args: AnyArgs - - - type: Any - -class resetUserPassword(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_ResetUserPasswordInput - - _args: AnyArgs - - - type: Any - -class deletePayoutInfo(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - userId: NonNull_ID - - _args: boolArgs - - - type: bool - -class addProject(GQLMutation): - class ProjectArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectInput - - _args: ProjectArgs - - - type: Project - -class addProjectV2(GQLMutation): - class ProjectArgs(GQLArgsSet, GQLObject): - input: NonNull_AddProjectInput - - _args: ProjectArgs - - - type: Project - -class editProjectV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_EditProjectInput - - _args: AnyArgs - - - type: Any - -class deleteProject(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - input: NonNull_DeleteProjectInput - - _args: IDArgs - - - type: ID - -class createProject(GQLMutation): - class ProjectArgs(GQLArgsSet, GQLObject): - project: NonNull_ProjectCreateInput - - _args: ProjectArgs - - - type: Project - -class updateProject(GQLMutation): - class ProjectArgs(GQLArgsSet, GQLObject): - project: NonNull_ProjectUpdateInput - - _args: ProjectArgs - - - type: Project - -class createProjectAllowedAPIs(GQLMutation): - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - input: list_createProjectAllowedAPIInput[createProjectAllowedAPIInput] - - _args: ProjectAllowedAPIArgs - - - type: list_ProjectAllowedAPI[ProjectAllowedAPI] - -class updateProjectAllowedAPI(GQLMutation): - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - input: updateProjectAllowedAPIInput - - _args: ProjectAllowedAPIArgs - - - type: ProjectAllowedAPI - -class deleteProjectAllowedAPIs(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: deleteProjectAllowedAPIsInput - - _args: boolArgs - - - type: bool - -class changeApiUsedVersion(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: changeApiUsedVersionInput - - _args: boolArgs - - - type: bool - -class createRapidReason(GQLMutation): - class IDArgs(GQLArgsSet, GQLObject): - rapidReasonInput: RapidReasonInput - - _args: IDArgs - - - type: ID - -class deprecatedUpdateRole(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleUpdateInput - - _args: AnyArgs - - - type: Any - -class updateRole(GQLMutation): - class RoleArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleUpdateInput - - _args: RoleArgs - - - type: Role - -class deprecatedCreateRole(GQLMutation): - class RoleArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleCreateInput - - _args: RoleArgs - - - type: Role - -class createRole(GQLMutation): - class RoleArgs(GQLArgsSet, GQLObject): - role: NonNull_RoleCreateInput - - _args: RoleArgs - - - type: Role - -class deprecatedDeleteRole(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - roleId: ID - - _args: AnyArgs - - - type: Any - -class deleteRole(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class createSecretData(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: createSecretDataInput - - _args: AnyArgs - - - type: Any - -class updateBaseUrl(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: updateBaseUrlInput - - _args: boolArgs - - - type: bool - -class createSpotlight(GQLMutation): - class SpotlightArgs(GQLArgsSet, GQLObject): - spotlight: NonNull_SpotlightCreateInput - - _args: SpotlightArgs - - - type: Spotlight - -class updateSpotlight(GQLMutation): - class SpotlightArgs(GQLArgsSet, GQLObject): - spotlight: NonNull_SpotlightUpdateInput - - _args: SpotlightArgs - - - type: Spotlight - -class deleteSpotlight(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - spotlight: NonNull_SpotlightDeleteInput - - _args: boolArgs - - - type: bool - -class deleteSubscriptions(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[NonNull_ID] - - _args: boolArgs - - - type: bool - -class deleteSubscription(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createSubscription(GQLMutation): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - input: NonNull_SubscriptionCreateInput - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class createExternalGatewayApiSubscription(GQLMutation): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - input: NonNull_ExternalGatewaySubscriptionCreateInput - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class updateTargetGroups(GQLMutation): - class TargetGroupArgs(GQLArgsSet, GQLObject): - targetGroups: NonNull_list_TargetGroupUpdateInput[NonNull_TargetGroupUpdateInput] - - _args: TargetGroupArgs - - - type: list_TargetGroup[TargetGroup] - -class removeTeamUserFromAllOrgTeams(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - email: NonNull_str - - _args: boolArgs - - - type: bool - -class updateTeamUser(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: TeamUserUpdateInput - - _args: boolArgs - - - type: bool - -class updateUserRoles(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: UserRolesUpdateInput - - _args: boolArgs - - - type: bool - -class editTeam(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: EditTeamInput - - _args: boolArgs - - - type: bool - -class addUserToTeams(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - userId: NonNull_int - teamIds: NonNull_list[int] - - _args: boolArgs - - - type: bool - -class deleteTeam(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: boolArgs - - - type: bool - -class createTeam(GQLMutation): - class TeamArgs(GQLArgsSet, GQLObject): - input: NonNull_TeamCreateInput - - _args: TeamArgs - - - type: Team - -class updateTeam(GQLMutation): - class TeamArgs(GQLArgsSet, GQLObject): - input: NonNull_TeamUpdateInput - - _args: TeamArgs - - - type: Team - -class updateTransactions(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: updateTransactionInput - - _args: boolArgs - - - type: bool - -class createTransformations(GQLMutation): - class TransformationArgs(GQLArgsSet, GQLObject): - transformations: NonNull_list_TransformationCreateInput[NonNull_TransformationCreateInput] - - _args: TransformationArgs - - - type: list_Transformation[Transformation] - -class updateTransformations(GQLMutation): - class TransformationArgs(GQLArgsSet, GQLObject): - transformations: NonNull_list_TransformationUpdateInput[NonNull_TransformationUpdateInput] - - _args: TransformationArgs - - - type: list_Transformation[Transformation] - -class deleteTransformations(GQLMutation): - class DeletedTransformationArgs(GQLArgsSet, GQLObject): - transformations: NonNull_list[NonNull_ID] - - _args: DeletedTransformationArgs - - - type: list_DeletedTransformation[DeletedTransformation] - -class createTutorial(GQLMutation): - class TutorialArgs(GQLArgsSet, GQLObject): - tutorial: NonNull_TutorialCreateInput - - _args: TutorialArgs - - - type: Tutorial - -class updateTutorial(GQLMutation): - class TutorialArgs(GQLArgsSet, GQLObject): - tutorial: NonNull_TutorialUpdateInput - - _args: TutorialArgs - - - type: Tutorial - -class deleteTutorial(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - tutorial: NonNull_TutorialDeleteInput - - _args: boolArgs - - - type: bool - -class phoneAuthSetup(GQLMutation): - class PhoneVerificationArgs(GQLArgsSet, GQLObject): - phoneNumber: NonNull_str - - _args: PhoneVerificationArgs - - - type: PhoneVerification - -class phoneAuthSetupVerify(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - token: NonNull_str - - _args: boolArgs - - - type: bool - -class authenticateUsingPhone(GQLMutation): - class PhoneVerificationArgs(GQLArgsSet, GQLObject): - phoneId: NonNull_ID - - _args: PhoneVerificationArgs - - - type: PhoneVerification - -class authenticateUsingPhoneVerify(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - token: NonNull_str - - _args: boolArgs - - - type: bool - -class deletePhoneNumber(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - phoneId: NonNull_int - - _args: boolArgs - - - type: bool - -class generateRecoveryCodes(GQLMutation): - type: list_RecoveryCode[RecoveryCode] - -class regenerateRecoveryCodes(GQLMutation): - type: list_RecoveryCode[RecoveryCode] - -class markRecoveryCodeAsUsed(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - - _args: boolArgs - - - type: bool - -class applicationAuthSetup(GQLMutation): - type: str - -class applicationAuthSetupVerify(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - - _args: boolArgs - - - type: bool - -class authenticateUsingApp(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - code: NonNull_str - - _args: boolArgs - - - type: bool - -class deleteApplicationAuth(GQLMutation): - type: bool - -class createUserInvites(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: UserInvitesInput - - _args: boolArgs - - - type: bool - -class createUserInvitesV2(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: UserInvitesCreateInput - - _args: boolArgs - - - type: bool - -class acceptUserInvite(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - token: NonNull_str - - _args: boolArgs - - - type: bool - -class bulkDeleteUserInvitesV2(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - emails: list[str] - orgId: int - - _args: AnyArgs - - - type: Any - -class deleteUserInvites(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: NonNull_UserInvitesDeleteInput - - _args: AnyArgs - - - type: Any - -class bulkReactivateUserInvitesV2(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - emails: list[str] - orgId: int - - _args: boolArgs - - - type: bool - -class reactivateUserInvites(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: NonNull_UserInvitesReactivateInput - - _args: boolArgs - - - type: bool - -class inviteUsersToTeams(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - usersToInvite: Any - orgId: NonNull_ID - meta: Any - - _args: boolArgs - - - type: bool - -class saveUserApi(GQLMutation): - class UserSavedApiArgs(GQLArgsSet, GQLObject): - saveUserApi: SaveUserApi - - _args: UserSavedApiArgs - - - type: UserSavedApi - -class updateUserById(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - input: UpdateUserInput - - _args: AnyArgs - - - type: Any - -class updateUserPassword(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: UserPasswordInput - - _args: boolArgs - - - type: bool - -class deleteAll2faData(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - userId: NonNull_str - - _args: AnyArgs - - - type: Any - -class updateUserEmail(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - email: NonNull_str - - _args: AnyArgs - - - type: Any - -class verifyEmailCode(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - input: VerifyEmailCodeInput - - _args: boolArgs - - - type: bool - -class updateUser(GQLMutation): - class UpdateUserResultArgs(GQLArgsSet, GQLObject): - input: NonNull_UserUpdateInput - - _args: UpdateUserResultArgs - - - type: UpdateUserResult - -class deleteUser(GQLMutation): - class boolArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - mashapeId: NonNull_str - - _args: boolArgs - - - type: bool - -class createWorkflow(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - options: CreateWorkflowInput - - _args: AnyArgs - - - type: Any - -class createSignupApprovalWorkflow(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - options: CreateSignupApprovalWorkflowInput - - _args: AnyArgs - - - type: Any - -class updateWorkflows(GQLMutation): - class AnyArgs(GQLArgsSet, GQLObject): - options: UpdateWorkflowsInput - - _args: AnyArgs - - - type: Any - - -class Mutations(Enum): - createEventUrl = createEventUrl - updateEventUrl = updateEventUrl - deleteEventUrl = deleteEventUrl - upsertEventConfig = upsertEventConfig - deleteEventConfig = deleteEventConfig - createGatewayInstance = createGatewayInstance - updateGatewayInstance = updateGatewayInstance - deleteGatewayInstance = deleteGatewayInstance - createGatewayTemplate = createGatewayTemplate - updateGatewayTemplate = updateGatewayTemplate - deleteGatewayTemplate = deleteGatewayTemplate - createGatewayTemplateParam = createGatewayTemplateParam - updateEnvConfig = updateEnvConfig - resetEnvConfig = resetEnvConfig - addUserAlert = addUserAlert - deleteUserAlerts = deleteUserAlerts - editUserAlert = editUserAlert - updateUserAlerts = updateUserAlerts - createApiCertificates = createApiCertificates - deleteApiCertificates = deleteApiCertificates - saveApiDevelopersToApi = saveApiDevelopersToApi - copyApiDevelopersFromVersion = copyApiDevelopersFromVersion - createApiFavorites = createApiFavorites - deleteApiFavorites = deleteApiFavorites - createApiFollowers = createApiFollowers - deleteApiFollowers = deleteApiFollowers - createApisFromSpecs = createApisFromSpecs - updateApisFromSpecs = updateApisFromSpecs - createApisFromRapidOas = createApisFromRapidOas - updateApisFromRapidOas = updateApisFromRapidOas - createApiVersions = createApiVersions - createGqlApiVersions = createGqlApiVersions - updateApiVersions = updateApiVersions - createApiVersionBillingPlanVersion = createApiVersionBillingPlanVersion - createApi = createApi - updateApi = updateApi - provisionSwaggerFiles = provisionSwaggerFiles - deleteApi = deleteApi - createApplicationAuthorization = createApplicationAuthorization - updateApplicationAuthorization = updateApplicationAuthorization - deleteApplicationAuthorization = deleteApplicationAuthorization - addApplicationEnvironmentKey = addApplicationEnvironmentKey - editApplicationEnvironmentKey = editApplicationEnvironmentKey - deleteApplicationEnvironmentKey = deleteApplicationEnvironmentKey - generateAssetUploadUrl = generateAssetUploadUrl - deleteAsset = deleteAsset - updateAssetUploaded = updateAssetUploaded - updateAsset = updateAsset - upsertAsyncApiConfiguration = upsertAsyncApiConfiguration - upsertUserAttributes = upsertUserAttributes - updateUserAttributeItem = updateUserAttributeItem - createAuthentications = createAuthentications - updateAuthentications = updateAuthentications - createOrUpdateAPIVersionAuthentication = createOrUpdateAPIVersionAuthentication - createBillingFeature = createBillingFeature - updateBillingFeature = updateBillingFeature - upsertBillingFeature = upsertBillingFeature - deleteBillingFeature = deleteBillingFeature - deleteBillingFeatures = deleteBillingFeatures - createStripeCustomer = createStripeCustomer - updateStripeCustomer = updateStripeCustomer - createStripeCustomerV2 = createStripeCustomerV2 - updateStripeCustomerV2 = updateStripeCustomerV2 - deleteCustomerPaymentMethod = deleteCustomerPaymentMethod - upsertBillingItem = upsertBillingItem - deleteBillingItems = deleteBillingItems - deleteBillingPlans = deleteBillingPlans - updateAllowedPlanDevelopers = updateAllowedPlanDevelopers - editOrganizationInvoice = editOrganizationInvoice - createBillingPlan = createBillingPlan - updateBillingPlanMetadata = updateBillingPlanMetadata - updateBillingPlanExtended = updateBillingPlanExtended - upsertBillingPlanAndVersion = upsertBillingPlanAndVersion - blockUsers = blockUsers - unblockUsers = unblockUsers - createCategory = createCategory - updateCategory = updateCategory - deleteCategories = deleteCategories - deleteCollection = deleteCollection - updateCollection = updateCollection - createCollection = createCollection - bulkUpdateCollections = bulkUpdateCollections - updateCollections = updateCollections - postCommentV2 = postCommentV2 - deleteCommentV2 = deleteCommentV2 - updateCommentV2 = updateCommentV2 - postCommentV3 = postCommentV3 - subscribeToPlan = subscribeToPlan - unfollowUser = unfollowUser - followUser = followUser - followApi = followApi - unfollowApi = unfollowApi - sendMessage = sendMessage - rateApi = rateApi - upsertEntityMetadataBulk = upsertEntityMetadataBulk - upsertEntityMetadata = upsertEntityMetadata - deleteIssueV2 = deleteIssueV2 - updateIssueV2 = updateIssueV2 - deleteIssues = deleteIssues - postIssueV3 = postIssueV3 - updateOrCreateEndpointWithParameters = updateOrCreateEndpointWithParameters - updateEndpointEntity = updateEndpointEntity - deleteEndpoint = deleteEndpoint - deleteEndpoints = deleteEndpoints - updateEndpointsCollectionOrder = updateEndpointsCollectionOrder - createEndpointsGroups = createEndpointsGroups - updateEndpointsGroups = updateEndpointsGroups - deleteEndpointsGroups = deleteEndpointsGroups - duplicateNameCheck = duplicateNameCheck - createEntityMetadata = createEntityMetadata - updateEntityMetadata = updateEntityMetadata - createEntitiesRoles = createEntitiesRoles - upsertEntityRole = upsertEntityRole - updateGraphQLSchema = updateGraphQLSchema - createHeadlinesPerApiId = createHeadlinesPerApiId - updateHeadlines = updateHeadlines - createHeadlines = createHeadlines - followIssueV2 = followIssueV2 - updateKafkaConfiguration = updateKafkaConfiguration - subscribeToKafkaTopic = subscribeToKafkaTopic - produceKafkaMessage = produceKafkaMessage - postMessage = postMessage - postMessageV2 = postMessageV2 - updateThreadEntityStatus = updateThreadEntityStatus - markNotificationAsViewed = markNotificationAsViewed - markNewNotificationAsRead = markNewNotificationAsRead - markNotificationsAsRead = markNotificationsAsRead - updateOrganization = updateOrganization - deleteOrganization = deleteOrganization - createOrganization = createOrganization - createNewOrganizationV4 = createNewOrganizationV4 - generateResetPasswordToken = generateResetPasswordToken - resetUserPassword = resetUserPassword - deletePayoutInfo = deletePayoutInfo - addProject = addProject - addProjectV2 = addProjectV2 - editProjectV2 = editProjectV2 - deleteProject = deleteProject - createProject = createProject - updateProject = updateProject - createProjectAllowedAPIs = createProjectAllowedAPIs - updateProjectAllowedAPI = updateProjectAllowedAPI - deleteProjectAllowedAPIs = deleteProjectAllowedAPIs - changeApiUsedVersion = changeApiUsedVersion - createRapidReason = createRapidReason - deprecatedUpdateRole = deprecatedUpdateRole - updateRole = updateRole - deprecatedCreateRole = deprecatedCreateRole - createRole = createRole - deprecatedDeleteRole = deprecatedDeleteRole - deleteRole = deleteRole - createSecretData = createSecretData - updateBaseUrl = updateBaseUrl - createSpotlight = createSpotlight - updateSpotlight = updateSpotlight - deleteSpotlight = deleteSpotlight - deleteSubscriptions = deleteSubscriptions - deleteSubscription = deleteSubscription - createSubscription = createSubscription - createExternalGatewayApiSubscription = createExternalGatewayApiSubscription - updateTargetGroups = updateTargetGroups - removeTeamUserFromAllOrgTeams = removeTeamUserFromAllOrgTeams - updateTeamUser = updateTeamUser - updateUserRoles = updateUserRoles - editTeam = editTeam - addUserToTeams = addUserToTeams - deleteTeam = deleteTeam - createTeam = createTeam - updateTeam = updateTeam - updateTransactions = updateTransactions - createTransformations = createTransformations - updateTransformations = updateTransformations - deleteTransformations = deleteTransformations - createTutorial = createTutorial - updateTutorial = updateTutorial - deleteTutorial = deleteTutorial - phoneAuthSetup = phoneAuthSetup - phoneAuthSetupVerify = phoneAuthSetupVerify - authenticateUsingPhone = authenticateUsingPhone - authenticateUsingPhoneVerify = authenticateUsingPhoneVerify - deletePhoneNumber = deletePhoneNumber - generateRecoveryCodes = generateRecoveryCodes - regenerateRecoveryCodes = regenerateRecoveryCodes - markRecoveryCodeAsUsed = markRecoveryCodeAsUsed - applicationAuthSetup = applicationAuthSetup - applicationAuthSetupVerify = applicationAuthSetupVerify - authenticateUsingApp = authenticateUsingApp - deleteApplicationAuth = deleteApplicationAuth - createUserInvites = createUserInvites - createUserInvitesV2 = createUserInvitesV2 - acceptUserInvite = acceptUserInvite - bulkDeleteUserInvitesV2 = bulkDeleteUserInvitesV2 - deleteUserInvites = deleteUserInvites - bulkReactivateUserInvitesV2 = bulkReactivateUserInvitesV2 - reactivateUserInvites = reactivateUserInvites - inviteUsersToTeams = inviteUsersToTeams - saveUserApi = saveUserApi - updateUserById = updateUserById - updateUserPassword = updateUserPassword - deleteAll2faData = deleteAll2faData - updateUserEmail = updateUserEmail - verifyEmailCode = verifyEmailCode - updateUser = updateUser - deleteUser = deleteUser - createWorkflow = createWorkflow - createSignupApprovalWorkflow = createSignupApprovalWorkflow - updateWorkflows = updateWorkflows diff --git a/tests/output/rapidapi_nodesc/queries.py b/tests/output/rapidapi_nodesc/queries.py deleted file mode 100644 index 1e1b23a..0000000 --- a/tests/output/rapidapi_nodesc/queries.py +++ /dev/null @@ -1,2577 +0,0 @@ -from typing import List -from pygqlmap import GQLQuery -from .gql_types import * -from .gql_simple_types import * -from .enums import * -from .scalars import * -from .type_refs import * - -class list_EnvConfigCategory(list, EnvConfigCategory): pass - -class NonNull_EnvConfigTerm(EnvConfigTerm): pass - -class list_EnvConfig(list, EnvConfig): pass - -class list_Extension(list, Extension): pass - -class list_AlertDefinition(list, AlertDefinition): pass - -class NonNull_UserAlertsWhereInput(UserAlertsWhereInput): pass - -class NonNull_AnalyticsStatsInput(AnalyticsStatsInput): pass - -class list_AnalyticsStats(list, AnalyticsStats): pass - -class NonNull_ApiFollowerWhereInput(ApiFollowerWhereInput): pass - -class list_ApiSpecImportProcess(list, ApiSpecImportProcess): pass - -class NonNull_AppAuthorizationsWhereInput(AppAuthorizationsWhereInput): pass - -class NonNull_AssetWhereInput(AssetWhereInput): pass - -class list_AssetForDownload(list, AssetForDownload): pass - -class NonNull_AsyncApiConfigurationWhereInput(AsyncApiConfigurationWhereInput): pass - -class NonNull_AuditWhereInput(AuditWhereInput): pass - -class list_authStrategy(list, authStrategy): pass - -class NonNull_BillingItemsWhereInput(BillingItemsWhereInput): pass - -class NonNull_list_endpointsAndApiVersionCouples(list, endpointsAndApiVersionCouples): pass - -class list_CategoryEntity(list, CategoryEntity): pass - -class list_CollapsedCollection(list, CollapsedCollection): pass - -class list_Follower(list, Follower): pass - -class list_OrgTransaction(list, OrgTransaction): pass - -class NonNull_ConsumersWhereInput(ConsumersWhereInput): pass - -class NonNull_ContactAdminSubscribeToAPIEvent(ContactAdminSubscribeToAPIEvent): pass - -class list_EndpointStats(list, EndpointStats): pass - -class list_EndpointAndVersion(list, EndpointAndVersion): pass - -class list_VersionEndpointStats(list, VersionEndpointStats): pass - -class NonNull_endpointsWithinDateInput(endpointsWithinDateInput): pass - -class NonNull_EndpointWhereInput(EndpointWhereInput): pass - -class list_Entity(list, Entity): pass - -class NonNull_EntityMetadataWhereInput(EntityMetadataWhereInput): pass - -class NonNull_EntityRoleWhereInput(EntityRoleWhereInput): pass - -class list_LogsCSV(list, LogsCSV): pass - -class list_Headline(list, Headline): pass - -class NonNull_GetLegalAgreementSigningURLInput(GetLegalAgreementSigningURLInput): pass - -class NonNull_MessagesWhereInput(MessagesWhereInput): pass - -class list_NewNotification(list, NewNotification): pass - -class NonNull_RoleWhereInput(RoleWhereInput): pass - -class NonNull_SearchApiWhereInput(SearchApiWhereInput): pass - -class NonNull_SearchBlogPostWhereInput(SearchBlogPostWhereInput): pass - -class NonNull_SpotlightWhereInput(SpotlightWhereInput): pass - -class list_ActiveSubscriptionCount(list, ActiveSubscriptionCount): pass - -class list_SubscriptionsCount(list, SubscriptionsCount): pass - -class NonNull_TeamUserWhereInput(TeamUserWhereInput): pass - -class NonNull_TutorialWhereInput(TutorialWhereInput): pass - -class list_Phone(list, Phone): pass - -class list_RecoveryCode(list, RecoveryCode): pass - -class list_UsagesStats(list, UsagesStats): pass - -class list_InviteUsersSearch(list, InviteUsersSearch): pass - -class list_UserSavedApi(list, UserSavedApi): pass - -class list_User(list, User): pass - -class NonNull_SearchUsersWhereInput(SearchUsersWhereInput): pass - -class NonNull_UserWhereInput(UserWhereInput): pass - -class list_Permission(list, Permission): pass - -class NonNull_VirtualPermissionWhereInput(VirtualPermissionWhereInput): pass - -class list_Exclusion(list, Exclusion): pass - -class ping(GQLQuery): - type: str - -class eventUrls(GQLQuery): - class EventUrlConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: EventUrlWhereInput - order: EventUrlSortablesInput - - _args: EventUrlConnectionArgs - - - type: EventUrlConnection - -class eventUrl(GQLQuery): - class EventUrlArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: EventUrlArgs - - - type: EventUrl - -class eventTypes(GQLQuery): - type: list_EventType[EventType] - -class eventConfig(GQLQuery): - type: EventConfig - -class gatewayInstances(GQLQuery): - class GatewayInstanceConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: GatewayInstanceWhereInput - order: GatewayInstanceSortingInput - - _args: GatewayInstanceConnectionArgs - - - type: GatewayInstanceConnection - -class gatewayInstance(GQLQuery): - class GatewayInstanceArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: GatewayInstanceArgs - - - type: GatewayInstance - -class gatewayTemplates(GQLQuery): - class GatewayTemplateConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: GatewayTemplateWhereInput - order: GatewayTemplateSortingInput - - _args: GatewayTemplateConnectionArgs - - - type: GatewayTemplateConnection - -class gatewayTemplate(GQLQuery): - class GwTemplateArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: GwTemplateArgs - - - type: GwTemplate - -class gatewayTemplatesParams(GQLQuery): - class GatewayTemplateParamConnectionArgs(GQLArgsSet, GQLObject): - pagination: PaginationArgs - where: GatewayTemplateParamsWhereInput - order: GatewayTemplateParamSortingInput - - _args: GatewayTemplateParamConnectionArgs - - - type: GatewayTemplateParamConnection - -class gatewayTemplateParam(GQLQuery): - class GatewayTemplateParamArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: GatewayTemplateParamArgs - - - type: GatewayTemplateParam - -class envConfigCategories(GQLQuery): - type: list_EnvConfigCategory[EnvConfigCategory] - -class envConfig(GQLQuery): - class EnvConfigArgs(GQLArgsSet, GQLObject): - id: NonNull_int - - _args: EnvConfigArgs - - - type: EnvConfig - -class envConfigs(GQLQuery): - class EnvConfigArgs(GQLArgsSet, GQLObject): - envConfigTerm: NonNull_EnvConfigTerm - - _args: EnvConfigArgs - - - type: list_EnvConfig[EnvConfig] - -class adminAuditLogs(GQLQuery): - class AdminAuditLogConnectionArgs(GQLArgsSet, GQLObject): - where: AdminAuditLogInput - pagination: PaginationArgs - orderBy: AdminAuditLogSortablesInput - - _args: AdminAuditLogConnectionArgs - - - type: AdminAuditLogConnection - -class eventLogs(GQLQuery): - class EventLogConnectionArgs(GQLArgsSet, GQLObject): - where: EventLogInput - pagination: PaginationArgs - orderBy: EventLogSortablesInput - - _args: EventLogConnectionArgs - - - type: EventLogConnection - -class extensions(GQLQuery): - class ExtensionArgs(GQLArgsSet, GQLObject): - client: str - page: str - path: str - - _args: ExtensionArgs - - - type: list_Extension[Extension] - -class getSEOTagsByURL(GQLQuery): - class SEOArgs(GQLArgsSet, GQLObject): - url: str - - _args: SEOArgs - - - type: SEO - -class getUserAlertById(GQLQuery): - class UserAlertArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: UserAlertArgs - - - type: UserAlert - -class getUserAlertsByScope(GQLQuery): - class UserAlertArgs(GQLArgsSet, GQLObject): - scope: NonNull_ID - - _args: UserAlertArgs - - - type: list_UserAlert[UserAlert] - -class getAlertsDefinitions(GQLQuery): - type: list_AlertDefinition[AlertDefinition] - -class userAlerts(GQLQuery): - class UserAlertsConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_UserAlertsWhereInput - - _args: UserAlertsConnectionArgs - - - type: UserAlertsConnection - -class userAlert(GQLQuery): - class UserAlertArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: UserAlertArgs - - - type: UserAlert - -class allowedPlanDeveloperByPlanId(GQLQuery): - class AllowedPlanDeveloperArgs(GQLArgsSet, GQLObject): - planId: str - - _args: AllowedPlanDeveloperArgs - - - type: list_AllowedPlanDeveloper[AllowedPlanDeveloper] - -class apiTrafficAnalytics(GQLQuery): - class AnalyticsStatsArgs(GQLArgsSet, GQLObject): - where: NonNull_AnalyticsStatsInput - groupBy: AnalyticsStatsGroupByInput - - _args: AnalyticsStatsArgs - - - type: list_AnalyticsStats[AnalyticsStats] - -class apiCertificate(GQLQuery): - class ApiCertificateArgs(GQLArgsSet, GQLObject): - apiCertificateId: NonNull_ID - - _args: ApiCertificateArgs - - - type: ApiCertificate - -class apiCertificates(GQLQuery): - class ApiCertificateConnectionArgs(GQLArgsSet, GQLObject): - where: ApiCertificateWhereInput - orderBy: ApiCertificateOrderByInput - pagination: PaginationInput - - _args: ApiCertificateConnectionArgs - - - type: ApiCertificateConnection - -class apiDevelopersByApiId(GQLQuery): - class ApiDeveloperArgs(GQLArgsSet, GQLObject): - apiId: str - pagingArgs: PagingArgs - - _args: ApiDeveloperArgs - - - type: list_ApiDeveloper[ApiDeveloper] - -class apiFollowers(GQLQuery): - class ApiFollowerConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_ApiFollowerWhereInput - orderBy: ApiFollowerOrderByInput - pagination: PaginationInput - - _args: ApiFollowerConnectionArgs - - - type: ApiFollowerConnection - -class apiReferenceByApiAndVersionId(GQLQuery): - class ApiReferenceArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - versionId: NonNull_str - - _args: ApiReferenceArgs - - - type: ApiReference - -class apiReferences(GQLQuery): - class ApiReferenceConnectionArgs(GQLArgsSet, GQLObject): - where: ApiReferenceWhereInput - - _args: ApiReferenceConnectionArgs - - - type: ApiReferenceConnection - -class apiSearch(GQLQuery): - class ApiSearchPagedArgs(GQLArgsSet, GQLObject): - searchArguments: SearchArguments - - _args: ApiSearchPagedArgs - - - type: ApiSearchPaged - -class apiSearchV3(GQLQuery): - class ApiSearchPagedArgs(GQLArgsSet, GQLObject): - searchArguments: SearchArguments - - _args: ApiSearchPagedArgs - - - type: ApiSearchPaged - -class apiSpecImportProgresses(GQLQuery): - class ApiSpecImportProcessArgs(GQLArgsSet, GQLObject): - trackingIds: NonNull_list[NonNull_ID] - - _args: ApiSpecImportProcessArgs - - - type: list_ApiSpecImportProcess[ApiSpecImportProcess] - -class bulkApisSummaryByTrackingIds(GQLQuery): - class BatchTrackingIdsSummaryArgs(GQLArgsSet, GQLObject): - trackingIds: NonNull_list[ID] - - _args: BatchTrackingIdsSummaryArgs - - - type: BatchTrackingIdsSummary - -class calculatedStatistics(GQLQuery): - class CalculatedStatisticsArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: NonNull_str - resolution: str - projectIds: list[str] - apiIds: list[str] - endpoints: list[str] - groupBy: StatsGroupBy - apiVersionIds: list[ID] - entityId: ID - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: CalculatedStatisticsArgs - - - type: CalculatedStatistics - -class getApiVersion(GQLQuery): - class ApiVersionArgs(GQLArgsSet, GQLObject): - versionId: NonNull_ID - - _args: ApiVersionArgs - - - type: ApiVersion - -class apiVersion(GQLQuery): - class ApiVersionArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_ID - - _args: ApiVersionArgs - - - type: ApiVersion - -class apiVersions(GQLQuery): - class ApiVersionConnectionArgs(GQLArgsSet, GQLObject): - where: ApiVersionWhereInput - orderBy: ApiVersionOrderByInput - pagination: PaginationInput - - _args: ApiVersionConnectionArgs - - - type: ApiVersionConnection - -class api(GQLQuery): - class ApiArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: ApiArgs - - - type: Api - -class apis(GQLQuery): - class ApiConnectionArgs(GQLArgsSet, GQLObject): - where: ApiWhereInput - orderBy: ApiOrderByInput - pagination: PaginationInput - - _args: ApiConnectionArgs - - - type: ApiConnection - -class exportOpenApi(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - apiId: NonNull_ID - apiVersionId: ID - - _args: AnyArgs - - - type: Any - -class validateSwagger(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - input: validateSwaggerInput - - _args: AnyArgs - - - type: Any - -class applicationAuthorization(GQLQuery): - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: ApplicationAuthorizationArgs - - - type: ApplicationAuthorization - -class applicationAuthorizations(GQLQuery): - class ApplicationAuthorizationArgs(GQLArgsSet, GQLObject): - where: NonNull_AppAuthorizationsWhereInput - - _args: ApplicationAuthorizationArgs - - - type: list_ApplicationAuthorization[ApplicationAuthorization] - -class applicationEnvironmentsKeysByApplicationIdAndEnvironment(GQLQuery): - class ApplicationEnvironmentPagingArgs(GQLArgsSet, GQLObject): - applicationId: str - environment: str - - _args: ApplicationEnvironmentPagingArgs - - - type: ApplicationEnvironmentPaging - -class applicationEnvironmentsByApplicationIdAndEnvironment(GQLQuery): - class ApplicationEnvironmentArgs(GQLArgsSet, GQLObject): - applicationId: str - environment: str - - _args: ApplicationEnvironmentArgs - - - type: ApplicationEnvironment - -class applicationById(GQLQuery): - class ApplicationArgs(GQLArgsSet, GQLObject): - id: int - - _args: ApplicationArgs - - - type: Application - -class asset(GQLQuery): - class AssetArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: AssetArgs - - - type: Asset - -class assets(GQLQuery): - class AssetArgs(GQLArgsSet, GQLObject): - where: NonNull_AssetWhereInput - - _args: AssetArgs - - - type: list_Asset[Asset] - -class assetsDownloadUrls(GQLQuery): - class AssetForDownloadArgs(GQLArgsSet, GQLObject): - where: NonNull_AssetWhereInput - - _args: AssetForDownloadArgs - - - type: list_AssetForDownload[AssetForDownload] - -class asyncApiConfigurations(GQLQuery): - class AsyncApiConfigurationConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_AsyncApiConfigurationWhereInput - - _args: AsyncApiConfigurationConnectionArgs - - - type: AsyncApiConfigurationConnection - -class userAttributesByUserId(GQLQuery): - class UserAttributesArgs(GQLArgsSet, GQLObject): - userId: int - - _args: UserAttributesArgs - - - type: UserAttributes - -class auditByOrganizationId(GQLQuery): - class auditTrailsArgs(GQLArgsSet, GQLObject): - searchTerm: str - from_: int - orgId: int - - _args: auditTrailsArgs - - - type: auditTrails - -class audit(GQLQuery): - class auditTrailsArgs(GQLArgsSet, GQLObject): - where: NonNull_AuditWhereInput - - _args: auditTrailsArgs - - - type: auditTrails - -class auditLogin(GQLQuery): - class auditTrailsArgs(GQLArgsSet, GQLObject): - from_: int - userId: str - - _args: auditTrailsArgs - - - type: auditTrails - -class userByEmail(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - email: str - - _args: UserArgs - - - type: User - -class activeUser(GQLQuery): - type: User - -class getAuthStrategies(GQLQuery): - type: list_authStrategy[authStrategy] - -class getBillingFeaturesByApiVersionId(GQLQuery): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - versionId: str - - _args: BillingFeatureArgs - - - type: list_BillingFeature[BillingFeature] - -class getBillingFeaturesByApiId(GQLQuery): - class BillingFeatureArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - - _args: BillingFeatureArgs - - - type: list_BillingFeature[BillingFeature] - -class isMonetizationEnabled(GQLQuery): - type: bool - -class billingItems(GQLQuery): - class BillingItemConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_BillingItemsWhereInput - - _args: BillingItemConnectionArgs - - - type: BillingItemConnection - -class getFreeSeatsObj(GQLQuery): - class SeatsBillingInformationArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - - _args: SeatsBillingInformationArgs - - - type: SeatsBillingInformation - -class getBillingPlanVersionsByApiId(GQLQuery): - class BillingPlanVersionsResponseArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - apiVersionId: str - pagingArgs: PagingArgsBilling - filters: BillingPlanVersionFilters - - _args: BillingPlanVersionsResponseArgs - - - type: BillingPlanVersionsResponse - -class getBillingPlanVersionById(GQLQuery): - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - billingPlanVersionId: NonNull_str - - _args: BillingPlanVersionArgs - - - type: BillingPlanVersion - -class billingPlanVersion(GQLQuery): - class BillingPlanVersionArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: BillingPlanVersionArgs - - - type: BillingPlanVersion - -class billingPlanVersions(GQLQuery): - class BillingPlanVersionConnectionArgs(GQLArgsSet, GQLObject): - where: BillingPlanVersionWhereInput - pagination: PaginationInput - - _args: BillingPlanVersionConnectionArgs - - - type: BillingPlanVersionConnection - -class calculatedStatisticsByEndpointAndApiversion(GQLQuery): - class CalculatedStatisticsArgs(GQLArgsSet, GQLObject): - fromDate: NonNull_str - toDate: NonNull_str - resolution: str - endpointsAndApiVersions: NonNull_list_endpointsAndApiVersionCouples[endpointsAndApiVersionCouples] - groupBy: StatsGroupBy - apiId: NonNull_str - entityId: ID - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: CalculatedStatisticsArgs - - - type: CalculatedStatistics - -class categoriesV2(GQLQuery): - class CategoryConnectionArgs(GQLArgsSet, GQLObject): - where: CategoryWhereInput - orderBy: CategoryOrderByInput - pagination: PaginationInput - - _args: CategoryConnectionArgs - - - type: CategoryConnection - -class categoryEntities(GQLQuery): - class CategoryEntityArgs(GQLArgsSet, GQLObject): - lang: str - pagingArgs: PagingArgs - - _args: CategoryEntityArgs - - - type: list_CategoryEntity[CategoryEntity] - -class categories(GQLQuery): - class CategoryArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - - _args: CategoryArgs - - - type: list_Category[Category] - -class collectionsItemsByIds(GQLQuery): - class CollectionItemArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[ID] - - _args: CollectionItemArgs - - - type: list_CollectionItem[CollectionItem] - -class collections(GQLQuery): - class CollectionsResponseArgs(GQLArgsSet, GQLObject): - where: CollectionsWhereInput - orderBy: CollectionsOrderByInput - minWeightToFetchApis: int - - _args: CollectionsResponseArgs - - - type: CollectionsResponse - -class collectionsByOwnerId(GQLQuery): - class CollectionsResponseArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - minWeightToFetchApis: int - collection_type: str - - _args: CollectionsResponseArgs - - - type: CollectionsResponse - -class getOrgHomepageCollections(GQLQuery): - class CollectionsResponseArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - minWeightToFetchApis: int - - _args: CollectionsResponseArgs - - - type: CollectionsResponse - -class collectionById(GQLQuery): - class CollectionArgs(GQLArgsSet, GQLObject): - collectionId: NonNull_ID - - _args: CollectionArgs - - - type: Collection - -class collection(GQLQuery): - class CollectionArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: CollectionArgs - - - type: Collection - -class collapsedCollections(GQLQuery): - class CollapsedCollectionArgs(GQLArgsSet, GQLObject): - orderByField: str - orderDirection: OrderDirection - limit: int - page: int - - _args: CollapsedCollectionArgs - - - type: list_CollapsedCollection[CollapsedCollection] - -class collectionBySlugifiedKey(GQLQuery): - class CollectionArgs(GQLArgsSet, GQLObject): - slugifiedKey: str - - _args: CollectionArgs - - - type: Collection - -class getPrivateCollections(GQLQuery): - type: list_Collection[Collection] - -class getPrivateCollectionsV2(GQLQuery): - type: list_Collection[Collection] - -class collectionBySlugifiedKeyV2(GQLQuery): - class CollectionV2Args(GQLArgsSet, GQLObject): - slugifiedKey: str - - _args: CollectionV2Args - - - type: CollectionV2 - -class collectionBySlugifiedKeyV3(GQLQuery): - class CollectionV3Args(GQLArgsSet, GQLObject): - slugifiedKey: str - - _args: CollectionV3Args - - - type: CollectionV3 - -class getCommentsByIssueIdV2(GQLQuery): - class PaginatedCommentsArgs(GQLArgsSet, GQLObject): - issueId: NonNull_int - pagingArgs: PagingArgs - - _args: PaginatedCommentsArgs - - - type: PaginatedComments - -class getCommentByIdV2(GQLQuery): - class CommentArgs(GQLArgsSet, GQLObject): - issueId: NonNull_int - commentId: NonNull_int - - _args: CommentArgs - - - type: Comment - -class search(GQLQuery): - class ApiSearchArgs(GQLArgsSet, GQLObject): - term: NonNull_str - - _args: ApiSearchArgs - - - type: list_ApiSearch[ApiSearch] - -class searchEntityByApiId(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - userName: NonNull_str - apiId: NonNull_str - distinct: str - - _args: AnyArgs - - - type: list[Any] - -class getOpenApiSpecByApiId(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - apiId: ID - - _args: AnyArgs - - - type: Any - -class entityById(GQLQuery): - class EntityArgs(GQLArgsSet, GQLObject): - id: ID - - _args: EntityArgs - - - type: Entity - -class activeEntity(GQLQuery): - type: Entity - -class apiByNameAndOwnerName(GQLQuery): - class ApiArgs(GQLArgsSet, GQLObject): - apiName: str - ownerName: str - - _args: ApiArgs - - - type: Api - -class apiBySlugifiedNameAndOwnerName(GQLQuery): - class ApiArgs(GQLArgsSet, GQLObject): - slugifiedName: str - ownerName: str - - _args: ApiArgs - - - type: Api - -class apiByNameAndOwnerId(GQLQuery): - class ApiArgs(GQLArgsSet, GQLObject): - apiName: str - ownerId: str - - _args: ApiArgs - - - type: Api - -class userFollows(GQLQuery): - class FollowUserArgs(GQLArgsSet, GQLObject): - userId: int - - _args: FollowUserArgs - - - type: list_FollowUser[FollowUser] - -class apiById(GQLQuery): - class ApiArgs(GQLArgsSet, GQLObject): - apiId: str - - _args: ApiArgs - - - type: Api - -class apisById(GQLQuery): - class ApiArgs(GQLArgsSet, GQLObject): - ids: NonNull_list[ID] - - _args: ApiArgs - - - type: list_Api[Api] - -class followUserAction(GQLQuery): - class FollowPairArgs(GQLArgsSet, GQLObject): - followerId: int - followeeId: int - - _args: FollowPairArgs - - - type: FollowPair - -class userFollowers(GQLQuery): - class FollowerArgs(GQLArgsSet, GQLObject): - userId: int - - _args: FollowerArgs - - - type: list_Follower[Follower] - -class calculateSeatsPrice(GQLQuery): - class floatArgs(GQLArgsSet, GQLObject): - seats: NonNull_int - - _args: floatArgs - - - type: float - -class getSeatsTransactionsByOrgId(GQLQuery): - class OrgTransactionArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - - _args: OrgTransactionArgs - - - type: list_OrgTransaction[OrgTransaction] - -class organizationsTreeToken(GQLQuery): - type: str - -class getMinimumSeats(GQLQuery): - type: int - -class transactionsById(GQLQuery): - class TransactionsPagingArgs(GQLArgsSet, GQLObject): - apiId: str - userId: int - type: str - pagingArgs: PagingArgs - queryFilters: QueryFilters - paymentStatusFilters: list[TransactionPaymentStatus] - - _args: TransactionsPagingArgs - - - type: TransactionsPaging - -class unionDiscussionsByAuthor(GQLQuery): - class DiscussionObjectArgs(GQLArgsSet, GQLObject): - authorId: int - limit: int - offset: int - orderField: str - orderType: str - type: str - - _args: DiscussionObjectArgs - - - type: DiscussionObject - -class getActiveUserContext(GQLQuery): - type: ContextEntity - -class getActiveTeamContext(GQLQuery): - type: ContextEntity - -class transactionsAnalyticsByApiId(GQLQuery): - class TransactionsAnalyticsArgs(GQLArgsSet, GQLObject): - apiId: str - fromDate: str - toDate: str - attributes: str - - _args: TransactionsAnalyticsArgs - - - type: TransactionsAnalytics - -class getConsumers(GQLQuery): - class ConsumersArgs(GQLArgsSet, GQLObject): - apiId: str - userId: list[int] - offset: int - limit: int - sort: str - usernames: str - plansFilter: list[str] - lastActive: list[str] - - _args: ConsumersArgs - - - type: Consumers - -class getFreeConsumers(GQLQuery): - class ConsumersArgs(GQLArgsSet, GQLObject): - apiId: NonNull_list[NonNull_ID] - offset: int - limit: int - order: str - lastActive: list[str] - username: list[str] - userId: list[int] - - _args: ConsumersArgs - - - type: Consumers - -class consumers(GQLQuery): - class ConsumerConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_ConsumersWhereInput - - _args: ConsumerConnectionArgs - - - type: ConsumerConnection - -class requestAdminToSubscribeToAnAPI(GQLQuery): - class boolArgs(GQLArgsSet, GQLObject): - eventData: NonNull_ContactAdminSubscribeToAPIEvent - - _args: boolArgs - - - type: bool - -class getCountryMetadata(GQLQuery): - class CountryArgs(GQLArgsSet, GQLObject): - ip: str - - _args: CountryArgs - - - type: Country - -class unionIssuesByAuthorV2(GQLQuery): - class DiscussionObjectArgs(GQLArgsSet, GQLObject): - authorId: int - type: str - pagingArgs: PagingArgs - apiIds: list[str] - - _args: DiscussionObjectArgs - - - type: DiscussionObject - -class getIssuesByApiIdV2(GQLQuery): - class IssueObjectArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - pagingArgs: PagingArgs - providerId: str - - _args: IssueObjectArgs - - - type: IssueObject - -class getIssuesByApiIdsV2(GQLQuery): - class IssueObjectArgs(GQLArgsSet, GQLObject): - apiIds: list[NonNull_str] - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class endpointStats(GQLQuery): - class EndpointStatsArgs(GQLArgsSet, GQLObject): - apiIds: NonNull_list[ID] - projectIds: list[ID] - endpointIds: list[ID] - fromDate: str - toDate: str - resolution: str - - _args: EndpointStatsArgs - - - type: list_EndpointStats[EndpointStats] - -class endpointStatsByEntity(GQLQuery): - class EndpointStatsArgs(GQLArgsSet, GQLObject): - entityId: ID - apiId: NonNull_ID - endpointIds: list[ID] - fromDate: DateTime - toDate: DateTime - resolution: Resolution - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: EndpointStatsArgs - - - type: list_EndpointStats[EndpointStats] - -class endpointStatsByEntityV2(GQLQuery): - class VersionEndpointStatsArgs(GQLArgsSet, GQLObject): - entityId: ID - apiId: NonNull_ID - endpointsAndApiVersions: list_EndpointAndVersion[EndpointAndVersion] - fromDate: DateTime - toDate: DateTime - resolution: Resolution - timeOffset: int - filters: list_StatsFilterBy[StatsFilterBy] - - _args: VersionEndpointStatsArgs - - - type: list_VersionEndpointStats[VersionEndpointStats] - -class getEndpointsWithinDateByParameters(GQLQuery): - class EndpointStatsArgs(GQLArgsSet, GQLObject): - input: NonNull_endpointsWithinDateInput - showDeleted: bool - - _args: EndpointStatsArgs - - - type: list_EndpointStats[EndpointStats] - -class endpoint(GQLQuery): - class EndpointArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: EndpointArgs - - - type: Endpoint - -class endpoints(GQLQuery): - class EndpointConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_EndpointWhereInput - - _args: EndpointConnectionArgs - - - type: EndpointConnection - -class searchEntities(GQLQuery): - class EntityArgs(GQLArgsSet, GQLObject): - term: str - limit: int - status: str - type: str - - _args: EntityArgs - - - type: list_Entity[Entity] - -class entitiesMetadata(GQLQuery): - class EntityMetadataConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_EntityMetadataWhereInput - orderBy: EntityMetadataOrderByInput - pagination: PaginationInput - - _args: EntityMetadataConnectionArgs - - - type: EntityMetadataConnection - -class getEntitiesRoles(GQLQuery): - class EntityRoleArgs(GQLArgsSet, GQLObject): - entityIds: list[int] - orgId: int - parentIds: list[int] - - _args: EntityRoleArgs - - - type: list_EntityRole[EntityRole] - -class entitiesRoles(GQLQuery): - class EntityRoleConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_EntityRoleWhereInput - orderBy: EntityRoleOrderByInput - pagination: PaginationInput - - _args: EntityRoleConnectionArgs - - - type: EntityRoleConnection - -class getLogsCSV(GQLQuery): - class LogsCSVArgs(GQLArgsSet, GQLObject): - apiId: ID - projectId: ID - - _args: LogsCSVArgs - - - type: list_LogsCSV[LogsCSV] - -class exportLogsCSVProvider(GQLQuery): - class LogsCSVExportsArgs(GQLArgsSet, GQLObject): - contextId: NonNull_ID - fromDate: NonNull_DateTime - toDate: NonNull_DateTime - totalCount: NonNull_int - filters: RequestLogFilters - timeOffset: int - - _args: LogsCSVExportsArgs - - - type: LogsCSVExports - -class exportLogsCSVDeveloper(GQLQuery): - class LogsCSVExportsArgs(GQLArgsSet, GQLObject): - contextId: NonNull_ID - fromDate: NonNull_DateTime - toDate: NonNull_DateTime - totalCount: NonNull_int - filters: RequestLogFilters - timeOffset: int - - _args: LogsCSVExportsArgs - - - type: LogsCSVExports - -class gateways(GQLQuery): - type: GatewayConnection - -class getGateways(GQLQuery): - type: list_Gateway[Gateway] - -class getGatewayConfiguration(GQLQuery): - class ApiGatewayConfigurationArgs(GQLArgsSet, GQLObject): - id: NonNull_int - - _args: ApiGatewayConfigurationArgs - - - type: ApiGatewayConfiguration - -class graphQlIntrospectionSchema(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - introspectionCallUrl: NonNull_str - - _args: AnyArgs - - - type: Any - -class headlinesByApiNameAndOwnerId(GQLQuery): - class HeadlineArgs(GQLArgsSet, GQLObject): - apiName: str - apiOwnerId: str - size: int - - _args: HeadlineArgs - - - type: list_Headline[Headline] - -class getIssuesByOrganizatonId(GQLQuery): - class IssueObjectArgs(GQLArgsSet, GQLObject): - id: NonNull_str - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class getResponseTimeByProviderId(GQLQuery): - class floatArgs(GQLArgsSet, GQLObject): - providerId: NonNull_int - - _args: floatArgs - - - type: float - -class getAverageResponseTime(GQLQuery): - type: float - -class unionIssuesByAuthor(GQLQuery): - class DiscussionObjectArgs(GQLArgsSet, GQLObject): - authorId: int - type: str - pagingArgs: PagingArgs - - _args: DiscussionObjectArgs - - - type: DiscussionObject - -class getIssueByIdV2(GQLQuery): - class IssueArgs(GQLArgsSet, GQLObject): - issueId: int - - _args: IssueArgs - - - type: Issue - -class getIssuesByOrganizationId(GQLQuery): - class IssueObjectArgs(GQLArgsSet, GQLObject): - id: str - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class getIssuesByTeamIdV2(GQLQuery): - class IssueObjectArgs(GQLArgsSet, GQLObject): - id: str - pagingArgs: PagingArgs - - _args: IssueObjectArgs - - - type: IssueObject - -class getIssuesFollowsByUserIdV2(GQLQuery): - class IssueFollowArgs(GQLArgsSet, GQLObject): - userId: int - - _args: IssueFollowArgs - - - type: list_IssueFollow[IssueFollow] - -class kafkaConfiguration(GQLQuery): - class KafkaConfigurationArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - - _args: KafkaConfigurationArgs - - - type: KafkaConfiguration - -class kafkaTopics(GQLQuery): - class KafkaTopicsArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - - _args: KafkaTopicsArgs - - - type: KafkaTopics - -class kafkaSchemas(GQLQuery): - class KafkaSchemasArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - - _args: KafkaSchemasArgs - - - type: KafkaSchemas - -class kafkaTopicMetadata(GQLQuery): - class TopicMetadataResponseArgs(GQLArgsSet, GQLObject): - apiVersionId: NonNull_str - topicName: NonNull_str - - _args: TopicMetadataResponseArgs - - - type: TopicMetadataResponse - -class getTemplate(GQLQuery): - class EnvelopeTemplateArgs(GQLArgsSet, GQLObject): - accountId: str - templateId: str - - _args: EnvelopeTemplateArgs - - - type: EnvelopeTemplate - -class getLegalAgreementInfo(GQLQuery): - type: LegalAgreementInfo - -class updateLegalAgreementInfo(GQLQuery): - class LegalAgreementInfoArgs(GQLArgsSet, GQLObject): - input: UpdateLegalAgreementInfo - - _args: LegalAgreementInfoArgs - - - type: LegalAgreementInfo - -class createLegalAgreementInfo(GQLQuery): - class LegalAgreementInfoArgs(GQLArgsSet, GQLObject): - input: CreateLegalAgreementInfo - - _args: LegalAgreementInfoArgs - - - type: LegalAgreementInfo - -class deleteLegalAgreementInfo(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - entityId: str - - _args: AnyArgs - - - type: Any - -class getLegalAgreementSigningURL(GQLQuery): - class LegalAgreementInfoUrlArgs(GQLArgsSet, GQLObject): - input: NonNull_GetLegalAgreementSigningURLInput - - _args: LegalAgreementInfoUrlArgs - - - type: LegalAgreementInfoUrl - -class logPayloadByRequestId(GQLQuery): - class LogPayloadArgs(GQLArgsSet, GQLObject): - requestId: ID - callTime: str - - _args: LogPayloadArgs - - - type: LogPayload - -class logPayloadByRequestIdWithLoggingRestrictions(GQLQuery): - class RestrictedLogPayloadArgs(GQLArgsSet, GQLObject): - requestId: ID - callTime: str - apiId: str - - _args: RestrictedLogPayloadArgs - - - type: RestrictedLogPayload - -class developerLogPayloadByRequestIdWithLoggingRestrictions(GQLQuery): - class RestrictedLogPayloadArgs(GQLArgsSet, GQLObject): - requestId: ID - callTime: str - apiId: str - projectId: str - - _args: RestrictedLogPayloadArgs - - - type: RestrictedLogPayload - -class messageThreads(GQLQuery): - class MessageThreadsObjectArgs(GQLArgsSet, GQLObject): - where: MessageThreadsWhereInput - - _args: MessageThreadsObjectArgs - - - type: MessageThreadsObject - -class messages(GQLQuery): - class MessageArgs(GQLArgsSet, GQLObject): - where: NonNull_MessagesWhereInput - - _args: MessageArgs - - - type: list_Message[Message] - -class getApiAverageResponseTime(GQLQuery): - class floatArgs(GQLArgsSet, GQLObject): - apiId: NonNull_str - - _args: floatArgs - - - type: float - -class getProviderAverageResponseTime(GQLQuery): - class floatArgs(GQLArgsSet, GQLObject): - providerId: NonNull_int - - _args: floatArgs - - - type: float - -class getRelativeAverageResponseTime(GQLQuery): - class RelativeARTResponseArgs(GQLArgsSet, GQLObject): - providerId: NonNull_int - - _args: RelativeARTResponseArgs - - - type: RelativeARTResponse - -class getMessageThread(GQLQuery): - class MessageThreadArgs(GQLArgsSet, GQLObject): - threadId: int - - _args: MessageThreadArgs - - - type: MessageThread - -class newNotificationsByUserId(GQLQuery): - class NewNotificationArgs(GQLArgsSet, GQLObject): - userId: int - limit: int - offset: int - - _args: NewNotificationArgs - - - type: list_NewNotification[NewNotification] - -class notificationsByUserId(GQLQuery): - class NotificationArgs(GQLArgsSet, GQLObject): - userId: int - limit: int - offset: int - - _args: NotificationArgs - - - type: list_Notification[Notification] - -class organization(GQLQuery): - class OrganizationArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - where: WhereOrgTeam - - _args: OrganizationArgs - - - type: Organization - -class organizations(GQLQuery): - class OrganizationArgs(GQLArgsSet, GQLObject): - where: OrganizationWhereInput - - _args: OrganizationArgs - - - type: list_Organization[Organization] - -class getOrganizations(GQLQuery): - type: list_Organization[Organization] - -class getOrganizationBySlugifiedName(GQLQuery): - class OrganizationArgs(GQLArgsSet, GQLObject): - slugifiedName: str - - _args: OrganizationArgs - - - type: Organization - -class getOrganizationById(GQLQuery): - class OrganizationArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - - _args: OrganizationArgs - - - type: Organization - -class getEmailDomainAndCheckIfIgnored(GQLQuery): - type: CorporateDomain - -class getOrganizationsWithTheSameEmail(GQLQuery): - type: list_CorporateDomainOrganization[CorporateDomainOrganization] - -class searchOrganizations(GQLQuery): - class EntityArgs(GQLArgsSet, GQLObject): - term: str - limit: int - - _args: EntityArgs - - - type: list_Entity[Entity] - -class validateResetPasswordToken(GQLQuery): - class ValidateTokenResponseArgs(GQLArgsSet, GQLObject): - token: NonNull_str - - _args: ValidateTokenResponseArgs - - - type: ValidateTokenResponse - -class getProjectAllowedAPIs(GQLQuery): - class ProjectAllowedAPIArgs(GQLArgsSet, GQLObject): - mashapeId: NonNull_str - projectId: NonNull_int - pagingArgs: PagingArgs - - _args: ProjectAllowedAPIArgs - - - type: list_ProjectAllowedAPI[ProjectAllowedAPI] - -class requestLogsByEntity(GQLQuery): - class RequestLogsResultArgs(GQLArgsSet, GQLObject): - apiId: str - projectId: str - fromDate: NonNull_str - toDate: str - limit: int - offset: int - orderBy: RequestLogsOrderBy - orderDir: OrderDirection - filters: RequestLogFilters - timeOffset: int - - _args: RequestLogsResultArgs - - - type: RequestLogsResult - -class getAccessControlRoles(GQLQuery): - class RoleArgs(GQLArgsSet, GQLObject): - roleLevels: list[RoleLevel] - - _args: RoleArgs - - - type: list_Role[Role] - -class getRoles(GQLQuery): - class RoleArgs(GQLArgsSet, GQLObject): - roleLevels: list[RoleLevel] - - _args: RoleArgs - - - type: list_Role[Role] - -class roles(GQLQuery): - class RoleConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_RoleWhereInput - orderBy: RoleOrderByInput - pagination: PaginationInput - - _args: RoleConnectionArgs - - - type: RoleConnection - -class searchApis(GQLQuery): - class SearchApiConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_SearchApiWhereInput - orderBy: SearchApiOrderByInput - pagination: PaginationInput - - _args: SearchApiConnectionArgs - - - type: SearchApiConnection - -class searchBlogPosts(GQLQuery): - class SearchBlogPostConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_SearchBlogPostWhereInput - pagination: PaginationInput - - _args: SearchBlogPostConnectionArgs - - - type: SearchBlogPostConnection - -class searchCollections(GQLQuery): - class SearchCollectionConnectionArgs(GQLArgsSet, GQLObject): - where: SearchCollectionWhereInput - orderBy: SearchCollectionOrderByInput - pagination: PaginationInput - - _args: SearchCollectionConnectionArgs - - - type: SearchCollectionConnection - -class spotlights(GQLQuery): - class SpotlightConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_SpotlightWhereInput - orderBy: SpotlightOrderByInput - pagination: PaginationInput - - _args: SpotlightConnectionArgs - - - type: SpotlightConnection - -class searchSubscribedEntityByApiIdAndAppName(GQLQuery): - class ProjectArgs(GQLArgsSet, GQLObject): - appName: NonNull_str - apiId: NonNull_str - - _args: ProjectArgs - - - type: list_Project[Project] - -class activeSubscriptionsCount(GQLQuery): - class ActiveSubscriptionCountArgs(GQLArgsSet, GQLObject): - apiId: str - fromDate: str - toDate: str - resolution: Resolution - - _args: ActiveSubscriptionCountArgs - - - type: list_ActiveSubscriptionCount[ActiveSubscriptionCount] - -class getInternalSubscriptions(GQLQuery): - type: list_BillingSubscription[BillingSubscription] - -class searchSubscribedEntityByApiId(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - userName: NonNull_str - apiId: NonNull_str - - _args: AnyArgs - - - type: list[Any] - -class getSubscriptions(GQLQuery): - class SubscriptionsPagingArgs(GQLArgsSet, GQLObject): - id: int - userId: int - apiId: str - mashapeId: str - pagingArgs: PagingArgs - - _args: SubscriptionsPagingArgs - - - type: SubscriptionsPaging - -class getOrganizationSubscriptions(GQLQuery): - class OrgSubscriptionsArgs(GQLArgsSet, GQLObject): - pagingArgs: PagingArgs - - _args: OrgSubscriptionsArgs - - - type: OrgSubscriptions - -class subscriptions(GQLQuery): - class SubscriptionConnectionArgs(GQLArgsSet, GQLObject): - where: SubscriptionsWhereInput - pagination: PaginationInput - - _args: SubscriptionConnectionArgs - - - type: SubscriptionConnection - -class subscription(GQLQuery): - class BillingSubscriptionArgs(GQLArgsSet, GQLObject): - id: int - - _args: BillingSubscriptionArgs - - - type: BillingSubscription - -class subscriptionsCount(GQLQuery): - class SubscriptionsCountArgs(GQLArgsSet, GQLObject): - where: SubscriptionsCountWhereInput - - _args: SubscriptionsCountArgs - - - type: list_SubscriptionsCount[SubscriptionsCount] - -class getTagsList(GQLQuery): - type: list_TagDefinition[TagDefinition] - -class tagDefinitions(GQLQuery): - type: TagDefinitionConnection - -class paginatedTeamUsersByOrganizationId(GQLQuery): - class PaginatedTeamUsersArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - pagingArgs: PagingArgs - - _args: PaginatedTeamUsersArgs - - - type: PaginatedTeamUsers - -class paginatedTeamUsersByOrganizationIdV2(GQLQuery): - class PaginatedTeamUsersArgs(GQLArgsSet, GQLObject): - orgId: NonNull_int - pagingArgs: PagingArgs - - _args: PaginatedTeamUsersArgs - - - type: PaginatedTeamUsers - -class teamUserByEmailAndOrgId(GQLQuery): - class TeamUserArgs(GQLArgsSet, GQLObject): - email: str - orgId: int - - _args: TeamUserArgs - - - type: TeamUser - -class teamUser(GQLQuery): - class TeamUserArgs(GQLArgsSet, GQLObject): - where: NonNull_TeamUserWhereInput - - _args: TeamUserArgs - - - type: TeamUser - -class findUsersInOrganization(GQLQuery): - class TeamUserArgs(GQLArgsSet, GQLObject): - orgId: int - term: str - - _args: TeamUserArgs - - - type: list_TeamUser[TeamUser] - -class teamByTeamId(GQLQuery): - class TeamArgs(GQLArgsSet, GQLObject): - teamId: int - orgId: int - - _args: TeamArgs - - - type: Team - -class teamsByOrganizationId(GQLQuery): - class TeamArgs(GQLArgsSet, GQLObject): - orgId: int - - _args: TeamArgs - - - type: list_Team[Team] - -class getTeamBySlugifiedName(GQLQuery): - class TeamArgs(GQLArgsSet, GQLObject): - slugifiedName: str - - _args: TeamArgs - - - type: Team - -class searchTeams(GQLQuery): - class TeamArgs(GQLArgsSet, GQLObject): - term: str - limit: int - - _args: TeamArgs - - - type: list_Team[Team] - -class team(GQLQuery): - class TeamArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: TeamArgs - - - type: Team - -class teams(GQLQuery): - class TeamArgs(GQLArgsSet, GQLObject): - where: TeamWhereInput - - _args: TeamArgs - - - type: list_Team[Team] - -class tenant(GQLQuery): - type: Tenant - -class transactions(GQLQuery): - class TransactionConnectionArgs(GQLArgsSet, GQLObject): - where: TransactionsWhereInput - pagination: PaginationInput - - _args: TransactionConnectionArgs - - - type: TransactionConnection - -class transactionsSummary(GQLQuery): - class TransactionsSummaryArgs(GQLArgsSet, GQLObject): - where: TransactionsSummaryWhereInput - - _args: TransactionsSummaryArgs - - - type: TransactionsSummary - -class transformations(GQLQuery): - class TransformationConnectionArgs(GQLArgsSet, GQLObject): - where: TransformationWhereInput - orderBy: TransformationOrderByInput - pagination: PaginationInput - - _args: TransformationConnectionArgs - - - type: TransformationConnection - -class tutorials(GQLQuery): - class TutorialConnectionArgs(GQLArgsSet, GQLObject): - where: NonNull_TutorialWhereInput - orderBy: TutorialOrderByInput - pagination: PaginationInput - - _args: TutorialConnectionArgs - - - type: TutorialConnection - -class getPhoneNumbers(GQLQuery): - type: list_Phone[Phone] - -class getRecoveryCodes(GQLQuery): - type: list_RecoveryCode[RecoveryCode] - -class isTwoFactorEnabledByType(GQLQuery): - class boolArgs(GQLArgsSet, GQLObject): - type: NonNull_str - - _args: boolArgs - - - type: bool - -class getUsagesAndParentUsageForSubscription(GQLQuery): - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - orderDir: str - periods: list[str] - parentId: int - isInternal: bool - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class getUsagesAgrregatedByTeamsForSubscription(GQLQuery): - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - orderDir: str - periods: list[str] - apiVersionId: str - internalData: list[str] - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class getUsagesAndParentUsageForSubscriptionByBuckets(GQLQuery): - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - periods: list[str] - parentId: int - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class getUsagesAgrregatedByTeamsForSubscriptionByBuckets(GQLQuery): - class UsagesStatsArgs(GQLArgsSet, GQLObject): - apiId: str - subscriptionId: str - billingItemIds: list[str] - resolution: str - periods: list[str] - apiVersionId: str - - _args: UsagesStatsArgs - - - type: list_UsagesStats[UsagesStats] - -class organizationQuotaUsageByApiIdV2(GQLQuery): - class OrganizationApiUsagesV2Args(GQLArgsSet, GQLObject): - apiId: ID - apiVersionId: ID - internalData: Any - - _args: OrganizationApiUsagesV2Args - - - type: OrganizationApiUsagesV2 - -class getUserInviteByToken(GQLQuery): - class UserInviteArgs(GQLArgsSet, GQLObject): - token: NonNull_str - - _args: UserInviteArgs - - - type: UserInvite - -class checkUserInvitesBranding(GQLQuery): - class boolArgs(GQLArgsSet, GQLObject): - input: UserInvitesBrandingInput - - _args: boolArgs - - - type: bool - -class checkIfEmailsAlreadyInvited(GQLQuery): - class AnyArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - emails: NonNull_list[str] - - _args: AnyArgs - - - type: Any - -class searchUsersToInvite(GQLQuery): - class InviteUsersSearchArgs(GQLArgsSet, GQLObject): - orgId: NonNull_ID - brand: str - term: str - offset: int - limit: int - - _args: InviteUsersSearchArgs - - - type: list_InviteUsersSearch[InviteUsersSearch] - -class getUserSavedApis(GQLQuery): - class UserSavedApiArgs(GQLArgsSet, GQLObject): - userCollectionId: str - - _args: UserSavedApiArgs - - - type: list_UserSavedApi[UserSavedApi] - -class userById(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - id: int - - _args: UserArgs - - - type: User - -class userByUsername(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - username: str - includeUserAttributes: bool - - _args: UserArgs - - - type: User - -class getPrivateApisJwt(GQLQuery): - type: str - -class searchUsers(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - brand: str - term: str - offset: int - limit: int - - _args: UserArgs - - - type: list_User[User] - -class searchUsersV2(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - where: NonNull_SearchUsersWhereInput - - _args: UserArgs - - - type: list_User[User] - -class user(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - id: NonNull_ID - - _args: UserArgs - - - type: User - -class users(GQLQuery): - class UserArgs(GQLArgsSet, GQLObject): - where: NonNull_UserWhereInput - - _args: UserArgs - - - type: list_User[User] - -class getVirtualPermissions(GQLQuery): - class PermissionArgs(GQLArgsSet, GQLObject): - permissionLevel: list[RoleLevel] - - _args: PermissionArgs - - - type: list_Permission[Permission] - -class virtualPermissions(GQLQuery): - class VirtualPermissionArgs(GQLArgsSet, GQLObject): - where: NonNull_VirtualPermissionWhereInput - - _args: VirtualPermissionArgs - - - type: list_VirtualPermission[VirtualPermission] - -class getWorkflowsForProvider(GQLQuery): - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class getWorkflowsForDeveloper(GQLQuery): - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class getWorkflowsByRequestor(GQLQuery): - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class getWorkflowsByRequestee(GQLQuery): - class WorkFlowsResponseArgs(GQLArgsSet, GQLObject): - options: GetWorkflowsOptions - pagingArgs: PagingArgs - - _args: WorkFlowsResponseArgs - - - type: WorkFlowsResponse - -class canWorkflowBeSubmitted(GQLQuery): - class boolArgs(GQLArgsSet, GQLObject): - options: CanWorkflowBeSubmittedOptions - - _args: boolArgs - - - type: bool - -class getWorkflowAudits(GQLQuery): - class WorkFlowAuditsResponseArgs(GQLArgsSet, GQLObject): - workflowId: int - - _args: WorkFlowAuditsResponseArgs - - - type: WorkFlowAuditsResponse - -class getWorkflowsCount(GQLQuery): - class intArgs(GQLArgsSet, GQLObject): - options: GetWorkflowCountOptions - - _args: intArgs - - - type: int - -class exclusions(GQLQuery): - class ExclusionArgs(GQLArgsSet, GQLObject): - client: str - page: str - - _args: ExclusionArgs - - - type: list_Exclusion[Exclusion] - - -class Queries(Enum): - ping = ping - eventUrls = eventUrls - eventUrl = eventUrl - eventTypes = eventTypes - eventConfig = eventConfig - gatewayInstances = gatewayInstances - gatewayInstance = gatewayInstance - gatewayTemplates = gatewayTemplates - gatewayTemplate = gatewayTemplate - gatewayTemplatesParams = gatewayTemplatesParams - gatewayTemplateParam = gatewayTemplateParam - envConfigCategories = envConfigCategories - envConfig = envConfig - envConfigs = envConfigs - adminAuditLogs = adminAuditLogs - eventLogs = eventLogs - extensions = extensions - getSEOTagsByURL = getSEOTagsByURL - getUserAlertById = getUserAlertById - getUserAlertsByScope = getUserAlertsByScope - getAlertsDefinitions = getAlertsDefinitions - userAlerts = userAlerts - userAlert = userAlert - allowedPlanDeveloperByPlanId = allowedPlanDeveloperByPlanId - apiTrafficAnalytics = apiTrafficAnalytics - apiCertificate = apiCertificate - apiCertificates = apiCertificates - apiDevelopersByApiId = apiDevelopersByApiId - apiFollowers = apiFollowers - apiReferenceByApiAndVersionId = apiReferenceByApiAndVersionId - apiReferences = apiReferences - apiSearch = apiSearch - apiSearchV3 = apiSearchV3 - apiSpecImportProgresses = apiSpecImportProgresses - bulkApisSummaryByTrackingIds = bulkApisSummaryByTrackingIds - calculatedStatistics = calculatedStatistics - getApiVersion = getApiVersion - apiVersion = apiVersion - apiVersions = apiVersions - api = api - apis = apis - exportOpenApi = exportOpenApi - validateSwagger = validateSwagger - applicationAuthorization = applicationAuthorization - applicationAuthorizations = applicationAuthorizations - applicationEnvironmentsKeysByApplicationIdAndEnvironment = applicationEnvironmentsKeysByApplicationIdAndEnvironment - applicationEnvironmentsByApplicationIdAndEnvironment = applicationEnvironmentsByApplicationIdAndEnvironment - applicationById = applicationById - asset = asset - assets = assets - assetsDownloadUrls = assetsDownloadUrls - asyncApiConfigurations = asyncApiConfigurations - userAttributesByUserId = userAttributesByUserId - auditByOrganizationId = auditByOrganizationId - audit = audit - auditLogin = auditLogin - userByEmail = userByEmail - activeUser = activeUser - getAuthStrategies = getAuthStrategies - getBillingFeaturesByApiVersionId = getBillingFeaturesByApiVersionId - getBillingFeaturesByApiId = getBillingFeaturesByApiId - isMonetizationEnabled = isMonetizationEnabled - billingItems = billingItems - getFreeSeatsObj = getFreeSeatsObj - getBillingPlanVersionsByApiId = getBillingPlanVersionsByApiId - getBillingPlanVersionById = getBillingPlanVersionById - billingPlanVersion = billingPlanVersion - billingPlanVersions = billingPlanVersions - calculatedStatisticsByEndpointAndApiversion = calculatedStatisticsByEndpointAndApiversion - categoriesV2 = categoriesV2 - categoryEntities = categoryEntities - categories = categories - collectionsItemsByIds = collectionsItemsByIds - collections = collections - collectionsByOwnerId = collectionsByOwnerId - getOrgHomepageCollections = getOrgHomepageCollections - collectionById = collectionById - collection = collection - collapsedCollections = collapsedCollections - collectionBySlugifiedKey = collectionBySlugifiedKey - getPrivateCollections = getPrivateCollections - getPrivateCollectionsV2 = getPrivateCollectionsV2 - collectionBySlugifiedKeyV2 = collectionBySlugifiedKeyV2 - collectionBySlugifiedKeyV3 = collectionBySlugifiedKeyV3 - getCommentsByIssueIdV2 = getCommentsByIssueIdV2 - getCommentByIdV2 = getCommentByIdV2 - search = search - searchEntityByApiId = searchEntityByApiId - getOpenApiSpecByApiId = getOpenApiSpecByApiId - entityById = entityById - activeEntity = activeEntity - apiByNameAndOwnerName = apiByNameAndOwnerName - apiBySlugifiedNameAndOwnerName = apiBySlugifiedNameAndOwnerName - apiByNameAndOwnerId = apiByNameAndOwnerId - userFollows = userFollows - apiById = apiById - apisById = apisById - followUserAction = followUserAction - userFollowers = userFollowers - calculateSeatsPrice = calculateSeatsPrice - getSeatsTransactionsByOrgId = getSeatsTransactionsByOrgId - organizationsTreeToken = organizationsTreeToken - getMinimumSeats = getMinimumSeats - transactionsById = transactionsById - unionDiscussionsByAuthor = unionDiscussionsByAuthor - getActiveUserContext = getActiveUserContext - getActiveTeamContext = getActiveTeamContext - transactionsAnalyticsByApiId = transactionsAnalyticsByApiId - getConsumers = getConsumers - getFreeConsumers = getFreeConsumers - consumers = consumers - requestAdminToSubscribeToAnAPI = requestAdminToSubscribeToAnAPI - getCountryMetadata = getCountryMetadata - unionIssuesByAuthorV2 = unionIssuesByAuthorV2 - getIssuesByApiIdV2 = getIssuesByApiIdV2 - getIssuesByApiIdsV2 = getIssuesByApiIdsV2 - endpointStats = endpointStats - endpointStatsByEntity = endpointStatsByEntity - endpointStatsByEntityV2 = endpointStatsByEntityV2 - getEndpointsWithinDateByParameters = getEndpointsWithinDateByParameters - endpoint = endpoint - endpoints = endpoints - searchEntities = searchEntities - entitiesMetadata = entitiesMetadata - getEntitiesRoles = getEntitiesRoles - entitiesRoles = entitiesRoles - getLogsCSV = getLogsCSV - exportLogsCSVProvider = exportLogsCSVProvider - exportLogsCSVDeveloper = exportLogsCSVDeveloper - gateways = gateways - getGateways = getGateways - getGatewayConfiguration = getGatewayConfiguration - graphQlIntrospectionSchema = graphQlIntrospectionSchema - headlinesByApiNameAndOwnerId = headlinesByApiNameAndOwnerId - getIssuesByOrganizatonId = getIssuesByOrganizatonId - getResponseTimeByProviderId = getResponseTimeByProviderId - getAverageResponseTime = getAverageResponseTime - unionIssuesByAuthor = unionIssuesByAuthor - getIssueByIdV2 = getIssueByIdV2 - getIssuesByOrganizationId = getIssuesByOrganizationId - getIssuesByTeamIdV2 = getIssuesByTeamIdV2 - getIssuesFollowsByUserIdV2 = getIssuesFollowsByUserIdV2 - kafkaConfiguration = kafkaConfiguration - kafkaTopics = kafkaTopics - kafkaSchemas = kafkaSchemas - kafkaTopicMetadata = kafkaTopicMetadata - getTemplate = getTemplate - getLegalAgreementInfo = getLegalAgreementInfo - updateLegalAgreementInfo = updateLegalAgreementInfo - createLegalAgreementInfo = createLegalAgreementInfo - deleteLegalAgreementInfo = deleteLegalAgreementInfo - getLegalAgreementSigningURL = getLegalAgreementSigningURL - logPayloadByRequestId = logPayloadByRequestId - logPayloadByRequestIdWithLoggingRestrictions = logPayloadByRequestIdWithLoggingRestrictions - developerLogPayloadByRequestIdWithLoggingRestrictions = developerLogPayloadByRequestIdWithLoggingRestrictions - messageThreads = messageThreads - messages = messages - getApiAverageResponseTime = getApiAverageResponseTime - getProviderAverageResponseTime = getProviderAverageResponseTime - getRelativeAverageResponseTime = getRelativeAverageResponseTime - getMessageThread = getMessageThread - newNotificationsByUserId = newNotificationsByUserId - notificationsByUserId = notificationsByUserId - organization = organization - organizations = organizations - getOrganizations = getOrganizations - getOrganizationBySlugifiedName = getOrganizationBySlugifiedName - getOrganizationById = getOrganizationById - getEmailDomainAndCheckIfIgnored = getEmailDomainAndCheckIfIgnored - getOrganizationsWithTheSameEmail = getOrganizationsWithTheSameEmail - searchOrganizations = searchOrganizations - validateResetPasswordToken = validateResetPasswordToken - getProjectAllowedAPIs = getProjectAllowedAPIs - requestLogsByEntity = requestLogsByEntity - getAccessControlRoles = getAccessControlRoles - getRoles = getRoles - roles = roles - searchApis = searchApis - searchBlogPosts = searchBlogPosts - searchCollections = searchCollections - spotlights = spotlights - searchSubscribedEntityByApiIdAndAppName = searchSubscribedEntityByApiIdAndAppName - activeSubscriptionsCount = activeSubscriptionsCount - getInternalSubscriptions = getInternalSubscriptions - searchSubscribedEntityByApiId = searchSubscribedEntityByApiId - getSubscriptions = getSubscriptions - getOrganizationSubscriptions = getOrganizationSubscriptions - subscriptions = subscriptions - subscription = subscription - subscriptionsCount = subscriptionsCount - getTagsList = getTagsList - tagDefinitions = tagDefinitions - paginatedTeamUsersByOrganizationId = paginatedTeamUsersByOrganizationId - paginatedTeamUsersByOrganizationIdV2 = paginatedTeamUsersByOrganizationIdV2 - teamUserByEmailAndOrgId = teamUserByEmailAndOrgId - teamUser = teamUser - findUsersInOrganization = findUsersInOrganization - teamByTeamId = teamByTeamId - teamsByOrganizationId = teamsByOrganizationId - getTeamBySlugifiedName = getTeamBySlugifiedName - searchTeams = searchTeams - team = team - teams = teams - tenant = tenant - transactions = transactions - transactionsSummary = transactionsSummary - transformations = transformations - tutorials = tutorials - getPhoneNumbers = getPhoneNumbers - getRecoveryCodes = getRecoveryCodes - isTwoFactorEnabledByType = isTwoFactorEnabledByType - getUsagesAndParentUsageForSubscription = getUsagesAndParentUsageForSubscription - getUsagesAgrregatedByTeamsForSubscription = getUsagesAgrregatedByTeamsForSubscription - getUsagesAndParentUsageForSubscriptionByBuckets = getUsagesAndParentUsageForSubscriptionByBuckets - getUsagesAgrregatedByTeamsForSubscriptionByBuckets = getUsagesAgrregatedByTeamsForSubscriptionByBuckets - organizationQuotaUsageByApiIdV2 = organizationQuotaUsageByApiIdV2 - getUserInviteByToken = getUserInviteByToken - checkUserInvitesBranding = checkUserInvitesBranding - checkIfEmailsAlreadyInvited = checkIfEmailsAlreadyInvited - searchUsersToInvite = searchUsersToInvite - getUserSavedApis = getUserSavedApis - userById = userById - userByUsername = userByUsername - getPrivateApisJwt = getPrivateApisJwt - searchUsers = searchUsers - searchUsersV2 = searchUsersV2 - user = user - users = users - getVirtualPermissions = getVirtualPermissions - virtualPermissions = virtualPermissions - getWorkflowsForProvider = getWorkflowsForProvider - getWorkflowsForDeveloper = getWorkflowsForDeveloper - getWorkflowsByRequestor = getWorkflowsByRequestor - getWorkflowsByRequestee = getWorkflowsByRequestee - canWorkflowBeSubmitted = canWorkflowBeSubmitted - getWorkflowAudits = getWorkflowAudits - getWorkflowsCount = getWorkflowsCount - exclusions = exclusions diff --git a/tests/output/rapidapi_nodesc/scalars.py b/tests/output/rapidapi_nodesc/scalars.py deleted file mode 100644 index 3e825a9..0000000 --- a/tests/output/rapidapi_nodesc/scalars.py +++ /dev/null @@ -1,21 +0,0 @@ -from pygqlmap.gql_types import * - -String = str - -Boolean = bool - -ID = ID - -Int = int - -DateTime = str - -Float = float - -Any = str - -Upload = str - -JSONObject = str - -name = str diff --git a/tests/output/rapidapi_nodesc/type_refs.py b/tests/output/rapidapi_nodesc/type_refs.py deleted file mode 100644 index d53cda5..0000000 --- a/tests/output/rapidapi_nodesc/type_refs.py +++ /dev/null @@ -1,4 +0,0 @@ -from typing import TypeVar, List -from pygqlmap.components import GQLObject -from pygqlmap.gql_types import ID -