Skip to content

Commit

Permalink
Merge pull request #54 from devopsarr/feature/code-generation
Browse files Browse the repository at this point in the history
chore(deps): update radarr digest to bfff736
  • Loading branch information
devopsarr[bot] authored Feb 2, 2024
2 parents 0e5b524 + bbab602 commit 95e7556
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 656 deletions.
6 changes: 0 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ docs/HostConfigApi.md
docs/HostConfigResource.md
docs/ImportListApi.md
docs/ImportListBulkResource.md
docs/ImportListConfigApi.md
docs/ImportListConfigResource.md
docs/ImportListExclusionApi.md
docs/ImportListExclusionResource.md
docs/ImportListResource.md
Expand All @@ -85,7 +83,6 @@ docs/LanguageProfileItemResource.md
docs/LanguageProfileResource.md
docs/LanguageProfileSchemaApi.md
docs/LanguageResource.md
docs/ListSyncLevelType.md
docs/LocalizationApi.md
docs/LocalizationLanguageResource.md
docs/LocalizationResource.md
Expand Down Expand Up @@ -223,7 +220,6 @@ sonarr/api/health_api.py
sonarr/api/history_api.py
sonarr/api/host_config_api.py
sonarr/api/import_list_api.py
sonarr/api/import_list_config_api.py
sonarr/api/import_list_exclusion_api.py
sonarr/api/indexer_api.py
sonarr/api/indexer_config_api.py
Expand Down Expand Up @@ -317,7 +313,6 @@ sonarr/models/history_resource.py
sonarr/models/history_resource_paging_resource.py
sonarr/models/host_config_resource.py
sonarr/models/import_list_bulk_resource.py
sonarr/models/import_list_config_resource.py
sonarr/models/import_list_exclusion_resource.py
sonarr/models/import_list_resource.py
sonarr/models/import_list_type.py
Expand All @@ -328,7 +323,6 @@ sonarr/models/language.py
sonarr/models/language_profile_item_resource.py
sonarr/models/language_profile_resource.py
sonarr/models/language_resource.py
sonarr/models/list_sync_level_type.py
sonarr/models/localization_language_resource.py
sonarr/models/localization_resource.py
sonarr/models/log_file_resource.py
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.0
7.2.0
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ Class | Method | HTTP request | Description
*ImportListApi* | [**test_import_list**](docs/ImportListApi.md#test_import_list) | **POST** /api/v3/importlist/test |
*ImportListApi* | [**testall_import_list**](docs/ImportListApi.md#testall_import_list) | **POST** /api/v3/importlist/testall |
*ImportListApi* | [**update_import_list**](docs/ImportListApi.md#update_import_list) | **PUT** /api/v3/importlist/{id} |
*ImportListConfigApi* | [**get_import_list_config**](docs/ImportListConfigApi.md#get_import_list_config) | **GET** /api/v3/config/importlist |
*ImportListConfigApi* | [**get_import_list_config_by_id**](docs/ImportListConfigApi.md#get_import_list_config_by_id) | **GET** /api/v3/config/importlist/{id} |
*ImportListConfigApi* | [**update_import_list_config**](docs/ImportListConfigApi.md#update_import_list_config) | **PUT** /api/v3/config/importlist/{id} |
*ImportListExclusionApi* | [**create_import_list_exclusion**](docs/ImportListExclusionApi.md#create_import_list_exclusion) | **POST** /api/v3/importlistexclusion |
*ImportListExclusionApi* | [**delete_import_list_exclusion**](docs/ImportListExclusionApi.md#delete_import_list_exclusion) | **DELETE** /api/v3/importlistexclusion/{id} |
*ImportListExclusionApi* | [**get_import_list_exclusion_by_id**](docs/ImportListExclusionApi.md#get_import_list_exclusion_by_id) | **GET** /api/v3/importlistexclusion/{id} |
Expand Down Expand Up @@ -373,7 +370,6 @@ Class | Method | HTTP request | Description
- [HistoryResourcePagingResource](docs/HistoryResourcePagingResource.md)
- [HostConfigResource](docs/HostConfigResource.md)
- [ImportListBulkResource](docs/ImportListBulkResource.md)
- [ImportListConfigResource](docs/ImportListConfigResource.md)
- [ImportListExclusionResource](docs/ImportListExclusionResource.md)
- [ImportListResource](docs/ImportListResource.md)
- [ImportListType](docs/ImportListType.md)
Expand All @@ -384,7 +380,6 @@ Class | Method | HTTP request | Description
- [LanguageProfileItemResource](docs/LanguageProfileItemResource.md)
- [LanguageProfileResource](docs/LanguageProfileResource.md)
- [LanguageResource](docs/LanguageResource.md)
- [ListSyncLevelType](docs/ListSyncLevelType.md)
- [LocalizationLanguageResource](docs/LocalizationLanguageResource.md)
- [LocalizationResource](docs/LocalizationResource.md)
- [LogFileResource](docs/LogFileResource.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/HistoryApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ with sonarr.ApiClient(configuration) as api_client:
sort_direction = sonarr.SortDirection() # SortDirection | (optional)
include_series = True # bool | (optional)
include_episode = True # bool | (optional)
event_type = [56] # List[int] | (optional)
event_type = 56 # int | (optional)
episode_id = 56 # int | (optional)
download_id = 'download_id_example' # str | (optional)
series_ids = [56] # List[int] | (optional)
Expand Down Expand Up @@ -233,7 +233,7 @@ with sonarr.ApiClient(configuration) as api_client:
sort_direction = sonarr.SortDirection() # SortDirection | (optional)
include_series = True # bool | (optional)
include_episode = True # bool | (optional)
event_type = [56] # List[int] | (optional)
event_type = 56 # int | (optional)
episode_id = 56 # int | (optional)
download_id = 'download_id_example' # str | (optional)
series_ids = [56] # List[int] | (optional)
Expand All @@ -258,7 +258,7 @@ Name | Type | Description | Notes
**sort_direction** | [**SortDirection**](.md)| | [optional]
**include_series** | **bool**| | [optional]
**include_episode** | **bool**| | [optional]
**event_type** | [**List[int]**](int.md)| | [optional]
**event_type** | **int**| | [optional]
**episode_id** | **int**| | [optional]
**download_id** | **str**| | [optional]
**series_ids** | [**List[int]**](int.md)| | [optional]
Expand Down
18 changes: 6 additions & 12 deletions docs/QueueApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Method | HTTP request | Description


# **delete_queue**
> delete_queue(id, remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, change_category=change_category)
> delete_queue(id, remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload)


Expand Down Expand Up @@ -55,10 +55,9 @@ with sonarr.ApiClient(configuration) as api_client:
remove_from_client = True # bool | (optional) (default to True)
blocklist = False # bool | (optional) (default to False)
skip_redownload = False # bool | (optional) (default to False)
change_category = False # bool | (optional) (default to False)

try:
api_instance.delete_queue(id, remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, change_category=change_category)
api_instance.delete_queue(id, remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload)
except Exception as e:
print("Exception when calling QueueApi->delete_queue: %s\n" % e)
```
Expand Down Expand Up @@ -102,10 +101,9 @@ with sonarr.ApiClient(configuration) as api_client:
remove_from_client = True # bool | (optional) (default to True)
blocklist = False # bool | (optional) (default to False)
skip_redownload = False # bool | (optional) (default to False)
change_category = False # bool | (optional) (default to False)

try:
api_instance.delete_queue(id, remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, change_category=change_category)
api_instance.delete_queue(id, remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload)
except Exception as e:
print("Exception when calling QueueApi->delete_queue: %s\n" % e)
```
Expand All @@ -118,7 +116,6 @@ Name | Type | Description | Notes
**remove_from_client** | **bool**| | [optional] [default to True]
**blocklist** | **bool**| | [optional] [default to False]
**skip_redownload** | **bool**| | [optional] [default to False]
**change_category** | **bool**| | [optional] [default to False]

### Return type

Expand All @@ -141,7 +138,7 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete_queue_bulk**
> delete_queue_bulk(remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, change_category=change_category, queue_bulk_resource=queue_bulk_resource)
> delete_queue_bulk(remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, queue_bulk_resource=queue_bulk_resource)


Expand Down Expand Up @@ -185,11 +182,10 @@ with sonarr.ApiClient(configuration) as api_client:
remove_from_client = True # bool | (optional) (default to True)
blocklist = False # bool | (optional) (default to False)
skip_redownload = False # bool | (optional) (default to False)
change_category = False # bool | (optional) (default to False)
queue_bulk_resource = sonarr.QueueBulkResource() # QueueBulkResource | (optional)

try:
api_instance.delete_queue_bulk(remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, change_category=change_category, queue_bulk_resource=queue_bulk_resource)
api_instance.delete_queue_bulk(remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, queue_bulk_resource=queue_bulk_resource)
except Exception as e:
print("Exception when calling QueueApi->delete_queue_bulk: %s\n" % e)
```
Expand Down Expand Up @@ -232,11 +228,10 @@ with sonarr.ApiClient(configuration) as api_client:
remove_from_client = True # bool | (optional) (default to True)
blocklist = False # bool | (optional) (default to False)
skip_redownload = False # bool | (optional) (default to False)
change_category = False # bool | (optional) (default to False)
queue_bulk_resource = sonarr.QueueBulkResource() # QueueBulkResource | (optional)

try:
api_instance.delete_queue_bulk(remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, change_category=change_category, queue_bulk_resource=queue_bulk_resource)
api_instance.delete_queue_bulk(remove_from_client=remove_from_client, blocklist=blocklist, skip_redownload=skip_redownload, queue_bulk_resource=queue_bulk_resource)
except Exception as e:
print("Exception when calling QueueApi->delete_queue_bulk: %s\n" % e)
```
Expand All @@ -248,7 +243,6 @@ Name | Type | Description | Notes
**remove_from_client** | **bool**| | [optional] [default to True]
**blocklist** | **bool**| | [optional] [default to False]
**skip_redownload** | **bool**| | [optional] [default to False]
**change_category** | **bool**| | [optional] [default to False]
**queue_bulk_resource** | [**QueueBulkResource**](QueueBulkResource.md)| | [optional]

### Return type
Expand Down
1 change: 0 additions & 1 deletion docs/QueueResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Name | Type | Description | Notes
**download_id** | **str** | | [optional]
**protocol** | [**DownloadProtocol**](DownloadProtocol.md) | | [optional]
**download_client** | **str** | | [optional]
**download_client_has_post_import_category** | **bool** | | [optional]
**indexer** | **str** | | [optional]
**output_path** | **str** | | [optional]
**episode_has_file** | **bool** | | [optional]
Expand Down
3 changes: 0 additions & 3 deletions sonarr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
from sonarr.api.history_api import HistoryApi
from sonarr.api.host_config_api import HostConfigApi
from sonarr.api.import_list_api import ImportListApi
from sonarr.api.import_list_config_api import ImportListConfigApi
from sonarr.api.import_list_exclusion_api import ImportListExclusionApi
from sonarr.api.indexer_api import IndexerApi
from sonarr.api.indexer_config_api import IndexerConfigApi
Expand Down Expand Up @@ -141,7 +140,6 @@
from sonarr.models.history_resource_paging_resource import HistoryResourcePagingResource
from sonarr.models.host_config_resource import HostConfigResource
from sonarr.models.import_list_bulk_resource import ImportListBulkResource
from sonarr.models.import_list_config_resource import ImportListConfigResource
from sonarr.models.import_list_exclusion_resource import ImportListExclusionResource
from sonarr.models.import_list_resource import ImportListResource
from sonarr.models.import_list_type import ImportListType
Expand All @@ -152,7 +150,6 @@
from sonarr.models.language_profile_item_resource import LanguageProfileItemResource
from sonarr.models.language_profile_resource import LanguageProfileResource
from sonarr.models.language_resource import LanguageResource
from sonarr.models.list_sync_level_type import ListSyncLevelType
from sonarr.models.localization_language_resource import LocalizationLanguageResource
from sonarr.models.localization_resource import LocalizationResource
from sonarr.models.log_file_resource import LogFileResource
Expand Down
1 change: 0 additions & 1 deletion sonarr/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
from sonarr.api.history_api import HistoryApi
from sonarr.api.host_config_api import HostConfigApi
from sonarr.api.import_list_api import ImportListApi
from sonarr.api.import_list_config_api import ImportListConfigApi
from sonarr.api.import_list_exclusion_api import ImportListExclusionApi
from sonarr.api.indexer_api import IndexerApi
from sonarr.api.indexer_config_api import IndexerConfigApi
Expand Down
9 changes: 4 additions & 5 deletions sonarr/api/history_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def create_history_failed_by_id_with_http_info(self, id : StrictInt, **kwargs):
_request_auth=_params.get('_request_auth'))

@validate_arguments
def get_history(self, page : Optional[StrictInt] = None, page_size : Optional[StrictInt] = None, sort_key : Optional[StrictStr] = None, sort_direction : Optional[SortDirection] = None, include_series : Optional[StrictBool] = None, include_episode : Optional[StrictBool] = None, event_type : Optional[List[StrictInt]] = None, episode_id : Optional[StrictInt] = None, download_id : Optional[StrictStr] = None, series_ids : Optional[List[StrictInt]] = None, languages : Optional[List[StrictInt]] = None, quality : Optional[List[StrictInt]] = None, **kwargs) -> HistoryResourcePagingResource: # noqa: E501
def get_history(self, page : Optional[StrictInt] = None, page_size : Optional[StrictInt] = None, sort_key : Optional[StrictStr] = None, sort_direction : Optional[SortDirection] = None, include_series : Optional[StrictBool] = None, include_episode : Optional[StrictBool] = None, event_type : Optional[StrictInt] = None, episode_id : Optional[StrictInt] = None, download_id : Optional[StrictStr] = None, series_ids : Optional[List[StrictInt]] = None, languages : Optional[List[StrictInt]] = None, quality : Optional[List[StrictInt]] = None, **kwargs) -> HistoryResourcePagingResource: # noqa: E501
"""get_history # noqa: E501
This method makes a synchronous HTTP request by default. To make an
Expand All @@ -205,7 +205,7 @@ def get_history(self, page : Optional[StrictInt] = None, page_size : Optional[St
:param include_episode:
:type include_episode: bool
:param event_type:
:type event_type: List[int]
:type event_type: int
:param episode_id:
:type episode_id: int
:param download_id:
Expand Down Expand Up @@ -235,7 +235,7 @@ def get_history(self, page : Optional[StrictInt] = None, page_size : Optional[St
return self.get_history_with_http_info(page, page_size, sort_key, sort_direction, include_series, include_episode, event_type, episode_id, download_id, series_ids, languages, quality, **kwargs) # noqa: E501

@validate_arguments
def get_history_with_http_info(self, page : Optional[StrictInt] = None, page_size : Optional[StrictInt] = None, sort_key : Optional[StrictStr] = None, sort_direction : Optional[SortDirection] = None, include_series : Optional[StrictBool] = None, include_episode : Optional[StrictBool] = None, event_type : Optional[List[StrictInt]] = None, episode_id : Optional[StrictInt] = None, download_id : Optional[StrictStr] = None, series_ids : Optional[List[StrictInt]] = None, languages : Optional[List[StrictInt]] = None, quality : Optional[List[StrictInt]] = None, **kwargs): # noqa: E501
def get_history_with_http_info(self, page : Optional[StrictInt] = None, page_size : Optional[StrictInt] = None, sort_key : Optional[StrictStr] = None, sort_direction : Optional[SortDirection] = None, include_series : Optional[StrictBool] = None, include_episode : Optional[StrictBool] = None, event_type : Optional[StrictInt] = None, episode_id : Optional[StrictInt] = None, download_id : Optional[StrictStr] = None, series_ids : Optional[List[StrictInt]] = None, languages : Optional[List[StrictInt]] = None, quality : Optional[List[StrictInt]] = None, **kwargs): # noqa: E501
"""get_history # noqa: E501
This method makes a synchronous HTTP request by default. To make an
Expand All @@ -257,7 +257,7 @@ def get_history_with_http_info(self, page : Optional[StrictInt] = None, page_siz
:param include_episode:
:type include_episode: bool
:param event_type:
:type event_type: List[int]
:type event_type: int
:param episode_id:
:type episode_id: int
:param download_id:
Expand Down Expand Up @@ -351,7 +351,6 @@ def get_history_with_http_info(self, page : Optional[StrictInt] = None, page_siz
_query_params.append(('includeEpisode', _params['include_episode']))
if _params.get('event_type') is not None: # noqa: E501
_query_params.append(('eventType', _params['event_type']))
_collection_formats['eventType'] = 'multi'
if _params.get('episode_id') is not None: # noqa: E501
_query_params.append(('episodeId', _params['episode_id']))
if _params.get('download_id') is not None: # noqa: E501
Expand Down
Loading

0 comments on commit 95e7556

Please sign in to comment.