Skip to content

Commit c1a9a17

Browse files
Merge pull request #67 from devopsarr/feature/code-generation
chore(deps): update dependency sonarr/sonarr to v4.0.3.1413
2 parents 3402c51 + 0d68d8d commit c1a9a17

File tree

215 files changed

+1168
-214
lines changed

Some content is hidden

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

215 files changed

+1168
-214
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. So
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: v4.0.2.1183
6+
- API version: v4.0.4.1491
77
- Package version: 1.0.1 <!--- x-release-please-version -->
88
- Generator version: 7.4.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
@@ -193,6 +193,7 @@ Class | Method | HTTP request | Description
193193
*ImportListExclusionApi* | [**create_import_list_exclusion**](docs/ImportListExclusionApi.md#create_import_list_exclusion) | **POST** /api/v3/importlistexclusion |
194194
*ImportListExclusionApi* | [**delete_import_list_exclusion**](docs/ImportListExclusionApi.md#delete_import_list_exclusion) | **DELETE** /api/v3/importlistexclusion/{id} |
195195
*ImportListExclusionApi* | [**get_import_list_exclusion_by_id**](docs/ImportListExclusionApi.md#get_import_list_exclusion_by_id) | **GET** /api/v3/importlistexclusion/{id} |
196+
*ImportListExclusionApi* | [**get_import_list_exclusion_paged**](docs/ImportListExclusionApi.md#get_import_list_exclusion_paged) | **GET** /api/v3/importlistexclusion/paged |
196197
*ImportListExclusionApi* | [**list_import_list_exclusion**](docs/ImportListExclusionApi.md#list_import_list_exclusion) | **GET** /api/v3/importlistexclusion |
197198
*ImportListExclusionApi* | [**update_import_list_exclusion**](docs/ImportListExclusionApi.md#update_import_list_exclusion) | **PUT** /api/v3/importlistexclusion/{id} |
198199
*IndexerApi* | [**create_indexer**](docs/IndexerApi.md#create_indexer) | **POST** /api/v3/indexer |
@@ -256,6 +257,7 @@ Class | Method | HTTP request | Description
256257
*NotificationApi* | [**update_notification**](docs/NotificationApi.md#update_notification) | **PUT** /api/v3/notification/{id} |
257258
*ParseApi* | [**get_parse**](docs/ParseApi.md#get_parse) | **GET** /api/v3/parse |
258259
*PingApi* | [**get_ping**](docs/PingApi.md#get_ping) | **GET** /ping |
260+
*PingApi* | [**head_ping**](docs/PingApi.md#head_ping) | **HEAD** /ping |
259261
*QualityDefinitionApi* | [**get_quality_definition_by_id**](docs/QualityDefinitionApi.md#get_quality_definition_by_id) | **GET** /api/v3/qualitydefinition/{id} |
260262
*QualityDefinitionApi* | [**list_quality_definition**](docs/QualityDefinitionApi.md#list_quality_definition) | **GET** /api/v3/qualitydefinition |
261263
*QualityDefinitionApi* | [**put_quality_definition_update**](docs/QualityDefinitionApi.md#put_quality_definition_update) | **PUT** /api/v3/qualitydefinition/update |
@@ -375,6 +377,7 @@ Class | Method | HTTP request | Description
375377
- [ImportListBulkResource](docs/ImportListBulkResource.md)
376378
- [ImportListConfigResource](docs/ImportListConfigResource.md)
377379
- [ImportListExclusionResource](docs/ImportListExclusionResource.md)
380+
- [ImportListExclusionResourcePagingResource](docs/ImportListExclusionResourcePagingResource.md)
378381
- [ImportListResource](docs/ImportListResource.md)
379382
- [ImportListType](docs/ImportListType.md)
380383
- [IndexerBulkResource](docs/IndexerBulkResource.md)
@@ -428,6 +431,7 @@ Class | Method | HTTP request | Description
428431
- [ReleaseEpisodeResource](docs/ReleaseEpisodeResource.md)
429432
- [ReleaseProfileResource](docs/ReleaseProfileResource.md)
430433
- [ReleaseResource](docs/ReleaseResource.md)
434+
- [ReleaseType](docs/ReleaseType.md)
431435
- [RemotePathMappingResource](docs/RemotePathMappingResource.md)
432436
- [RenameEpisodeResource](docs/RenameEpisodeResource.md)
433437
- [RescanAfterRefreshType](docs/RescanAfterRefreshType.md)

docs/EpisodeFileResource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
1919
**custom_formats** | [**List[CustomFormatResource]**](CustomFormatResource.md) | | [optional]
2020
**custom_format_score** | **int** | | [optional]
2121
**indexer_flags** | **int** | | [optional]
22+
**release_type** | [**ReleaseType**](ReleaseType.md) | | [optional]
2223
**media_info** | [**MediaInfoResource**](MediaInfoResource.md) | | [optional]
2324
**quality_cutoff_not_met** | **bool** | | [optional]
2425

docs/ImportListExclusionApi.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Method | HTTP request | Description
77
[**create_import_list_exclusion**](ImportListExclusionApi.md#create_import_list_exclusion) | **POST** /api/v3/importlistexclusion |
88
[**delete_import_list_exclusion**](ImportListExclusionApi.md#delete_import_list_exclusion) | **DELETE** /api/v3/importlistexclusion/{id} |
99
[**get_import_list_exclusion_by_id**](ImportListExclusionApi.md#get_import_list_exclusion_by_id) | **GET** /api/v3/importlistexclusion/{id} |
10+
[**get_import_list_exclusion_paged**](ImportListExclusionApi.md#get_import_list_exclusion_paged) | **GET** /api/v3/importlistexclusion/paged |
1011
[**list_import_list_exclusion**](ImportListExclusionApi.md#list_import_list_exclusion) | **GET** /api/v3/importlistexclusion |
1112
[**update_import_list_exclusion**](ImportListExclusionApi.md#update_import_list_exclusion) | **PUT** /api/v3/importlistexclusion/{id} |
1213

@@ -257,6 +258,96 @@ Name | Type | Description | Notes
257258

258259
[[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)
259260

261+
# **get_import_list_exclusion_paged**
262+
> ImportListExclusionResourcePagingResource get_import_list_exclusion_paged(page=page, page_size=page_size, sort_key=sort_key, sort_direction=sort_direction)
263+
264+
265+
266+
### Example
267+
268+
* Api Key Authentication (apikey):
269+
* Api Key Authentication (X-Api-Key):
270+
271+
```python
272+
import sonarr
273+
from sonarr.models.import_list_exclusion_resource_paging_resource import ImportListExclusionResourcePagingResource
274+
from sonarr.models.sort_direction import SortDirection
275+
from sonarr.rest import ApiException
276+
from pprint import pprint
277+
278+
# Defining the host is optional and defaults to http://localhost:8989
279+
# See configuration.py for a list of all supported configuration parameters.
280+
configuration = sonarr.Configuration(
281+
host = "http://localhost:8989"
282+
)
283+
284+
# The client must configure the authentication and authorization parameters
285+
# in accordance with the API server security policy.
286+
# Examples for each auth method are provided below, use the example that
287+
# satisfies your auth use case.
288+
289+
# Configure API key authorization: apikey
290+
configuration.api_key['apikey'] = os.environ["API_KEY"]
291+
292+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
293+
# configuration.api_key_prefix['apikey'] = 'Bearer'
294+
295+
# Configure API key authorization: X-Api-Key
296+
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]
297+
298+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
299+
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
300+
301+
# Enter a context with an instance of the API client
302+
with sonarr.ApiClient(configuration) as api_client:
303+
# Create an instance of the API class
304+
api_instance = sonarr.ImportListExclusionApi(api_client)
305+
page = 1 # int | (optional) (default to 1)
306+
page_size = 10 # int | (optional) (default to 10)
307+
sort_key = 'sort_key_example' # str | (optional)
308+
sort_direction = sonarr.SortDirection() # SortDirection | (optional)
309+
310+
try:
311+
api_response = api_instance.get_import_list_exclusion_paged(page=page, page_size=page_size, sort_key=sort_key, sort_direction=sort_direction)
312+
print("The response of ImportListExclusionApi->get_import_list_exclusion_paged:\n")
313+
pprint(api_response)
314+
except Exception as e:
315+
print("Exception when calling ImportListExclusionApi->get_import_list_exclusion_paged: %s\n" % e)
316+
```
317+
318+
319+
320+
### Parameters
321+
322+
323+
Name | Type | Description | Notes
324+
------------- | ------------- | ------------- | -------------
325+
**page** | **int**| | [optional] [default to 1]
326+
**page_size** | **int**| | [optional] [default to 10]
327+
**sort_key** | **str**| | [optional]
328+
**sort_direction** | [**SortDirection**](.md)| | [optional]
329+
330+
### Return type
331+
332+
[**ImportListExclusionResourcePagingResource**](ImportListExclusionResourcePagingResource.md)
333+
334+
### Authorization
335+
336+
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
337+
338+
### HTTP request headers
339+
340+
- **Content-Type**: Not defined
341+
- **Accept**: application/json
342+
343+
### HTTP response details
344+
345+
| Status code | Description | Response headers |
346+
|-------------|-------------|------------------|
347+
**2XX** | Success | - |
348+
349+
[[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)
350+
260351
# **list_import_list_exclusion**
261352
> List[ImportListExclusionResource] list_import_list_exclusion()
262353
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# ImportListExclusionResourcePagingResource
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**page** | **int** | | [optional]
9+
**page_size** | **int** | | [optional]
10+
**sort_key** | **str** | | [optional]
11+
**sort_direction** | [**SortDirection**](SortDirection.md) | | [optional]
12+
**total_records** | **int** | | [optional]
13+
**records** | [**List[ImportListExclusionResource]**](ImportListExclusionResource.md) | | [optional]
14+
15+
## Example
16+
17+
```python
18+
from sonarr.models.import_list_exclusion_resource_paging_resource import ImportListExclusionResourcePagingResource
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of ImportListExclusionResourcePagingResource from a JSON string
23+
import_list_exclusion_resource_paging_resource_instance = ImportListExclusionResourcePagingResource.from_json(json)
24+
# print the JSON string representation of the object
25+
print(ImportListExclusionResourcePagingResource.to_json())
26+
27+
# convert the object into a dict
28+
import_list_exclusion_resource_paging_resource_dict = import_list_exclusion_resource_paging_resource_instance.to_dict()
29+
# create an instance of ImportListExclusionResourcePagingResource from a dict
30+
import_list_exclusion_resource_paging_resource_form_dict = import_list_exclusion_resource_paging_resource.from_dict(import_list_exclusion_resource_paging_resource_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+

docs/ManualImportReprocessResource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
1818
**custom_formats** | [**List[CustomFormatResource]**](CustomFormatResource.md) | | [optional]
1919
**custom_format_score** | **int** | | [optional]
2020
**indexer_flags** | **int** | | [optional]
21+
**release_type** | [**ReleaseType**](ReleaseType.md) | | [optional]
2122
**rejections** | [**List[Rejection]**](Rejection.md) | | [optional]
2223

2324
## Example

docs/ManualImportResource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
2323
**custom_formats** | [**List[CustomFormatResource]**](CustomFormatResource.md) | | [optional]
2424
**custom_format_score** | **int** | | [optional]
2525
**indexer_flags** | **int** | | [optional]
26+
**release_type** | [**ReleaseType**](ReleaseType.md) | | [optional]
2627
**rejections** | [**List[Rejection]**](Rejection.md) | | [optional]
2728

2829
## Example

docs/ParsedEpisodeInfo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
2020
**is_multi_season** | **bool** | | [optional]
2121
**is_season_extra** | **bool** | | [optional]
2222
**is_split_episode** | **bool** | | [optional]
23+
**is_mini_series** | **bool** | | [optional]
2324
**special** | **bool** | | [optional]
2425
**release_group** | **str** | | [optional]
2526
**release_hash** | **str** | | [optional]
@@ -30,6 +31,7 @@ Name | Type | Description | Notes
3031
**is_absolute_numbering** | **bool** | | [optional] [readonly]
3132
**is_possible_special_episode** | **bool** | | [optional] [readonly]
3233
**is_possible_scene_season_special** | **bool** | | [optional] [readonly]
34+
**release_type** | [**ReleaseType**](ReleaseType.md) | | [optional]
3335

3436
## Example
3537

docs/PingApi.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost:8989*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**get_ping**](PingApi.md#get_ping) | **GET** /ping |
8+
[**head_ping**](PingApi.md#head_ping) | **HEAD** /ping |
89

910

1011
# **get_ping**
@@ -61,6 +62,85 @@ with sonarr.ApiClient(configuration) as api_client:
6162

6263

6364

65+
### Parameters
66+
67+
This endpoint does not need any parameter.
68+
69+
### Return type
70+
71+
[**PingResource**](PingResource.md)
72+
73+
### Authorization
74+
75+
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
76+
77+
### HTTP request headers
78+
79+
- **Content-Type**: Not defined
80+
- **Accept**: application/json
81+
82+
### HTTP response details
83+
84+
| Status code | Description | Response headers |
85+
|-------------|-------------|------------------|
86+
**2XX** | Success | - |
87+
88+
[[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)
89+
90+
# **head_ping**
91+
> PingResource head_ping()
92+
93+
94+
95+
### Example
96+
97+
* Api Key Authentication (apikey):
98+
* Api Key Authentication (X-Api-Key):
99+
100+
```python
101+
import sonarr
102+
from sonarr.models.ping_resource import PingResource
103+
from sonarr.rest import ApiException
104+
from pprint import pprint
105+
106+
# Defining the host is optional and defaults to http://localhost:8989
107+
# See configuration.py for a list of all supported configuration parameters.
108+
configuration = sonarr.Configuration(
109+
host = "http://localhost:8989"
110+
)
111+
112+
# The client must configure the authentication and authorization parameters
113+
# in accordance with the API server security policy.
114+
# Examples for each auth method are provided below, use the example that
115+
# satisfies your auth use case.
116+
117+
# Configure API key authorization: apikey
118+
configuration.api_key['apikey'] = os.environ["API_KEY"]
119+
120+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
121+
# configuration.api_key_prefix['apikey'] = 'Bearer'
122+
123+
# Configure API key authorization: X-Api-Key
124+
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]
125+
126+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
127+
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
128+
129+
# Enter a context with an instance of the API client
130+
with sonarr.ApiClient(configuration) as api_client:
131+
# Create an instance of the API class
132+
api_instance = sonarr.PingApi(api_client)
133+
134+
try:
135+
api_response = api_instance.head_ping()
136+
print("The response of PingApi->head_ping:\n")
137+
pprint(api_response)
138+
except Exception as e:
139+
print("Exception when calling PingApi->head_ping: %s\n" % e)
140+
```
141+
142+
143+
64144
### Parameters
65145

66146
This endpoint does not need any parameter.

docs/ReleaseType.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ReleaseType
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
77
8-
The version of the OpenAPI document: v4.0.2.1183
8+
The version of the OpenAPI document: v4.0.4.1491
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

sonarr/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
99
10-
The version of the OpenAPI document: v4.0.2.1183
10+
The version of the OpenAPI document: v4.0.4.1491
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -144,6 +144,7 @@
144144
from sonarr.models.import_list_bulk_resource import ImportListBulkResource
145145
from sonarr.models.import_list_config_resource import ImportListConfigResource
146146
from sonarr.models.import_list_exclusion_resource import ImportListExclusionResource
147+
from sonarr.models.import_list_exclusion_resource_paging_resource import ImportListExclusionResourcePagingResource
147148
from sonarr.models.import_list_resource import ImportListResource
148149
from sonarr.models.import_list_type import ImportListType
149150
from sonarr.models.indexer_bulk_resource import IndexerBulkResource
@@ -197,6 +198,7 @@
197198
from sonarr.models.release_episode_resource import ReleaseEpisodeResource
198199
from sonarr.models.release_profile_resource import ReleaseProfileResource
199200
from sonarr.models.release_resource import ReleaseResource
201+
from sonarr.models.release_type import ReleaseType
200202
from sonarr.models.remote_path_mapping_resource import RemotePathMappingResource
201203
from sonarr.models.rename_episode_resource import RenameEpisodeResource
202204
from sonarr.models.rescan_after_refresh_type import RescanAfterRefreshType

sonarr/api/api_info_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
77
8-
The version of the OpenAPI document: v4.0.2.1183
8+
The version of the OpenAPI document: v4.0.4.1491
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

sonarr/api/authentication_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
77
8-
The version of the OpenAPI document: v4.0.2.1183
8+
The version of the OpenAPI document: v4.0.4.1491
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

sonarr/api/auto_tagging_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
77
8-
The version of the OpenAPI document: v4.0.2.1183
8+
The version of the OpenAPI document: v4.0.4.1491
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

sonarr/api/backup_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
77
8-
The version of the OpenAPI document: v4.0.2.1183
8+
The version of the OpenAPI document: v4.0.4.1491
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

0 commit comments

Comments
 (0)