tsarr 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -0
- package/dist/index.js +1 -0
- package/dist/tsarr-1.0.0.tgz +0 -0
- package/package.json +95 -0
package/README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# TsArr
|
|
2
|
+
|
|
3
|
+
[](https://www.typescriptlang.org/)
|
|
4
|
+
[](https://bun.sh)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://github.com/robbeverhelst/TsArr/actions)
|
|
7
|
+
|
|
8
|
+
**Type-safe TypeScript SDK for Servarr APIs (Radarr, Sonarr, etc.)**
|
|
9
|
+
|
|
10
|
+
TsArr provides type-safe TypeScript clients for all Servarr APIs, generated from their Swagger/OpenAPI specifications. Designed to run with Bun as the JavaScript runtime and optimized for Infrastructure-as-Code (IaC) workflows in stateless Kubernetes environments.
|
|
11
|
+
|
|
12
|
+
## Features
|
|
13
|
+
|
|
14
|
+
- π‘οΈ **Type-safe** - Generated from official Swagger/OpenAPI specs
|
|
15
|
+
- β‘ **Bun-optimized** - Leverages Bun's native fetch API
|
|
16
|
+
- π¦ **Modular** - Separate modules for each Servarr app (Radarr, Sonarr, etc.)
|
|
17
|
+
- π³ **Tree-shakable** - Lightweight and dependency-minimal
|
|
18
|
+
- π **Auto-generated** - CI pipeline regenerates when APIs change
|
|
19
|
+
- βΈοΈ **IaC-ready** - Compatible with Helm, Terraform, and PrepArr/CodeArr
|
|
20
|
+
|
|
21
|
+
## Supported Servarr Apps
|
|
22
|
+
|
|
23
|
+
- **Radarr** - Movie collection manager
|
|
24
|
+
- **Sonarr** - TV series collection manager
|
|
25
|
+
- **Lidarr** - Music collection manager
|
|
26
|
+
- **Readarr** - Book collection manager
|
|
27
|
+
- **Prowlarr** - Indexer manager
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
bun add tsarr
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Quick Start
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { RadarrClient, SonarrClient, LidarrClient } from 'tsarr';
|
|
39
|
+
|
|
40
|
+
const radarr = new RadarrClient({
|
|
41
|
+
baseUrl: 'http://localhost:7878',
|
|
42
|
+
apiKey: 'your-api-key'
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
// Type-safe API calls
|
|
46
|
+
const movies = await radarr.getMovies();
|
|
47
|
+
const status = await radarr.getSystemStatus();
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Development
|
|
51
|
+
|
|
52
|
+
Install dependencies:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
bun install
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Run development server:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
bun run dev
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Build the project:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
bun run build
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Lint and format:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
bun run lint
|
|
74
|
+
bun run format
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## π Documentation
|
|
78
|
+
|
|
79
|
+
- [Usage Guide](./docs/usage.md) - Complete usage documentation with examples
|
|
80
|
+
- [Examples](./docs/examples.md) - Real-world automation examples
|
|
81
|
+
- [IaC Integration](./docs/iac-integration.md) - Docker, Kubernetes, Terraform guides
|
|
82
|
+
- [Releasing](./docs/releasing.md) - Release process and conventional commits
|
|
83
|
+
- [Setup Secrets](./docs/setup-secrets.md) - Configure GitHub secrets for releases
|
|
84
|
+
- [Examples Directory](./examples/) - Runnable example scripts
|
|
85
|
+
|
|
86
|
+
## Architecture
|
|
87
|
+
|
|
88
|
+
TsArr is designed for use with:
|
|
89
|
+
- **Kubernetes** - Stateless container environments
|
|
90
|
+
- **IaC tools** - Helm, Terraform, Ansible, etc.
|
|
91
|
+
- **CI/CD pipelines** - Automated deployments and maintenance
|
|
92
|
+
- **Container orchestration** - Docker Compose, Docker Swarm
|
|
93
|
+
|
|
94
|
+
## Contributing
|
|
95
|
+
|
|
96
|
+
This project uses:
|
|
97
|
+
- [Bun](https://bun.sh) as the JavaScript runtime
|
|
98
|
+
- [Biome](https://biomejs.dev) for linting and formatting
|
|
99
|
+
- [@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) for code generation
|
|
100
|
+
- [Renovate](https://renovatebot.com) for dependency updates
|
|
101
|
+
|
|
102
|
+
## License
|
|
103
|
+
|
|
104
|
+
MIT - see [LICENSE](LICENSE) file for details.
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var it=Object.defineProperty;var T=(e,i)=>{for(var a in i)it(e,a,{get:i[a],enumerable:!0,configurable:!0,set:(l)=>i[a]=()=>l})};var K={};T(K,{putApiV3TagById:()=>Qs,putApiV3RemotepathmappingById:()=>Rs,putApiV3ReleaseprofileById:()=>Os,putApiV3QualityprofileById:()=>ss,putApiV3QualitydefinitionUpdate:()=>rs,putApiV3QualitydefinitionById:()=>Ja,putApiV3NotificationById:()=>Ua,putApiV3MoviefileEditor:()=>Ga,putApiV3MoviefileById:()=>Ra,putApiV3MoviefileBulk:()=>va,putApiV3MovieEditor:()=>Ia,putApiV3MovieById:()=>N,putApiV3MetadataById:()=>ma,putApiV3IndexerById:()=>$i,putApiV3IndexerBulk:()=>Ui,putApiV3ImportlistById:()=>gi,putApiV3ImportlistBulk:()=>hi,putApiV3ExclusionsById:()=>Gi,putApiV3DownloadclientById:()=>Wn,putApiV3DownloadclientBulk:()=>_n,putApiV3DelayprofileReorderById:()=>Un,putApiV3DelayprofileById:()=>Qn,putApiV3CustomformatById:()=>Gn,putApiV3CustomformatBulk:()=>Sn,putApiV3CustomfilterById:()=>Bn,putApiV3ConfigUiById:()=>Ks,putApiV3ConfigNamingById:()=>La,putApiV3ConfigMetadataById:()=>Oa,putApiV3ConfigMediamanagementById:()=>ua,putApiV3ConfigIndexerById:()=>_i,putApiV3ConfigImportlistById:()=>Bi,putApiV3ConfigHostById:()=>ci,putApiV3ConfigDownloadclientById:()=>oi,putApiV3CollectionById:()=>Vn,putApiV3Collection:()=>fn,putApiV3AutotaggingById:()=>tn,postLogin:()=>_o,postApiV3Tag:()=>$s,postApiV3SystemShutdown:()=>Fs,postApiV3SystemRestart:()=>Ls,postApiV3SystemBackupRestoreUpload:()=>ln,postApiV3SystemBackupRestoreById:()=>pn,postApiV3Rootfolder:()=>H,postApiV3Remotepathmapping:()=>Is,postApiV3Releaseprofile:()=>hs,postApiV3ReleasePush:()=>Ts,postApiV3Release:()=>fs,postApiV3QueueGrabById:()=>ys,postApiV3QueueGrabBulk:()=>ms,postApiV3Qualityprofile:()=>ns,postApiV3NotificationTestall:()=>Ka,postApiV3NotificationTest:()=>Wa,postApiV3NotificationActionByName:()=>Ya,postApiV3Notification:()=>ja,postApiV3MovieImport:()=>j,postApiV3Movie:()=>L,postApiV3MetadataTestall:()=>ha,postApiV3MetadataTest:()=>Va,postApiV3MetadataActionByName:()=>Ea,postApiV3Metadata:()=>ya,postApiV3Manualimport:()=>sa,postApiV3IndexerTestall:()=>Wi,postApiV3IndexerTest:()=>zi,postApiV3IndexerActionByName:()=>Ki,postApiV3Indexer:()=>Ni,postApiV3ImportlistTestall:()=>wi,postApiV3ImportlistTest:()=>Oi,postApiV3ImportlistMovie:()=>Fi,postApiV3ImportlistActionByName:()=>Ti,postApiV3Importlist:()=>Ai,postApiV3HistoryFailedById:()=>ui,postApiV3ExclusionsBulk:()=>Si,postApiV3Exclusions:()=>Di,postApiV3DownloadclientTestall:()=>ei,postApiV3DownloadclientTest:()=>Jn,postApiV3DownloadclientActionByName:()=>ti,postApiV3Downloadclient:()=>zn,postApiV3Delayprofile:()=>Ln,postApiV3Customformat:()=>Pn,postApiV3Customfilter:()=>In,postApiV3Command:()=>k,postApiV3Autotagging:()=>Jo,headPing:()=>Za,getPing:()=>Xa,getLogout:()=>Zo,getLogin:()=>Xo,getFeedV3CalendarRadarrIcs:()=>An,getContentByPath:()=>ks,getByPath:()=>Ss,getApiV3WantedMissing:()=>Ta,getApiV3WantedCutoff:()=>Fn,getApiV3Update:()=>Xs,getApiV3TagDetailById:()=>qs,getApiV3TagDetail:()=>Hs,getApiV3TagById:()=>Us,getApiV3Tag:()=>Ns,getApiV3SystemTaskById:()=>Ws,getApiV3SystemTask:()=>zs,getApiV3SystemStatus:()=>W,getApiV3SystemRoutesDuplicate:()=>Ms,getApiV3SystemRoutes:()=>Cs,getApiV3SystemBackup:()=>an,getApiV3RootfolderById:()=>Gs,getApiV3Rootfolder:()=>q,getApiV3Rename:()=>Ps,getApiV3RemotepathmappingById:()=>Ds,getApiV3Remotepathmapping:()=>Bs,getApiV3ReleaseprofileById:()=>ws,getApiV3Releaseprofile:()=>Es,getApiV3Release:()=>Vs,getApiV3QueueStatus:()=>gs,getApiV3QueueDetails:()=>As,getApiV3Queue:()=>cs,getApiV3QualityprofileSchema:()=>ls,getApiV3QualityprofileById:()=>ps,getApiV3Qualityprofile:()=>is,getApiV3QualitydefinitionLimits:()=>os,getApiV3QualitydefinitionById:()=>es,getApiV3Qualitydefinition:()=>ts,getApiV3Parse:()=>_a,getApiV3NotificationSchema:()=>za,getApiV3NotificationById:()=>qa,getApiV3Notification:()=>Qa,getApiV3MoviefileById:()=>Pa,getApiV3Moviefile:()=>xa,getApiV3MovieLookupTmdb:()=>Ca,getApiV3MovieLookupImdb:()=>Ma,getApiV3MovieLookup:()=>U,getApiV3MovieByIdFolder:()=>Sa,getApiV3MovieById:()=>Q,getApiV3Movie:()=>F,getApiV3MetadataSchema:()=>fa,getApiV3MetadataById:()=>ga,getApiV3Metadata:()=>ca,getApiV3MediacoverByMovieIdByFilename:()=>pa,getApiV3Manualimport:()=>aa,getApiV3LogFileUpdateByFilename:()=>Js,getApiV3LogFileUpdate:()=>Zs,getApiV3LogFileByFilename:()=>ia,getApiV3LogFile:()=>na,getApiV3Log:()=>oa,getApiV3LocalizationLanguage:()=>ra,getApiV3Localization:()=>ta,getApiV3LanguageById:()=>ea,getApiV3Language:()=>Ji,getApiV3Indexerflag:()=>Zi,getApiV3IndexerSchema:()=>qi,getApiV3IndexerById:()=>ji,getApiV3Indexer:()=>Li,getApiV3ImportlistSchema:()=>bi,getApiV3ImportlistMovie:()=>Mi,getApiV3ImportlistById:()=>Vi,getApiV3Importlist:()=>mi,getApiV3HistorySince:()=>pi,getApiV3HistoryMovie:()=>li,getApiV3History:()=>si,getApiV3Health:()=>M,getApiV3FilesystemType:()=>ai,getApiV3FilesystemMediafiles:()=>C,getApiV3Filesystem:()=>S,getApiV3Extrafile:()=>ii,getApiV3ExclusionsPaged:()=>Pi,getApiV3ExclusionsById:()=>vi,getApiV3Exclusions:()=>Ri,getApiV3DownloadclientSchema:()=>Zn,getApiV3DownloadclientById:()=>Yn,getApiV3Downloadclient:()=>qn,getApiV3Diskspace:()=>Hn,getApiV3DelayprofileById:()=>jn,getApiV3Delayprofile:()=>Nn,getApiV3CustomformatSchema:()=>Mn,getApiV3CustomformatById:()=>vn,getApiV3Customformat:()=>Dn,getApiV3CustomfilterById:()=>Rn,getApiV3Customfilter:()=>Tn,getApiV3CreditById:()=>wn,getApiV3Credit:()=>On,getApiV3ConfigUiById:()=>Ys,getApiV3ConfigUi:()=>_s,getApiV3ConfigNamingExamples:()=>$a,getApiV3ConfigNamingById:()=>Na,getApiV3ConfigNaming:()=>Fa,getApiV3ConfigMetadataById:()=>wa,getApiV3ConfigMetadata:()=>ba,getApiV3ConfigMediamanagementById:()=>da,getApiV3ConfigMediamanagement:()=>la,getApiV3ConfigIndexerById:()=>Xi,getApiV3ConfigIndexer:()=>Yi,getApiV3ConfigImportlistById:()=>xi,getApiV3ConfigImportlist:()=>Ii,getApiV3ConfigHostById:()=>yi,getApiV3ConfigHost:()=>di,getApiV3ConfigDownloadclientById:()=>ni,getApiV3ConfigDownloadclient:()=>ri,getApiV3CommandById:()=>bn,getApiV3Command:()=>v,getApiV3CollectionById:()=>hn,getApiV3Collection:()=>gn,getApiV3Calendar:()=>mn,getApiV3BlocklistMovie:()=>dn,getApiV3Blocklist:()=>un,getApiV3AutotaggingSchema:()=>nn,getApiV3AutotaggingById:()=>on,getApiV3Autotagging:()=>en,getApiV3AlttitleById:()=>Ko,getApiV3Alttitle:()=>Wo,getApi:()=>Yo,get:()=>vs,deleteApiV3TagById:()=>js,deleteApiV3SystemBackupById:()=>sn,deleteApiV3RootfolderById:()=>z,deleteApiV3RemotepathmappingById:()=>xs,deleteApiV3ReleaseprofileById:()=>bs,deleteApiV3QueueById:()=>us,deleteApiV3QueueBulk:()=>ds,deleteApiV3QualityprofileById:()=>as,deleteApiV3NotificationById:()=>Ha,deleteApiV3MoviefileById:()=>Da,deleteApiV3MoviefileBulk:()=>ka,deleteApiV3MovieEditor:()=>Ba,deleteApiV3MovieById:()=>$,deleteApiV3MetadataById:()=>Aa,deleteApiV3IndexerById:()=>Qi,deleteApiV3IndexerBulk:()=>Hi,deleteApiV3ImportlistById:()=>fi,deleteApiV3ImportlistBulk:()=>Ei,deleteApiV3ExclusionsById:()=>ki,deleteApiV3ExclusionsBulk:()=>Ci,deleteApiV3DownloadclientById:()=>Kn,deleteApiV3DownloadclientBulk:()=>Xn,deleteApiV3DelayprofileById:()=>$n,deleteApiV3CustomformatById:()=>kn,deleteApiV3CustomformatBulk:()=>Cn,deleteApiV3CustomfilterById:()=>xn,deleteApiV3CommandById:()=>En,deleteApiV3BlocklistById:()=>cn,deleteApiV3BlocklistBulk:()=>yn,deleteApiV3AutotaggingById:()=>rn,client:()=>t,UpdateResourceSchema:()=>Co,UpdateMechanismSchema:()=>So,UpdateChangesSchema:()=>vo,UnmappedFolderSchema:()=>ko,UiConfigResourceSchema:()=>Go,TrackedDownloadStatusSchema:()=>Do,TrackedDownloadStatusMessageSchema:()=>Po,TrackedDownloadStateSchema:()=>Ro,TaskResourceSchema:()=>xo,TagResourceSchema:()=>Bo,TagDetailsResourceSchema:()=>Io,TMDbCountryCodeSchema:()=>To,SystemResourceSchema:()=>wo,SourceTypeSchema:()=>Oo,SortDirectionSchema:()=>bo,SelectOptionSchema:()=>Eo,RuntimeModeSchema:()=>ho,RootFolderResourceSchema:()=>Vo,RevisionSchema:()=>fo,RescanAfterRefreshTypeSchema:()=>go,RenameMovieResourceSchema:()=>Ao,RemotePathMappingResourceSchema:()=>mo,ReleaseResourceSchema:()=>yo,ReleaseProfileResourceSchema:()=>co,RejectionTypeSchema:()=>uo,RatingsSchema:()=>lo,RatingTypeSchema:()=>po,RatingChildSchema:()=>so,QueueStatusSchema:()=>io,QueueStatusResourceSchema:()=>ao,QueueResourceSchema:()=>oo,QueueResourcePagingResourceSchema:()=>no,QueueBulkResourceSchema:()=>ro,QualitySourceSchema:()=>to,QualitySchema:()=>Yr,QualityProfileResourceSchema:()=>eo,QualityProfileQualityItemResourceSchema:()=>Jr,QualityModelSchema:()=>Zr,QualityDefinitionResourceSchema:()=>Xr,QualityDefinitionLimitsResourceSchema:()=>_r,ProxyTypeSchema:()=>Kr,ProviderMessageTypeSchema:()=>Wr,ProviderMessageSchema:()=>zr,ProperDownloadTypesSchema:()=>qr,ProfileFormatItemResourceSchema:()=>Hr,PrivacyLevelSchema:()=>Ur,PingResourceSchema:()=>jr,ParsedMovieInfoSchema:()=>Qr,ParseResourceSchema:()=>$r,NotificationResourceSchema:()=>Nr,NamingConfigResourceSchema:()=>Lr,MovieStatusTypeSchema:()=>Fr,MovieStatisticsResourceSchema:()=>Mr,MovieRuntimeFormatTypeSchema:()=>Cr,MovieResourceSchema:()=>vr,MovieResourcePagingResourceSchema:()=>Sr,MovieHistoryEventTypeSchema:()=>kr,MovieFileResourceSchema:()=>Gr,MovieFileListResourceSchema:()=>Pr,MovieEditorResourceSchema:()=>Dr,MovieCollectionResourceSchema:()=>Rr,MonitorTypesSchema:()=>xr,ModifierSchema:()=>Br,MetadataResourceSchema:()=>Ir,MetadataConfigResourceSchema:()=>Tr,MediaManagementConfigResourceSchema:()=>wr,MediaInfoResourceSchema:()=>Or,MediaCoverTypesSchema:()=>br,MediaCoverSchema:()=>Er,ManualImportResourceSchema:()=>hr,ManualImportReprocessResourceSchema:()=>Vr,LogResourceSchema:()=>gr,LogResourcePagingResourceSchema:()=>fr,LogFileResourceSchema:()=>Ar,LocalizationLanguageResourceSchema:()=>mr,LanguageSchema:()=>cr,LanguageResourceSchema:()=>yr,IndexerResourceSchema:()=>dr,IndexerFlagResourceSchema:()=>ur,IndexerConfigResourceSchema:()=>lr,IndexerBulkResourceSchema:()=>pr,ImportRejectionResourceSchema:()=>sr,ImportListTypeSchema:()=>ar,ImportListResourceSchema:()=>ir,ImportListExclusionResourceSchema:()=>or,ImportListExclusionResourcePagingResourceSchema:()=>nr,ImportListExclusionBulkResourceSchema:()=>rr,ImportListConfigResourceSchema:()=>tr,ImportListBulkResourceSchema:()=>er,HostConfigResourceSchema:()=>Jt,HistoryResourceSchema:()=>Xt,HistoryResourcePagingResourceSchema:()=>Zt,HealthResourceSchema:()=>_t,HealthCheckResultSchema:()=>Yt,FileDateTypeSchema:()=>Kt,FieldSchema:()=>Wt,ExtraFileTypeSchema:()=>zt,ExtraFileResourceSchema:()=>qt,DownloadProtocolSchema:()=>Ht,DownloadClientResourceSchema:()=>Ut,DownloadClientConfigResourceSchema:()=>jt,DownloadClientBulkResourceSchema:()=>Qt,DiskSpaceResourceSchema:()=>$t,DelayProfileResourceSchema:()=>Nt,DatabaseTypeSchema:()=>Lt,CustomFormatSpecificationSchemaSchema:()=>Ft,CustomFormatResourceSchema:()=>Mt,CustomFormatBulkResourceSchema:()=>Ct,CustomFilterResourceSchema:()=>St,CreditTypeSchema:()=>vt,CreditResourceSchema:()=>kt,CommandTriggerSchema:()=>Gt,CommandStatusSchema:()=>Pt,CommandSchema:()=>Bt,CommandResultSchema:()=>Dt,CommandResourceSchema:()=>Rt,CommandPrioritySchema:()=>xt,ColonReplacementFormatSchema:()=>It,CollectionUpdateResourceSchema:()=>Tt,CollectionResourceSchema:()=>wt,CollectionMovieResourceSchema:()=>Ot,CertificateValidationTypeSchema:()=>bt,CalendarReleaseTypeSchema:()=>Et,BlocklistResourceSchema:()=>Vt,BlocklistResourcePagingResourceSchema:()=>ht,BlocklistBulkResourceSchema:()=>ft,BackupTypeSchema:()=>gt,BackupResourceSchema:()=>At,AutoTaggingSpecificationSchemaSchema:()=>mt,AutoTaggingResourceSchema:()=>yt,AuthenticationTypeSchema:()=>ct,AuthenticationRequiredTypeSchema:()=>dt,ApplyTagsSchema:()=>ut,ApiInfoResourceSchema:()=>lt,AlternativeTitleResourceSchema:()=>pt,AddMovieOptionsSchema:()=>st,AddMovieMethodSchema:()=>at});var at={enum:["manual","list","collection"],type:"string"},st={type:"object",properties:{ignoreEpisodesWithFiles:{type:"boolean"},ignoreEpisodesWithoutFiles:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},searchForMovie:{type:"boolean"},addMethod:{$ref:"#/components/schemas/AddMovieMethod"}},additionalProperties:!1},pt={type:"object",properties:{id:{type:"integer",format:"int32"},sourceType:{$ref:"#/components/schemas/SourceType"},movieMetadataId:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},cleanTitle:{type:"string",nullable:!0}},additionalProperties:!1},lt={type:"object",properties:{current:{type:"string",nullable:!0},deprecated:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},ut={enum:["add","remove","replace"],type:"string"},dt={enum:["enabled","disabledForLocalAddresses"],type:"string"},ct={enum:["none","basic","forms","external"],type:"string"},yt={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},removeTagsAutomatically:{type:"boolean"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},specifications:{type:"array",items:{$ref:"#/components/schemas/AutoTaggingSpecificationSchema"},nullable:!0}},additionalProperties:!1},mt={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},implementationName:{type:"string",nullable:!0},negate:{type:"boolean"},required:{type:"boolean"},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0}},additionalProperties:!1},At={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/BackupType"},size:{type:"integer",format:"int64"},time:{type:"string",format:"date-time"}},additionalProperties:!1},gt={enum:["scheduled","manual","update"],type:"string"},ft={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Vt={type:"object",properties:{id:{type:"integer",format:"int32"},movieId:{type:"integer",format:"int32"},sourceTitle:{type:"string",nullable:!0},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},date:{type:"string",format:"date-time"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},indexer:{type:"string",nullable:!0},message:{type:"string",nullable:!0},movie:{$ref:"#/components/schemas/MovieResource"}},additionalProperties:!1},ht={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/BlocklistResource"},nullable:!0}},additionalProperties:!1},Et={enum:["cinemaRelease","digitalRelease","physicalRelease"],type:"string"},bt={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},Ot={type:"object",properties:{tmdbId:{type:"integer",format:"int32"},imdbId:{type:"string",nullable:!0},title:{type:"string",nullable:!0},cleanTitle:{type:"string",nullable:!0},sortTitle:{type:"string",nullable:!0},status:{$ref:"#/components/schemas/MovieStatusType"},overview:{type:"string",nullable:!0},runtime:{type:"integer",format:"int32"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},year:{type:"integer",format:"int32"},ratings:{$ref:"#/components/schemas/Ratings"},genres:{type:"array",items:{type:"string"},nullable:!0},folder:{type:"string",nullable:!0},isExisting:{type:"boolean"},isExcluded:{type:"boolean"}},additionalProperties:!1},wt={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},sortTitle:{type:"string",nullable:!0},tmdbId:{type:"integer",format:"int32"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},overview:{type:"string",nullable:!0},monitored:{type:"boolean"},rootFolderPath:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32"},searchOnAdd:{type:"boolean"},minimumAvailability:{$ref:"#/components/schemas/MovieStatusType"},movies:{type:"array",items:{$ref:"#/components/schemas/CollectionMovieResource"},nullable:!0},missingMovies:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Tt={type:"object",properties:{collectionIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean",nullable:!0},monitorMovies:{type:"boolean",nullable:!0},searchOnAdd:{type:"boolean",nullable:!0},qualityProfileId:{type:"integer",format:"int32",nullable:!0},rootFolderPath:{type:"string",nullable:!0},minimumAvailability:{$ref:"#/components/schemas/MovieStatusType"}},additionalProperties:!1},It={enum:["delete","dash","spaceDash","spaceDashSpace","smart"],type:"string"},Bt={type:"object",properties:{sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean",readOnly:!0},completionMessage:{type:"string",nullable:!0,readOnly:!0},requiresDiskAccess:{type:"boolean",readOnly:!0},isExclusive:{type:"boolean",readOnly:!0},isTypeExclusive:{type:"boolean",readOnly:!0},isLongRunning:{type:"boolean",readOnly:!0},name:{type:"string",nullable:!0,readOnly:!0},lastExecutionTime:{type:"string",format:"date-time",nullable:!0},lastStartTime:{type:"string",format:"date-time",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},suppressMessages:{type:"boolean"},clientUserAgent:{type:"string",nullable:!0}},additionalProperties:!1},xt={enum:["normal","high","low"],type:"string"},Rt={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},commandName:{type:"string",nullable:!0},message:{type:"string",nullable:!0},body:{$ref:"#/components/schemas/Command"},priority:{$ref:"#/components/schemas/CommandPriority"},status:{$ref:"#/components/schemas/CommandStatus"},result:{$ref:"#/components/schemas/CommandResult"},queued:{type:"string",format:"date-time"},started:{type:"string",format:"date-time",nullable:!0},ended:{type:"string",format:"date-time",nullable:!0},duration:{type:"string",format:"date-span",nullable:!0},exception:{type:"string",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},clientUserAgent:{type:"string",nullable:!0},stateChangeTime:{type:"string",format:"date-time",nullable:!0},sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean"},lastExecutionTime:{type:"string",format:"date-time",nullable:!0}},additionalProperties:!1},Dt={enum:["unknown","successful","unsuccessful"],type:"string"},Pt={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},Gt={enum:["unspecified","manual","scheduled"],type:"string"},kt={type:"object",properties:{id:{type:"integer",format:"int32"},personName:{type:"string",nullable:!0},creditTmdbId:{type:"string",nullable:!0},personTmdbId:{type:"integer",format:"int32"},movieMetadataId:{type:"integer",format:"int32"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},department:{type:"string",nullable:!0},job:{type:"string",nullable:!0},character:{type:"string",nullable:!0},order:{type:"integer",format:"int32"},type:{$ref:"#/components/schemas/CreditType"}},additionalProperties:!1},vt={enum:["cast","crew"],type:"string"},St={type:"object",properties:{id:{type:"integer",format:"int32"},type:{type:"string",nullable:!0},label:{type:"string",nullable:!0},filters:{type:"array",items:{type:"object",additionalProperties:{}},nullable:!0}},additionalProperties:!1},Ct={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0}},additionalProperties:!1},Mt={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0},specifications:{type:"array",items:{$ref:"#/components/schemas/CustomFormatSpecificationSchema"},nullable:!0}},additionalProperties:!1},Ft={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},implementationName:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},negate:{type:"boolean"},required:{type:"boolean"},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/CustomFormatSpecificationSchema"},nullable:!0}},additionalProperties:!1},Lt={enum:["sqLite","postgreSQL"],type:"string"},Nt={type:"object",properties:{id:{type:"integer",format:"int32"},enableUsenet:{type:"boolean"},enableTorrent:{type:"boolean"},preferredProtocol:{$ref:"#/components/schemas/DownloadProtocol"},usenetDelay:{type:"integer",format:"int32"},torrentDelay:{type:"integer",format:"int32"},bypassIfHighestQuality:{type:"boolean"},bypassIfAboveCustomFormatScore:{type:"boolean"},minimumCustomFormatScore:{type:"integer",format:"int32"},order:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},$t={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},label:{type:"string",nullable:!0},freeSpace:{type:"integer",format:"int64"},totalSpace:{type:"integer",format:"int64"}},additionalProperties:!1},Qt={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enable:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0},removeCompletedDownloads:{type:"boolean",nullable:!0},removeFailedDownloads:{type:"boolean",nullable:!0}},additionalProperties:!1},jt={type:"object",properties:{id:{type:"integer",format:"int32"},downloadClientWorkingFolders:{type:"string",nullable:!0},enableCompletedDownloadHandling:{type:"boolean"},checkForFinishedDownloadInterval:{type:"integer",format:"int32"},autoRedownloadFailed:{type:"boolean"},autoRedownloadFailedFromInteractiveSearch:{type:"boolean"}},additionalProperties:!1},Ut={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/DownloadClientResource"},nullable:!0},enable:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},removeCompletedDownloads:{type:"boolean"},removeFailedDownloads:{type:"boolean"}},additionalProperties:!1},Ht={enum:["unknown","usenet","torrent"],type:"string"},qt={type:"object",properties:{id:{type:"integer",format:"int32"},movieId:{type:"integer",format:"int32"},movieFileId:{type:"integer",format:"int32",nullable:!0},relativePath:{type:"string",nullable:!0},extension:{type:"string",nullable:!0},languageTags:{type:"array",items:{type:"string"},nullable:!0},title:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ExtraFileType"}},additionalProperties:!1},zt={enum:["subtitle","metadata","other"],type:"string"},Wt={type:"object",properties:{order:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},label:{type:"string",nullable:!0},unit:{type:"string",nullable:!0},helpText:{type:"string",nullable:!0},helpTextWarning:{type:"string",nullable:!0},helpLink:{type:"string",nullable:!0},value:{nullable:!0},type:{type:"string",nullable:!0},advanced:{type:"boolean"},selectOptions:{type:"array",items:{$ref:"#/components/schemas/SelectOption"},nullable:!0},selectOptionsProviderAction:{type:"string",nullable:!0},section:{type:"string",nullable:!0},hidden:{type:"string",nullable:!0},privacy:{$ref:"#/components/schemas/PrivacyLevel"},placeholder:{type:"string",nullable:!0},isFloat:{type:"boolean"}},additionalProperties:!1},Kt={enum:["none","cinemas","release"],type:"string"},Yt={enum:["ok","notice","warning","error"],type:"string"},_t={type:"object",properties:{id:{type:"integer",format:"int32"},source:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/HealthCheckResult"},message:{type:"string",nullable:!0},wikiUrl:{type:"string",nullable:!0}},additionalProperties:!1},Xt={type:"object",properties:{id:{type:"integer",format:"int32"},movieId:{type:"integer",format:"int32"},sourceTitle:{type:"string",nullable:!0},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},qualityCutoffNotMet:{type:"boolean"},date:{type:"string",format:"date-time"},downloadId:{type:"string",nullable:!0},eventType:{$ref:"#/components/schemas/MovieHistoryEventType"},data:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0},movie:{$ref:"#/components/schemas/MovieResource"}},additionalProperties:!1},Zt={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/HistoryResource"},nullable:!0}},additionalProperties:!1},Jt={type:"object",properties:{id:{type:"integer",format:"int32"},bindAddress:{type:"string",nullable:!0},port:{type:"integer",format:"int32"},sslPort:{type:"integer",format:"int32"},enableSsl:{type:"boolean"},launchBrowser:{type:"boolean"},authenticationMethod:{$ref:"#/components/schemas/AuthenticationType"},authenticationRequired:{$ref:"#/components/schemas/AuthenticationRequiredType"},analyticsEnabled:{type:"boolean"},username:{type:"string",nullable:!0},password:{type:"string",nullable:!0},passwordConfirmation:{type:"string",nullable:!0},logLevel:{type:"string",nullable:!0},logSizeLimit:{type:"integer",format:"int32"},consoleLogLevel:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},apiKey:{type:"string",nullable:!0},sslCertPath:{type:"string",nullable:!0},sslCertPassword:{type:"string",nullable:!0},urlBase:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},applicationUrl:{type:"string",nullable:!0},updateAutomatically:{type:"boolean"},updateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},updateScriptPath:{type:"string",nullable:!0},proxyEnabled:{type:"boolean"},proxyType:{$ref:"#/components/schemas/ProxyType"},proxyHostname:{type:"string",nullable:!0},proxyPort:{type:"integer",format:"int32"},proxyUsername:{type:"string",nullable:!0},proxyPassword:{type:"string",nullable:!0},proxyBypassFilter:{type:"string",nullable:!0},proxyBypassLocalAddresses:{type:"boolean"},certificateValidation:{$ref:"#/components/schemas/CertificateValidationType"},backupFolder:{type:"string",nullable:!0},backupInterval:{type:"integer",format:"int32"},backupRetention:{type:"integer",format:"int32"},trustCgnatIpAddresses:{type:"boolean"}},additionalProperties:!1},er={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enabled:{type:"boolean",nullable:!0},enableAuto:{type:"boolean",nullable:!0},rootFolderPath:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32",nullable:!0},minimumAvailability:{$ref:"#/components/schemas/MovieStatusType"}},additionalProperties:!1},tr={type:"object",properties:{id:{type:"integer",format:"int32"},listSyncLevel:{type:"string",nullable:!0}},additionalProperties:!1},rr={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},or={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/ImportListExclusionResource"},nullable:!0},tmdbId:{type:"integer",format:"int32"},movieTitle:{type:"string",nullable:!0},movieYear:{type:"integer",format:"int32"}},additionalProperties:!1},nr={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/ImportListExclusionResource"},nullable:!0}},additionalProperties:!1},ir={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/ImportListResource"},nullable:!0},enabled:{type:"boolean"},enableAuto:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},rootFolderPath:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32"},searchOnAdd:{type:"boolean"},minimumAvailability:{$ref:"#/components/schemas/MovieStatusType"},listType:{$ref:"#/components/schemas/ImportListType"},listOrder:{type:"integer",format:"int32"},minRefreshInterval:{type:"string",format:"date-span"}},additionalProperties:!1},ar={enum:["program","tmdb","trakt","plex","simkl","other","advanced"],type:"string"},sr={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},pr={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enableRss:{type:"boolean",nullable:!0},enableAutomaticSearch:{type:"boolean",nullable:!0},enableInteractiveSearch:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},lr={type:"object",properties:{id:{type:"integer",format:"int32"},minimumAge:{type:"integer",format:"int32"},maximumSize:{type:"integer",format:"int32"},retention:{type:"integer",format:"int32"},rssSyncInterval:{type:"integer",format:"int32"},preferIndexerFlags:{type:"boolean"},availabilityDelay:{type:"integer",format:"int32"},allowHardcodedSubs:{type:"boolean"},whitelistedHardcodedSubs:{type:"string",nullable:!0}},additionalProperties:!1},ur={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},dr={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/IndexerResource"},nullable:!0},enableRss:{type:"boolean"},enableAutomaticSearch:{type:"boolean"},enableInteractiveSearch:{type:"boolean"},supportsRss:{type:"boolean"},supportsSearch:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},downloadClientId:{type:"integer",format:"int32"}},additionalProperties:!1},cr={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},yr={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},mr={type:"object",properties:{identifier:{type:"string",nullable:!0}},additionalProperties:!1},Ar={type:"object",properties:{id:{type:"integer",format:"int32"},filename:{type:"string",nullable:!0},lastWriteTime:{type:"string",format:"date-time"},contentsUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0}},additionalProperties:!1},gr={type:"object",properties:{id:{type:"integer",format:"int32"},time:{type:"string",format:"date-time"},exception:{type:"string",nullable:!0},exceptionType:{type:"string",nullable:!0},level:{type:"string",nullable:!0},logger:{type:"string",nullable:!0},message:{type:"string",nullable:!0},method:{type:"string",nullable:!0}},additionalProperties:!1},fr={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/LogResource"},nullable:!0}},additionalProperties:!1},Vr={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},movieId:{type:"integer",format:"int32"},movie:{$ref:"#/components/schemas/MovieResource"},quality:{$ref:"#/components/schemas/QualityModel"},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},releaseGroup:{type:"string",nullable:!0},downloadId:{type:"string",nullable:!0},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},indexerFlags:{type:"integer",format:"int32"},rejections:{type:"array",items:{$ref:"#/components/schemas/ImportRejectionResource"},nullable:!0}},additionalProperties:!1},hr={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},relativePath:{type:"string",nullable:!0},folderName:{type:"string",nullable:!0},name:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},movie:{$ref:"#/components/schemas/MovieResource"},movieFileId:{type:"integer",format:"int32",nullable:!0},releaseGroup:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},qualityWeight:{type:"integer",format:"int32"},downloadId:{type:"string",nullable:!0},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},indexerFlags:{type:"integer",format:"int32"},rejections:{type:"array",items:{$ref:"#/components/schemas/ImportRejectionResource"},nullable:!0}},additionalProperties:!1},Er={type:"object",properties:{coverType:{$ref:"#/components/schemas/MediaCoverTypes"},url:{type:"string",nullable:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},br={enum:["unknown","poster","banner","fanart","screenshot","headshot","clearlogo"],type:"string"},Or={type:"object",properties:{id:{type:"integer",format:"int32"},audioBitrate:{type:"integer",format:"int64"},audioChannels:{type:"number",format:"double"},audioCodec:{type:"string",nullable:!0},audioLanguages:{type:"string",nullable:!0},audioStreamCount:{type:"integer",format:"int32"},videoBitDepth:{type:"integer",format:"int32"},videoBitrate:{type:"integer",format:"int64"},videoCodec:{type:"string",nullable:!0},videoFps:{type:"number",format:"double"},videoDynamicRange:{type:"string",nullable:!0},videoDynamicRangeType:{type:"string",nullable:!0},resolution:{type:"string",nullable:!0},runTime:{type:"string",nullable:!0},scanType:{type:"string",nullable:!0},subtitles:{type:"string",nullable:!0}},additionalProperties:!1},wr={type:"object",properties:{id:{type:"integer",format:"int32"},autoUnmonitorPreviouslyDownloadedMovies:{type:"boolean"},recycleBin:{type:"string",nullable:!0},recycleBinCleanupDays:{type:"integer",format:"int32"},downloadPropersAndRepacks:{$ref:"#/components/schemas/ProperDownloadTypes"},createEmptyMovieFolders:{type:"boolean"},deleteEmptyFolders:{type:"boolean"},fileDate:{$ref:"#/components/schemas/FileDateType"},rescanAfterRefresh:{$ref:"#/components/schemas/RescanAfterRefreshType"},autoRenameFolders:{type:"boolean"},pathsDefaultStatic:{type:"boolean"},setPermissionsLinux:{type:"boolean"},chmodFolder:{type:"string",nullable:!0},chownGroup:{type:"string",nullable:!0},skipFreeSpaceCheckWhenImporting:{type:"boolean"},minimumFreeSpaceWhenImporting:{type:"integer",format:"int32"},copyUsingHardlinks:{type:"boolean"},useScriptImport:{type:"boolean"},scriptImportPath:{type:"string",nullable:!0},importExtraFiles:{type:"boolean"},extraFileExtensions:{type:"string",nullable:!0},enableMediaInfo:{type:"boolean"}},additionalProperties:!1},Tr={type:"object",properties:{id:{type:"integer",format:"int32"},certificationCountry:{$ref:"#/components/schemas/TMDbCountryCode"}},additionalProperties:!1},Ir={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/MetadataResource"},nullable:!0},enable:{type:"boolean"}},additionalProperties:!1},Br={enum:["none","regional","screener","rawhd","brdisk","remux"],type:"string"},xr={enum:["movieOnly","movieAndCollection","none"],type:"string"},Rr={type:"object",properties:{title:{type:"string",nullable:!0},tmdbId:{type:"integer",format:"int32"}},additionalProperties:!1},Dr={type:"object",properties:{movieIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean",nullable:!0},qualityProfileId:{type:"integer",format:"int32",nullable:!0},minimumAvailability:{$ref:"#/components/schemas/MovieStatusType"},rootFolderPath:{type:"string",nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},moveFiles:{type:"boolean"},deleteFiles:{type:"boolean"},addImportExclusion:{type:"boolean"}},additionalProperties:!1},Pr={type:"object",properties:{movieFileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},edition:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},sceneName:{type:"string",nullable:!0},indexerFlags:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},Gr={type:"object",properties:{id:{type:"integer",format:"int32"},movieId:{type:"integer",format:"int32"},relativePath:{type:"string",nullable:!0},path:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},dateAdded:{type:"string",format:"date-time"},sceneName:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},edition:{type:"string",nullable:!0},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32",nullable:!0},indexerFlags:{type:"integer",format:"int32",nullable:!0},mediaInfo:{$ref:"#/components/schemas/MediaInfoResource"},originalFilePath:{type:"string",nullable:!0},qualityCutoffNotMet:{type:"boolean"}},additionalProperties:!1},kr={enum:["unknown","grabbed","downloadFolderImported","downloadFailed","movieFileDeleted","movieFolderImported","movieFileRenamed","downloadIgnored"],type:"string"},vr={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},originalTitle:{type:"string",nullable:!0},originalLanguage:{$ref:"#/components/schemas/Language"},alternateTitles:{type:"array",items:{$ref:"#/components/schemas/AlternativeTitleResource"},nullable:!0},secondaryYear:{type:"integer",format:"int32",nullable:!0},secondaryYearSourceId:{type:"integer",format:"int32"},sortTitle:{type:"string",nullable:!0},sizeOnDisk:{type:"integer",format:"int64",nullable:!0},status:{$ref:"#/components/schemas/MovieStatusType"},overview:{type:"string",nullable:!0},inCinemas:{type:"string",format:"date-time",nullable:!0},physicalRelease:{type:"string",format:"date-time",nullable:!0},digitalRelease:{type:"string",format:"date-time",nullable:!0},releaseDate:{type:"string",format:"date-time",nullable:!0},physicalReleaseNote:{type:"string",nullable:!0},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},website:{type:"string",nullable:!0},remotePoster:{type:"string",nullable:!0},year:{type:"integer",format:"int32"},youTubeTrailerId:{type:"string",nullable:!0},studio:{type:"string",nullable:!0},path:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32"},hasFile:{type:"boolean",nullable:!0},movieFileId:{type:"integer",format:"int32"},monitored:{type:"boolean"},minimumAvailability:{$ref:"#/components/schemas/MovieStatusType"},isAvailable:{type:"boolean"},folderName:{type:"string",nullable:!0},runtime:{type:"integer",format:"int32"},cleanTitle:{type:"string",nullable:!0},imdbId:{type:"string",nullable:!0},tmdbId:{type:"integer",format:"int32"},titleSlug:{type:"string",nullable:!0},rootFolderPath:{type:"string",nullable:!0},folder:{type:"string",nullable:!0},certification:{type:"string",nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},keywords:{type:"array",items:{type:"string"},nullable:!0},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},added:{type:"string",format:"date-time"},addOptions:{$ref:"#/components/schemas/AddMovieOptions"},ratings:{$ref:"#/components/schemas/Ratings"},movieFile:{$ref:"#/components/schemas/MovieFileResource"},collection:{$ref:"#/components/schemas/MovieCollectionResource"},popularity:{type:"number",format:"float"},lastSearchTime:{type:"string",format:"date-time",nullable:!0},statistics:{$ref:"#/components/schemas/MovieStatisticsResource"}},additionalProperties:!1},Sr={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/MovieResource"},nullable:!0}},additionalProperties:!1},Cr={enum:["hoursMinutes","minutes"],type:"string"},Mr={type:"object",properties:{movieFileCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},releaseGroups:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},Fr={enum:["tba","announced","inCinemas","released","deleted"],type:"string"},Lr={type:"object",properties:{id:{type:"integer",format:"int32"},renameMovies:{type:"boolean"},replaceIllegalCharacters:{type:"boolean"},colonReplacementFormat:{$ref:"#/components/schemas/ColonReplacementFormat"},standardMovieFormat:{type:"string",nullable:!0},movieFolderFormat:{type:"string",nullable:!0}},additionalProperties:!1},Nr={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/NotificationResource"},nullable:!0},link:{type:"string",nullable:!0},onGrab:{type:"boolean"},onDownload:{type:"boolean"},onUpgrade:{type:"boolean"},onRename:{type:"boolean"},onMovieAdded:{type:"boolean"},onMovieDelete:{type:"boolean"},onMovieFileDelete:{type:"boolean"},onMovieFileDeleteForUpgrade:{type:"boolean"},onHealthIssue:{type:"boolean"},includeHealthWarnings:{type:"boolean"},onHealthRestored:{type:"boolean"},onApplicationUpdate:{type:"boolean"},onManualInteractionRequired:{type:"boolean"},supportsOnGrab:{type:"boolean"},supportsOnDownload:{type:"boolean"},supportsOnUpgrade:{type:"boolean"},supportsOnRename:{type:"boolean"},supportsOnMovieAdded:{type:"boolean"},supportsOnMovieDelete:{type:"boolean"},supportsOnMovieFileDelete:{type:"boolean"},supportsOnMovieFileDeleteForUpgrade:{type:"boolean"},supportsOnHealthIssue:{type:"boolean"},supportsOnHealthRestored:{type:"boolean"},supportsOnApplicationUpdate:{type:"boolean"},supportsOnManualInteractionRequired:{type:"boolean"},testCommand:{type:"string",nullable:!0}},additionalProperties:!1},$r={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},parsedMovieInfo:{$ref:"#/components/schemas/ParsedMovieInfo"},movie:{$ref:"#/components/schemas/MovieResource"},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"}},additionalProperties:!1},Qr={type:"object",properties:{movieTitles:{type:"array",items:{type:"string"},nullable:!0},originalTitle:{type:"string",nullable:!0},releaseTitle:{type:"string",nullable:!0},simpleReleaseTitle:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},releaseGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},edition:{type:"string",nullable:!0},year:{type:"integer",format:"int32"},imdbId:{type:"string",nullable:!0},tmdbId:{type:"integer",format:"int32"},hardcodedSubs:{type:"string",nullable:!0},movieTitle:{type:"string",nullable:!0,readOnly:!0},primaryMovieTitle:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},jr={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},Ur={enum:["normal","password","apiKey","userName"],type:"string"},Hr={type:"object",properties:{id:{type:"integer",format:"int32"},format:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},score:{type:"integer",format:"int32"}},additionalProperties:!1},qr={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},zr={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},Wr={enum:["info","warning","error"],type:"string"},Kr={enum:["http","socks4","socks5"],type:"string"},Yr={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},source:{$ref:"#/components/schemas/QualitySource"},resolution:{type:"integer",format:"int32"},modifier:{$ref:"#/components/schemas/Modifier"}},additionalProperties:!1},_r={type:"object",properties:{min:{type:"integer",format:"int32"},max:{type:"integer",format:"int32"}},additionalProperties:!1},Xr={type:"object",properties:{id:{type:"integer",format:"int32"},quality:{$ref:"#/components/schemas/Quality"},title:{type:"string",nullable:!0},weight:{type:"integer",format:"int32"},minSize:{type:"number",format:"double",nullable:!0},maxSize:{type:"number",format:"double",nullable:!0},preferredSize:{type:"number",format:"double",nullable:!0}},additionalProperties:!1},Zr={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},Jr={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/Quality"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItemResource"},nullable:!0},allowed:{type:"boolean"}},additionalProperties:!1},eo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},upgradeAllowed:{type:"boolean"},cutoff:{type:"integer",format:"int32"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItemResource"},nullable:!0},minFormatScore:{type:"integer",format:"int32"},cutoffFormatScore:{type:"integer",format:"int32"},minUpgradeFormatScore:{type:"integer",format:"int32"},formatItems:{type:"array",items:{$ref:"#/components/schemas/ProfileFormatItemResource"},nullable:!0},language:{$ref:"#/components/schemas/Language"}},additionalProperties:!1},to={enum:["unknown","cam","telesync","telecine","workprint","dvd","tv","webdl","webrip","bluray"],type:"string"},ro={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},oo={type:"object",properties:{id:{type:"integer",format:"int32"},movieId:{type:"integer",format:"int32",nullable:!0},movie:{$ref:"#/components/schemas/MovieResource"},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},size:{type:"number",format:"double"},title:{type:"string",nullable:!0},estimatedCompletionTime:{type:"string",format:"date-time",nullable:!0},added:{type:"string",format:"date-time",nullable:!0},status:{$ref:"#/components/schemas/QueueStatus"},trackedDownloadStatus:{$ref:"#/components/schemas/TrackedDownloadStatus"},trackedDownloadState:{$ref:"#/components/schemas/TrackedDownloadState"},statusMessages:{type:"array",items:{$ref:"#/components/schemas/TrackedDownloadStatusMessage"},nullable:!0},errorMessage:{type:"string",nullable:!0},downloadId:{type:"string",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},downloadClient:{type:"string",nullable:!0},downloadClientHasPostImportCategory:{type:"boolean"},indexer:{type:"string",nullable:!0},outputPath:{type:"string",nullable:!0},sizeleft:{type:"number",format:"double",deprecated:!0},timeleft:{type:"string",format:"date-span",nullable:!0,deprecated:!0}},additionalProperties:!1},no={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/QueueResource"},nullable:!0}},additionalProperties:!1},io={enum:["unknown","queued","paused","downloading","completed","failed","warning","delay","downloadClientUnavailable","fallback"],type:"string"},ao={type:"object",properties:{id:{type:"integer",format:"int32"},totalCount:{type:"integer",format:"int32"},count:{type:"integer",format:"int32"},unknownCount:{type:"integer",format:"int32"},errors:{type:"boolean"},warnings:{type:"boolean"},unknownErrors:{type:"boolean"},unknownWarnings:{type:"boolean"}},additionalProperties:!1},so={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"},type:{$ref:"#/components/schemas/RatingType"}},additionalProperties:!1},po={enum:["user","critic"],type:"string"},lo={type:"object",properties:{imdb:{$ref:"#/components/schemas/RatingChild"},tmdb:{$ref:"#/components/schemas/RatingChild"},metacritic:{$ref:"#/components/schemas/RatingChild"},rottenTomatoes:{$ref:"#/components/schemas/RatingChild"},trakt:{$ref:"#/components/schemas/RatingChild"}},additionalProperties:!1},uo={enum:["permanent","temporary"],type:"string"},co={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},enabled:{type:"boolean"},required:{nullable:!0},ignored:{nullable:!0},indexerId:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},yo={type:"object",properties:{id:{type:"integer",format:"int32"},guid:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},qualityWeight:{type:"integer",format:"int32"},age:{type:"integer",format:"int32"},ageHours:{type:"number",format:"double"},ageMinutes:{type:"number",format:"double"},size:{type:"integer",format:"int64"},indexerId:{type:"integer",format:"int32"},indexer:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},subGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},title:{type:"string",nullable:!0},sceneSource:{type:"boolean"},movieTitles:{type:"array",items:{type:"string"},nullable:!0},languages:{type:"array",items:{$ref:"#/components/schemas/Language"},nullable:!0},mappedMovieId:{type:"integer",format:"int32",nullable:!0},approved:{type:"boolean"},temporarilyRejected:{type:"boolean"},rejected:{type:"boolean"},tmdbId:{type:"integer",format:"int32"},imdbId:{type:"integer",format:"int32"},rejections:{type:"array",items:{type:"string"},nullable:!0},publishDate:{type:"string",format:"date-time"},commentUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0},infoUrl:{type:"string",nullable:!0},movieRequested:{type:"boolean"},downloadAllowed:{type:"boolean"},releaseWeight:{type:"integer",format:"int32"},edition:{type:"string",nullable:!0},magnetUrl:{type:"string",nullable:!0},infoHash:{type:"string",nullable:!0},seeders:{type:"integer",format:"int32",nullable:!0},leechers:{type:"integer",format:"int32",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},indexerFlags:{nullable:!0},movieId:{type:"integer",format:"int32",nullable:!0},downloadClientId:{type:"integer",format:"int32",nullable:!0},downloadClient:{type:"string",nullable:!0},shouldOverride:{type:"boolean",nullable:!0}},additionalProperties:!1},mo={type:"object",properties:{id:{type:"integer",format:"int32"},host:{type:"string",nullable:!0},remotePath:{type:"string",nullable:!0},localPath:{type:"string",nullable:!0}},additionalProperties:!1},Ao={type:"object",properties:{id:{type:"integer",format:"int32"},movieId:{type:"integer",format:"int32"},movieFileId:{type:"integer",format:"int32"},existingPath:{type:"string",nullable:!0},newPath:{type:"string",nullable:!0}},additionalProperties:!1},go={enum:["always","afterManual","never"],type:"string"},fo={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},Vo={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},accessible:{type:"boolean"},freeSpace:{type:"integer",format:"int64",nullable:!0},unmappedFolders:{type:"array",items:{$ref:"#/components/schemas/UnmappedFolder"},nullable:!0}},additionalProperties:!1},ho={enum:["console","service","tray"],type:"string"},Eo={type:"object",properties:{value:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},order:{type:"integer",format:"int32"},hint:{type:"string",nullable:!0},dividerAfter:{type:"boolean"}},additionalProperties:!1},bo={enum:["default","ascending","descending"],type:"string"},Oo={enum:["tmdb","mappings","user","indexer"],type:"string"},wo={type:"object",properties:{appName:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},version:{type:"string",nullable:!0},buildTime:{type:"string",format:"date-time"},isDebug:{type:"boolean"},isProduction:{type:"boolean"},isAdmin:{type:"boolean"},isUserInteractive:{type:"boolean"},startupPath:{type:"string",nullable:!0},appData:{type:"string",nullable:!0},osName:{type:"string",nullable:!0},osVersion:{type:"string",nullable:!0},isNetCore:{type:"boolean"},isLinux:{type:"boolean"},isOsx:{type:"boolean"},isWindows:{type:"boolean"},isDocker:{type:"boolean"},mode:{$ref:"#/components/schemas/RuntimeMode"},branch:{type:"string",nullable:!0},databaseType:{$ref:"#/components/schemas/DatabaseType"},databaseVersion:{type:"string",nullable:!0},authentication:{$ref:"#/components/schemas/AuthenticationType"},migrationVersion:{type:"integer",format:"int32"},urlBase:{type:"string",nullable:!0},runtimeVersion:{type:"string",nullable:!0},runtimeName:{type:"string",nullable:!0},startTime:{type:"string",format:"date-time"},packageVersion:{type:"string",nullable:!0},packageAuthor:{type:"string",nullable:!0},packageUpdateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},packageUpdateMechanismMessage:{type:"string",nullable:!0}},additionalProperties:!1},To={enum:["au","br","ca","fr","de","gb","in","ie","it","nz","ro","es","us"],type:"string"},Io={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0},delayProfileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},importListIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},notificationIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},releaseProfileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},indexerIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},downloadClientIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},autoTagIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},movieIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Bo={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},xo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},taskName:{type:"string",nullable:!0},interval:{type:"integer",format:"int32"},lastExecution:{type:"string",format:"date-time"},lastStartTime:{type:"string",format:"date-time"},nextExecution:{type:"string",format:"date-time"},lastDuration:{type:"string",format:"date-span",readOnly:!0}},additionalProperties:!1},Ro={enum:["downloading","importBlocked","importPending","importing","imported","failedPending","failed","ignored"],type:"string"},Do={enum:["ok","warning","error"],type:"string"},Po={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},Go={type:"object",properties:{id:{type:"integer",format:"int32"},firstDayOfWeek:{type:"integer",format:"int32"},calendarWeekColumnHeader:{type:"string",nullable:!0},movieRuntimeFormat:{$ref:"#/components/schemas/MovieRuntimeFormatType"},shortDateFormat:{type:"string",nullable:!0},longDateFormat:{type:"string",nullable:!0},timeFormat:{type:"string",nullable:!0},showRelativeDates:{type:"boolean"},enableColorImpairedMode:{type:"boolean"},movieInfoLanguage:{type:"integer",format:"int32"},uiLanguage:{type:"integer",format:"int32"},theme:{type:"string",nullable:!0}},additionalProperties:!1},ko={type:"object",properties:{name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},relativePath:{type:"string",nullable:!0}},additionalProperties:!1},vo={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},So={enum:["builtIn","script","external","apt","docker"],type:"string"},Co={type:"object",properties:{id:{type:"integer",format:"int32"},version:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},releaseDate:{type:"string",format:"date-time"},fileName:{type:"string",nullable:!0},url:{type:"string",nullable:!0},installed:{type:"boolean"},installedOn:{type:"string",format:"date-time",nullable:!0},installable:{type:"boolean"},latest:{type:"boolean"},changes:{$ref:"#/components/schemas/UpdateChanges"},hash:{type:"string",nullable:!0}},additionalProperties:!1};var Mo=/\{[^{}]+\}/g,R=({allowReserved:e,name:i,value:a})=>{if(a==null)return"";if(typeof a=="object")throw new Error("Deeply-nested arrays/objects arenβt supported. Provide your own `querySerializer()` to handle these.");return`${i}=${e?a:encodeURIComponent(a)}`},Fo=(e)=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Lo=(e)=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},No=(e)=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Ke=({allowReserved:e,explode:i,name:a,style:l,value:u})=>{if(!i){let p=(e?u:u.map((y)=>encodeURIComponent(y))).join(Lo(l));switch(l){case"label":return`.${p}`;case"matrix":return`;${a}=${p}`;case"simple":return p;default:return`${a}=${p}`}}let d=Fo(l),s=u.map((p)=>l==="label"||l==="simple"?e?p:encodeURIComponent(p):R({allowReserved:e,name:a,value:p})).join(d);return l==="label"||l==="matrix"?d+s:s},Ye=({allowReserved:e,explode:i,name:a,style:l,value:u})=>{if(u instanceof Date)return`${a}=${u.toISOString()}`;if(l!=="deepObject"&&!i){let p=[];Object.entries(u).forEach(([O,E])=>{p=[...p,O,e?E:encodeURIComponent(E)]});let y=p.join(",");switch(l){case"form":return`${a}=${y}`;case"label":return`.${y}`;case"matrix":return`;${a}=${y}`;default:return y}}let d=No(l),s=Object.entries(u).map(([p,y])=>R({allowReserved:e,name:l==="deepObject"?`${a}[${p}]`:p,value:y})).join(d);return l==="label"||l==="matrix"?d+s:s},$o=({path:e,url:i})=>{let a=i,l=i.match(Mo);if(l)for(let u of l){let d=!1,s=u.substring(1,u.length-1),p="simple";s.endsWith("*")&&(d=!0,s=s.substring(0,s.length-1)),s.startsWith(".")?(s=s.substring(1),p="label"):s.startsWith(";")&&(s=s.substring(1),p="matrix");let y=e[s];if(y==null)continue;if(Array.isArray(y)){a=a.replace(u,Ke({explode:d,name:s,style:p,value:y}));continue}if(typeof y=="object"){a=a.replace(u,Ye({explode:d,name:s,style:p,value:y}));continue}if(p==="matrix"){a=a.replace(u,`;${R({name:s,value:y})}`);continue}let O=encodeURIComponent(p==="label"?`.${y}`:y);a=a.replace(u,O)}return a},_e=({allowReserved:e,array:i,object:a}={})=>(l)=>{let u=[];if(l&&typeof l=="object")for(let d in l){let s=l[d];if(s!=null){if(Array.isArray(s)){u=[...u,Ke({allowReserved:e,explode:!0,name:d,style:"form",value:s,...i})];continue}if(typeof s=="object"){u=[...u,Ye({allowReserved:e,explode:!0,name:d,style:"deepObject",value:s,...a})];continue}u=[...u,R({allowReserved:e,name:d,value:s})]}}return u.join("&")},Qo=(e)=>{if(!e)return;let i=e.split(";")[0].trim();if(i.startsWith("application/json")||i.endsWith("+json"))return"json";if(i==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some((a)=>i.startsWith(a)))return"blob";if(i.startsWith("text/"))return"text"},jo=({baseUrl:e,path:i,query:a,querySerializer:l,url:u})=>{let d=u.startsWith("/")?u:`/${u}`,s=e+d;i&&(s=$o({path:i,url:s}));let p=a?l(a):"";return p.startsWith("?")&&(p=p.substring(1)),p&&(s+=`?${p}`),s},ze=(e,i)=>{let a={...e,...i};return a.baseUrl?.endsWith("/")&&(a.baseUrl=a.baseUrl.substring(0,a.baseUrl.length-1)),a.headers=Xe(e.headers,i.headers),a},Xe=(...e)=>{let i=new Headers;for(let a of e){if(!a||typeof a!="object")continue;let l=a instanceof Headers?a.entries():Object.entries(a);for(let[u,d]of l)if(d===null)i.delete(u);else if(Array.isArray(d))for(let s of d)i.append(u,s);else d!==void 0&&i.set(u,typeof d=="object"?JSON.stringify(d):d)}return i},G=class{_fns;constructor(){this._fns=[]}clear(){this._fns=[]}exists(e){return this._fns.indexOf(e)!==-1}eject(e){let i=this._fns.indexOf(e);i!==-1&&(this._fns=[...this._fns.slice(0,i),...this._fns.slice(i+1)])}use(e){this._fns=[...this._fns,e]}},Uo=()=>({error:new G,request:new G,response:new G}),We=(e,i,a)=>{typeof a=="string"||a instanceof Blob?e.append(i,a):e.append(i,JSON.stringify(a))},V={bodySerializer:(e)=>{let i=new FormData;return Object.entries(e).forEach(([a,l])=>{l!=null&&(Array.isArray(l)?l.forEach((u)=>We(i,a,u)):We(i,a,l))}),i}},Ho={bodySerializer:(e)=>JSON.stringify(e)};var qo=_e({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),zo={"Content-Type":"application/json"},f=(e={})=>({...Ho,baseUrl:"",fetch:globalThis.fetch,headers:zo,parseAs:"auto",querySerializer:qo,...e}),h=(e={})=>{let i=ze(f(),e),a=()=>({...i}),l=(s)=>(i=ze(i,s),a()),u=Uo(),d=async(s)=>{let p={...i,...s,headers:Xe(i.headers,s.headers)};p.body&&p.bodySerializer&&(p.body=p.bodySerializer(p.body)),p.body||p.headers.delete("Content-Type");let y=jo({baseUrl:p.baseUrl??"",path:p.path,query:p.query,querySerializer:typeof p.querySerializer=="function"?p.querySerializer:_e(p.querySerializer),url:p.url}),O={redirect:"follow",...p},E=new Request(y,O);for(let b of u.request._fns)E=await b(E,p);let nt=p.fetch,g=await nt(E);for(let b of u.response._fns)g=await b(g,E,p);let B={request:E,response:g};if(g.ok){if(g.status===204||g.headers.get("Content-Length")==="0")return{data:{},...B};if(p.parseAs==="stream")return{data:g.body,...B};let b=(p.parseAs==="auto"?Qo(g.headers.get("Content-Type")):p.parseAs)??"json",P=await g[b]();return b==="json"&&p.responseTransformer&&(P=await p.responseTransformer(P)),{data:P,...B}}let x=await g.text();try{x=JSON.parse(x)}catch{}let w=x;for(let b of u.error._fns)w=await b(x,g,E,p);if(w=w||{},p.throwOnError)throw w;return{error:w,...B}};return{connect:(s)=>d({...s,method:"CONNECT"}),delete:(s)=>d({...s,method:"DELETE"}),get:(s)=>d({...s,method:"GET"}),getConfig:a,head:(s)=>d({...s,method:"HEAD"}),interceptors:u,options:(s)=>d({...s,method:"OPTIONS"}),patch:(s)=>d({...s,method:"PATCH"}),post:(s)=>d({...s,method:"POST"}),put:(s)=>d({...s,method:"PUT"}),request:d,setConfig:l,trace:(s)=>d({...s,method:"TRACE"})}};var t=h(f()),Wo=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/alttitle"})},Ko=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/alttitle/{id}"})},Yo=(e)=>{return(e?.client??t).get({...e,url:"/api"})},_o=(e)=>{return(e?.client??t).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Xo=(e)=>{return(e?.client??t).get({...e,url:"/login"})},Zo=(e)=>{return(e?.client??t).get({...e,url:"/logout"})},Jo=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/autotagging"})},en=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging"})},tn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/autotagging/{id}"})},rn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/autotagging/{id}"})},on=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging/{id}"})},nn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging/schema"})},an=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/backup"})},sn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/system/backup/{id}"})},pn=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/backup/restore/{id}"})},ln=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/backup/restore/upload"})},un=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/blocklist"})},dn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/blocklist/movie"})},cn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/blocklist/{id}"})},yn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/blocklist/bulk"})},mn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/calendar"})},An=(e)=>{return(e?.client??t).get({...e,url:"/feed/v3/calendar/radarr.ics"})},gn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/collection"})},fn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/collection"})},Vn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/collection/{id}"})},hn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/collection/{id}"})},k=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/command"})},v=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/command"})},En=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/command/{id}"})},bn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/command/{id}"})},On=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/credit"})},wn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/credit/{id}"})},Tn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customfilter"})},In=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/customfilter"})},Bn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customfilter/{id}"})},xn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customfilter/{id}"})},Rn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customfilter/{id}"})},Dn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat"})},Pn=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/customformat"})},Gn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customformat/{id}"})},kn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customformat/{id}"})},vn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat/{id}"})},Sn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customformat/bulk"})},Cn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customformat/bulk"})},Mn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat/schema"})},Fn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/wanted/cutoff"})},Ln=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/delayprofile"})},Nn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/delayprofile"})},$n=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/delayprofile/{id}"})},Qn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/delayprofile/{id}"})},jn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/delayprofile/{id}"})},Un=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/delayprofile/reorder/{id}"})},Hn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/diskspace"})},qn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient"})},zn=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient"})},Wn=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/downloadclient/{id}"})},Kn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/downloadclient/{id}"})},Yn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient/{id}"})},_n=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/downloadclient/bulk"})},Xn=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/downloadclient/bulk"})},Zn=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient/schema"})},Jn=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/test"})},ei=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/testall"})},ti=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/action/{name}"})},ri=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/downloadclient"})},oi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/downloadclient/{id}"})},ni=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/downloadclient/{id}"})},ii=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/extrafile"})},S=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem"})},ai=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem/type"})},C=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem/mediafiles"})},M=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/health"})},si=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history"})},pi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history/since"})},li=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history/movie"})},ui=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/history/failed/{id}"})},di=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/host"})},ci=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/host/{id}"})},yi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/host/{id}"})},mi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist"})},Ai=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist"})},gi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/importlist/{id}"})},fi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/importlist/{id}"})},Vi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/{id}"})},hi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/importlist/bulk"})},Ei=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/importlist/bulk"})},bi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/schema"})},Oi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/test"})},wi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/testall"})},Ti=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/action/{name}"})},Ii=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/importlist"})},Bi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/importlist/{id}"})},xi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/importlist/{id}"})},Ri=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions"})},Di=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/exclusions"})},Pi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions/paged"})},Gi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/exclusions/{id}"})},ki=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/exclusions/{id}"})},vi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions/{id}"})},Si=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/exclusions/bulk"})},Ci=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/exclusions/bulk"})},Mi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/movie"})},Fi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/movie"})},Li=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer"})},Ni=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer"})},$i=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/indexer/{id}"})},Qi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/indexer/{id}"})},ji=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer/{id}"})},Ui=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/indexer/bulk"})},Hi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/indexer/bulk"})},qi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer/schema"})},zi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/test"})},Wi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/testall"})},Ki=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/action/{name}"})},Yi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/indexer"})},_i=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/indexer/{id}"})},Xi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/indexer/{id}"})},Zi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexerflag"})},Ji=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/language"})},ea=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/language/{id}"})},ta=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/localization"})},ra=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/localization/language"})},oa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log"})},na=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file"})},ia=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/{filename}"})},aa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/manualimport"})},sa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/manualimport"})},pa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/mediacover/{movieId}/{filename}"})},la=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/mediamanagement"})},ua=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/mediamanagement/{id}"})},da=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/mediamanagement/{id}"})},ca=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata"})},ya=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata"})},ma=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/metadata/{id}"})},Aa=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/metadata/{id}"})},ga=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata/{id}"})},fa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata/schema"})},Va=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/test"})},ha=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/testall"})},Ea=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/action/{name}"})},ba=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/metadata"})},Oa=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/metadata/{id}"})},wa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/metadata/{id}"})},Ta=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/wanted/missing"})},F=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie"})},L=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/movie"})},N=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/movie/{id}"})},$=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/movie/{id}"})},Q=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/{id}"})},Ia=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/movie/editor"})},Ba=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/movie/editor"})},xa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/moviefile"})},Ra=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/{id}"})},Da=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/moviefile/{id}"})},Pa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/moviefile/{id}"})},Ga=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/editor"})},ka=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/moviefile/bulk"})},va=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/bulk"})},Sa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/{id}/folder"})},j=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/movie/import"})},Ca=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup/tmdb"})},Ma=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup/imdb"})},U=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup"})},Fa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming"})},La=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/naming/{id}"})},Na=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming/{id}"})},$a=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming/examples"})},Qa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification"})},ja=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification"})},Ua=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/notification/{id}"})},Ha=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/notification/{id}"})},qa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification/{id}"})},za=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification/schema"})},Wa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/test"})},Ka=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/testall"})},Ya=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/action/{name}"})},_a=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/parse"})},Xa=(e)=>{return(e?.client??t).get({...e,url:"/ping"})},Za=(e)=>{return(e?.client??t).head({...e,url:"/ping"})},Ja=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualitydefinition/{id}"})},es=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition/{id}"})},ts=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition"})},rs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualitydefinition/update"})},os=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition/limits"})},ns=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/qualityprofile"})},is=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile"})},as=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/qualityprofile/{id}"})},ss=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualityprofile/{id}"})},ps=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile/{id}"})},ls=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile/schema"})},us=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/queue/{id}"})},ds=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/queue/bulk"})},cs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue"})},ys=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/queue/grab/{id}"})},ms=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/queue/grab/bulk"})},As=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue/details"})},gs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue/status"})},fs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/release"})},Vs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/release"})},hs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/releaseprofile"})},Es=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/releaseprofile"})},bs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/releaseprofile/{id}"})},Os=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/releaseprofile/{id}"})},ws=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/releaseprofile/{id}"})},Ts=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/release/push"})},Is=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/remotepathmapping"})},Bs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/remotepathmapping"})},xs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/remotepathmapping/{id}"})},Rs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/remotepathmapping/{id}"})},Ds=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/remotepathmapping/{id}"})},Ps=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rename"})},H=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/rootfolder"})},q=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rootfolder"})},z=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/rootfolder/{id}"})},Gs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rootfolder/{id}"})},ks=(e)=>{return(e?.client??t).get({...e,url:"/content/{path}"})},vs=(e)=>{return(e?.client??t).get({...e,url:"/"})},Ss=(e)=>{return(e?.client??t).get({...e,url:"/{path}"})},W=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/status"})},Cs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/routes"})},Ms=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/routes/duplicate"})},Fs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/shutdown"})},Ls=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/restart"})},Ns=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag"})},$s=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/tag"})},Qs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/tag/{id}"})},js=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/tag/{id}"})},Us=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/{id}"})},Hs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/detail"})},qs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/detail/{id}"})},zs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/task"})},Ws=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/task/{id}"})},Ks=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/ui/{id}"})},Ys=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/ui/{id}"})},_s=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/ui"})},Xs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/update"})},Zs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/update"})},Js=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/update/{filename}"})};var re={};T(re,{putApiV5SettingsUpdate:()=>Sp,putApiV5SeriesById:()=>J,postLogin:()=>Op,postApiV5Series:()=>X,headPing:()=>xp,getPing:()=>Bp,getLogout:()=>Tp,getLogin:()=>wp,getContentByPath:()=>Dp,getByPath:()=>Gp,getApiV5Update:()=>kp,getApiV5SettingsUpdateById:()=>Cp,getApiV5SettingsUpdate:()=>vp,getApiV5SeriesLookup:()=>te,getApiV5SeriesByIdFolder:()=>Rp,getApiV5SeriesById:()=>Z,getApiV5Series:()=>_,getApiV5Log:()=>Ip,getApi:()=>Y,get:()=>Pp,deleteApiV5SeriesById:()=>ee,client:()=>c,UpdateSettingsResourceSchema:()=>bp,UpdateResourceSchema:()=>Ep,UpdateMechanismSchema:()=>hp,UpdateChangesSchema:()=>Vp,SortDirectionSchema:()=>fp,SeriesTypesSchema:()=>gp,SeriesStatusTypeSchema:()=>Ap,SeriesStatisticsResourceSchema:()=>mp,SeriesResourceSchema:()=>yp,SeasonStatisticsResourceSchema:()=>cp,SeasonResourceSchema:()=>dp,RatingsSchema:()=>up,PingResourceSchema:()=>lp,NewItemMonitorTypesSchema:()=>pp,MonitorTypesSchema:()=>sp,MediaCoverTypesSchema:()=>ap,MediaCoverSchema:()=>ip,LogResourceSchema:()=>op,LogResourcePagingResourceSchema:()=>np,LanguageSchema:()=>rp,AlternateTitleResourceSchema:()=>tp,AddSeriesOptionsSchema:()=>ep});var ep={type:"object",properties:{ignoreEpisodesWithFiles:{type:"boolean"},ignoreEpisodesWithoutFiles:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},searchForMissingEpisodes:{type:"boolean"},searchForCutoffUnmetEpisodes:{type:"boolean"}},additionalProperties:!1},tp={type:"object",properties:{title:{type:"string",nullable:!0},seasonNumber:{type:"integer",format:"int32",nullable:!0},sceneSeasonNumber:{type:"integer",format:"int32",nullable:!0},sceneOrigin:{type:"string",nullable:!0},comment:{type:"string",nullable:!0}},additionalProperties:!1},rp={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},op={required:["level","logger","message"],type:"object",properties:{id:{type:"integer",format:"int32"},time:{type:"string",format:"date-time"},exception:{type:"string",nullable:!0},exceptionType:{type:"string",nullable:!0},level:{type:"string",nullable:!0},logger:{type:"string",nullable:!0},message:{type:"string",nullable:!0}},additionalProperties:!1},np={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/LogResource"},nullable:!0}},additionalProperties:!1},ip={type:"object",properties:{coverType:{$ref:"#/components/schemas/MediaCoverTypes"},url:{type:"string",nullable:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},ap={enum:["unknown","poster","banner","fanart","screenshot","headshot","clearlogo"],type:"string"},sp={enum:["unknown","all","future","missing","existing","firstSeason","lastSeason","latestSeason","pilot","recent","monitorSpecials","unmonitorSpecials","none","skip"],type:"string"},pp={enum:["all","none"],type:"string"},lp={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},up={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"}},additionalProperties:!1},dp={type:"object",properties:{seasonNumber:{type:"integer",format:"int32"},monitored:{type:"boolean"},statistics:{$ref:"#/components/schemas/SeasonStatisticsResource"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0}},additionalProperties:!1},cp={type:"object",properties:{nextAiring:{type:"string",format:"date-time",nullable:!0},previousAiring:{type:"string",format:"date-time",nullable:!0},episodeFileCount:{type:"integer",format:"int32"},episodeCount:{type:"integer",format:"int32"},totalEpisodeCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},releaseGroups:{type:"array",items:{type:"string"},nullable:!0},percentOfEpisodes:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},yp={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},alternateTitles:{type:"array",items:{$ref:"#/components/schemas/AlternateTitleResource"},nullable:!0},sortTitle:{type:"string",nullable:!0},status:{$ref:"#/components/schemas/SeriesStatusType"},ended:{type:"boolean",readOnly:!0},profileName:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},nextAiring:{type:"string",format:"date-time",nullable:!0},previousAiring:{type:"string",format:"date-time",nullable:!0},network:{type:"string",nullable:!0},airTime:{type:"string",nullable:!0},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},originalLanguage:{$ref:"#/components/schemas/Language"},remotePoster:{type:"string",nullable:!0},seasons:{type:"array",items:{$ref:"#/components/schemas/SeasonResource"},nullable:!0},year:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32"},seasonFolder:{type:"boolean"},monitored:{type:"boolean"},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},useSceneNumbering:{type:"boolean"},runtime:{type:"integer",format:"int32"},tvdbId:{type:"integer",format:"int32"},tvRageId:{type:"integer",format:"int32"},tvMazeId:{type:"integer",format:"int32"},tmdbId:{type:"integer",format:"int32"},malIds:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},aniListIds:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},firstAired:{type:"string",format:"date-time",nullable:!0},lastAired:{type:"string",format:"date-time",nullable:!0},seriesType:{$ref:"#/components/schemas/SeriesTypes"},cleanTitle:{type:"string",nullable:!0},imdbId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},rootFolderPath:{type:"string",nullable:!0},folder:{type:"string",nullable:!0},certification:{type:"string",nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},added:{type:"string",format:"date-time"},addOptions:{$ref:"#/components/schemas/AddSeriesOptions"},ratings:{$ref:"#/components/schemas/Ratings"},statistics:{$ref:"#/components/schemas/SeriesStatisticsResource"},episodesChanged:{type:"boolean",nullable:!0}},additionalProperties:!1},mp={type:"object",properties:{seasonCount:{type:"integer",format:"int32"},episodeFileCount:{type:"integer",format:"int32"},episodeCount:{type:"integer",format:"int32"},totalEpisodeCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},releaseGroups:{type:"array",items:{type:"string"},nullable:!0},percentOfEpisodes:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},Ap={enum:["continuing","ended","upcoming","deleted"],type:"string"},gp={enum:["standard","daily","anime"],type:"string"},fp={enum:["default","ascending","descending"],type:"string"},Vp={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},hp={enum:["builtIn","script","external","apt","docker"],type:"string"},Ep={required:["branch","changes","fileName","hash","url","version"],type:"object",properties:{id:{type:"integer",format:"int32"},version:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},releaseDate:{type:"string",format:"date-time"},fileName:{type:"string",nullable:!0},url:{type:"string",nullable:!0},installed:{type:"boolean"},installedOn:{type:"string",format:"date-time",nullable:!0},installable:{type:"boolean"},latest:{type:"boolean"},changes:{$ref:"#/components/schemas/UpdateChanges"},hash:{type:"string",nullable:!0}},additionalProperties:!1},bp={type:"object",properties:{id:{type:"integer",format:"int32"},branch:{type:"string",nullable:!0},updateAutomatically:{type:"boolean"},updateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},updateScriptPath:{type:"string",nullable:!0}},additionalProperties:!1};var c=h(f()),Y=(e)=>{return(e?.client??c).get({...e,url:"/api"})},Op=(e)=>{return(e?.client??c).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},wp=(e)=>{return(e?.client??c).get({...e,url:"/login"})},Tp=(e)=>{return(e?.client??c).get({...e,url:"/logout"})},Ip=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/log"})},Bp=(e)=>{return(e?.client??c).get({...e,url:"/ping"})},xp=(e)=>{return(e?.client??c).head({...e,url:"/ping"})},_=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series"})},X=(e)=>{return(e?.client??c).post({...e,url:"/api/v5/series"})},Z=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/{id}"})},J=(e)=>{return(e?.client??c).put({...e,url:"/api/v5/series/{id}"})},ee=(e)=>{return(e?.client??c).delete({...e,url:"/api/v5/series/{id}"})},Rp=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/{id}/folder"})},te=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/lookup"})},Dp=(e)=>{return(e?.client??c).get({...e,url:"/content/{path}"})},Pp=(e)=>{return(e?.client??c).get({...e,url:"/"})},Gp=(e)=>{return(e?.client??c).get({...e,url:"/{path}"})},kp=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/update"})},vp=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/settings/update"})},Sp=(e)=>{return(e?.client??c).put({...e,url:"/api/v5/settings/update"})},Cp=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/settings/update/{id}"})};var fe={};T(fe,{putApiV1TrackfileEditor:()=>yA,putApiV1TrackfileById:()=>uA,putApiV1TagById:()=>Jm,putApiV1RootfolderById:()=>jm,putApiV1RemotepathmappingById:()=>Mm,putApiV1ReleaseprofileById:()=>Dm,putApiV1QualityprofileById:()=>gm,putApiV1QualitydefinitionUpdate:()=>cm,putApiV1QualitydefinitionById:()=>lm,putApiV1NotificationById:()=>Zy,putApiV1MetadataprofileById:()=>Ny,putApiV1MetadataById:()=>Ry,putApiV1IndexerById:()=>ey,putApiV1IndexerBulk:()=>ny,putApiV1ImportlistexclusionById:()=>Yc,putApiV1ImportlistById:()=>Lc,putApiV1ImportlistBulk:()=>jc,putApiV1DownloadclientById:()=>mc,putApiV1DownloadclientBulk:()=>Vc,putApiV1DelayprofileReorderById:()=>dc,putApiV1DelayprofileById:()=>lc,putApiV1CustomformatById:()=>Xd,putApiV1CustomformatBulk:()=>tc,putApiV1CustomfilterById:()=>zd,putApiV1ConfigUiById:()=>AA,putApiV1ConfigNamingById:()=>Ky,putApiV1ConfigMetadataproviderById:()=>Uy,putApiV1ConfigMediamanagementById:()=>Iy,putApiV1ConfigIndexerById:()=>dy,putApiV1ConfigHostById:()=>Cc,putApiV1ConfigDownloadclientById:()=>Ic,putApiV1AutotaggingById:()=>Rd,putApiV1ArtistEditor:()=>Od,putApiV1ArtistById:()=>ae,putApiV1AlbumMonitor:()=>Vd,putApiV1AlbumById:()=>gd,postLogin:()=>Td,postApiV1Tag:()=>rA,postApiV1SystemShutdown:()=>_m,postApiV1SystemRestart:()=>Xm,postApiV1SystemBackupRestoreUpload:()=>Md,postApiV1SystemBackupRestoreById:()=>Cd,postApiV1Rootfolder:()=>me,postApiV1Remotepathmapping:()=>Fm,postApiV1Releaseprofile:()=>km,postApiV1ReleasePush:()=>vm,postApiV1Release:()=>Bm,postApiV1QueueGrabById:()=>Om,postApiV1QueueGrabBulk:()=>wm,postApiV1Qualityprofile:()=>ym,postApiV1NotificationTestall:()=>nm,postApiV1NotificationTest:()=>om,postApiV1NotificationActionByName:()=>im,postApiV1Notification:()=>tm,postApiV1Metadataprofile:()=>My,postApiV1MetadataTestall:()=>Sy,postApiV1MetadataTest:()=>vy,postApiV1MetadataActionByName:()=>Cy,postApiV1Metadata:()=>Gy,postApiV1Manualimport:()=>Ey,postApiV1IndexerTestall:()=>py,postApiV1IndexerTest:()=>sy,postApiV1IndexerActionByName:()=>ly,postApiV1Indexer:()=>oy,postApiV1Importlistexclusion:()=>Zc,postApiV1ImportlistTestall:()=>zc,postApiV1ImportlistTest:()=>qc,postApiV1ImportlistActionByName:()=>Wc,postApiV1Importlist:()=>Qc,postApiV1HistoryFailedById:()=>vc,postApiV1DownloadclientTestall:()=>Oc,postApiV1DownloadclientTest:()=>bc,postApiV1DownloadclientActionByName:()=>wc,postApiV1Downloadclient:()=>fc,postApiV1Delayprofile:()=>ac,postApiV1Customformat:()=>ec,postApiV1Customfilter:()=>Yd,postApiV1Command:()=>de,postApiV1Autotagging:()=>Pd,postApiV1Artist:()=>le,postApiV1Albumstudio:()=>Ed,postApiV1Album:()=>Ad,headPing:()=>pm,getPing:()=>sm,getLogout:()=>Bd,getLogin:()=>Id,getFeedV1CalendarLidarrIcs:()=>jd,getContentByPath:()=>qm,getByPath:()=>Wm,getApiV1WantedMissingById:()=>zy,getApiV1WantedMissing:()=>qy,getApiV1WantedCutoffById:()=>ic,getApiV1WantedCutoff:()=>nc,getApiV1Update:()=>VA,getApiV1TrackfileById:()=>lA,getApiV1Trackfile:()=>cA,getApiV1TrackById:()=>pA,getApiV1Track:()=>sA,getApiV1TagDetailById:()=>oA,getApiV1TagDetail:()=>nA,getApiV1TagById:()=>Zm,getApiV1Tag:()=>tA,getApiV1SystemTaskById:()=>aA,getApiV1SystemTask:()=>iA,getApiV1SystemStatus:()=>ge,getApiV1SystemRoutesDuplicate:()=>Ym,getApiV1SystemRoutes:()=>Km,getApiV1SystemBackup:()=>vd,getApiV1Search:()=>Hm,getApiV1RootfolderById:()=>Qm,getApiV1Rootfolder:()=>Ae,getApiV1Retag:()=>$m,getApiV1Rename:()=>Nm,getApiV1RemotepathmappingById:()=>Sm,getApiV1Remotepathmapping:()=>Lm,getApiV1ReleaseprofileById:()=>Rm,getApiV1Releaseprofile:()=>Gm,getApiV1Release:()=>xm,getApiV1QueueStatus:()=>Im,getApiV1QueueDetails:()=>Tm,getApiV1Queue:()=>bm,getApiV1QualityprofileSchema:()=>Vm,getApiV1QualityprofileById:()=>fm,getApiV1Qualityprofile:()=>mm,getApiV1QualitydefinitionById:()=>um,getApiV1Qualitydefinition:()=>dm,getApiV1Parse:()=>am,getApiV1NotificationSchema:()=>rm,getApiV1NotificationById:()=>Xy,getApiV1Notification:()=>em,getApiV1MetadataprofileSchema:()=>Qy,getApiV1MetadataprofileById:()=>$y,getApiV1Metadataprofile:()=>Fy,getApiV1MetadataSchema:()=>ky,getApiV1MetadataById:()=>xy,getApiV1Metadata:()=>Py,getApiV1MediacoverArtistByArtistIdByFilename:()=>Oy,getApiV1MediacoverAlbumByAlbumIdByFilename:()=>wy,getApiV1Manualimport:()=>by,getApiV1LogFileUpdateByFilename:()=>EA,getApiV1LogFileUpdate:()=>hA,getApiV1LogFileByFilename:()=>hy,getApiV1LogFile:()=>Vy,getApiV1Log:()=>fy,getApiV1Localization:()=>gy,getApiV1LanguageById:()=>my,getApiV1Language:()=>Ay,getApiV1Indexerflag:()=>yy,getApiV1IndexerSchema:()=>ay,getApiV1IndexerById:()=>Jc,getApiV1Indexer:()=>ry,getApiV1ImportlistexclusionById:()=>Kc,getApiV1Importlistexclusion:()=>Xc,getApiV1ImportlistSchema:()=>Hc,getApiV1ImportlistById:()=>Fc,getApiV1Importlist:()=>$c,getApiV1HistorySince:()=>Gc,getApiV1HistoryArtist:()=>kc,getApiV1History:()=>Pc,getApiV1Health:()=>ye,getApiV1FilesystemType:()=>Rc,getApiV1FilesystemMediafiles:()=>Dc,getApiV1Filesystem:()=>xc,getApiV1DownloadclientSchema:()=>Ec,getApiV1DownloadclientById:()=>yc,getApiV1Downloadclient:()=>gc,getApiV1Diskspace:()=>cc,getApiV1DelayprofileById:()=>uc,getApiV1Delayprofile:()=>sc,getApiV1CustomformatSchema:()=>oc,getApiV1CustomformatById:()=>_d,getApiV1Customformat:()=>Jd,getApiV1CustomfilterById:()=>qd,getApiV1Customfilter:()=>Kd,getApiV1ConfigUiById:()=>gA,getApiV1ConfigUi:()=>fA,getApiV1ConfigNamingExamples:()=>_y,getApiV1ConfigNamingById:()=>Wy,getApiV1ConfigNaming:()=>Yy,getApiV1ConfigMetadataproviderById:()=>jy,getApiV1ConfigMetadataprovider:()=>Hy,getApiV1ConfigMediamanagementById:()=>Ty,getApiV1ConfigMediamanagement:()=>By,getApiV1ConfigIndexerById:()=>uy,getApiV1ConfigIndexer:()=>cy,getApiV1ConfigHostById:()=>Sc,getApiV1ConfigHost:()=>Mc,getApiV1ConfigDownloadclientById:()=>Tc,getApiV1ConfigDownloadclient:()=>Bc,getApiV1CommandById:()=>Ud,getApiV1Command:()=>ce,getApiV1CalendarById:()=>Qd,getApiV1Calendar:()=>$d,getApiV1Blocklist:()=>Fd,getApiV1AutotaggingSchema:()=>kd,getApiV1AutotaggingById:()=>xd,getApiV1Autotagging:()=>Gd,getApiV1ArtistLookup:()=>ue,getApiV1ArtistById:()=>ie,getApiV1Artist:()=>pe,getApiV1AlbumLookup:()=>hd,getApiV1AlbumById:()=>ne,getApiV1Album:()=>oe,getApi:()=>bd,get:()=>zm,deleteApiV1TrackfileById:()=>dA,deleteApiV1TrackfileBulk:()=>mA,deleteApiV1TagById:()=>eA,deleteApiV1SystemBackupById:()=>Sd,deleteApiV1RootfolderById:()=>Um,deleteApiV1RemotepathmappingById:()=>Cm,deleteApiV1ReleaseprofileById:()=>Pm,deleteApiV1QueueById:()=>hm,deleteApiV1QueueBulk:()=>Em,deleteApiV1QualityprofileById:()=>Am,deleteApiV1NotificationById:()=>Jy,deleteApiV1MetadataprofileById:()=>Ly,deleteApiV1MetadataById:()=>Dy,deleteApiV1IndexerById:()=>ty,deleteApiV1IndexerBulk:()=>iy,deleteApiV1ImportlistexclusionById:()=>_c,deleteApiV1ImportlistById:()=>Nc,deleteApiV1ImportlistBulk:()=>Uc,deleteApiV1DownloadclientById:()=>Ac,deleteApiV1DownloadclientBulk:()=>hc,deleteApiV1DelayprofileById:()=>pc,deleteApiV1CustomformatById:()=>Zd,deleteApiV1CustomformatBulk:()=>rc,deleteApiV1CustomfilterById:()=>Wd,deleteApiV1CommandById:()=>Hd,deleteApiV1BlocklistById:()=>Ld,deleteApiV1BlocklistBulk:()=>Nd,deleteApiV1AutotaggingById:()=>Dd,deleteApiV1ArtistEditor:()=>wd,deleteApiV1ArtistById:()=>se,deleteApiV1AlbumById:()=>fd,client:()=>r,WriteAudioTagsTypeSchema:()=>md,UpdateResourceSchema:()=>yd,UpdateMechanismSchema:()=>cd,UpdateChangesSchema:()=>dd,UiConfigResourceSchema:()=>ud,TrackedDownloadStatusSchema:()=>pd,TrackedDownloadStatusMessageSchema:()=>ld,TrackedDownloadStateSchema:()=>sd,TrackResourceSchema:()=>ad,TrackFileResourceSchema:()=>id,TrackFileListResourceSchema:()=>nd,TaskResourceSchema:()=>od,TagResourceSchema:()=>rd,TagDifferenceSchema:()=>td,TagDetailsResourceSchema:()=>ed,SystemResourceSchema:()=>Ju,SortDirectionSchema:()=>Zu,SelectOptionSchema:()=>Xu,SecondaryAlbumTypeSchema:()=>_u,SearchResourceSchema:()=>Yu,RuntimeModeSchema:()=>Ku,RootFolderResourceSchema:()=>Wu,RevisionSchema:()=>zu,RetagTrackResourceSchema:()=>qu,RescanAfterRefreshTypeSchema:()=>Hu,RenameTrackResourceSchema:()=>Uu,RemotePathMappingResourceSchema:()=>ju,ReleaseStatusSchema:()=>Qu,ReleaseResourceSchema:()=>$u,ReleaseProfileResourceSchema:()=>Nu,RejectionTypeSchema:()=>Lu,RejectionSchema:()=>Fu,RatingsSchema:()=>Mu,QueueStatusResourceSchema:()=>Cu,QueueResourceSchema:()=>vu,QueueResourcePagingResourceSchema:()=>Su,QueueBulkResourceSchema:()=>ku,QualitySchema:()=>xu,QualityProfileResourceSchema:()=>Gu,QualityProfileQualityItemResourceSchema:()=>Pu,QualityModelSchema:()=>Du,QualityDefinitionResourceSchema:()=>Ru,ProxyTypeSchema:()=>Bu,ProviderMessageTypeSchema:()=>Iu,ProviderMessageSchema:()=>Tu,ProperDownloadTypesSchema:()=>wu,ProfileSecondaryAlbumTypeItemResourceSchema:()=>Ou,ProfileReleaseStatusItemResourceSchema:()=>bu,ProfilePrimaryAlbumTypeItemResourceSchema:()=>Eu,ProfileFormatItemResourceSchema:()=>hu,PrivacyLevelSchema:()=>Vu,PrimaryAlbumTypeSchema:()=>fu,PingResourceSchema:()=>gu,ParsedTrackInfoSchema:()=>Au,ParsedAlbumInfoSchema:()=>mu,ParseResourceSchema:()=>yu,NotificationResourceSchema:()=>cu,NewItemMonitorTypesSchema:()=>du,NamingConfigResourceSchema:()=>uu,MonitoringOptionsSchema:()=>lu,MonitorTypesSchema:()=>pu,MetadataResourceSchema:()=>su,MetadataProviderConfigResourceSchema:()=>au,MetadataProfileResourceSchema:()=>iu,MemberSchema:()=>nu,MediumResourceSchema:()=>ou,MediaManagementConfigResourceSchema:()=>ru,MediaInfoResourceSchema:()=>tu,MediaInfoModelSchema:()=>eu,MediaCoverTypesSchema:()=>Jl,MediaCoverSchema:()=>Zl,ManualImportUpdateResourceSchema:()=>Xl,ManualImportResourceSchema:()=>_l,LogResourceSchema:()=>Kl,LogResourcePagingResourceSchema:()=>Yl,LogFileResourceSchema:()=>Wl,LocalizationResourceSchema:()=>zl,LinksSchema:()=>ql,LanguageResourceSchema:()=>Hl,IsoCountrySchema:()=>Ul,IndexerResourceSchema:()=>jl,IndexerFlagResourceSchema:()=>Ql,IndexerConfigResourceSchema:()=>$l,IndexerBulkResourceSchema:()=>Nl,ImportListTypeSchema:()=>Ll,ImportListResourceSchema:()=>Fl,ImportListMonitorTypeSchema:()=>Ml,ImportListExclusionResourceSchema:()=>Cl,ImportListBulkResourceSchema:()=>Sl,HostConfigResourceSchema:()=>vl,HistoryResourceSchema:()=>Gl,HistoryResourcePagingResourceSchema:()=>kl,HealthResourceSchema:()=>Pl,HealthCheckResultSchema:()=>Dl,FileDateTypeSchema:()=>Rl,FieldSchema:()=>xl,EntityHistoryEventTypeSchema:()=>Bl,DownloadProtocolSchema:()=>Il,DownloadClientResourceSchema:()=>Tl,DownloadClientConfigResourceSchema:()=>wl,DownloadClientBulkResourceSchema:()=>Ol,DiskSpaceResourceSchema:()=>bl,DelayProfileResourceSchema:()=>El,DatabaseTypeSchema:()=>hl,CustomFormatSpecificationSchemaSchema:()=>Vl,CustomFormatResourceSchema:()=>fl,CustomFormatBulkResourceSchema:()=>gl,CustomFilterResourceSchema:()=>Al,CommandTriggerSchema:()=>ml,CommandStatusSchema:()=>yl,CommandSchema:()=>ll,CommandResultSchema:()=>cl,CommandResourceSchema:()=>dl,CommandPrioritySchema:()=>ul,CertificateValidationTypeSchema:()=>pl,BlocklistResourceSchema:()=>al,BlocklistResourcePagingResourceSchema:()=>sl,BlocklistBulkResourceSchema:()=>il,BackupTypeSchema:()=>nl,BackupResourceSchema:()=>ol,AutoTaggingSpecificationSchemaSchema:()=>rl,AutoTaggingResourceSchema:()=>tl,AuthenticationTypeSchema:()=>el,AuthenticationRequiredTypeSchema:()=>Jp,ArtistTitleInfoSchema:()=>Zp,ArtistStatusTypeSchema:()=>Xp,ArtistStatisticsResourceSchema:()=>_p,ArtistResourceSchema:()=>Yp,ArtistEditorResourceSchema:()=>Kp,ApplyTagsSchema:()=>Wp,AllowFingerprintingSchema:()=>zp,AlbumsMonitoredResourceSchema:()=>qp,AlbumStudioResourceSchema:()=>Hp,AlbumStudioArtistResourceSchema:()=>Up,AlbumStatisticsResourceSchema:()=>jp,AlbumResourceSchema:()=>$p,AlbumResourcePagingResourceSchema:()=>Qp,AlbumReleaseResourceSchema:()=>Np,AlbumAddTypeSchema:()=>Lp,AddArtistOptionsSchema:()=>Fp,AddAlbumOptionsSchema:()=>Mp});var Mp={type:"object",properties:{addType:{$ref:"#/components/schemas/AlbumAddType"},searchForNewAlbum:{type:"boolean"}},additionalProperties:!1},Fp={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},albumsToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"},searchForMissingAlbums:{type:"boolean"}},additionalProperties:!1},Lp={enum:["automatic","manual"],type:"string"},Np={type:"object",properties:{id:{type:"integer",format:"int32"},albumId:{type:"integer",format:"int32"},foreignReleaseId:{type:"string",nullable:!0},title:{type:"string",nullable:!0},status:{type:"string",nullable:!0},duration:{type:"integer",format:"int32"},trackCount:{type:"integer",format:"int32"},media:{type:"array",items:{$ref:"#/components/schemas/MediumResource"},nullable:!0},mediumCount:{type:"integer",format:"int32",readOnly:!0},disambiguation:{type:"string",nullable:!0},country:{type:"array",items:{type:"string"},nullable:!0},label:{type:"array",items:{type:"string"},nullable:!0},format:{type:"string",nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},$p={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},artistId:{type:"integer",format:"int32"},foreignAlbumId:{type:"string",nullable:!0},monitored:{type:"boolean"},anyReleaseOk:{type:"boolean"},profileId:{type:"integer",format:"int32"},duration:{type:"integer",format:"int32"},albumType:{type:"string",nullable:!0},secondaryTypes:{type:"array",items:{type:"string"},nullable:!0},mediumCount:{type:"integer",format:"int32",readOnly:!0},ratings:{$ref:"#/components/schemas/Ratings"},releaseDate:{type:"string",format:"date-time",nullable:!0},releases:{type:"array",items:{$ref:"#/components/schemas/AlbumReleaseResource"},nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},media:{type:"array",items:{$ref:"#/components/schemas/MediumResource"},nullable:!0},artist:{$ref:"#/components/schemas/ArtistResource"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},lastSearchTime:{type:"string",format:"date-time",nullable:!0},statistics:{$ref:"#/components/schemas/AlbumStatisticsResource"},addOptions:{$ref:"#/components/schemas/AddAlbumOptions"},remoteCover:{type:"string",nullable:!0}},additionalProperties:!1},Qp={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/AlbumResource"},nullable:!0}},additionalProperties:!1},jp={type:"object",properties:{trackFileCount:{type:"integer",format:"int32"},trackCount:{type:"integer",format:"int32"},totalTrackCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},percentOfTracks:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},Up={type:"object",properties:{id:{type:"integer",format:"int32"},monitored:{type:"boolean",nullable:!0},albums:{type:"array",items:{$ref:"#/components/schemas/AlbumResource"},nullable:!0}},additionalProperties:!1},Hp={type:"object",properties:{artist:{type:"array",items:{$ref:"#/components/schemas/AlbumStudioArtistResource"},nullable:!0},monitoringOptions:{$ref:"#/components/schemas/MonitoringOptions"},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"}},additionalProperties:!1},qp={type:"object",properties:{albumIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},zp={enum:["never","newFiles","allFiles"],type:"string"},Wp={enum:["add","remove","replace"],type:"string"},Kp={type:"object",properties:{artistIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean",nullable:!0},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},qualityProfileId:{type:"integer",format:"int32",nullable:!0},metadataProfileId:{type:"integer",format:"int32",nullable:!0},rootFolderPath:{type:"string",nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},moveFiles:{type:"boolean"},deleteFiles:{type:"boolean"},addImportListExclusion:{type:"boolean"}},additionalProperties:!1},Yp={type:"object",properties:{id:{type:"integer",format:"int32"},status:{$ref:"#/components/schemas/ArtistStatusType"},ended:{type:"boolean",readOnly:!0},artistName:{type:"string",nullable:!0},foreignArtistId:{type:"string",nullable:!0},mbId:{type:"string",nullable:!0},tadbId:{type:"integer",format:"int32"},discogsId:{type:"integer",format:"int32"},allMusicId:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},artistType:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},nextAlbum:{$ref:"#/components/schemas/AlbumResource"},lastAlbum:{$ref:"#/components/schemas/AlbumResource"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},members:{type:"array",items:{$ref:"#/components/schemas/Member"},nullable:!0},remotePoster:{type:"string",nullable:!0},path:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32"},metadataProfileId:{type:"integer",format:"int32"},monitored:{type:"boolean"},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},rootFolderPath:{type:"string",nullable:!0},folder:{type:"string",nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},cleanName:{type:"string",nullable:!0},sortName:{type:"string",nullable:!0},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},added:{type:"string",format:"date-time"},addOptions:{$ref:"#/components/schemas/AddArtistOptions"},ratings:{$ref:"#/components/schemas/Ratings"},statistics:{$ref:"#/components/schemas/ArtistStatisticsResource"}},additionalProperties:!1},_p={type:"object",properties:{albumCount:{type:"integer",format:"int32"},trackFileCount:{type:"integer",format:"int32"},trackCount:{type:"integer",format:"int32"},totalTrackCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},percentOfTracks:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},Xp={enum:["continuing","ended"],type:"string"},Zp={type:"object",properties:{title:{type:"string",nullable:!0},titleWithoutYear:{type:"string",nullable:!0},year:{type:"integer",format:"int32"}},additionalProperties:!1},Jp={enum:["enabled","disabledForLocalAddresses"],type:"string"},el={enum:["none","basic","forms","external"],type:"string"},tl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},removeTagsAutomatically:{type:"boolean"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},specifications:{type:"array",items:{$ref:"#/components/schemas/AutoTaggingSpecificationSchema"},nullable:!0}},additionalProperties:!1},rl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},implementationName:{type:"string",nullable:!0},negate:{type:"boolean"},required:{type:"boolean"},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0}},additionalProperties:!1},ol={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/BackupType"},size:{type:"integer",format:"int64"},time:{type:"string",format:"date-time"}},additionalProperties:!1},nl={enum:["scheduled","manual","update"],type:"string"},il={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},al={type:"object",properties:{id:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32"},albumIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},sourceTitle:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},date:{type:"string",format:"date-time"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},indexer:{type:"string",nullable:!0},message:{type:"string",nullable:!0},artist:{$ref:"#/components/schemas/ArtistResource"}},additionalProperties:!1},sl={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/BlocklistResource"},nullable:!0}},additionalProperties:!1},pl={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},ll={type:"object",properties:{sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean",readOnly:!0},completionMessage:{type:"string",nullable:!0,readOnly:!0},requiresDiskAccess:{type:"boolean",readOnly:!0},isExclusive:{type:"boolean",readOnly:!0},isTypeExclusive:{type:"boolean",readOnly:!0},isLongRunning:{type:"boolean",readOnly:!0},name:{type:"string",nullable:!0,readOnly:!0},lastExecutionTime:{type:"string",format:"date-time",nullable:!0},lastStartTime:{type:"string",format:"date-time",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},suppressMessages:{type:"boolean"},clientUserAgent:{type:"string",nullable:!0}},additionalProperties:!1},ul={enum:["normal","high","low"],type:"string"},dl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},commandName:{type:"string",nullable:!0},message:{type:"string",nullable:!0},body:{$ref:"#/components/schemas/Command"},priority:{$ref:"#/components/schemas/CommandPriority"},status:{$ref:"#/components/schemas/CommandStatus"},result:{$ref:"#/components/schemas/CommandResult"},queued:{type:"string",format:"date-time"},started:{type:"string",format:"date-time",nullable:!0},ended:{type:"string",format:"date-time",nullable:!0},duration:{type:"string",format:"date-span",nullable:!0},exception:{type:"string",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},clientUserAgent:{type:"string",nullable:!0},stateChangeTime:{type:"string",format:"date-time",nullable:!0},sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean"},lastExecutionTime:{type:"string",format:"date-time",nullable:!0}},additionalProperties:!1},cl={enum:["unknown","successful","unsuccessful"],type:"string"},yl={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},ml={enum:["unspecified","manual","scheduled"],type:"string"},Al={type:"object",properties:{id:{type:"integer",format:"int32"},type:{type:"string",nullable:!0},label:{type:"string",nullable:!0},filters:{type:"array",items:{type:"object",additionalProperties:{}},nullable:!0}},additionalProperties:!1},gl={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0}},additionalProperties:!1},fl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0},specifications:{type:"array",items:{$ref:"#/components/schemas/CustomFormatSpecificationSchema"},nullable:!0}},additionalProperties:!1},Vl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},implementationName:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},negate:{type:"boolean"},required:{type:"boolean"},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/CustomFormatSpecificationSchema"},nullable:!0}},additionalProperties:!1},hl={enum:["sqLite","postgreSQL"],type:"string"},El={type:"object",properties:{id:{type:"integer",format:"int32"},enableUsenet:{type:"boolean"},enableTorrent:{type:"boolean"},preferredProtocol:{$ref:"#/components/schemas/DownloadProtocol"},usenetDelay:{type:"integer",format:"int32"},torrentDelay:{type:"integer",format:"int32"},bypassIfHighestQuality:{type:"boolean"},bypassIfAboveCustomFormatScore:{type:"boolean"},minimumCustomFormatScore:{type:"integer",format:"int32"},order:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},bl={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},label:{type:"string",nullable:!0},freeSpace:{type:"integer",format:"int64"},totalSpace:{type:"integer",format:"int64"}},additionalProperties:!1},Ol={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enable:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0},removeCompletedDownloads:{type:"boolean",nullable:!0},removeFailedDownloads:{type:"boolean",nullable:!0}},additionalProperties:!1},wl={type:"object",properties:{id:{type:"integer",format:"int32"},downloadClientWorkingFolders:{type:"string",nullable:!0},enableCompletedDownloadHandling:{type:"boolean"},autoRedownloadFailed:{type:"boolean"},autoRedownloadFailedFromInteractiveSearch:{type:"boolean"}},additionalProperties:!1},Tl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/DownloadClientResource"},nullable:!0},enable:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},removeCompletedDownloads:{type:"boolean"},removeFailedDownloads:{type:"boolean"}},additionalProperties:!1},Il={enum:["unknown","usenet","torrent"],type:"string"},Bl={enum:["unknown","grabbed","artistFolderImported","trackFileImported","downloadFailed","trackFileDeleted","trackFileRenamed","albumImportIncomplete","downloadImported","trackFileRetagged","downloadIgnored"],type:"string"},xl={type:"object",properties:{order:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},label:{type:"string",nullable:!0},unit:{type:"string",nullable:!0},helpText:{type:"string",nullable:!0},helpTextWarning:{type:"string",nullable:!0},helpLink:{type:"string",nullable:!0},value:{nullable:!0},type:{type:"string",nullable:!0},advanced:{type:"boolean"},selectOptions:{type:"array",items:{$ref:"#/components/schemas/SelectOption"},nullable:!0},selectOptionsProviderAction:{type:"string",nullable:!0},section:{type:"string",nullable:!0},hidden:{type:"string",nullable:!0},privacy:{$ref:"#/components/schemas/PrivacyLevel"},placeholder:{type:"string",nullable:!0},isFloat:{type:"boolean"}},additionalProperties:!1},Rl={enum:["none","albumReleaseDate"],type:"string"},Dl={enum:["ok","notice","warning","error"],type:"string"},Pl={type:"object",properties:{id:{type:"integer",format:"int32"},source:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/HealthCheckResult"},message:{type:"string",nullable:!0},wikiUrl:{type:"string",nullable:!0}},additionalProperties:!1},Gl={type:"object",properties:{id:{type:"integer",format:"int32"},albumId:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32"},trackId:{type:"integer",format:"int32"},sourceTitle:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},qualityCutoffNotMet:{type:"boolean"},date:{type:"string",format:"date-time"},downloadId:{type:"string",nullable:!0},eventType:{$ref:"#/components/schemas/EntityHistoryEventType"},data:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0},album:{$ref:"#/components/schemas/AlbumResource"},artist:{$ref:"#/components/schemas/ArtistResource"},track:{$ref:"#/components/schemas/TrackResource"}},additionalProperties:!1},kl={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/HistoryResource"},nullable:!0}},additionalProperties:!1},vl={type:"object",properties:{id:{type:"integer",format:"int32"},bindAddress:{type:"string",nullable:!0},port:{type:"integer",format:"int32"},sslPort:{type:"integer",format:"int32"},enableSsl:{type:"boolean"},launchBrowser:{type:"boolean"},authenticationMethod:{$ref:"#/components/schemas/AuthenticationType"},authenticationRequired:{$ref:"#/components/schemas/AuthenticationRequiredType"},analyticsEnabled:{type:"boolean"},username:{type:"string",nullable:!0},password:{type:"string",nullable:!0},passwordConfirmation:{type:"string",nullable:!0},logLevel:{type:"string",nullable:!0},logSizeLimit:{type:"integer",format:"int32"},consoleLogLevel:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},apiKey:{type:"string",nullable:!0},sslCertPath:{type:"string",nullable:!0},sslCertPassword:{type:"string",nullable:!0},urlBase:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},applicationUrl:{type:"string",nullable:!0},updateAutomatically:{type:"boolean"},updateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},updateScriptPath:{type:"string",nullable:!0},proxyEnabled:{type:"boolean"},proxyType:{$ref:"#/components/schemas/ProxyType"},proxyHostname:{type:"string",nullable:!0},proxyPort:{type:"integer",format:"int32"},proxyUsername:{type:"string",nullable:!0},proxyPassword:{type:"string",nullable:!0},proxyBypassFilter:{type:"string",nullable:!0},proxyBypassLocalAddresses:{type:"boolean"},certificateValidation:{$ref:"#/components/schemas/CertificateValidationType"},backupFolder:{type:"string",nullable:!0},backupInterval:{type:"integer",format:"int32"},backupRetention:{type:"integer",format:"int32"},trustCgnatIpAddresses:{type:"boolean"}},additionalProperties:!1},Sl={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enableAutomaticAdd:{type:"boolean",nullable:!0},rootFolderPath:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},Cl={type:"object",properties:{id:{type:"integer",format:"int32"},foreignId:{type:"string",nullable:!0},artistName:{type:"string",nullable:!0}},additionalProperties:!1},Ml={enum:["none","specificAlbum","entireArtist"],type:"string"},Fl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/ImportListResource"},nullable:!0},enableAutomaticAdd:{type:"boolean"},shouldMonitor:{$ref:"#/components/schemas/ImportListMonitorType"},shouldMonitorExisting:{type:"boolean"},shouldSearch:{type:"boolean"},rootFolderPath:{type:"string",nullable:!0},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},qualityProfileId:{type:"integer",format:"int32"},metadataProfileId:{type:"integer",format:"int32"},listType:{$ref:"#/components/schemas/ImportListType"},listOrder:{type:"integer",format:"int32"},minRefreshInterval:{type:"string",format:"date-span"}},additionalProperties:!1},Ll={enum:["program","spotify","lastFm","other","advanced"],type:"string"},Nl={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enableRss:{type:"boolean",nullable:!0},enableAutomaticSearch:{type:"boolean",nullable:!0},enableInteractiveSearch:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},$l={type:"object",properties:{id:{type:"integer",format:"int32"},minimumAge:{type:"integer",format:"int32"},maximumSize:{type:"integer",format:"int32"},retention:{type:"integer",format:"int32"},rssSyncInterval:{type:"integer",format:"int32"}},additionalProperties:!1},Ql={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},jl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/IndexerResource"},nullable:!0},enableRss:{type:"boolean"},enableAutomaticSearch:{type:"boolean"},enableInteractiveSearch:{type:"boolean"},supportsRss:{type:"boolean"},supportsSearch:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},downloadClientId:{type:"integer",format:"int32"}},additionalProperties:!1},Ul={type:"object",properties:{twoLetterCode:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},Hl={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},ql={type:"object",properties:{url:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},zl={type:"object",properties:{id:{type:"integer",format:"int32"},strings:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0}},additionalProperties:!1},Wl={type:"object",properties:{id:{type:"integer",format:"int32"},filename:{type:"string",nullable:!0},lastWriteTime:{type:"string",format:"date-time"},contentsUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0}},additionalProperties:!1},Kl={type:"object",properties:{id:{type:"integer",format:"int32"},time:{type:"string",format:"date-time"},exception:{type:"string",nullable:!0},exceptionType:{type:"string",nullable:!0},level:{type:"string",nullable:!0},logger:{type:"string",nullable:!0},message:{type:"string",nullable:!0},method:{type:"string",nullable:!0}},additionalProperties:!1},Yl={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/LogResource"},nullable:!0}},additionalProperties:!1},_l={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},name:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},artist:{$ref:"#/components/schemas/ArtistResource"},album:{$ref:"#/components/schemas/AlbumResource"},albumReleaseId:{type:"integer",format:"int32"},tracks:{type:"array",items:{$ref:"#/components/schemas/TrackResource"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},releaseGroup:{type:"string",nullable:!0},qualityWeight:{type:"integer",format:"int32"},downloadId:{type:"string",nullable:!0},indexerFlags:{type:"integer",format:"int32"},rejections:{type:"array",items:{$ref:"#/components/schemas/Rejection"},nullable:!0},audioTags:{$ref:"#/components/schemas/ParsedTrackInfo"},additionalFile:{type:"boolean"},replaceExistingFiles:{type:"boolean"},disableReleaseSwitching:{type:"boolean"}},additionalProperties:!1},Xl={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},name:{type:"string",nullable:!0},artistId:{type:"integer",format:"int32",nullable:!0},albumId:{type:"integer",format:"int32",nullable:!0},albumReleaseId:{type:"integer",format:"int32",nullable:!0},tracks:{type:"array",items:{$ref:"#/components/schemas/TrackResource"},nullable:!0},trackIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},releaseGroup:{type:"string",nullable:!0},indexerFlags:{type:"integer",format:"int32"},downloadId:{type:"string",nullable:!0},additionalFile:{type:"boolean"},replaceExistingFiles:{type:"boolean"},disableReleaseSwitching:{type:"boolean"},rejections:{type:"array",items:{$ref:"#/components/schemas/Rejection"},nullable:!0}},additionalProperties:!1},Zl={type:"object",properties:{url:{type:"string",nullable:!0},coverType:{$ref:"#/components/schemas/MediaCoverTypes"},extension:{type:"string",nullable:!0,readOnly:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},Jl={enum:["unknown","poster","banner","fanart","screenshot","headshot","cover","disc","logo","clearlogo"],type:"string"},eu={type:"object",properties:{audioFormat:{type:"string",nullable:!0},audioBitrate:{type:"integer",format:"int32"},audioChannels:{type:"integer",format:"int32"},audioBits:{type:"integer",format:"int32"},audioSampleRate:{type:"integer",format:"int32"}},additionalProperties:!1},tu={type:"object",properties:{id:{type:"integer",format:"int32"},audioChannels:{type:"number",format:"double"},audioBitRate:{type:"string",nullable:!0},audioCodec:{type:"string",nullable:!0},audioBits:{type:"string",nullable:!0},audioSampleRate:{type:"string",nullable:!0}},additionalProperties:!1},ru={type:"object",properties:{id:{type:"integer",format:"int32"},autoUnmonitorPreviouslyDownloadedTracks:{type:"boolean"},recycleBin:{type:"string",nullable:!0},recycleBinCleanupDays:{type:"integer",format:"int32"},downloadPropersAndRepacks:{$ref:"#/components/schemas/ProperDownloadTypes"},createEmptyArtistFolders:{type:"boolean"},deleteEmptyFolders:{type:"boolean"},fileDate:{$ref:"#/components/schemas/FileDateType"},watchLibraryForChanges:{type:"boolean"},rescanAfterRefresh:{$ref:"#/components/schemas/RescanAfterRefreshType"},allowFingerprinting:{$ref:"#/components/schemas/AllowFingerprinting"},setPermissionsLinux:{type:"boolean"},chmodFolder:{type:"string",nullable:!0},chownGroup:{type:"string",nullable:!0},skipFreeSpaceCheckWhenImporting:{type:"boolean"},minimumFreeSpaceWhenImporting:{type:"integer",format:"int32"},copyUsingHardlinks:{type:"boolean"},importExtraFiles:{type:"boolean"},extraFileExtensions:{type:"string",nullable:!0}},additionalProperties:!1},ou={type:"object",properties:{mediumNumber:{type:"integer",format:"int32"},mediumName:{type:"string",nullable:!0},mediumFormat:{type:"string",nullable:!0}},additionalProperties:!1},nu={type:"object",properties:{name:{type:"string",nullable:!0},instrument:{type:"string",nullable:!0},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0}},additionalProperties:!1},iu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},primaryAlbumTypes:{type:"array",items:{$ref:"#/components/schemas/ProfilePrimaryAlbumTypeItemResource"},nullable:!0},secondaryAlbumTypes:{type:"array",items:{$ref:"#/components/schemas/ProfileSecondaryAlbumTypeItemResource"},nullable:!0},releaseStatuses:{type:"array",items:{$ref:"#/components/schemas/ProfileReleaseStatusItemResource"},nullable:!0}},additionalProperties:!1},au={type:"object",properties:{id:{type:"integer",format:"int32"},metadataSource:{type:"string",nullable:!0},writeAudioTags:{$ref:"#/components/schemas/WriteAudioTagsType"},scrubAudioTags:{type:"boolean"},embedCoverArt:{type:"boolean"}},additionalProperties:!1},su={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/MetadataResource"},nullable:!0},enable:{type:"boolean"}},additionalProperties:!1},pu={enum:["all","future","missing","existing","latest","first","none","unknown"],type:"string"},lu={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},albumsToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},uu={type:"object",properties:{id:{type:"integer",format:"int32"},renameTracks:{type:"boolean"},replaceIllegalCharacters:{type:"boolean"},colonReplacementFormat:{type:"integer",format:"int32"},standardTrackFormat:{type:"string",nullable:!0},multiDiscTrackFormat:{type:"string",nullable:!0},artistFolderFormat:{type:"string",nullable:!0},includeArtistName:{type:"boolean"},includeAlbumTitle:{type:"boolean"},includeQuality:{type:"boolean"},replaceSpaces:{type:"boolean"},separator:{type:"string",nullable:!0},numberStyle:{type:"string",nullable:!0}},additionalProperties:!1},du={enum:["all","none","new"],type:"string"},cu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/NotificationResource"},nullable:!0},link:{type:"string",nullable:!0},onGrab:{type:"boolean"},onReleaseImport:{type:"boolean"},onUpgrade:{type:"boolean"},onRename:{type:"boolean"},onArtistAdd:{type:"boolean"},onArtistDelete:{type:"boolean"},onAlbumDelete:{type:"boolean"},onHealthIssue:{type:"boolean"},onHealthRestored:{type:"boolean"},onDownloadFailure:{type:"boolean"},onImportFailure:{type:"boolean"},onTrackRetag:{type:"boolean"},onApplicationUpdate:{type:"boolean"},supportsOnGrab:{type:"boolean"},supportsOnReleaseImport:{type:"boolean"},supportsOnUpgrade:{type:"boolean"},supportsOnRename:{type:"boolean"},supportsOnArtistAdd:{type:"boolean"},supportsOnArtistDelete:{type:"boolean"},supportsOnAlbumDelete:{type:"boolean"},supportsOnHealthIssue:{type:"boolean"},supportsOnHealthRestored:{type:"boolean"},includeHealthWarnings:{type:"boolean"},supportsOnDownloadFailure:{type:"boolean"},supportsOnImportFailure:{type:"boolean"},supportsOnTrackRetag:{type:"boolean"},supportsOnApplicationUpdate:{type:"boolean"},testCommand:{type:"string",nullable:!0}},additionalProperties:!1},yu={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},parsedAlbumInfo:{$ref:"#/components/schemas/ParsedAlbumInfo"},artist:{$ref:"#/components/schemas/ArtistResource"},albums:{type:"array",items:{$ref:"#/components/schemas/AlbumResource"},nullable:!0},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"}},additionalProperties:!1},mu={type:"object",properties:{releaseTitle:{type:"string",nullable:!0},albumTitle:{type:"string",nullable:!0},artistName:{type:"string",nullable:!0},albumType:{type:"string",nullable:!0},artistTitleInfo:{$ref:"#/components/schemas/ArtistTitleInfo"},quality:{$ref:"#/components/schemas/QualityModel"},releaseDate:{type:"string",nullable:!0},discography:{type:"boolean"},discographyStart:{type:"integer",format:"int32"},discographyEnd:{type:"integer",format:"int32"},releaseGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},releaseVersion:{type:"string",nullable:!0}},additionalProperties:!1},Au={type:"object",properties:{title:{type:"string",nullable:!0},cleanTitle:{type:"string",nullable:!0},artistTitle:{type:"string",nullable:!0},albumTitle:{type:"string",nullable:!0},artistTitleInfo:{$ref:"#/components/schemas/ArtistTitleInfo"},artistMBId:{type:"string",nullable:!0},albumMBId:{type:"string",nullable:!0},releaseMBId:{type:"string",nullable:!0},recordingMBId:{type:"string",nullable:!0},trackMBId:{type:"string",nullable:!0},discNumber:{type:"integer",format:"int32"},discCount:{type:"integer",format:"int32"},country:{$ref:"#/components/schemas/IsoCountry"},year:{type:"integer",format:"int32"},label:{type:"string",nullable:!0},catalogNumber:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},duration:{type:"string",format:"date-span"},quality:{$ref:"#/components/schemas/QualityModel"},mediaInfo:{$ref:"#/components/schemas/MediaInfoModel"},trackNumbers:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},releaseGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0}},additionalProperties:!1},gu={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},fu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Vu={enum:["normal","password","apiKey","userName"],type:"string"},hu={type:"object",properties:{id:{type:"integer",format:"int32"},format:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},score:{type:"integer",format:"int32"}},additionalProperties:!1},Eu={type:"object",properties:{id:{type:"integer",format:"int32"},albumType:{$ref:"#/components/schemas/PrimaryAlbumType"},allowed:{type:"boolean"}},additionalProperties:!1},bu={type:"object",properties:{id:{type:"integer",format:"int32"},releaseStatus:{$ref:"#/components/schemas/ReleaseStatus"},allowed:{type:"boolean"}},additionalProperties:!1},Ou={type:"object",properties:{id:{type:"integer",format:"int32"},albumType:{$ref:"#/components/schemas/SecondaryAlbumType"},allowed:{type:"boolean"}},additionalProperties:!1},wu={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},Tu={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},Iu={enum:["info","warning","error"],type:"string"},Bu={enum:["http","socks4","socks5"],type:"string"},xu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Ru={type:"object",properties:{id:{type:"integer",format:"int32"},quality:{$ref:"#/components/schemas/Quality"},title:{type:"string",nullable:!0},weight:{type:"integer",format:"int32"},minSize:{type:"number",format:"double",nullable:!0},maxSize:{type:"number",format:"double",nullable:!0},preferredSize:{type:"number",format:"double",nullable:!0}},additionalProperties:!1},Du={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},Pu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/Quality"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItemResource"},nullable:!0},allowed:{type:"boolean"}},additionalProperties:!1},Gu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},upgradeAllowed:{type:"boolean"},cutoff:{type:"integer",format:"int32"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItemResource"},nullable:!0},minFormatScore:{type:"integer",format:"int32"},cutoffFormatScore:{type:"integer",format:"int32"},formatItems:{type:"array",items:{$ref:"#/components/schemas/ProfileFormatItemResource"},nullable:!0}},additionalProperties:!1},ku={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},vu={type:"object",properties:{id:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32",nullable:!0},albumId:{type:"integer",format:"int32",nullable:!0},artist:{$ref:"#/components/schemas/ArtistResource"},album:{$ref:"#/components/schemas/AlbumResource"},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},size:{type:"number",format:"double"},title:{type:"string",nullable:!0},sizeleft:{type:"number",format:"double"},timeleft:{type:"string",format:"date-span",nullable:!0},estimatedCompletionTime:{type:"string",format:"date-time",nullable:!0},added:{type:"string",format:"date-time",nullable:!0},status:{type:"string",nullable:!0},trackedDownloadStatus:{$ref:"#/components/schemas/TrackedDownloadStatus"},trackedDownloadState:{$ref:"#/components/schemas/TrackedDownloadState"},statusMessages:{type:"array",items:{$ref:"#/components/schemas/TrackedDownloadStatusMessage"},nullable:!0},errorMessage:{type:"string",nullable:!0},downloadId:{type:"string",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},downloadClient:{type:"string",nullable:!0},downloadClientHasPostImportCategory:{type:"boolean"},indexer:{type:"string",nullable:!0},outputPath:{type:"string",nullable:!0},trackFileCount:{type:"integer",format:"int32"},trackHasFileCount:{type:"integer",format:"int32"},downloadForced:{type:"boolean"}},additionalProperties:!1},Su={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/QueueResource"},nullable:!0}},additionalProperties:!1},Cu={type:"object",properties:{id:{type:"integer",format:"int32"},totalCount:{type:"integer",format:"int32"},count:{type:"integer",format:"int32"},unknownCount:{type:"integer",format:"int32"},errors:{type:"boolean"},warnings:{type:"boolean"},unknownErrors:{type:"boolean"},unknownWarnings:{type:"boolean"}},additionalProperties:!1},Mu={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"}},additionalProperties:!1},Fu={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},Lu={enum:["permanent","temporary"],type:"string"},Nu={type:"object",properties:{id:{type:"integer",format:"int32"},enabled:{type:"boolean"},required:{type:"array",items:{type:"string"},nullable:!0},ignored:{type:"array",items:{type:"string"},nullable:!0},indexerId:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},$u={type:"object",properties:{id:{type:"integer",format:"int32"},guid:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},qualityWeight:{type:"integer",format:"int32"},age:{type:"integer",format:"int32"},ageHours:{type:"number",format:"double"},ageMinutes:{type:"number",format:"double"},size:{type:"integer",format:"int64"},indexerId:{type:"integer",format:"int32"},indexer:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},subGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},title:{type:"string",nullable:!0},discography:{type:"boolean"},sceneSource:{type:"boolean"},airDate:{type:"string",nullable:!0},artistName:{type:"string",nullable:!0},albumTitle:{type:"string",nullable:!0},approved:{type:"boolean"},temporarilyRejected:{type:"boolean"},rejected:{type:"boolean"},rejections:{type:"array",items:{type:"string"},nullable:!0},publishDate:{type:"string",format:"date-time"},commentUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0},infoUrl:{type:"string",nullable:!0},downloadAllowed:{type:"boolean"},releaseWeight:{type:"integer",format:"int32"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},magnetUrl:{type:"string",nullable:!0},infoHash:{type:"string",nullable:!0},seeders:{type:"integer",format:"int32",nullable:!0},leechers:{type:"integer",format:"int32",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},indexerFlags:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32",nullable:!0},albumId:{type:"integer",format:"int32",nullable:!0},downloadClientId:{type:"integer",format:"int32",nullable:!0},downloadClient:{type:"string",nullable:!0}},additionalProperties:!1},Qu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},ju={type:"object",properties:{id:{type:"integer",format:"int32"},host:{type:"string",nullable:!0},remotePath:{type:"string",nullable:!0},localPath:{type:"string",nullable:!0}},additionalProperties:!1},Uu={type:"object",properties:{id:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32"},albumId:{type:"integer",format:"int32"},trackNumbers:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},trackFileId:{type:"integer",format:"int32"},existingPath:{type:"string",nullable:!0},newPath:{type:"string",nullable:!0}},additionalProperties:!1},Hu={enum:["always","afterManual","never"],type:"string"},qu={type:"object",properties:{id:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32"},albumId:{type:"integer",format:"int32"},trackNumbers:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},trackFileId:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},changes:{type:"array",items:{$ref:"#/components/schemas/TagDifference"},nullable:!0}},additionalProperties:!1},zu={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},Wu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},defaultMetadataProfileId:{type:"integer",format:"int32"},defaultQualityProfileId:{type:"integer",format:"int32"},defaultMonitorOption:{$ref:"#/components/schemas/MonitorTypes"},defaultNewItemMonitorOption:{$ref:"#/components/schemas/NewItemMonitorTypes"},defaultTags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},accessible:{type:"boolean"},freeSpace:{type:"integer",format:"int64",nullable:!0},totalSpace:{type:"integer",format:"int64",nullable:!0}},additionalProperties:!1},Ku={enum:["console","service","tray"],type:"string"},Yu={type:"object",properties:{id:{type:"integer",format:"int32"},foreignId:{type:"string",nullable:!0},artist:{$ref:"#/components/schemas/ArtistResource"},album:{$ref:"#/components/schemas/AlbumResource"}},additionalProperties:!1},_u={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Xu={type:"object",properties:{value:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},order:{type:"integer",format:"int32"},hint:{type:"string",nullable:!0}},additionalProperties:!1},Zu={enum:["default","ascending","descending"],type:"string"},Ju={type:"object",properties:{appName:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},version:{type:"string",nullable:!0},buildTime:{type:"string",format:"date-time"},isDebug:{type:"boolean"},isProduction:{type:"boolean"},isAdmin:{type:"boolean"},isUserInteractive:{type:"boolean"},startupPath:{type:"string",nullable:!0},appData:{type:"string",nullable:!0},osName:{type:"string",nullable:!0},osVersion:{type:"string",nullable:!0},isNetCore:{type:"boolean"},isLinux:{type:"boolean"},isOsx:{type:"boolean"},isWindows:{type:"boolean"},isDocker:{type:"boolean"},mode:{$ref:"#/components/schemas/RuntimeMode"},branch:{type:"string",nullable:!0},databaseType:{$ref:"#/components/schemas/DatabaseType"},databaseVersion:{type:"string",nullable:!0},authentication:{$ref:"#/components/schemas/AuthenticationType"},migrationVersion:{type:"integer",format:"int32"},urlBase:{type:"string",nullable:!0},runtimeVersion:{type:"string",nullable:!0},runtimeName:{type:"string",nullable:!0},startTime:{type:"string",format:"date-time"},packageVersion:{type:"string",nullable:!0},packageAuthor:{type:"string",nullable:!0},packageUpdateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},packageUpdateMechanismMessage:{type:"string",nullable:!0}},additionalProperties:!1},ed={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0},delayProfileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},importListIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},notificationIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},restrictionIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},indexerIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},downloadClientIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},autoTagIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},artistIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},td={type:"object",properties:{field:{type:"string",nullable:!0},oldValue:{type:"string",nullable:!0},newValue:{type:"string",nullable:!0}},additionalProperties:!1},rd={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},od={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},taskName:{type:"string",nullable:!0},interval:{type:"integer",format:"int32"},lastExecution:{type:"string",format:"date-time"},lastStartTime:{type:"string",format:"date-time"},nextExecution:{type:"string",format:"date-time"},lastDuration:{type:"string",format:"date-span",readOnly:!0}},additionalProperties:!1},nd={type:"object",properties:{trackFileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},sceneName:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0}},additionalProperties:!1},id={type:"object",properties:{id:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32"},albumId:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},dateAdded:{type:"string",format:"date-time"},sceneName:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},qualityWeight:{type:"integer",format:"int32"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},indexerFlags:{type:"integer",format:"int32",nullable:!0},mediaInfo:{$ref:"#/components/schemas/MediaInfoResource"},qualityCutoffNotMet:{type:"boolean"},audioTags:{$ref:"#/components/schemas/ParsedTrackInfo"}},additionalProperties:!1},ad={type:"object",properties:{id:{type:"integer",format:"int32"},artistId:{type:"integer",format:"int32"},foreignTrackId:{type:"string",nullable:!0},foreignRecordingId:{type:"string",nullable:!0},trackFileId:{type:"integer",format:"int32"},albumId:{type:"integer",format:"int32"},explicit:{type:"boolean"},absoluteTrackNumber:{type:"integer",format:"int32"},trackNumber:{type:"string",nullable:!0},title:{type:"string",nullable:!0},duration:{type:"integer",format:"int32"},trackFile:{$ref:"#/components/schemas/TrackFileResource"},mediumNumber:{type:"integer",format:"int32"},hasFile:{type:"boolean"},artist:{$ref:"#/components/schemas/ArtistResource"},ratings:{$ref:"#/components/schemas/Ratings"}},additionalProperties:!1},sd={enum:["downloading","downloadFailed","downloadFailedPending","importBlocked","importPending","importing","importFailed","imported","ignored"],type:"string"},pd={enum:["ok","warning","error"],type:"string"},ld={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},ud={type:"object",properties:{id:{type:"integer",format:"int32"},firstDayOfWeek:{type:"integer",format:"int32"},calendarWeekColumnHeader:{type:"string",nullable:!0},shortDateFormat:{type:"string",nullable:!0},longDateFormat:{type:"string",nullable:!0},timeFormat:{type:"string",nullable:!0},showRelativeDates:{type:"boolean"},enableColorImpairedMode:{type:"boolean"},uiLanguage:{type:"integer",format:"int32"},expandAlbumByDefault:{type:"boolean"},expandSingleByDefault:{type:"boolean"},expandEPByDefault:{type:"boolean"},expandBroadcastByDefault:{type:"boolean"},expandOtherByDefault:{type:"boolean"},theme:{type:"string",nullable:!0}},additionalProperties:!1},dd={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},cd={enum:["builtIn","script","external","apt","docker"],type:"string"},yd={type:"object",properties:{id:{type:"integer",format:"int32"},version:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},releaseDate:{type:"string",format:"date-time"},fileName:{type:"string",nullable:!0},url:{type:"string",nullable:!0},installed:{type:"boolean"},installedOn:{type:"string",format:"date-time",nullable:!0},installable:{type:"boolean"},latest:{type:"boolean"},changes:{$ref:"#/components/schemas/UpdateChanges"},hash:{type:"string",nullable:!0}},additionalProperties:!1},md={enum:["no","newFiles","allFiles","sync"],type:"string"};var r=h(f()),oe=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album"})},Ad=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/album"})},gd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/album/{id}"})},fd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/album/{id}"})},ne=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album/{id}"})},Vd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/album/monitor"})},hd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album/lookup"})},Ed=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/albumstudio"})},bd=(e)=>{return(e?.client??r).get({...e,url:"/api"})},ie=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist/{id}"})},ae=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/artist/{id}"})},se=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/artist/{id}"})},pe=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist"})},le=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/artist"})},Od=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/artist/editor"})},wd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/artist/editor"})},ue=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist/lookup"})},Td=(e)=>{return(e?.client??r).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Id=(e)=>{return(e?.client??r).get({...e,url:"/login"})},Bd=(e)=>{return(e?.client??r).get({...e,url:"/logout"})},xd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging/{id}"})},Rd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/autotagging/{id}"})},Dd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/autotagging/{id}"})},Pd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/autotagging"})},Gd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging"})},kd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging/schema"})},vd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/backup"})},Sd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/system/backup/{id}"})},Cd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/backup/restore/{id}"})},Md=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/backup/restore/upload"})},Fd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/blocklist"})},Ld=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/blocklist/{id}"})},Nd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/blocklist/bulk"})},$d=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/calendar"})},Qd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/calendar/{id}"})},jd=(e)=>{return(e?.client??r).get({...e,url:"/feed/v1/calendar/lidarr.ics"})},Ud=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/command/{id}"})},Hd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/command/{id}"})},de=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/command"})},ce=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/command"})},qd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customfilter/{id}"})},zd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customfilter/{id}"})},Wd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customfilter/{id}"})},Kd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customfilter"})},Yd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/customfilter"})},_d=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat/{id}"})},Xd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customformat/{id}"})},Zd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customformat/{id}"})},Jd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat"})},ec=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/customformat"})},tc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customformat/bulk"})},rc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customformat/bulk"})},oc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat/schema"})},nc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/cutoff"})},ic=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/cutoff/{id}"})},ac=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/delayprofile"})},sc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/delayprofile"})},pc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/delayprofile/{id}"})},lc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/delayprofile/{id}"})},uc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/delayprofile/{id}"})},dc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/delayprofile/reorder/{id}"})},cc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/diskspace"})},yc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient/{id}"})},mc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/downloadclient/{id}"})},Ac=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/downloadclient/{id}"})},gc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient"})},fc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient"})},Vc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/downloadclient/bulk"})},hc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/downloadclient/bulk"})},Ec=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient/schema"})},bc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/test"})},Oc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/testall"})},wc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Tc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Ic=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/downloadclient/{id}"})},Bc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/downloadclient"})},xc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem"})},Rc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem/type"})},Dc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem/mediafiles"})},ye=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/health"})},Pc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history"})},Gc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history/since"})},kc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history/artist"})},vc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/history/failed/{id}"})},Sc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/host/{id}"})},Cc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/host/{id}"})},Mc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/host"})},Fc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist/{id}"})},Lc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlist/{id}"})},Nc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlist/{id}"})},$c=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist"})},Qc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist"})},jc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlist/bulk"})},Uc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlist/bulk"})},Hc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist/schema"})},qc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist/test"})},zc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist/testall"})},Wc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist/action/{name}"})},Kc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlistexclusion/{id}"})},Yc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlistexclusion/{id}"})},_c=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlistexclusion/{id}"})},Xc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlistexclusion"})},Zc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlistexclusion"})},Jc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer/{id}"})},ey=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/indexer/{id}"})},ty=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/indexer/{id}"})},ry=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer"})},oy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer"})},ny=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/indexer/bulk"})},iy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/indexer/bulk"})},ay=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer/schema"})},sy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/test"})},py=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/testall"})},ly=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/action/{name}"})},uy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/indexer/{id}"})},dy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/indexer/{id}"})},cy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/indexer"})},yy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexerflag"})},my=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/language/{id}"})},Ay=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/language"})},gy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/localization"})},fy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log"})},Vy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file"})},hy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file/{filename}"})},Ey=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/manualimport"})},by=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/manualimport"})},Oy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/mediacover/artist/{artistId}/{filename}"})},wy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/mediacover/album/{albumId}/{filename}"})},Ty=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/mediamanagement/{id}"})},Iy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/mediamanagement/{id}"})},By=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/mediamanagement"})},xy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata/{id}"})},Ry=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/metadata/{id}"})},Dy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/metadata/{id}"})},Py=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata"})},Gy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata"})},ky=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata/schema"})},vy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/test"})},Sy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/testall"})},Cy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/action/{name}"})},My=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadataprofile"})},Fy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile"})},Ly=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/metadataprofile/{id}"})},Ny=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/metadataprofile/{id}"})},$y=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile/{id}"})},Qy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile/schema"})},jy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/metadataprovider/{id}"})},Uy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/metadataprovider/{id}"})},Hy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/metadataprovider"})},qy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/missing"})},zy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/missing/{id}"})},Wy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming/{id}"})},Ky=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/naming/{id}"})},Yy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming"})},_y=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming/examples"})},Xy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification/{id}"})},Zy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/notification/{id}"})},Jy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/notification/{id}"})},em=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification"})},tm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification"})},rm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification/schema"})},om=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/test"})},nm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/testall"})},im=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/action/{name}"})},am=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/parse"})},sm=(e)=>{return(e?.client??r).get({...e,url:"/ping"})},pm=(e)=>{return(e?.client??r).head({...e,url:"/ping"})},lm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualitydefinition/{id}"})},um=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualitydefinition/{id}"})},dm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualitydefinition"})},cm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualitydefinition/update"})},ym=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/qualityprofile"})},mm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile"})},Am=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/qualityprofile/{id}"})},gm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualityprofile/{id}"})},fm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile/{id}"})},Vm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile/schema"})},hm=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/queue/{id}"})},Em=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/queue/bulk"})},bm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/queue"})},Om=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/queue/grab/{id}"})},wm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/queue/grab/bulk"})},Tm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/queue/details"})},Im=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/queue/status"})},Bm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/release"})},xm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/release"})},Rm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/releaseprofile/{id}"})},Dm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/releaseprofile/{id}"})},Pm=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/releaseprofile/{id}"})},Gm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/releaseprofile"})},km=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/releaseprofile"})},vm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/release/push"})},Sm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/remotepathmapping/{id}"})},Cm=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/remotepathmapping/{id}"})},Mm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/remotepathmapping/{id}"})},Fm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/remotepathmapping"})},Lm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/remotepathmapping"})},Nm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/rename"})},$m=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/retag"})},Qm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/rootfolder/{id}"})},jm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/rootfolder/{id}"})},Um=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/rootfolder/{id}"})},me=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/rootfolder"})},Ae=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/rootfolder"})},Hm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/search"})},qm=(e)=>{return(e?.client??r).get({...e,url:"/content/{path}"})},zm=(e)=>{return(e?.client??r).get({...e,url:"/"})},Wm=(e)=>{return(e?.client??r).get({...e,url:"/{path}"})},ge=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/status"})},Km=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/routes"})},Ym=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/routes/duplicate"})},_m=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/shutdown"})},Xm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/restart"})},Zm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/tag/{id}"})},Jm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/tag/{id}"})},eA=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/tag/{id}"})},tA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/tag"})},rA=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/tag"})},oA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/tag/detail/{id}"})},nA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/tag/detail"})},iA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/task"})},aA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/task/{id}"})},sA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/track"})},pA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/track/{id}"})},lA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/trackfile/{id}"})},uA=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/trackfile/{id}"})},dA=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/trackfile/{id}"})},cA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/trackfile"})},yA=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/trackfile/editor"})},mA=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/trackfile/bulk"})},AA=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/ui/{id}"})},gA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/ui/{id}"})},fA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/ui"})},VA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/update"})},hA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file/update"})},EA=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file/update/{filename}"})};var ke={};T(ke,{putApiV1TagById:()=>l1,putApiV1RootfolderById:()=>Yb,putApiV1RemotepathmappingById:()=>qb,putApiV1ReleaseprofileById:()=>Lb,putApiV1QualityprofileById:()=>Tb,putApiV1QualitydefinitionUpdate:()=>Eb,putApiV1QualitydefinitionById:()=>fb,putApiV1NotificationById:()=>sb,putApiV1MetadataprofileById:()=>WE,putApiV1MetadataById:()=>FE,putApiV1IndexerById:()=>lE,putApiV1IndexerBulk:()=>cE,putApiV1ImportlistexclusionById:()=>nE,putApiV1ImportlistById:()=>Wh,putApiV1ImportlistBulk:()=>_h,putApiV1DownloadclientById:()=>Oh,putApiV1DownloadclientBulk:()=>Ih,putApiV1DelayprofileReorderById:()=>Ah,putApiV1DelayprofileById:()=>yh,putApiV1CustomformatById:()=>nh,putApiV1CustomfilterById:()=>JV,putApiV1ConfigUiById:()=>g1,putApiV1ConfigNamingById:()=>rb,putApiV1ConfigMetadataproviderById:()=>XE,putApiV1ConfigMediamanagementById:()=>vE,putApiV1ConfigIndexerById:()=>hE,putApiV1ConfigHostById:()=>Uh,putApiV1ConfigDownloadclientById:()=>kh,putApiV1ConfigDevelopmentById:()=>fh,putApiV1BookfileEditor:()=>jV,putApiV1BookfileById:()=>NV,putApiV1BookMonitor:()=>CV,putApiV1BookEditor:()=>MV,putApiV1BookById:()=>vV,putApiV1AuthorEditor:()=>OV,putApiV1AuthorById:()=>Ee,postLogin:()=>hV,postApiV1Tag:()=>p1,postApiV1SystemShutdown:()=>i1,postApiV1SystemRestart:()=>a1,postApiV1SystemBackupRestoreUpload:()=>xV,postApiV1SystemBackupRestoreById:()=>BV,postApiV1Rootfolder:()=>De,postApiV1Remotepathmapping:()=>jb,postApiV1Releaseprofile:()=>Fb,postApiV1ReleasePush:()=>Qb,postApiV1Release:()=>Sb,postApiV1QueueGrabById:()=>Pb,postApiV1QueueGrabBulk:()=>Gb,postApiV1Qualityprofile:()=>bb,postApiV1NotificationTestall:()=>cb,postApiV1NotificationTest:()=>db,postApiV1NotificationActionByName:()=>yb,postApiV1Notification:()=>ab,postApiV1Metadataprofile:()=>HE,postApiV1MetadataTestall:()=>jE,postApiV1MetadataTest:()=>QE,postApiV1MetadataActionByName:()=>UE,postApiV1Metadata:()=>ME,postApiV1Manualimport:()=>RE,postApiV1IndexerTestall:()=>gE,postApiV1IndexerTest:()=>AE,postApiV1IndexerActionByName:()=>fE,postApiV1Indexer:()=>pE,postApiV1Importlistexclusion:()=>oE,postApiV1ImportlistTestall:()=>eE,postApiV1ImportlistTest:()=>Jh,postApiV1ImportlistActionByName:()=>tE,postApiV1Importlist:()=>zh,postApiV1HistoryFailedById:()=>Qh,postApiV1DownloadclientTestall:()=>Dh,postApiV1DownloadclientTest:()=>Rh,postApiV1DownloadclientActionByName:()=>Ph,postApiV1Downloadclient:()=>bh,postApiV1Delayprofile:()=>uh,postApiV1Customformat:()=>rh,postApiV1Customfilter:()=>ZV,postApiV1Command:()=>Be,postApiV1Bookshelf:()=>qV,postApiV1Book:()=>GV,postApiV1Author:()=>he,headPing:()=>gb,getPing:()=>Ab,getLogout:()=>bV,getLogin:()=>EV,getFeedV1CalendarReadarrIcs:()=>KV,getContentByPath:()=>e1,getByPath:()=>r1,getApiV1WantedMissingById:()=>eb,getApiV1WantedMissing:()=>JE,getApiV1WantedCutoffById:()=>lh,getApiV1WantedCutoff:()=>ph,getApiV1Update:()=>h1,getApiV1TagDetailById:()=>y1,getApiV1TagDetail:()=>c1,getApiV1TagById:()=>d1,getApiV1Tag:()=>s1,getApiV1SystemTaskById:()=>A1,getApiV1SystemTask:()=>m1,getApiV1SystemStatus:()=>Ge,getApiV1SystemRoutesDuplicate:()=>n1,getApiV1SystemRoutes:()=>o1,getApiV1SystemBackup:()=>TV,getApiV1Series:()=>Jb,getApiV1Search:()=>Zb,getApiV1RootfolderById:()=>Xb,getApiV1Rootfolder:()=>Pe,getApiV1Retag:()=>Kb,getApiV1Rename:()=>Wb,getApiV1RemotepathmappingById:()=>zb,getApiV1Remotepathmapping:()=>Ub,getApiV1ReleaseprofileById:()=>$b,getApiV1Releaseprofile:()=>Mb,getApiV1Release:()=>Cb,getApiV1QueueStatus:()=>vb,getApiV1QueueDetails:()=>kb,getApiV1Queue:()=>Db,getApiV1QualityprofileSchema:()=>Bb,getApiV1QualityprofileById:()=>Ib,getApiV1Qualityprofile:()=>Ob,getApiV1QualitydefinitionById:()=>Vb,getApiV1Qualitydefinition:()=>hb,getApiV1Parse:()=>mb,getApiV1NotificationSchema:()=>ub,getApiV1NotificationById:()=>lb,getApiV1Notification:()=>ib,getApiV1MetadataprofileSchema:()=>YE,getApiV1MetadataprofileById:()=>KE,getApiV1Metadataprofile:()=>qE,getApiV1MetadataSchema:()=>$E,getApiV1MetadataById:()=>NE,getApiV1Metadata:()=>CE,getApiV1MediacoverBookByBookIdByFilename:()=>GE,getApiV1MediacoverAuthorByAuthorIdByFilename:()=>PE,getApiV1Manualimport:()=>DE,getApiV1LogFileUpdateByFilename:()=>b1,getApiV1LogFileUpdate:()=>E1,getApiV1LogFileByFilename:()=>xE,getApiV1LogFile:()=>BE,getApiV1Log:()=>IE,getApiV1Localization:()=>TE,getApiV1LanguageById:()=>wE,getApiV1Language:()=>OE,getApiV1Indexerflag:()=>bE,getApiV1IndexerSchema:()=>mE,getApiV1IndexerById:()=>dE,getApiV1Indexer:()=>sE,getApiV1ImportlistexclusionById:()=>aE,getApiV1Importlistexclusion:()=>rE,getApiV1ImportlistSchema:()=>Zh,getApiV1ImportlistById:()=>Yh,getApiV1Importlist:()=>qh,getApiV1HistorySince:()=>Nh,getApiV1HistoryAuthor:()=>$h,getApiV1History:()=>Lh,getApiV1Health:()=>Re,getApiV1FilesystemType:()=>Mh,getApiV1FilesystemMediafiles:()=>Fh,getApiV1Filesystem:()=>Ch,getApiV1Edition:()=>Sh,getApiV1DownloadclientSchema:()=>xh,getApiV1DownloadclientById:()=>Th,getApiV1Downloadclient:()=>Eh,getApiV1Diskspace:()=>hh,getApiV1DelayprofileById:()=>mh,getApiV1Delayprofile:()=>dh,getApiV1CustomformatSchema:()=>sh,getApiV1CustomformatById:()=>ah,getApiV1Customformat:()=>oh,getApiV1CustomfilterById:()=>th,getApiV1Customfilter:()=>XV,getApiV1ConfigUiById:()=>f1,getApiV1ConfigUi:()=>V1,getApiV1ConfigNamingExamples:()=>nb,getApiV1ConfigNamingById:()=>ob,getApiV1ConfigNaming:()=>tb,getApiV1ConfigMetadataproviderById:()=>ZE,getApiV1ConfigMetadataprovider:()=>_E,getApiV1ConfigMediamanagementById:()=>SE,getApiV1ConfigMediamanagement:()=>kE,getApiV1ConfigIndexerById:()=>EE,getApiV1ConfigIndexer:()=>VE,getApiV1ConfigHostById:()=>Hh,getApiV1ConfigHost:()=>jh,getApiV1ConfigDownloadclientById:()=>vh,getApiV1ConfigDownloadclient:()=>Gh,getApiV1ConfigDevelopmentById:()=>Vh,getApiV1ConfigDevelopment:()=>gh,getApiV1CommandById:()=>_V,getApiV1Command:()=>xe,getApiV1CalendarById:()=>WV,getApiV1Calendar:()=>zV,getApiV1BookfileById:()=>QV,getApiV1Bookfile:()=>LV,getApiV1BookLookup:()=>HV,getApiV1BookByIdOverview:()=>kV,getApiV1BookById:()=>Ie,getApiV1Book:()=>Te,getApiV1Blocklist:()=>RV,getApiV1AuthorLookup:()=>we,getApiV1AuthorById:()=>Oe,getApiV1Author:()=>Ve,getApi:()=>VV,get:()=>t1,deleteApiV1TagById:()=>u1,deleteApiV1SystemBackupById:()=>IV,deleteApiV1RootfolderById:()=>_b,deleteApiV1RemotepathmappingById:()=>Hb,deleteApiV1ReleaseprofileById:()=>Nb,deleteApiV1QueueById:()=>xb,deleteApiV1QueueBulk:()=>Rb,deleteApiV1QualityprofileById:()=>wb,deleteApiV1NotificationById:()=>pb,deleteApiV1MetadataprofileById:()=>zE,deleteApiV1MetadataById:()=>LE,deleteApiV1IndexerById:()=>uE,deleteApiV1IndexerBulk:()=>yE,deleteApiV1ImportlistexclusionById:()=>iE,deleteApiV1ImportlistById:()=>Kh,deleteApiV1ImportlistBulk:()=>Xh,deleteApiV1DownloadclientById:()=>wh,deleteApiV1DownloadclientBulk:()=>Bh,deleteApiV1DelayprofileById:()=>ch,deleteApiV1CustomformatById:()=>ih,deleteApiV1CustomfilterById:()=>eh,deleteApiV1CommandById:()=>YV,deleteApiV1BookfileById:()=>$V,deleteApiV1BookfileBulk:()=>UV,deleteApiV1BookEditor:()=>FV,deleteApiV1BookById:()=>SV,deleteApiV1BlocklistById:()=>DV,deleteApiV1BlocklistBulk:()=>PV,deleteApiV1AuthorEditor:()=>wV,deleteApiV1AuthorById:()=>be,client:()=>o,WriteBookTagsTypeSchema:()=>fV,WriteAudioTagsTypeSchema:()=>gV,UpdateResourceSchema:()=>AV,UpdateMechanismSchema:()=>mV,UpdateChangesSchema:()=>yV,UiConfigResourceSchema:()=>cV,TrackedDownloadStatusSchema:()=>uV,TrackedDownloadStatusMessageSchema:()=>dV,TrackedDownloadStateSchema:()=>lV,TaskResourceSchema:()=>pV,TagResourceSchema:()=>sV,TagDifferenceSchema:()=>aV,TagDetailsResourceSchema:()=>iV,SystemResourceSchema:()=>nV,SortDirectionSchema:()=>oV,SeriesSchema:()=>_f,SeriesResourceSchema:()=>rV,SeriesListLazyLoadedSchema:()=>tV,SeriesLazyLoadedSchema:()=>eV,SeriesBookLinkSchema:()=>Xf,SeriesBookLinkResourceSchema:()=>Jf,SeriesBookLinkListLazyLoadedSchema:()=>Zf,SelectOptionSchema:()=>Yf,RuntimeModeSchema:()=>Kf,RootFolderResourceSchema:()=>Wf,RevisionSchema:()=>zf,RetagBookResourceSchema:()=>qf,RescanAfterRefreshTypeSchema:()=>Hf,RenameBookResourceSchema:()=>Uf,RemotePathMappingResourceSchema:()=>jf,ReleaseResourceSchema:()=>Qf,ReleaseProfileResourceSchema:()=>$f,RejectionTypeSchema:()=>Nf,RejectionSchema:()=>Lf,RatingsSchema:()=>Ff,QueueStatusResourceSchema:()=>Mf,QueueResourceSchema:()=>Sf,QueueResourcePagingResourceSchema:()=>Cf,QueueBulkResourceSchema:()=>vf,QualitySchema:()=>If,QualityProfileSchema:()=>Rf,QualityProfileResourceSchema:()=>kf,QualityProfileQualityItemSchema:()=>Pf,QualityProfileQualityItemResourceSchema:()=>Gf,QualityProfileLazyLoadedSchema:()=>Df,QualityModelSchema:()=>xf,QualityDefinitionResourceSchema:()=>Bf,ProxyTypeSchema:()=>Tf,ProviderMessageTypeSchema:()=>wf,ProviderMessageSchema:()=>Of,ProperDownloadTypesSchema:()=>bf,ProfileFormatItemSchema:()=>hf,ProfileFormatItemResourceSchema:()=>Ef,PingResourceSchema:()=>Vf,ParsedTrackInfoSchema:()=>ff,ParsedBookInfoSchema:()=>gf,ParseResourceSchema:()=>Af,NotificationResourceSchema:()=>mf,NewItemMonitorTypesSchema:()=>yf,NamingConfigResourceSchema:()=>cf,MonitoringOptionsSchema:()=>df,MonitorTypesSchema:()=>uf,MetadataResourceSchema:()=>lf,MetadataProviderConfigResourceSchema:()=>pf,MetadataProfileSchema:()=>nf,MetadataProfileResourceSchema:()=>sf,MetadataProfileLazyLoadedSchema:()=>af,MediaManagementConfigResourceSchema:()=>of,MediaInfoResourceSchema:()=>rf,MediaInfoModelSchema:()=>tf,MediaCoverTypesSchema:()=>ef,MediaCoverSchema:()=>Jg,ManualImportUpdateResourceSchema:()=>Zg,ManualImportResourceSchema:()=>Xg,LogResourceSchema:()=>Yg,LogResourcePagingResourceSchema:()=>_g,LogFileResourceSchema:()=>Kg,LinksSchema:()=>Wg,LanguageResourceSchema:()=>zg,IsoCountrySchema:()=>qg,IndexerResourceSchema:()=>Hg,IndexerFlagsSchema:()=>Ug,IndexerFlagResourceSchema:()=>jg,IndexerConfigResourceSchema:()=>Qg,IndexerBulkResourceSchema:()=>$g,ImportListTypeSchema:()=>Ng,ImportListResourceSchema:()=>Lg,ImportListMonitorTypeSchema:()=>Fg,ImportListExclusionResourceSchema:()=>Mg,ImportListBulkResourceSchema:()=>Cg,ICustomFormatSpecificationSchema:()=>Sg,HostConfigResourceSchema:()=>vg,HistoryResourceSchema:()=>Gg,HistoryResourcePagingResourceSchema:()=>kg,HealthResourceSchema:()=>Pg,HealthCheckResultSchema:()=>Dg,FileDateTypeSchema:()=>Rg,FieldSchema:()=>xg,EntityHistoryEventTypeSchema:()=>Bg,EditionSchema:()=>Og,EditionResourceSchema:()=>Ig,EditionListLazyLoadedSchema:()=>Tg,EditionLazyLoadedSchema:()=>wg,DownloadProtocolSchema:()=>bg,DownloadClientResourceSchema:()=>Eg,DownloadClientConfigResourceSchema:()=>hg,DownloadClientBulkResourceSchema:()=>Vg,DiskSpaceResourceSchema:()=>fg,DevelopmentConfigResourceSchema:()=>gg,DelayProfileResourceSchema:()=>Ag,DatabaseTypeSchema:()=>mg,CustomFormatSpecificationSchemaSchema:()=>yg,CustomFormatSchema:()=>dg,CustomFormatResourceSchema:()=>cg,CustomFilterResourceSchema:()=>ug,CommandTriggerSchema:()=>lg,CommandStatusSchema:()=>pg,CommandSchema:()=>ng,CommandResultSchema:()=>sg,CommandResourceSchema:()=>ag,CommandPrioritySchema:()=>ig,CertificateValidationTypeSchema:()=>og,BookshelfResourceSchema:()=>rg,BookshelfAuthorResourceSchema:()=>tg,BooksMonitoredResourceSchema:()=>eg,BookStatisticsResourceSchema:()=>JA,BookSchema:()=>jA,BookResourceSchema:()=>XA,BookResourcePagingResourceSchema:()=>ZA,BookListLazyLoadedSchema:()=>_A,BookLazyLoadedSchema:()=>YA,BookFileSchema:()=>qA,BookFileResourceSchema:()=>KA,BookFileListResourceSchema:()=>WA,BookFileListLazyLoadedSchema:()=>zA,BookEditorResourceSchema:()=>HA,BookAddTypeSchema:()=>UA,BlocklistResourceSchema:()=>$A,BlocklistResourcePagingResourceSchema:()=>QA,BlocklistBulkResourceSchema:()=>NA,BackupTypeSchema:()=>LA,BackupResourceSchema:()=>FA,AuthorTitleInfoSchema:()=>MA,AuthorStatusTypeSchema:()=>CA,AuthorStatisticsResourceSchema:()=>SA,AuthorSchema:()=>RA,AuthorResourceSchema:()=>vA,AuthorMetadataSchema:()=>GA,AuthorMetadataLazyLoadedSchema:()=>kA,AuthorLazyLoadedSchema:()=>PA,AuthorEditorResourceSchema:()=>DA,AuthenticationTypeSchema:()=>xA,AuthenticationRequiredTypeSchema:()=>BA,ApplyTagsSchema:()=>IA,ApiInfoResourceSchema:()=>TA,AllowFingerprintingSchema:()=>wA,AddBookOptionsSchema:()=>OA,AddAuthorOptionsSchema:()=>bA});var bA={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},booksToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"},searchForMissingBooks:{type:"boolean"}},additionalProperties:!1},OA={type:"object",properties:{addType:{$ref:"#/components/schemas/BookAddType"},searchForNewBook:{type:"boolean"}},additionalProperties:!1},wA={enum:["never","newFiles","allFiles"],type:"string"},TA={type:"object",properties:{current:{type:"string",nullable:!0},deprecated:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},IA={enum:["add","remove","replace"],type:"string"},BA={enum:["enabled","disabledForLocalAddresses"],type:"string"},xA={enum:["none","basic","forms","external"],type:"string"},RA={type:"object",properties:{id:{type:"integer",format:"int32"},authorMetadataId:{type:"integer",format:"int32"},cleanName:{type:"string",nullable:!0},monitored:{type:"boolean"},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},lastInfoSync:{type:"string",format:"date-time",nullable:!0},path:{type:"string",nullable:!0},rootFolderPath:{type:"string",nullable:!0},added:{type:"string",format:"date-time"},qualityProfileId:{type:"integer",format:"int32"},metadataProfileId:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},addOptions:{$ref:"#/components/schemas/AddAuthorOptions"},metadata:{$ref:"#/components/schemas/AuthorMetadataLazyLoaded"},qualityProfile:{$ref:"#/components/schemas/QualityProfileLazyLoaded"},metadataProfile:{$ref:"#/components/schemas/MetadataProfileLazyLoaded"},books:{$ref:"#/components/schemas/BookListLazyLoaded"},series:{$ref:"#/components/schemas/SeriesListLazyLoaded"},name:{type:"string",nullable:!0},foreignAuthorId:{type:"string",nullable:!0}},additionalProperties:!1},DA={type:"object",properties:{authorIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean",nullable:!0},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},qualityProfileId:{type:"integer",format:"int32",nullable:!0},metadataProfileId:{type:"integer",format:"int32",nullable:!0},rootFolderPath:{type:"string",nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},moveFiles:{type:"boolean"},deleteFiles:{type:"boolean"}},additionalProperties:!1},PA={type:"object",properties:{value:{$ref:"#/components/schemas/Author"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},GA={type:"object",properties:{id:{type:"integer",format:"int32"},foreignAuthorId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},name:{type:"string",nullable:!0},sortName:{type:"string",nullable:!0},nameLastFirst:{type:"string",nullable:!0},sortNameLastFirst:{type:"string",nullable:!0},aliases:{type:"array",items:{type:"string"},nullable:!0},overview:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},gender:{type:"string",nullable:!0},hometown:{type:"string",nullable:!0},born:{type:"string",format:"date-time",nullable:!0},died:{type:"string",format:"date-time",nullable:!0},status:{$ref:"#/components/schemas/AuthorStatusType"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},ratings:{$ref:"#/components/schemas/Ratings"}},additionalProperties:!1},kA={type:"object",properties:{value:{$ref:"#/components/schemas/AuthorMetadata"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},vA={type:"object",properties:{id:{type:"integer",format:"int32"},authorMetadataId:{type:"integer",format:"int32"},status:{$ref:"#/components/schemas/AuthorStatusType"},ended:{type:"boolean",readOnly:!0},authorName:{type:"string",nullable:!0},authorNameLastFirst:{type:"string",nullable:!0},foreignAuthorId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},nextBook:{$ref:"#/components/schemas/Book"},lastBook:{$ref:"#/components/schemas/Book"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},remotePoster:{type:"string",nullable:!0},path:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32"},metadataProfileId:{type:"integer",format:"int32"},monitored:{type:"boolean"},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},rootFolderPath:{type:"string",nullable:!0},folder:{type:"string",nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},cleanName:{type:"string",nullable:!0},sortName:{type:"string",nullable:!0},sortNameLastFirst:{type:"string",nullable:!0},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},added:{type:"string",format:"date-time"},addOptions:{$ref:"#/components/schemas/AddAuthorOptions"},ratings:{$ref:"#/components/schemas/Ratings"},statistics:{$ref:"#/components/schemas/AuthorStatisticsResource"}},additionalProperties:!1},SA={type:"object",properties:{bookFileCount:{type:"integer",format:"int32"},bookCount:{type:"integer",format:"int32"},availableBookCount:{type:"integer",format:"int32"},totalBookCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},percentOfBooks:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},CA={enum:["continuing","ended"],type:"string"},MA={type:"object",properties:{title:{type:"string",nullable:!0},titleWithoutYear:{type:"string",nullable:!0},year:{type:"integer",format:"int32"}},additionalProperties:!1},FA={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/BackupType"},size:{type:"integer",format:"int64"},time:{type:"string",format:"date-time"}},additionalProperties:!1},LA={enum:["scheduled","manual","update"],type:"string"},NA={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},$A={type:"object",properties:{id:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32"},bookIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},sourceTitle:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},date:{type:"string",format:"date-time"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},indexer:{type:"string",nullable:!0},message:{type:"string",nullable:!0},author:{$ref:"#/components/schemas/AuthorResource"}},additionalProperties:!1},QA={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/BlocklistResource"},nullable:!0}},additionalProperties:!1},jA={type:"object",properties:{id:{type:"integer",format:"int32"},authorMetadataId:{type:"integer",format:"int32"},foreignBookId:{type:"string",nullable:!0},foreignEditionId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},title:{type:"string",nullable:!0},releaseDate:{type:"string",format:"date-time",nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},genres:{type:"array",items:{type:"string"},nullable:!0},relatedBooks:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},ratings:{$ref:"#/components/schemas/Ratings"},lastSearchTime:{type:"string",format:"date-time",nullable:!0},cleanTitle:{type:"string",nullable:!0},monitored:{type:"boolean"},anyEditionOk:{type:"boolean"},lastInfoSync:{type:"string",format:"date-time",nullable:!0},added:{type:"string",format:"date-time"},addOptions:{$ref:"#/components/schemas/AddBookOptions"},authorMetadata:{$ref:"#/components/schemas/AuthorMetadataLazyLoaded"},author:{$ref:"#/components/schemas/AuthorLazyLoaded"},editions:{$ref:"#/components/schemas/EditionListLazyLoaded"},bookFiles:{$ref:"#/components/schemas/BookFileListLazyLoaded"},seriesLinks:{$ref:"#/components/schemas/SeriesBookLinkListLazyLoaded"}},additionalProperties:!1},UA={enum:["automatic","manual"],type:"string"},HA={type:"object",properties:{bookIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean",nullable:!0},deleteFiles:{type:"boolean",nullable:!0},addImportListExclusion:{type:"boolean",nullable:!0}},additionalProperties:!1},qA={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},modified:{type:"string",format:"date-time"},dateAdded:{type:"string",format:"date-time"},originalFilePath:{type:"string",nullable:!0},sceneName:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},indexerFlags:{$ref:"#/components/schemas/IndexerFlags"},mediaInfo:{$ref:"#/components/schemas/MediaInfoModel"},editionId:{type:"integer",format:"int32"},calibreId:{type:"integer",format:"int32"},part:{type:"integer",format:"int32"},author:{$ref:"#/components/schemas/AuthorLazyLoaded"},edition:{$ref:"#/components/schemas/EditionLazyLoaded"},partCount:{type:"integer",format:"int32"}},additionalProperties:!1},zA={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/BookFile"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},WA={type:"object",properties:{bookFileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"}},additionalProperties:!1},KA={type:"object",properties:{id:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},dateAdded:{type:"string",format:"date-time"},quality:{$ref:"#/components/schemas/QualityModel"},qualityWeight:{type:"integer",format:"int32"},indexerFlags:{type:"integer",format:"int32",nullable:!0},mediaInfo:{$ref:"#/components/schemas/MediaInfoResource"},qualityCutoffNotMet:{type:"boolean"},audioTags:{$ref:"#/components/schemas/ParsedTrackInfo"}},additionalProperties:!1},YA={type:"object",properties:{value:{$ref:"#/components/schemas/Book"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},_A={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/Book"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},XA={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},authorTitle:{type:"string",nullable:!0},seriesTitle:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},authorId:{type:"integer",format:"int32"},foreignBookId:{type:"string",nullable:!0},foreignEditionId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},monitored:{type:"boolean"},anyEditionOk:{type:"boolean"},ratings:{$ref:"#/components/schemas/Ratings"},releaseDate:{type:"string",format:"date-time",nullable:!0},pageCount:{type:"integer",format:"int32"},genres:{type:"array",items:{type:"string"},nullable:!0},author:{$ref:"#/components/schemas/AuthorResource"},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},statistics:{$ref:"#/components/schemas/BookStatisticsResource"},added:{type:"string",format:"date-time",nullable:!0},addOptions:{$ref:"#/components/schemas/AddBookOptions"},remoteCover:{type:"string",nullable:!0},lastSearchTime:{type:"string",format:"date-time",nullable:!0},editions:{type:"array",items:{$ref:"#/components/schemas/EditionResource"},nullable:!0}},additionalProperties:!1},ZA={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/BookResource"},nullable:!0}},additionalProperties:!1},JA={type:"object",properties:{bookFileCount:{type:"integer",format:"int32"},bookCount:{type:"integer",format:"int32"},totalBookCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},percentOfBooks:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},eg={type:"object",properties:{bookIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},tg={type:"object",properties:{id:{type:"integer",format:"int32"},monitored:{type:"boolean",nullable:!0},books:{type:"array",items:{$ref:"#/components/schemas/BookResource"},nullable:!0}},additionalProperties:!1},rg={type:"object",properties:{authors:{type:"array",items:{$ref:"#/components/schemas/BookshelfAuthorResource"},nullable:!0},monitoringOptions:{$ref:"#/components/schemas/MonitoringOptions"},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"}},additionalProperties:!1},og={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},ng={type:"object",properties:{sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean",readOnly:!0},completionMessage:{type:"string",nullable:!0,readOnly:!0},requiresDiskAccess:{type:"boolean",readOnly:!0},isExclusive:{type:"boolean",readOnly:!0},isTypeExclusive:{type:"boolean",readOnly:!0},isLongRunning:{type:"boolean",readOnly:!0},name:{type:"string",nullable:!0,readOnly:!0},lastExecutionTime:{type:"string",format:"date-time",nullable:!0},lastStartTime:{type:"string",format:"date-time",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},suppressMessages:{type:"boolean"},clientUserAgent:{type:"string",nullable:!0}},additionalProperties:!1},ig={enum:["normal","high","low"],type:"string"},ag={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},commandName:{type:"string",nullable:!0},message:{type:"string",nullable:!0},body:{$ref:"#/components/schemas/Command"},priority:{$ref:"#/components/schemas/CommandPriority"},status:{$ref:"#/components/schemas/CommandStatus"},result:{$ref:"#/components/schemas/CommandResult"},queued:{type:"string",format:"date-time"},started:{type:"string",format:"date-time",nullable:!0},ended:{type:"string",format:"date-time",nullable:!0},duration:{type:"string",format:"date-span",nullable:!0},exception:{type:"string",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},clientUserAgent:{type:"string",nullable:!0},stateChangeTime:{type:"string",format:"date-time",nullable:!0},sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean"},lastExecutionTime:{type:"string",format:"date-time",nullable:!0}},additionalProperties:!1},sg={enum:["unknown","successful","unsuccessful"],type:"string"},pg={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},lg={enum:["unspecified","manual","scheduled"],type:"string"},ug={type:"object",properties:{id:{type:"integer",format:"int32"},type:{type:"string",nullable:!0},label:{type:"string",nullable:!0},filters:{type:"array",items:{type:"object",additionalProperties:{}},nullable:!0}},additionalProperties:!1},dg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean"},specifications:{type:"array",items:{$ref:"#/components/schemas/ICustomFormatSpecification"},nullable:!0}},additionalProperties:!1},cg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0},specifications:{type:"array",items:{$ref:"#/components/schemas/CustomFormatSpecificationSchema"},nullable:!0}},additionalProperties:!1},yg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},implementationName:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},negate:{type:"boolean"},required:{type:"boolean"},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/CustomFormatSpecificationSchema"},nullable:!0}},additionalProperties:!1},mg={enum:["sqLite","postgreSQL"],type:"string"},Ag={type:"object",properties:{id:{type:"integer",format:"int32"},enableUsenet:{type:"boolean"},enableTorrent:{type:"boolean"},preferredProtocol:{$ref:"#/components/schemas/DownloadProtocol"},usenetDelay:{type:"integer",format:"int32"},torrentDelay:{type:"integer",format:"int32"},bypassIfHighestQuality:{type:"boolean"},bypassIfAboveCustomFormatScore:{type:"boolean"},minimumCustomFormatScore:{type:"integer",format:"int32"},order:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},gg={type:"object",properties:{id:{type:"integer",format:"int32"},metadataSource:{type:"string",nullable:!0},consoleLogLevel:{type:"string",nullable:!0},logSql:{type:"boolean"},logRotate:{type:"integer",format:"int32"},filterSentryEvents:{type:"boolean"}},additionalProperties:!1},fg={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},label:{type:"string",nullable:!0},freeSpace:{type:"integer",format:"int64"},totalSpace:{type:"integer",format:"int64"}},additionalProperties:!1},Vg={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enable:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0},removeCompletedDownloads:{type:"boolean",nullable:!0},removeFailedDownloads:{type:"boolean",nullable:!0}},additionalProperties:!1},hg={type:"object",properties:{id:{type:"integer",format:"int32"},downloadClientWorkingFolders:{type:"string",nullable:!0},enableCompletedDownloadHandling:{type:"boolean"},autoRedownloadFailed:{type:"boolean"},autoRedownloadFailedFromInteractiveSearch:{type:"boolean"}},additionalProperties:!1},Eg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/DownloadClientResource"},nullable:!0},enable:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},removeCompletedDownloads:{type:"boolean"},removeFailedDownloads:{type:"boolean"}},additionalProperties:!1},bg={enum:["unknown","usenet","torrent"],type:"string"},Og={type:"object",properties:{id:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},foreignEditionId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},isbn13:{type:"string",nullable:!0},asin:{type:"string",nullable:!0},title:{type:"string",nullable:!0},language:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},format:{type:"string",nullable:!0},isEbook:{type:"boolean"},disambiguation:{type:"string",nullable:!0},publisher:{type:"string",nullable:!0},pageCount:{type:"integer",format:"int32"},releaseDate:{type:"string",format:"date-time",nullable:!0},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},ratings:{$ref:"#/components/schemas/Ratings"},monitored:{type:"boolean"},manualAdd:{type:"boolean"},book:{$ref:"#/components/schemas/BookLazyLoaded"},bookFiles:{$ref:"#/components/schemas/BookFileListLazyLoaded"}},additionalProperties:!1},wg={type:"object",properties:{value:{$ref:"#/components/schemas/Edition"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},Tg={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/Edition"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},Ig={type:"object",properties:{id:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},foreignEditionId:{type:"string",nullable:!0},titleSlug:{type:"string",nullable:!0},isbn13:{type:"string",nullable:!0},asin:{type:"string",nullable:!0},title:{type:"string",nullable:!0},language:{type:"string",nullable:!0},overview:{type:"string",nullable:!0},format:{type:"string",nullable:!0},isEbook:{type:"boolean"},disambiguation:{type:"string",nullable:!0},publisher:{type:"string",nullable:!0},pageCount:{type:"integer",format:"int32"},releaseDate:{type:"string",format:"date-time",nullable:!0},images:{type:"array",items:{$ref:"#/components/schemas/MediaCover"},nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/Links"},nullable:!0},ratings:{$ref:"#/components/schemas/Ratings"},monitored:{type:"boolean"},manualAdd:{type:"boolean"},remoteCover:{type:"string",nullable:!0}},additionalProperties:!1},Bg={enum:["unknown","grabbed","bookFileImported","downloadFailed","bookFileDeleted","bookFileRenamed","bookImportIncomplete","downloadImported","bookFileRetagged","downloadIgnored"],type:"string"},xg={type:"object",properties:{order:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},label:{type:"string",nullable:!0},unit:{type:"string",nullable:!0},helpText:{type:"string",nullable:!0},helpTextWarning:{type:"string",nullable:!0},helpLink:{type:"string",nullable:!0},value:{nullable:!0},type:{type:"string",nullable:!0},advanced:{type:"boolean"},selectOptions:{type:"array",items:{$ref:"#/components/schemas/SelectOption"},nullable:!0},selectOptionsProviderAction:{type:"string",nullable:!0},section:{type:"string",nullable:!0},hidden:{type:"string",nullable:!0},placeholder:{type:"string",nullable:!0},isFloat:{type:"boolean"}},additionalProperties:!1},Rg={enum:["none","bookReleaseDate"],type:"string"},Dg={enum:["ok","notice","warning","error"],type:"string"},Pg={type:"object",properties:{id:{type:"integer",format:"int32"},source:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/HealthCheckResult"},message:{type:"string",nullable:!0},wikiUrl:{type:"string",nullable:!0}},additionalProperties:!1},Gg={type:"object",properties:{id:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32"},sourceTitle:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},qualityCutoffNotMet:{type:"boolean"},date:{type:"string",format:"date-time"},downloadId:{type:"string",nullable:!0},eventType:{$ref:"#/components/schemas/EntityHistoryEventType"},data:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0},book:{$ref:"#/components/schemas/BookResource"},author:{$ref:"#/components/schemas/AuthorResource"}},additionalProperties:!1},kg={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/HistoryResource"},nullable:!0}},additionalProperties:!1},vg={type:"object",properties:{id:{type:"integer",format:"int32"},bindAddress:{type:"string",nullable:!0},port:{type:"integer",format:"int32"},sslPort:{type:"integer",format:"int32"},enableSsl:{type:"boolean"},launchBrowser:{type:"boolean"},authenticationMethod:{$ref:"#/components/schemas/AuthenticationType"},authenticationRequired:{$ref:"#/components/schemas/AuthenticationRequiredType"},analyticsEnabled:{type:"boolean"},username:{type:"string",nullable:!0},password:{type:"string",nullable:!0},passwordConfirmation:{type:"string",nullable:!0},logLevel:{type:"string",nullable:!0},consoleLogLevel:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},apiKey:{type:"string",nullable:!0},sslCertPath:{type:"string",nullable:!0},sslCertPassword:{type:"string",nullable:!0},urlBase:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},applicationUrl:{type:"string",nullable:!0},updateAutomatically:{type:"boolean"},updateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},updateScriptPath:{type:"string",nullable:!0},proxyEnabled:{type:"boolean"},proxyType:{$ref:"#/components/schemas/ProxyType"},proxyHostname:{type:"string",nullable:!0},proxyPort:{type:"integer",format:"int32"},proxyUsername:{type:"string",nullable:!0},proxyPassword:{type:"string",nullable:!0},proxyBypassFilter:{type:"string",nullable:!0},proxyBypassLocalAddresses:{type:"boolean"},certificateValidation:{$ref:"#/components/schemas/CertificateValidationType"},backupFolder:{type:"string",nullable:!0},backupInterval:{type:"integer",format:"int32"},backupRetention:{type:"integer",format:"int32"},trustCgnatIpAddresses:{type:"boolean"}},additionalProperties:!1},Sg={type:"object",properties:{order:{type:"integer",format:"int32",readOnly:!0},infoLink:{type:"string",nullable:!0,readOnly:!0},implementationName:{type:"string",nullable:!0,readOnly:!0},name:{type:"string",nullable:!0},negate:{type:"boolean"},required:{type:"boolean"}},additionalProperties:!1},Cg={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enableAutomaticAdd:{type:"boolean",nullable:!0},rootFolderPath:{type:"string",nullable:!0},qualityProfileId:{type:"integer",format:"int32",nullable:!0},metadataProfileId:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},Mg={type:"object",properties:{id:{type:"integer",format:"int32"},foreignId:{type:"string",nullable:!0},authorName:{type:"string",nullable:!0}},additionalProperties:!1},Fg={enum:["none","specificBook","entireAuthor"],type:"string"},Lg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/ImportListResource"},nullable:!0},enableAutomaticAdd:{type:"boolean"},shouldMonitor:{$ref:"#/components/schemas/ImportListMonitorType"},shouldMonitorExisting:{type:"boolean"},shouldSearch:{type:"boolean"},rootFolderPath:{type:"string",nullable:!0},monitorNewItems:{$ref:"#/components/schemas/NewItemMonitorTypes"},qualityProfileId:{type:"integer",format:"int32"},metadataProfileId:{type:"integer",format:"int32"},listType:{$ref:"#/components/schemas/ImportListType"},listOrder:{type:"integer",format:"int32"},minRefreshInterval:{type:"string",format:"date-span"}},additionalProperties:!1},Ng={enum:["program","goodreads","other"],type:"string"},$g={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enableRss:{type:"boolean",nullable:!0},enableAutomaticSearch:{type:"boolean",nullable:!0},enableInteractiveSearch:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},Qg={type:"object",properties:{id:{type:"integer",format:"int32"},minimumAge:{type:"integer",format:"int32"},maximumSize:{type:"integer",format:"int32"},retention:{type:"integer",format:"int32"},rssSyncInterval:{type:"integer",format:"int32"}},additionalProperties:!1},jg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},Ug={enum:["freeleech","halfleech","doubleUpload","internal","scene","freeleech75","freeleech25"],type:"string"},Hg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/IndexerResource"},nullable:!0},enableRss:{type:"boolean"},enableAutomaticSearch:{type:"boolean"},enableInteractiveSearch:{type:"boolean"},supportsRss:{type:"boolean"},supportsSearch:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},downloadClientId:{type:"integer",format:"int32"}},additionalProperties:!1},qg={type:"object",properties:{twoLetterCode:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},zg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},Wg={type:"object",properties:{url:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},Kg={type:"object",properties:{id:{type:"integer",format:"int32"},filename:{type:"string",nullable:!0},lastWriteTime:{type:"string",format:"date-time"},contentsUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0}},additionalProperties:!1},Yg={type:"object",properties:{id:{type:"integer",format:"int32"},time:{type:"string",format:"date-time"},exception:{type:"string",nullable:!0},exceptionType:{type:"string",nullable:!0},level:{type:"string",nullable:!0},logger:{type:"string",nullable:!0},message:{type:"string",nullable:!0},method:{type:"string",nullable:!0}},additionalProperties:!1},_g={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/LogResource"},nullable:!0}},additionalProperties:!1},Xg={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},name:{type:"string",nullable:!0},size:{type:"integer",format:"int64"},author:{$ref:"#/components/schemas/AuthorResource"},book:{$ref:"#/components/schemas/BookResource"},foreignEditionId:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},releaseGroup:{type:"string",nullable:!0},qualityWeight:{type:"integer",format:"int32"},downloadId:{type:"string",nullable:!0},indexerFlags:{type:"integer",format:"int32"},rejections:{type:"array",items:{$ref:"#/components/schemas/Rejection"},nullable:!0},audioTags:{$ref:"#/components/schemas/ParsedTrackInfo"},additionalFile:{type:"boolean"},replaceExistingFiles:{type:"boolean"},disableReleaseSwitching:{type:"boolean"}},additionalProperties:!1},Zg={type:"object",properties:{id:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},name:{type:"string",nullable:!0},authorId:{type:"integer",format:"int32",nullable:!0},bookId:{type:"integer",format:"int32",nullable:!0},foreignEditionId:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},releaseGroup:{type:"string",nullable:!0},indexerFlags:{type:"integer",format:"int32"},downloadId:{type:"string",nullable:!0},additionalFile:{type:"boolean"},replaceExistingFiles:{type:"boolean"},disableReleaseSwitching:{type:"boolean"},rejections:{type:"array",items:{$ref:"#/components/schemas/Rejection"},nullable:!0}},additionalProperties:!1},Jg={type:"object",properties:{url:{type:"string",nullable:!0},coverType:{$ref:"#/components/schemas/MediaCoverTypes"},extension:{type:"string",nullable:!0,readOnly:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},ef={enum:["unknown","poster","banner","fanart","screenshot","headshot","cover","disc","logo","clearlogo"],type:"string"},tf={type:"object",properties:{audioFormat:{type:"string",nullable:!0},audioBitrate:{type:"integer",format:"int32"},audioChannels:{type:"integer",format:"int32"},audioBits:{type:"integer",format:"int32"},audioSampleRate:{type:"integer",format:"int32"}},additionalProperties:!1},rf={type:"object",properties:{id:{type:"integer",format:"int32"},audioChannels:{type:"number",format:"double"},audioBitRate:{type:"string",nullable:!0},audioCodec:{type:"string",nullable:!0},audioBits:{type:"string",nullable:!0},audioSampleRate:{type:"string",nullable:!0}},additionalProperties:!1},of={type:"object",properties:{id:{type:"integer",format:"int32"},autoUnmonitorPreviouslyDownloadedBooks:{type:"boolean"},recycleBin:{type:"string",nullable:!0},recycleBinCleanupDays:{type:"integer",format:"int32"},downloadPropersAndRepacks:{$ref:"#/components/schemas/ProperDownloadTypes"},createEmptyAuthorFolders:{type:"boolean"},deleteEmptyFolders:{type:"boolean"},fileDate:{$ref:"#/components/schemas/FileDateType"},watchLibraryForChanges:{type:"boolean"},rescanAfterRefresh:{$ref:"#/components/schemas/RescanAfterRefreshType"},allowFingerprinting:{$ref:"#/components/schemas/AllowFingerprinting"},setPermissionsLinux:{type:"boolean"},chmodFolder:{type:"string",nullable:!0},chownGroup:{type:"string",nullable:!0},skipFreeSpaceCheckWhenImporting:{type:"boolean"},minimumFreeSpaceWhenImporting:{type:"integer",format:"int32"},copyUsingHardlinks:{type:"boolean"},importExtraFiles:{type:"boolean"},extraFileExtensions:{type:"string",nullable:!0}},additionalProperties:!1},nf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},minPopularity:{type:"number",format:"double"},skipMissingDate:{type:"boolean"},skipMissingIsbn:{type:"boolean"},skipPartsAndSets:{type:"boolean"},skipSeriesSecondary:{type:"boolean"},allowedLanguages:{type:"string",nullable:!0},minPages:{type:"integer",format:"int32"},ignored:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},af={type:"object",properties:{value:{$ref:"#/components/schemas/MetadataProfile"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},sf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},minPopularity:{type:"number",format:"double"},skipMissingDate:{type:"boolean"},skipMissingIsbn:{type:"boolean"},skipPartsAndSets:{type:"boolean"},skipSeriesSecondary:{type:"boolean"},allowedLanguages:{type:"string",nullable:!0},minPages:{type:"integer",format:"int32"},ignored:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},pf={type:"object",properties:{id:{type:"integer",format:"int32"},writeAudioTags:{$ref:"#/components/schemas/WriteAudioTagsType"},scrubAudioTags:{type:"boolean"},writeBookTags:{$ref:"#/components/schemas/WriteBookTagsType"},updateCovers:{type:"boolean"},embedMetadata:{type:"boolean"}},additionalProperties:!1},lf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/MetadataResource"},nullable:!0},enable:{type:"boolean"}},additionalProperties:!1},uf={enum:["all","future","missing","existing","latest","first","none","unknown"],type:"string"},df={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},booksToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},cf={type:"object",properties:{id:{type:"integer",format:"int32"},renameBooks:{type:"boolean"},replaceIllegalCharacters:{type:"boolean"},colonReplacementFormat:{type:"integer",format:"int32"},standardBookFormat:{type:"string",nullable:!0},authorFolderFormat:{type:"string",nullable:!0},includeAuthorName:{type:"boolean"},includeBookTitle:{type:"boolean"},includeQuality:{type:"boolean"},replaceSpaces:{type:"boolean"},separator:{type:"string",nullable:!0},numberStyle:{type:"string",nullable:!0}},additionalProperties:!1},yf={enum:["all","none","new"],type:"string"},mf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/NotificationResource"},nullable:!0},link:{type:"string",nullable:!0},onGrab:{type:"boolean"},onReleaseImport:{type:"boolean"},onUpgrade:{type:"boolean"},onRename:{type:"boolean"},onAuthorAdded:{type:"boolean"},onAuthorDelete:{type:"boolean"},onBookDelete:{type:"boolean"},onBookFileDelete:{type:"boolean"},onBookFileDeleteForUpgrade:{type:"boolean"},onHealthIssue:{type:"boolean"},onDownloadFailure:{type:"boolean"},onImportFailure:{type:"boolean"},onBookRetag:{type:"boolean"},onApplicationUpdate:{type:"boolean"},supportsOnGrab:{type:"boolean"},supportsOnReleaseImport:{type:"boolean"},supportsOnUpgrade:{type:"boolean"},supportsOnRename:{type:"boolean"},supportsOnAuthorAdded:{type:"boolean"},supportsOnAuthorDelete:{type:"boolean"},supportsOnBookDelete:{type:"boolean"},supportsOnBookFileDelete:{type:"boolean"},supportsOnBookFileDeleteForUpgrade:{type:"boolean"},supportsOnHealthIssue:{type:"boolean"},includeHealthWarnings:{type:"boolean"},supportsOnDownloadFailure:{type:"boolean"},supportsOnImportFailure:{type:"boolean"},supportsOnBookRetag:{type:"boolean"},supportsOnApplicationUpdate:{type:"boolean"},testCommand:{type:"string",nullable:!0}},additionalProperties:!1},Af={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},parsedBookInfo:{$ref:"#/components/schemas/ParsedBookInfo"},author:{$ref:"#/components/schemas/AuthorResource"},books:{type:"array",items:{$ref:"#/components/schemas/BookResource"},nullable:!0}},additionalProperties:!1},gf={type:"object",properties:{bookTitle:{type:"string",nullable:!0},authorName:{type:"string",nullable:!0},authorTitleInfo:{$ref:"#/components/schemas/AuthorTitleInfo"},quality:{$ref:"#/components/schemas/QualityModel"},releaseDate:{type:"string",nullable:!0},discography:{type:"boolean"},discographyStart:{type:"integer",format:"int32"},discographyEnd:{type:"integer",format:"int32"},releaseGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},releaseVersion:{type:"string",nullable:!0},releaseTitle:{type:"string",nullable:!0}},additionalProperties:!1},ff={type:"object",properties:{title:{type:"string",nullable:!0},cleanTitle:{type:"string",nullable:!0},authors:{type:"array",items:{type:"string"},nullable:!0},authorTitle:{type:"string",nullable:!0,readOnly:!0},bookTitle:{type:"string",nullable:!0},seriesTitle:{type:"string",nullable:!0},seriesIndex:{type:"string",nullable:!0},isbn:{type:"string",nullable:!0},asin:{type:"string",nullable:!0},goodreadsId:{type:"string",nullable:!0},authorMBId:{type:"string",nullable:!0},bookMBId:{type:"string",nullable:!0},releaseMBId:{type:"string",nullable:!0},recordingMBId:{type:"string",nullable:!0},trackMBId:{type:"string",nullable:!0},discNumber:{type:"integer",format:"int32"},discCount:{type:"integer",format:"int32"},country:{$ref:"#/components/schemas/IsoCountry"},year:{type:"integer",format:"int32"},publisher:{type:"string",nullable:!0},label:{type:"string",nullable:!0},source:{type:"string",nullable:!0},catalogNumber:{type:"string",nullable:!0},disambiguation:{type:"string",nullable:!0},duration:{type:"string",format:"date-span"},quality:{$ref:"#/components/schemas/QualityModel"},mediaInfo:{$ref:"#/components/schemas/MediaInfoModel"},trackNumbers:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},language:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0}},additionalProperties:!1},Vf={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},hf={type:"object",properties:{format:{$ref:"#/components/schemas/CustomFormat"},score:{type:"integer",format:"int32"}},additionalProperties:!1},Ef={type:"object",properties:{id:{type:"integer",format:"int32"},format:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},score:{type:"integer",format:"int32"}},additionalProperties:!1},bf={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},Of={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},wf={enum:["info","warning","error"],type:"string"},Tf={enum:["http","socks4","socks5"],type:"string"},If={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Bf={type:"object",properties:{id:{type:"integer",format:"int32"},quality:{$ref:"#/components/schemas/Quality"},title:{type:"string",nullable:!0},weight:{type:"integer",format:"int32"},minSize:{type:"number",format:"double",nullable:!0},maxSize:{type:"number",format:"double",nullable:!0}},additionalProperties:!1},xf={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},Rf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},upgradeAllowed:{type:"boolean"},cutoff:{type:"integer",format:"int32"},minFormatScore:{type:"integer",format:"int32"},cutoffFormatScore:{type:"integer",format:"int32"},formatItems:{type:"array",items:{$ref:"#/components/schemas/ProfileFormatItem"},nullable:!0},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItem"},nullable:!0}},additionalProperties:!1},Df={type:"object",properties:{value:{$ref:"#/components/schemas/QualityProfile"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},Pf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/Quality"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItem"},nullable:!0},allowed:{type:"boolean"}},additionalProperties:!1},Gf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/Quality"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItemResource"},nullable:!0},allowed:{type:"boolean"}},additionalProperties:!1},kf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},upgradeAllowed:{type:"boolean"},cutoff:{type:"integer",format:"int32"},items:{type:"array",items:{$ref:"#/components/schemas/QualityProfileQualityItemResource"},nullable:!0},minFormatScore:{type:"integer",format:"int32"},cutoffFormatScore:{type:"integer",format:"int32"},formatItems:{type:"array",items:{$ref:"#/components/schemas/ProfileFormatItemResource"},nullable:!0}},additionalProperties:!1},vf={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Sf={type:"object",properties:{id:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32",nullable:!0},bookId:{type:"integer",format:"int32",nullable:!0},author:{$ref:"#/components/schemas/AuthorResource"},book:{$ref:"#/components/schemas/BookResource"},quality:{$ref:"#/components/schemas/QualityModel"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},size:{type:"number",format:"double"},title:{type:"string",nullable:!0},sizeleft:{type:"number",format:"double"},timeleft:{type:"string",format:"date-span",nullable:!0},estimatedCompletionTime:{type:"string",format:"date-time",nullable:!0},status:{type:"string",nullable:!0},trackedDownloadStatus:{$ref:"#/components/schemas/TrackedDownloadStatus"},trackedDownloadState:{$ref:"#/components/schemas/TrackedDownloadState"},statusMessages:{type:"array",items:{$ref:"#/components/schemas/TrackedDownloadStatusMessage"},nullable:!0},errorMessage:{type:"string",nullable:!0},downloadId:{type:"string",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},downloadClient:{type:"string",nullable:!0},downloadClientHasPostImportCategory:{type:"boolean"},indexer:{type:"string",nullable:!0},outputPath:{type:"string",nullable:!0},downloadForced:{type:"boolean"}},additionalProperties:!1},Cf={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/QueueResource"},nullable:!0}},additionalProperties:!1},Mf={type:"object",properties:{id:{type:"integer",format:"int32"},totalCount:{type:"integer",format:"int32"},count:{type:"integer",format:"int32"},unknownCount:{type:"integer",format:"int32"},errors:{type:"boolean"},warnings:{type:"boolean"},unknownErrors:{type:"boolean"},unknownWarnings:{type:"boolean"}},additionalProperties:!1},Ff={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"},popularity:{type:"number",format:"double",readOnly:!0}},additionalProperties:!1},Lf={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},Nf={enum:["permanent","temporary"],type:"string"},$f={type:"object",properties:{id:{type:"integer",format:"int32"},enabled:{type:"boolean"},required:{type:"array",items:{type:"string"},nullable:!0},ignored:{type:"array",items:{type:"string"},nullable:!0},indexerId:{type:"integer",format:"int32"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Qf={type:"object",properties:{id:{type:"integer",format:"int32"},guid:{type:"string",nullable:!0},quality:{$ref:"#/components/schemas/QualityModel"},qualityWeight:{type:"integer",format:"int32"},age:{type:"integer",format:"int32"},ageHours:{type:"number",format:"double"},ageMinutes:{type:"number",format:"double"},size:{type:"integer",format:"int64"},indexerId:{type:"integer",format:"int32"},indexer:{type:"string",nullable:!0},releaseGroup:{type:"string",nullable:!0},subGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},title:{type:"string",nullable:!0},discography:{type:"boolean"},sceneSource:{type:"boolean"},airDate:{type:"string",nullable:!0},authorName:{type:"string",nullable:!0},bookTitle:{type:"string",nullable:!0},approved:{type:"boolean"},temporarilyRejected:{type:"boolean"},rejected:{type:"boolean"},rejections:{type:"array",items:{type:"string"},nullable:!0},publishDate:{type:"string",format:"date-time"},commentUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0},infoUrl:{type:"string",nullable:!0},downloadAllowed:{type:"boolean"},releaseWeight:{type:"integer",format:"int32"},customFormats:{type:"array",items:{$ref:"#/components/schemas/CustomFormatResource"},nullable:!0},customFormatScore:{type:"integer",format:"int32"},magnetUrl:{type:"string",nullable:!0},infoHash:{type:"string",nullable:!0},seeders:{type:"integer",format:"int32",nullable:!0},leechers:{type:"integer",format:"int32",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},indexerFlags:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32",nullable:!0},bookId:{type:"integer",format:"int32",nullable:!0},downloadClientId:{type:"integer",format:"int32",nullable:!0},downloadClient:{type:"string",nullable:!0}},additionalProperties:!1},jf={type:"object",properties:{id:{type:"integer",format:"int32"},host:{type:"string",nullable:!0},remotePath:{type:"string",nullable:!0},localPath:{type:"string",nullable:!0}},additionalProperties:!1},Uf={type:"object",properties:{id:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},bookFileId:{type:"integer",format:"int32"},existingPath:{type:"string",nullable:!0},newPath:{type:"string",nullable:!0}},additionalProperties:!1},Hf={enum:["always","afterManual","never"],type:"string"},qf={type:"object",properties:{id:{type:"integer",format:"int32"},authorId:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},trackNumbers:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},bookFileId:{type:"integer",format:"int32"},path:{type:"string",nullable:!0},changes:{type:"array",items:{$ref:"#/components/schemas/TagDifference"},nullable:!0}},additionalProperties:!1},zf={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},Wf={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},defaultMetadataProfileId:{type:"integer",format:"int32"},defaultQualityProfileId:{type:"integer",format:"int32"},defaultMonitorOption:{$ref:"#/components/schemas/MonitorTypes"},defaultNewItemMonitorOption:{$ref:"#/components/schemas/NewItemMonitorTypes"},defaultTags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},isCalibreLibrary:{type:"boolean"},host:{type:"string",nullable:!0},port:{type:"integer",format:"int32"},urlBase:{type:"string",nullable:!0},username:{type:"string",nullable:!0},password:{type:"string",nullable:!0},library:{type:"string",nullable:!0},outputFormat:{type:"string",nullable:!0},outputProfile:{type:"string",nullable:!0},useSsl:{type:"boolean"},accessible:{type:"boolean"},freeSpace:{type:"integer",format:"int64",nullable:!0},totalSpace:{type:"integer",format:"int64",nullable:!0}},additionalProperties:!1},Kf={enum:["console","service","tray"],type:"string"},Yf={type:"object",properties:{value:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},order:{type:"integer",format:"int32"},hint:{type:"string",nullable:!0}},additionalProperties:!1},_f={type:"object",properties:{id:{type:"integer",format:"int32"},foreignSeriesId:{type:"string",nullable:!0},title:{type:"string",nullable:!0},description:{type:"string",nullable:!0},numbered:{type:"boolean"},workCount:{type:"integer",format:"int32"},primaryWorkCount:{type:"integer",format:"int32"},linkItems:{$ref:"#/components/schemas/SeriesBookLinkListLazyLoaded"},books:{$ref:"#/components/schemas/BookListLazyLoaded"},foreignAuthorId:{type:"string",nullable:!0}},additionalProperties:!1},Xf={type:"object",properties:{id:{type:"integer",format:"int32"},position:{type:"string",nullable:!0},seriesPosition:{type:"integer",format:"int32"},seriesId:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"},isPrimary:{type:"boolean"},series:{$ref:"#/components/schemas/SeriesLazyLoaded"},book:{$ref:"#/components/schemas/BookLazyLoaded"}},additionalProperties:!1},Zf={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/SeriesBookLink"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},Jf={type:"object",properties:{id:{type:"integer",format:"int32"},position:{type:"string",nullable:!0},seriesPosition:{type:"integer",format:"int32"},seriesId:{type:"integer",format:"int32"},bookId:{type:"integer",format:"int32"}},additionalProperties:!1},eV={type:"object",properties:{value:{$ref:"#/components/schemas/Series"},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},tV={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/Series"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},rV={type:"object",properties:{id:{type:"integer",format:"int32"},title:{type:"string",nullable:!0},description:{type:"string",nullable:!0},links:{type:"array",items:{$ref:"#/components/schemas/SeriesBookLinkResource"},nullable:!0}},additionalProperties:!1},oV={enum:["default","ascending","descending"],type:"string"},nV={type:"object",properties:{appName:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},version:{type:"string",nullable:!0},buildTime:{type:"string",format:"date-time"},isDebug:{type:"boolean"},isProduction:{type:"boolean"},isAdmin:{type:"boolean"},isUserInteractive:{type:"boolean"},startupPath:{type:"string",nullable:!0},appData:{type:"string",nullable:!0},osName:{type:"string",nullable:!0},osVersion:{type:"string",nullable:!0},isNetCore:{type:"boolean"},isLinux:{type:"boolean"},isOsx:{type:"boolean"},isWindows:{type:"boolean"},isDocker:{type:"boolean"},mode:{$ref:"#/components/schemas/RuntimeMode"},branch:{type:"string",nullable:!0},databaseType:{$ref:"#/components/schemas/DatabaseType"},databaseVersion:{type:"string",nullable:!0},authentication:{$ref:"#/components/schemas/AuthenticationType"},migrationVersion:{type:"integer",format:"int32"},urlBase:{type:"string",nullable:!0},runtimeVersion:{type:"string",nullable:!0},runtimeName:{type:"string",nullable:!0},startTime:{type:"string",format:"date-time"},packageVersion:{type:"string",nullable:!0},packageAuthor:{type:"string",nullable:!0},packageUpdateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},packageUpdateMechanismMessage:{type:"string",nullable:!0}},additionalProperties:!1},iV={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0},delayProfileIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},importListIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},notificationIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},restrictionIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},indexerIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},downloadClientIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},authorIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},aV={type:"object",properties:{field:{type:"string",nullable:!0},oldValue:{type:"string",nullable:!0},newValue:{type:"string",nullable:!0}},additionalProperties:!1},sV={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},pV={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},taskName:{type:"string",nullable:!0},interval:{type:"integer",format:"int32"},lastExecution:{type:"string",format:"date-time"},lastStartTime:{type:"string",format:"date-time"},nextExecution:{type:"string",format:"date-time"},lastDuration:{type:"string",format:"date-span",readOnly:!0}},additionalProperties:!1},lV={enum:["downloading","downloadFailed","downloadFailedPending","importPending","importing","importFailed","imported","ignored"],type:"string"},uV={enum:["ok","warning","error"],type:"string"},dV={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},cV={type:"object",properties:{id:{type:"integer",format:"int32"},firstDayOfWeek:{type:"integer",format:"int32"},calendarWeekColumnHeader:{type:"string",nullable:!0},shortDateFormat:{type:"string",nullable:!0},longDateFormat:{type:"string",nullable:!0},timeFormat:{type:"string",nullable:!0},showRelativeDates:{type:"boolean"},enableColorImpairedMode:{type:"boolean"},uiLanguage:{type:"integer",format:"int32"},theme:{type:"string",nullable:!0}},additionalProperties:!1},yV={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},mV={enum:["builtIn","script","external","apt","docker"],type:"string"},AV={type:"object",properties:{id:{type:"integer",format:"int32"},version:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},releaseDate:{type:"string",format:"date-time"},fileName:{type:"string",nullable:!0},url:{type:"string",nullable:!0},installed:{type:"boolean"},installedOn:{type:"string",format:"date-time",nullable:!0},installable:{type:"boolean"},latest:{type:"boolean"},changes:{$ref:"#/components/schemas/UpdateChanges"},hash:{type:"string",nullable:!0}},additionalProperties:!1},gV={enum:["no","newFiles","allFiles","sync"],type:"string"},fV={enum:["newFiles","allFiles","sync"],type:"string"};var o=h(f()),VV=(e)=>{return(e?.client??o).get({...e,url:"/api"})},hV=(e)=>{return(e?.client??o).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},EV=(e)=>{return(e?.client??o).get({...e,url:"/login"})},bV=(e)=>{return(e?.client??o).get({...e,url:"/logout"})},Ve=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/author"})},he=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/author"})},Ee=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/author/{id}"})},be=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/author/{id}"})},Oe=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/author/{id}"})},OV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/author/editor"})},wV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/author/editor"})},we=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/author/lookup"})},TV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/system/backup"})},IV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/system/backup/{id}"})},BV=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/system/backup/restore/{id}"})},xV=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/system/backup/restore/upload"})},RV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/blocklist"})},DV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/blocklist/{id}"})},PV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/blocklist/bulk"})},Te=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/book"})},GV=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/book"})},kV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/book/{id}/overview"})},vV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/book/{id}"})},SV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/book/{id}"})},Ie=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/book/{id}"})},CV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/book/monitor"})},MV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/book/editor"})},FV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/book/editor"})},LV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/bookfile"})},NV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/bookfile/{id}"})},$V=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/bookfile/{id}"})},QV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/bookfile/{id}"})},jV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/bookfile/editor"})},UV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/bookfile/bulk"})},HV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/book/lookup"})},qV=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/bookshelf"})},zV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/calendar"})},WV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/calendar/{id}"})},KV=(e)=>{return(e?.client??o).get({...e,url:"/feed/v1/calendar/readarr.ics"})},Be=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/command"})},xe=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/command"})},YV=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/command/{id}"})},_V=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/command/{id}"})},XV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/customfilter"})},ZV=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/customfilter"})},JV=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/customfilter/{id}"})},eh=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/customfilter/{id}"})},th=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/customfilter/{id}"})},rh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/customformat"})},oh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/customformat"})},nh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/customformat/{id}"})},ih=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/customformat/{id}"})},ah=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/customformat/{id}"})},sh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/customformat/schema"})},ph=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/wanted/cutoff"})},lh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/wanted/cutoff/{id}"})},uh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/delayprofile"})},dh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/delayprofile"})},ch=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/delayprofile/{id}"})},yh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/delayprofile/{id}"})},mh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/delayprofile/{id}"})},Ah=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/delayprofile/reorder/{id}"})},gh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/development"})},fh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/development/{id}"})},Vh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/development/{id}"})},hh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/diskspace"})},Eh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/downloadclient"})},bh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/downloadclient"})},Oh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/downloadclient/{id}"})},wh=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/downloadclient/{id}"})},Th=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/downloadclient/{id}"})},Ih=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/downloadclient/bulk"})},Bh=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/downloadclient/bulk"})},xh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/downloadclient/schema"})},Rh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/downloadclient/test"})},Dh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/downloadclient/testall"})},Ph=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Gh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/downloadclient"})},kh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/downloadclient/{id}"})},vh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Sh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/edition"})},Ch=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/filesystem"})},Mh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/filesystem/type"})},Fh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/filesystem/mediafiles"})},Re=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/health"})},Lh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/history"})},Nh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/history/since"})},$h=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/history/author"})},Qh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/history/failed/{id}"})},jh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/host"})},Uh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/host/{id}"})},Hh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/host/{id}"})},qh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/importlist"})},zh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlist"})},Wh=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/importlist/{id}"})},Kh=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/importlist/{id}"})},Yh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/importlist/{id}"})},_h=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/importlist/bulk"})},Xh=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/importlist/bulk"})},Zh=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/importlist/schema"})},Jh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlist/test"})},eE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlist/testall"})},tE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlist/action/{name}"})},rE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/importlistexclusion"})},oE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlistexclusion"})},nE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/importlistexclusion/{id}"})},iE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/importlistexclusion/{id}"})},aE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/importlistexclusion/{id}"})},sE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/indexer"})},pE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/indexer"})},lE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/indexer/{id}"})},uE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/indexer/{id}"})},dE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/indexer/{id}"})},cE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/indexer/bulk"})},yE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/indexer/bulk"})},mE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/indexer/schema"})},AE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/indexer/test"})},gE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/indexer/testall"})},fE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/indexer/action/{name}"})},VE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/indexer"})},hE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/indexer/{id}"})},EE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/indexer/{id}"})},bE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/indexerflag"})},OE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/language"})},wE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/language/{id}"})},TE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/localization"})},IE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/log"})},BE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/log/file"})},xE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/log/file/{filename}"})},RE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/manualimport"})},DE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/manualimport"})},PE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/mediacover/author/{authorId}/{filename}"})},GE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/mediacover/book/{bookId}/{filename}"})},kE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/mediamanagement"})},vE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/mediamanagement/{id}"})},SE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/mediamanagement/{id}"})},CE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/metadata"})},ME=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/metadata"})},FE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/metadata/{id}"})},LE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/metadata/{id}"})},NE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/metadata/{id}"})},$E=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/metadata/schema"})},QE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/metadata/test"})},jE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/metadata/testall"})},UE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/metadata/action/{name}"})},HE=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/metadataprofile"})},qE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/metadataprofile"})},zE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/metadataprofile/{id}"})},WE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/metadataprofile/{id}"})},KE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/metadataprofile/{id}"})},YE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/metadataprofile/schema"})},_E=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/metadataprovider"})},XE=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/metadataprovider/{id}"})},ZE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/metadataprovider/{id}"})},JE=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/wanted/missing"})},eb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/wanted/missing/{id}"})},tb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/naming"})},rb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/naming/{id}"})},ob=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/naming/{id}"})},nb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/naming/examples"})},ib=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/notification"})},ab=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/notification"})},sb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/notification/{id}"})},pb=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/notification/{id}"})},lb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/notification/{id}"})},ub=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/notification/schema"})},db=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/notification/test"})},cb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/notification/testall"})},yb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/notification/action/{name}"})},mb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/parse"})},Ab=(e)=>{return(e?.client??o).get({...e,url:"/ping"})},gb=(e)=>{return(e?.client??o).head({...e,url:"/ping"})},fb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/qualitydefinition/{id}"})},Vb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/qualitydefinition/{id}"})},hb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/qualitydefinition"})},Eb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/qualitydefinition/update"})},bb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/qualityprofile"})},Ob=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/qualityprofile"})},wb=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/qualityprofile/{id}"})},Tb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/qualityprofile/{id}"})},Ib=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/qualityprofile/{id}"})},Bb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/qualityprofile/schema"})},xb=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/queue/{id}"})},Rb=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/queue/bulk"})},Db=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/queue"})},Pb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/queue/grab/{id}"})},Gb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/queue/grab/bulk"})},kb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/queue/details"})},vb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/queue/status"})},Sb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/release"})},Cb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/release"})},Mb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/releaseprofile"})},Fb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/releaseprofile"})},Lb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/releaseprofile/{id}"})},Nb=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/releaseprofile/{id}"})},$b=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/releaseprofile/{id}"})},Qb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/release/push"})},jb=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/remotepathmapping"})},Ub=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/remotepathmapping"})},Hb=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/remotepathmapping/{id}"})},qb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/remotepathmapping/{id}"})},zb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/remotepathmapping/{id}"})},Wb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/rename"})},Kb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/retag"})},De=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/rootfolder"})},Pe=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/rootfolder"})},Yb=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/rootfolder/{id}"})},_b=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/rootfolder/{id}"})},Xb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/rootfolder/{id}"})},Zb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/search"})},Jb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/series"})},e1=(e)=>{return(e?.client??o).get({...e,url:"/content/{path}"})},t1=(e)=>{return(e?.client??o).get({...e,url:"/"})},r1=(e)=>{return(e?.client??o).get({...e,url:"/{path}"})},Ge=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/system/status"})},o1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/system/routes"})},n1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/system/routes/duplicate"})},i1=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/system/shutdown"})},a1=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/system/restart"})},s1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/tag"})},p1=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/tag"})},l1=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/tag/{id}"})},u1=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/tag/{id}"})},d1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/tag/{id}"})},c1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/tag/detail"})},y1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/tag/detail/{id}"})},m1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/system/task"})},A1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/system/task/{id}"})},g1=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/config/ui/{id}"})},f1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/ui/{id}"})},V1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/config/ui"})},h1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/update"})},E1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/log/file/update"})},b1=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/log/file/update/{filename}"})};var He={};T(He,{putApiV1TagById:()=>ST,putApiV1NotificationById:()=>mT,putApiV1IndexerproxyById:()=>Kw,putApiV1IndexerById:()=>Le,putApiV1IndexerBulk:()=>$w,putApiV1DownloadclientById:()=>hw,putApiV1DownloadclientBulk:()=>ww,putApiV1CustomfilterById:()=>dw,putApiV1ConfigUiById:()=>jT,putApiV1ConfigHostById:()=>Lw,putApiV1ConfigDownloadclientById:()=>Pw,putApiV1ConfigDevelopmentById:()=>Aw,putApiV1AppprofileById:()=>ZO,putApiV1ApplicationsById:()=>$O,putApiV1ApplicationsBulk:()=>UO,postLogin:()=>tw,postApiV1Tag:()=>FT,postApiV1SystemShutdown:()=>GT,postApiV1SystemRestart:()=>kT,postApiV1SystemBackupRestoreUpload:()=>sw,postApiV1SystemBackupRestoreById:()=>aw,postApiV1SearchBulk:()=>IT,postApiV1Search:()=>TT,postApiV1NotificationTestall:()=>ET,postApiV1NotificationTest:()=>hT,postApiV1NotificationActionByName:()=>bT,postApiV1Notification:()=>fT,postApiV1IndexerproxyTestall:()=>eT,postApiV1IndexerproxyTest:()=>Jw,postApiV1IndexerproxyActionByName:()=>tT,postApiV1Indexerproxy:()=>Xw,postApiV1IndexerTestall:()=>Hw,postApiV1IndexerTest:()=>Uw,postApiV1IndexerActionByName:()=>qw,postApiV1Indexer:()=>Qe,postApiV1DownloadclientTestall:()=>xw,postApiV1DownloadclientTest:()=>Bw,postApiV1DownloadclientActionByName:()=>Rw,postApiV1Downloadclient:()=>Ow,postApiV1Customfilter:()=>mw,postApiV1Command:()=>Se,postApiV1Appprofile:()=>YO,postApiV1ApplicationsTestall:()=>WO,postApiV1ApplicationsTest:()=>zO,postApiV1ApplicationsActionByName:()=>KO,postApiV1Applications:()=>jO,headPing:()=>wT,getPing:()=>OT,getLogout:()=>ow,getLogin:()=>rw,getContentByPath:()=>BT,getByPath:()=>RT,getByIdDownload:()=>cT,getByIdApi:()=>uT,getApiV1Update:()=>qT,getApiV1TagDetailById:()=>LT,getApiV1TagDetail:()=>NT,getApiV1TagById:()=>vT,getApiV1Tag:()=>MT,getApiV1SystemTaskById:()=>QT,getApiV1SystemTask:()=>$T,getApiV1SystemStatus:()=>Ue,getApiV1SystemRoutesDuplicate:()=>PT,getApiV1SystemRoutes:()=>DT,getApiV1SystemBackup:()=>nw,getApiV1Search:()=>je,getApiV1NotificationSchema:()=>VT,getApiV1NotificationById:()=>yT,getApiV1Notification:()=>gT,getApiV1LogFileUpdateByFilename:()=>WT,getApiV1LogFileUpdate:()=>zT,getApiV1LogFileByFilename:()=>pT,getApiV1LogFile:()=>sT,getApiV1Log:()=>aT,getApiV1LocalizationOptions:()=>iT,getApiV1Localization:()=>nT,getApiV1Indexerstatus:()=>oT,getApiV1Indexerstats:()=>rT,getApiV1IndexerproxySchema:()=>Zw,getApiV1IndexerproxyById:()=>Ww,getApiV1Indexerproxy:()=>_w,getApiV1IndexerSchema:()=>jw,getApiV1IndexerCategories:()=>zw,getApiV1IndexerByIdNewznab:()=>lT,getApiV1IndexerByIdDownload:()=>dT,getApiV1IndexerById:()=>Fe,getApiV1Indexer:()=>$e,getApiV1HistorySince:()=>Cw,getApiV1HistoryIndexer:()=>Mw,getApiV1History:()=>Sw,getApiV1Health:()=>Me,getApiV1FilesystemType:()=>vw,getApiV1Filesystem:()=>kw,getApiV1DownloadclientSchema:()=>Iw,getApiV1DownloadclientById:()=>Vw,getApiV1Downloadclient:()=>bw,getApiV1CustomfilterById:()=>uw,getApiV1Customfilter:()=>yw,getApiV1ConfigUiById:()=>UT,getApiV1ConfigUi:()=>HT,getApiV1ConfigHostById:()=>Fw,getApiV1ConfigHost:()=>Nw,getApiV1ConfigDownloadclientById:()=>Dw,getApiV1ConfigDownloadclient:()=>Gw,getApiV1ConfigDevelopmentById:()=>gw,getApiV1ConfigDevelopment:()=>fw,getApiV1CommandById:()=>pw,getApiV1Command:()=>Ce,getApiV1AppprofileSchema:()=>ew,getApiV1AppprofileById:()=>JO,getApiV1Appprofile:()=>_O,getApiV1ApplicationsSchema:()=>qO,getApiV1ApplicationsById:()=>NO,getApiV1Applications:()=>ve,getApi:()=>LO,get:()=>xT,deleteApiV1TagById:()=>CT,deleteApiV1SystemBackupById:()=>iw,deleteApiV1NotificationById:()=>AT,deleteApiV1IndexerproxyById:()=>Yw,deleteApiV1IndexerById:()=>Ne,deleteApiV1IndexerBulk:()=>Qw,deleteApiV1DownloadclientById:()=>Ew,deleteApiV1DownloadclientBulk:()=>Tw,deleteApiV1CustomfilterById:()=>cw,deleteApiV1CommandById:()=>lw,deleteApiV1AppprofileById:()=>XO,deleteApiV1ApplicationsById:()=>QO,deleteApiV1ApplicationsBulk:()=>HO,client:()=>n,UserAgentStatisticsSchema:()=>FO,UpdateResourceSchema:()=>MO,UpdateMechanismSchema:()=>CO,UpdateChangesSchema:()=>SO,UiConfigResourceSchema:()=>vO,TvSearchParamSchema:()=>kO,TaskResourceSchema:()=>GO,TagResourceSchema:()=>PO,TagDetailsResourceSchema:()=>DO,SystemResourceSchema:()=>RO,SortDirectionSchema:()=>xO,SelectOptionSchema:()=>BO,SearchParamSchema:()=>IO,RuntimeModeSchema:()=>TO,ReleaseResourceSchema:()=>wO,ProxyTypeSchema:()=>OO,ProviderMessageTypeSchema:()=>bO,ProviderMessageSchema:()=>EO,PrivacyLevelSchema:()=>hO,PingResourceSchema:()=>VO,NotificationResourceSchema:()=>fO,MusicSearchParamSchema:()=>gO,MovieSearchParamSchema:()=>AO,LogResourceSchema:()=>yO,LogResourcePagingResourceSchema:()=>mO,LogFileResourceSchema:()=>cO,LocalizationOptionSchema:()=>dO,IndexerStatusResourceSchema:()=>uO,IndexerStatsResourceSchema:()=>lO,IndexerStatisticsSchema:()=>pO,IndexerResourceSchema:()=>sO,IndexerProxyResourceSchema:()=>aO,IndexerPrivacySchema:()=>iO,IndexerCategorySchema:()=>nO,IndexerCapabilityResourceSchema:()=>oO,IndexerBulkResourceSchema:()=>rO,IActionResultSchema:()=>tO,HostStatisticsSchema:()=>eO,HostConfigResourceSchema:()=>J1,HistoryResourceSchema:()=>X1,HistoryResourcePagingResourceSchema:()=>Z1,HistoryEventTypeSchema:()=>_1,HealthResourceSchema:()=>Y1,HealthCheckResultSchema:()=>K1,FieldSchema:()=>W1,DownloadProtocolSchema:()=>z1,DownloadClientResourceSchema:()=>q1,DownloadClientConfigResourceSchema:()=>H1,DownloadClientCategorySchema:()=>U1,DownloadClientBulkResourceSchema:()=>j1,DevelopmentConfigResourceSchema:()=>Q1,DatabaseTypeSchema:()=>$1,CustomFilterResourceSchema:()=>N1,CommandTriggerSchema:()=>L1,CommandStatusSchema:()=>F1,CommandSchema:()=>S1,CommandResourceSchema:()=>M1,CommandPrioritySchema:()=>C1,CertificateValidationTypeSchema:()=>v1,BookSearchParamSchema:()=>k1,BackupTypeSchema:()=>G1,BackupResourceSchema:()=>P1,AuthenticationTypeSchema:()=>D1,AuthenticationRequiredTypeSchema:()=>R1,ApplyTagsSchema:()=>x1,ApplicationSyncLevelSchema:()=>B1,ApplicationResourceSchema:()=>I1,ApplicationBulkResourceSchema:()=>T1,AppProfileResourceSchema:()=>w1,ApiInfoResourceSchema:()=>O1});var O1={type:"object",properties:{current:{type:"string",nullable:!0},deprecated:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},w1={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},enableRss:{type:"boolean"},enableAutomaticSearch:{type:"boolean"},enableInteractiveSearch:{type:"boolean"},minimumSeeders:{type:"integer",format:"int32"}},additionalProperties:!1},T1={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},syncLevel:{$ref:"#/components/schemas/ApplicationSyncLevel"}},additionalProperties:!1},I1={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/ApplicationResource"},nullable:!0},syncLevel:{$ref:"#/components/schemas/ApplicationSyncLevel"},testCommand:{type:"string",nullable:!0}},additionalProperties:!1},B1={enum:["disabled","addOnly","fullSync"],type:"string"},x1={enum:["add","remove","replace"],type:"string"},R1={enum:["enabled","disabledForLocalAddresses"],type:"string"},D1={enum:["none","basic","forms","external"],type:"string"},P1={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/BackupType"},size:{type:"integer",format:"int64"},time:{type:"string",format:"date-time"}},additionalProperties:!1},G1={enum:["scheduled","manual","update"],type:"string"},k1={enum:["q","title","author","publisher","genre","year"],type:"string"},v1={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},S1={type:"object",properties:{sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean",readOnly:!0},completionMessage:{type:"string",nullable:!0,readOnly:!0},requiresDiskAccess:{type:"boolean",readOnly:!0},isExclusive:{type:"boolean",readOnly:!0},isTypeExclusive:{type:"boolean",readOnly:!0},name:{type:"string",nullable:!0,readOnly:!0},lastExecutionTime:{type:"string",format:"date-time",nullable:!0},lastStartTime:{type:"string",format:"date-time",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},suppressMessages:{type:"boolean"},clientUserAgent:{type:"string",nullable:!0}},additionalProperties:!1},C1={enum:["normal","high","low"],type:"string"},M1={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},commandName:{type:"string",nullable:!0},message:{type:"string",nullable:!0},body:{$ref:"#/components/schemas/Command"},priority:{$ref:"#/components/schemas/CommandPriority"},status:{$ref:"#/components/schemas/CommandStatus"},queued:{type:"string",format:"date-time"},started:{type:"string",format:"date-time",nullable:!0},ended:{type:"string",format:"date-time",nullable:!0},duration:{type:"string",format:"date-span",nullable:!0},exception:{type:"string",nullable:!0},trigger:{$ref:"#/components/schemas/CommandTrigger"},clientUserAgent:{type:"string",nullable:!0},stateChangeTime:{type:"string",format:"date-time",nullable:!0},sendUpdatesToClient:{type:"boolean"},updateScheduledTask:{type:"boolean"},lastExecutionTime:{type:"string",format:"date-time",nullable:!0}},additionalProperties:!1},F1={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},L1={enum:["unspecified","manual","scheduled"],type:"string"},N1={type:"object",properties:{id:{type:"integer",format:"int32"},type:{type:"string",nullable:!0},label:{type:"string",nullable:!0},filters:{type:"array",items:{type:"object",additionalProperties:{}},nullable:!0}},additionalProperties:!1},$1={enum:["sqLite","postgreSQL"],type:"string"},Q1={type:"object",properties:{id:{type:"integer",format:"int32"},consoleLogLevel:{type:"string",nullable:!0},logSql:{type:"boolean"},logIndexerResponse:{type:"boolean"},logRotate:{type:"integer",format:"int32"},filterSentryEvents:{type:"boolean"}},additionalProperties:!1},j1={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enable:{type:"boolean",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},U1={type:"object",properties:{clientCategory:{type:"string",nullable:!0},categories:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},H1={type:"object",properties:{id:{type:"integer",format:"int32"}},additionalProperties:!1},q1={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/DownloadClientResource"},nullable:!0},enable:{type:"boolean"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},priority:{type:"integer",format:"int32"},categories:{type:"array",items:{$ref:"#/components/schemas/DownloadClientCategory"},nullable:!0},supportsCategories:{type:"boolean"}},additionalProperties:!1},z1={enum:["unknown","usenet","torrent"],type:"string"},W1={type:"object",properties:{order:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},label:{type:"string",nullable:!0},unit:{type:"string",nullable:!0},helpText:{type:"string",nullable:!0},helpTextWarning:{type:"string",nullable:!0},helpLink:{type:"string",nullable:!0},value:{nullable:!0},type:{type:"string",nullable:!0},advanced:{type:"boolean"},selectOptions:{type:"array",items:{$ref:"#/components/schemas/SelectOption"},nullable:!0},selectOptionsProviderAction:{type:"string",nullable:!0},section:{type:"string",nullable:!0},hidden:{type:"string",nullable:!0},privacy:{$ref:"#/components/schemas/PrivacyLevel"},placeholder:{type:"string",nullable:!0},isFloat:{type:"boolean"}},additionalProperties:!1},K1={enum:["ok","notice","warning","error"],type:"string"},Y1={type:"object",properties:{id:{type:"integer",format:"int32"},source:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/HealthCheckResult"},message:{type:"string",nullable:!0},wikiUrl:{type:"string",nullable:!0}},additionalProperties:!1},_1={enum:["unknown","releaseGrabbed","indexerQuery","indexerRss","indexerAuth","indexerInfo"],type:"string"},X1={type:"object",properties:{id:{type:"integer",format:"int32"},indexerId:{type:"integer",format:"int32"},date:{type:"string",format:"date-time"},downloadId:{type:"string",nullable:!0},successful:{type:"boolean"},eventType:{$ref:"#/components/schemas/HistoryEventType"},data:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0}},additionalProperties:!1},Z1={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/HistoryResource"},nullable:!0}},additionalProperties:!1},J1={type:"object",properties:{id:{type:"integer",format:"int32"},bindAddress:{type:"string",nullable:!0},port:{type:"integer",format:"int32"},sslPort:{type:"integer",format:"int32"},enableSsl:{type:"boolean"},launchBrowser:{type:"boolean"},authenticationMethod:{$ref:"#/components/schemas/AuthenticationType"},authenticationRequired:{$ref:"#/components/schemas/AuthenticationRequiredType"},analyticsEnabled:{type:"boolean"},username:{type:"string",nullable:!0},password:{type:"string",nullable:!0},passwordConfirmation:{type:"string",nullable:!0},logLevel:{type:"string",nullable:!0},logSizeLimit:{type:"integer",format:"int32"},consoleLogLevel:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},apiKey:{type:"string",nullable:!0},sslCertPath:{type:"string",nullable:!0},sslCertPassword:{type:"string",nullable:!0},urlBase:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},applicationUrl:{type:"string",nullable:!0},updateAutomatically:{type:"boolean"},updateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},updateScriptPath:{type:"string",nullable:!0},proxyEnabled:{type:"boolean"},proxyType:{$ref:"#/components/schemas/ProxyType"},proxyHostname:{type:"string",nullable:!0},proxyPort:{type:"integer",format:"int32"},proxyUsername:{type:"string",nullable:!0},proxyPassword:{type:"string",nullable:!0},proxyBypassFilter:{type:"string",nullable:!0},proxyBypassLocalAddresses:{type:"boolean"},certificateValidation:{$ref:"#/components/schemas/CertificateValidationType"},backupFolder:{type:"string",nullable:!0},backupInterval:{type:"integer",format:"int32"},backupRetention:{type:"integer",format:"int32"},historyCleanupDays:{type:"integer",format:"int32"},trustCgnatIpAddresses:{type:"boolean"}},additionalProperties:!1},eO={type:"object",properties:{host:{type:"string",nullable:!0},numberOfQueries:{type:"integer",format:"int32"},numberOfGrabs:{type:"integer",format:"int32"}},additionalProperties:!1},tO={type:"object",additionalProperties:!1},rO={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},tags:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applyTags:{$ref:"#/components/schemas/ApplyTags"},enable:{type:"boolean",nullable:!0},appProfileId:{type:"integer",format:"int32",nullable:!0},priority:{type:"integer",format:"int32",nullable:!0},minimumSeeders:{type:"integer",format:"int32",nullable:!0},seedRatio:{type:"number",format:"double",nullable:!0},seedTime:{type:"integer",format:"int32",nullable:!0},packSeedTime:{type:"integer",format:"int32",nullable:!0},preferMagnetUrl:{type:"boolean",nullable:!0}},additionalProperties:!1},oO={type:"object",properties:{id:{type:"integer",format:"int32"},limitsMax:{type:"integer",format:"int32",nullable:!0},limitsDefault:{type:"integer",format:"int32",nullable:!0},categories:{type:"array",items:{$ref:"#/components/schemas/IndexerCategory"},nullable:!0},supportsRawSearch:{type:"boolean"},searchParams:{type:"array",items:{$ref:"#/components/schemas/SearchParam"},nullable:!0},tvSearchParams:{type:"array",items:{$ref:"#/components/schemas/TvSearchParam"},nullable:!0},movieSearchParams:{type:"array",items:{$ref:"#/components/schemas/MovieSearchParam"},nullable:!0},musicSearchParams:{type:"array",items:{$ref:"#/components/schemas/MusicSearchParam"},nullable:!0},bookSearchParams:{type:"array",items:{$ref:"#/components/schemas/BookSearchParam"},nullable:!0}},additionalProperties:!1},nO={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},description:{type:"string",nullable:!0},subCategories:{type:"array",items:{$ref:"#/components/schemas/IndexerCategory"},nullable:!0,readOnly:!0}},additionalProperties:!1},iO={enum:["public","semiPrivate","private"],type:"string"},aO={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/IndexerProxyResource"},nullable:!0},link:{type:"string",nullable:!0},onHealthIssue:{type:"boolean"},supportsOnHealthIssue:{type:"boolean"},includeHealthWarnings:{type:"boolean"},testCommand:{type:"string",nullable:!0}},additionalProperties:!1},sO={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/IndexerResource"},nullable:!0},indexerUrls:{type:"array",items:{type:"string"},nullable:!0},legacyUrls:{type:"array",items:{type:"string"},nullable:!0},definitionName:{type:"string",nullable:!0},description:{type:"string",nullable:!0},language:{type:"string",nullable:!0},encoding:{type:"string",nullable:!0},enable:{type:"boolean"},redirect:{type:"boolean"},supportsRss:{type:"boolean"},supportsSearch:{type:"boolean"},supportsRedirect:{type:"boolean"},supportsPagination:{type:"boolean"},appProfileId:{type:"integer",format:"int32"},protocol:{$ref:"#/components/schemas/DownloadProtocol"},privacy:{$ref:"#/components/schemas/IndexerPrivacy"},capabilities:{$ref:"#/components/schemas/IndexerCapabilityResource"},priority:{type:"integer",format:"int32"},downloadClientId:{type:"integer",format:"int32"},added:{type:"string",format:"date-time"},status:{$ref:"#/components/schemas/IndexerStatusResource"},sortName:{type:"string",nullable:!0}},additionalProperties:!1},pO={type:"object",properties:{indexerId:{type:"integer",format:"int32"},indexerName:{type:"string",nullable:!0},averageResponseTime:{type:"integer",format:"int32"},averageGrabResponseTime:{type:"integer",format:"int32"},numberOfQueries:{type:"integer",format:"int32"},numberOfGrabs:{type:"integer",format:"int32"},numberOfRssQueries:{type:"integer",format:"int32"},numberOfAuthQueries:{type:"integer",format:"int32"},numberOfFailedQueries:{type:"integer",format:"int32"},numberOfFailedGrabs:{type:"integer",format:"int32"},numberOfFailedRssQueries:{type:"integer",format:"int32"},numberOfFailedAuthQueries:{type:"integer",format:"int32"}},additionalProperties:!1},lO={type:"object",properties:{id:{type:"integer",format:"int32"},indexers:{type:"array",items:{$ref:"#/components/schemas/IndexerStatistics"},nullable:!0},userAgents:{type:"array",items:{$ref:"#/components/schemas/UserAgentStatistics"},nullable:!0},hosts:{type:"array",items:{$ref:"#/components/schemas/HostStatistics"},nullable:!0}},additionalProperties:!1},uO={type:"object",properties:{id:{type:"integer",format:"int32"},indexerId:{type:"integer",format:"int32"},disabledTill:{type:"string",format:"date-time",nullable:!0},mostRecentFailure:{type:"string",format:"date-time",nullable:!0},initialFailure:{type:"string",format:"date-time",nullable:!0}},additionalProperties:!1},dO={type:"object",properties:{name:{type:"string",nullable:!0},value:{type:"string",nullable:!0}},additionalProperties:!1},cO={type:"object",properties:{id:{type:"integer",format:"int32"},filename:{type:"string",nullable:!0},lastWriteTime:{type:"string",format:"date-time"},contentsUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0}},additionalProperties:!1},yO={type:"object",properties:{id:{type:"integer",format:"int32"},time:{type:"string",format:"date-time"},exception:{type:"string",nullable:!0},exceptionType:{type:"string",nullable:!0},level:{type:"string",nullable:!0},logger:{type:"string",nullable:!0},message:{type:"string",nullable:!0},method:{type:"string",nullable:!0}},additionalProperties:!1},mO={type:"object",properties:{page:{type:"integer",format:"int32"},pageSize:{type:"integer",format:"int32"},sortKey:{type:"string",nullable:!0},sortDirection:{$ref:"#/components/schemas/SortDirection"},totalRecords:{type:"integer",format:"int32"},records:{type:"array",items:{$ref:"#/components/schemas/LogResource"},nullable:!0}},additionalProperties:!1},AO={enum:["q","imdbId","tmdbId","imdbTitle","imdbYear","traktId","genre","doubanId","year"],type:"string"},gO={enum:["q","album","artist","label","year","genre","track"],type:"string"},fO={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},fields:{type:"array",items:{$ref:"#/components/schemas/Field"},nullable:!0},implementationName:{type:"string",nullable:!0},implementation:{type:"string",nullable:!0},configContract:{type:"string",nullable:!0},infoLink:{type:"string",nullable:!0},message:{$ref:"#/components/schemas/ProviderMessage"},tags:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},presets:{type:"array",items:{$ref:"#/components/schemas/NotificationResource"},nullable:!0},link:{type:"string",nullable:!0},onGrab:{type:"boolean"},onHealthIssue:{type:"boolean"},onHealthRestored:{type:"boolean"},onApplicationUpdate:{type:"boolean"},supportsOnGrab:{type:"boolean"},includeManualGrabs:{type:"boolean"},supportsOnHealthIssue:{type:"boolean"},supportsOnHealthRestored:{type:"boolean"},includeHealthWarnings:{type:"boolean"},supportsOnApplicationUpdate:{type:"boolean"},testCommand:{type:"string",nullable:!0}},additionalProperties:!1},VO={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},hO={enum:["normal","password","apiKey","userName"],type:"string"},EO={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},bO={enum:["info","warning","error"],type:"string"},OO={enum:["http","socks4","socks5"],type:"string"},wO={type:"object",properties:{id:{type:"integer",format:"int32"},guid:{type:"string",nullable:!0},age:{type:"integer",format:"int32"},ageHours:{type:"number",format:"double"},ageMinutes:{type:"number",format:"double"},size:{type:"integer",format:"int64"},files:{type:"integer",format:"int32",nullable:!0},grabs:{type:"integer",format:"int32",nullable:!0},indexerId:{type:"integer",format:"int32"},indexer:{type:"string",nullable:!0},subGroup:{type:"string",nullable:!0},releaseHash:{type:"string",nullable:!0},title:{type:"string",nullable:!0},sortTitle:{type:"string",nullable:!0},imdbId:{type:"integer",format:"int32"},tmdbId:{type:"integer",format:"int32"},tvdbId:{type:"integer",format:"int32"},tvMazeId:{type:"integer",format:"int32"},publishDate:{type:"string",format:"date-time"},commentUrl:{type:"string",nullable:!0},downloadUrl:{type:"string",nullable:!0},infoUrl:{type:"string",nullable:!0},posterUrl:{type:"string",nullable:!0},indexerFlags:{type:"array",items:{type:"string"},nullable:!0},categories:{type:"array",items:{$ref:"#/components/schemas/IndexerCategory"},nullable:!0},magnetUrl:{type:"string",nullable:!0},infoHash:{type:"string",nullable:!0},seeders:{type:"integer",format:"int32",nullable:!0},leechers:{type:"integer",format:"int32",nullable:!0},protocol:{$ref:"#/components/schemas/DownloadProtocol"},fileName:{type:"string",nullable:!0,readOnly:!0},downloadClientId:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},TO={enum:["console","service","tray"],type:"string"},IO={enum:["q"],type:"string"},BO={type:"object",properties:{value:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},order:{type:"integer",format:"int32"},hint:{type:"string",nullable:!0},parentValue:{type:"integer",format:"int32",nullable:!0}},additionalProperties:!1},xO={enum:["default","ascending","descending"],type:"string"},RO={type:"object",properties:{appName:{type:"string",nullable:!0},instanceName:{type:"string",nullable:!0},version:{type:"string",nullable:!0},buildTime:{type:"string",format:"date-time"},isDebug:{type:"boolean"},isProduction:{type:"boolean"},isAdmin:{type:"boolean"},isUserInteractive:{type:"boolean"},startupPath:{type:"string",nullable:!0},appData:{type:"string",nullable:!0},osName:{type:"string",nullable:!0},osVersion:{type:"string",nullable:!0},isNetCore:{type:"boolean"},isLinux:{type:"boolean"},isOsx:{type:"boolean"},isWindows:{type:"boolean"},isDocker:{type:"boolean"},mode:{$ref:"#/components/schemas/RuntimeMode"},branch:{type:"string",nullable:!0},databaseType:{$ref:"#/components/schemas/DatabaseType"},databaseVersion:{type:"string",nullable:!0},authentication:{$ref:"#/components/schemas/AuthenticationType"},migrationVersion:{type:"integer",format:"int32"},urlBase:{type:"string",nullable:!0},runtimeVersion:{type:"string",nullable:!0},runtimeName:{type:"string",nullable:!0},startTime:{type:"string",format:"date-time"},packageVersion:{type:"string",nullable:!0},packageAuthor:{type:"string",nullable:!0},packageUpdateMechanism:{$ref:"#/components/schemas/UpdateMechanism"},packageUpdateMechanismMessage:{type:"string",nullable:!0}},additionalProperties:!1},DO={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0},notificationIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},indexerIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},indexerProxyIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},applicationIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},PO={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},GO={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},taskName:{type:"string",nullable:!0},interval:{type:"integer",format:"int32"},lastExecution:{type:"string",format:"date-time"},lastStartTime:{type:"string",format:"date-time"},nextExecution:{type:"string",format:"date-time"},lastDuration:{type:"string",format:"date-span",readOnly:!0}},additionalProperties:!1},kO={enum:["q","season","ep","imdbId","tvdbId","rId","tvMazeId","traktId","tmdbId","doubanId","genre","year"],type:"string"},vO={type:"object",properties:{id:{type:"integer",format:"int32"},firstDayOfWeek:{type:"integer",format:"int32"},calendarWeekColumnHeader:{type:"string",nullable:!0},shortDateFormat:{type:"string",nullable:!0},longDateFormat:{type:"string",nullable:!0},timeFormat:{type:"string",nullable:!0},showRelativeDates:{type:"boolean"},enableColorImpairedMode:{type:"boolean"},uiLanguage:{type:"string",nullable:!0},theme:{type:"string",nullable:!0}},additionalProperties:!1},SO={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},CO={enum:["builtIn","script","external","apt","docker"],type:"string"},MO={type:"object",properties:{id:{type:"integer",format:"int32"},version:{type:"string",nullable:!0},branch:{type:"string",nullable:!0},releaseDate:{type:"string",format:"date-time"},fileName:{type:"string",nullable:!0},url:{type:"string",nullable:!0},installed:{type:"boolean"},installedOn:{type:"string",format:"date-time",nullable:!0},installable:{type:"boolean"},latest:{type:"boolean"},changes:{$ref:"#/components/schemas/UpdateChanges"},hash:{type:"string",nullable:!0}},additionalProperties:!1},FO={type:"object",properties:{userAgent:{type:"string",nullable:!0},numberOfQueries:{type:"integer",format:"int32"},numberOfGrabs:{type:"integer",format:"int32"}},additionalProperties:!1};var n=h(f()),LO=(e)=>{return(e?.client??n).get({...e,url:"/api"})},NO=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/applications/{id}"})},$O=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/applications/{id}"})},QO=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/applications/{id}"})},ve=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/applications"})},jO=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/applications"})},UO=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/applications/bulk"})},HO=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/applications/bulk"})},qO=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/applications/schema"})},zO=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/applications/test"})},WO=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/applications/testall"})},KO=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/applications/action/{name}"})},YO=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/appprofile"})},_O=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/appprofile"})},XO=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/appprofile/{id}"})},ZO=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/appprofile/{id}"})},JO=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/appprofile/{id}"})},ew=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/appprofile/schema"})},tw=(e)=>{return(e?.client??n).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},rw=(e)=>{return(e?.client??n).get({...e,url:"/login"})},ow=(e)=>{return(e?.client??n).get({...e,url:"/logout"})},nw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/system/backup"})},iw=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/system/backup/{id}"})},aw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/system/backup/restore/{id}"})},sw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/system/backup/restore/upload"})},pw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/command/{id}"})},lw=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/command/{id}"})},Se=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/command"})},Ce=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/command"})},uw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/customfilter/{id}"})},dw=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/customfilter/{id}"})},cw=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/customfilter/{id}"})},yw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/customfilter"})},mw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/customfilter"})},Aw=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/config/development/{id}"})},gw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/development/{id}"})},fw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/development"})},Vw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/downloadclient/{id}"})},hw=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/downloadclient/{id}"})},Ew=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/downloadclient/{id}"})},bw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/downloadclient"})},Ow=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/downloadclient"})},ww=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/downloadclient/bulk"})},Tw=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/downloadclient/bulk"})},Iw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/downloadclient/schema"})},Bw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/downloadclient/test"})},xw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/downloadclient/testall"})},Rw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Dw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Pw=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/config/downloadclient/{id}"})},Gw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/downloadclient"})},kw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/filesystem"})},vw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/filesystem/type"})},Me=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/health"})},Sw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/history"})},Cw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/history/since"})},Mw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/history/indexer"})},Fw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/host/{id}"})},Lw=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/config/host/{id}"})},Nw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/host"})},Fe=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexer/{id}"})},Le=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/indexer/{id}"})},Ne=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/indexer/{id}"})},$e=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexer"})},Qe=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexer"})},$w=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/indexer/bulk"})},Qw=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/indexer/bulk"})},jw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexer/schema"})},Uw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexer/test"})},Hw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexer/testall"})},qw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexer/action/{name}"})},zw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexer/categories"})},Ww=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexerproxy/{id}"})},Kw=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/indexerproxy/{id}"})},Yw=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/indexerproxy/{id}"})},_w=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexerproxy"})},Xw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexerproxy"})},Zw=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexerproxy/schema"})},Jw=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexerproxy/test"})},eT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexerproxy/testall"})},tT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/indexerproxy/action/{name}"})},rT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexerstats"})},oT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexerstatus"})},nT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/localization"})},iT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/localization/options"})},aT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/log"})},sT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/log/file"})},pT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/log/file/{filename}"})},lT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexer/{id}/newznab"})},uT=(e)=>{return(e?.client??n).get({...e,url:"/{id}/api"})},dT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/indexer/{id}/download"})},cT=(e)=>{return(e?.client??n).get({...e,url:"/{id}/download"})},yT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/notification/{id}"})},mT=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/notification/{id}"})},AT=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/notification/{id}"})},gT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/notification"})},fT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/notification"})},VT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/notification/schema"})},hT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/notification/test"})},ET=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/notification/testall"})},bT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/notification/action/{name}"})},OT=(e)=>{return(e?.client??n).get({...e,url:"/ping"})},wT=(e)=>{return(e?.client??n).head({...e,url:"/ping"})},TT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/search"})},je=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/search"})},IT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/search/bulk"})},BT=(e)=>{return(e?.client??n).get({...e,url:"/content/{path}"})},xT=(e)=>{return(e?.client??n).get({...e,url:"/"})},RT=(e)=>{return(e?.client??n).get({...e,url:"/{path}"})},Ue=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/system/status"})},DT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/system/routes"})},PT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/system/routes/duplicate"})},GT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/system/shutdown"})},kT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/system/restart"})},vT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/tag/{id}"})},ST=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/tag/{id}"})},CT=(e)=>{return(e?.client??n).delete({...e,url:"/api/v1/tag/{id}"})},MT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/tag"})},FT=(e)=>{return(e?.client??n).post({...e,url:"/api/v1/tag"})},LT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/tag/detail/{id}"})},NT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/tag/detail"})},$T=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/system/task"})},QT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/system/task/{id}"})},jT=(e)=>{return(e?.client??n).put({...e,url:"/api/v1/config/ui/{id}"})},UT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/ui/{id}"})},HT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/config/ui"})},qT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/update"})},zT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/log/file/update"})},WT=(e)=>{return(e?.client??n).get({...e,url:"/api/v1/log/file/update/{filename}"})};class A extends Error{code;statusCode;details;constructor(e,i,a,l){super(e);this.code=i;this.statusCode=a;this.details=l;this.name="TsArrError"}}class D extends A{constructor(e="Invalid or missing API key"){super(e,"API_KEY_ERROR",401);this.name="ApiKeyError"}}class I extends A{constructor(e,i){super(`Failed to connect to ${e}`,"CONNECTION_ERROR",void 0,i);this.name="ConnectionError"}}class qe extends A{constructor(e,i){super(e,"VALIDATION_ERROR",void 0,i);this.name="ValidationError"}}class KT extends A{constructor(e){super(`Resource not found: ${e}`,"NOT_FOUND",404);this.name="NotFoundError"}}function m(e){if(!e.apiKey)throw new D;if(!e.baseUrl)throw new I("No base URL provided");let i={...e,baseUrl:e.baseUrl.replace(/\/$/,"")};return{config:i,getHeaders:()=>({"X-Api-Key":i.apiKey,"Content-Type":"application/json",...i.headers}),getBaseUrl:()=>i.baseUrl}}function PI(e){if(!e||e.trim()==="")throw new D;return e.trim()}function GI(e){if(!e||e.trim()==="")throw new I("No base URL provided");try{new URL(e)}catch{throw new I(`Invalid URL: ${e}`)}return e.trim().replace(/\/$/,"")}class Ze{clientConfig;constructor(e){this.clientConfig=m(e),t.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return W()}async getHealth(){return M()}async getMovies(){return F()}async getMovie(e){return Q({path:{id:e}})}async addMovie(e){return L({body:e})}async updateMovie(e,i){return N({path:{id:String(e)},body:i})}async deleteMovie(e){return $({path:{id:e}})}async searchMovies(e){return U({query:{term:e}})}async runCommand(e){return k({body:e})}async getCommands(){return v()}async getRootFolders(){return q()}async addRootFolder(e){return H({body:{path:e}})}async deleteRootFolder(e){return z({path:{id:e}})}async getFilesystem(e){return S(e?{query:{path:e}}:{})}async getMediaFiles(e){return C({query:{path:e}})}async importMovies(e){return j({body:e})}updateConfig(e){let i={...this.clientConfig.config,...e};return this.clientConfig=m(i),t.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class Je{clientConfig;constructor(e){this.clientConfig=m(e),c.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getApi(){return Y()}async getSeries(){return _()}async getSeriesById(e){return Z({path:{id:e}})}async addSeries(e){return X({body:e})}async updateSeries(e,i){return J({path:{id:String(e)},body:i})}async deleteSeries(e){return ee({path:{id:e}})}async searchSeries(e){return te({query:{term:e}})}updateConfig(e){let i={...this.clientConfig.config,...e};return this.clientConfig=m(i),c.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class et{clientConfig;constructor(e){this.clientConfig=m(e),r.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return ge()}async getHealth(){return ye()}async getArtists(){return pe()}async getArtist(e){return ie({path:{id:e}})}async addArtist(e){return le({body:e})}async updateArtist(e,i){return ae({path:{id:String(e)},body:i})}async deleteArtist(e){return se({path:{id:e}})}async getAlbums(){return oe()}async getAlbum(e){return ne({path:{id:e}})}async searchArtists(e){return ue({query:{term:e}})}async runCommand(e){return de({body:e})}async getCommands(){return ce()}async getRootFolders(){return Ae()}async addRootFolder(e){return me({body:{path:e}})}updateConfig(e){let i={...this.clientConfig.config,...e};return this.clientConfig=m(i),r.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class tt{clientConfig;constructor(e){this.clientConfig=m(e),o.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return Ge()}async getHealth(){return Re()}async getAuthors(){return Ve()}async getAuthor(e){return Oe({path:{id:e}})}async addAuthor(e){return he({body:e})}async updateAuthor(e,i){return Ee({path:{id:String(e)},body:i})}async deleteAuthor(e){return be({path:{id:e}})}async getBooks(){return Te()}async getBook(e){return Ie({path:{id:e}})}async searchAuthors(e){return we({query:{term:e}})}async runCommand(e){return Be({body:e})}async getCommands(){return xe()}async getRootFolders(){return Pe()}async addRootFolder(e){return De({body:{path:e}})}updateConfig(e){let i={...this.clientConfig.config,...e};return this.clientConfig=m(i),o.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class rt{clientConfig;constructor(e){this.clientConfig=m(e),n.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return Ue()}async getHealth(){return Me()}async getIndexers(){return $e()}async getIndexer(e){return Fe({path:{id:e}})}async addIndexer(e){return Qe({body:e})}async updateIndexer(e,i){return Le({path:{id:String(e)},body:i})}async deleteIndexer(e){return Ne({path:{id:e}})}async search(e,i){return je({query:{query:e,...i&&{indexerIds:i}}})}async getApplications(){return ve()}async runCommand(e){return Se({body:e})}async getCommands(){return Ce()}updateConfig(e){let i={...this.clientConfig.config,...e};return this.clientConfig=m(i),n.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}async function HI(e){try{let i=await e;if(i.error)return{success:!1,error:ot(i.error,i.response)};return{success:!0,data:i.data}}catch(i){return{success:!1,error:ot(i)}}}function ot(e,i){if(e instanceof A)return e;if(i){let{status:a,statusText:l}=i;if(a===401)return new A("Unauthorized - check your API key","UNAUTHORIZED",401);if(a===404)return new A("Resource not found","NOT_FOUND",404);if(a>=500)return new A(`Server error: ${l}`,"SERVER_ERROR",a);if(a>=400)return new A(`Client error: ${l}`,"CLIENT_ERROR",a)}if(e?.message?.includes("fetch"))return new A("Network error - unable to connect to server","NETWORK_ERROR");return new A(e?.message||"Unknown error occurred","UNKNOWN_ERROR",void 0,e)}function qI(e,i){if(!e)throw new qe("No data returned from API");return e}var WI="1.0.0";export{qI as validateResponse,GI as validateBaseUrl,PI as validateApiKey,HI as handleApiResponse,m as createServarrClient,qe as ValidationError,WI as VERSION,A as TsArrError,Je as SonarrClient,re as Sonarr,tt as ReadarrClient,ke as Readarr,Ze as RadarrClient,K as Radarr,rt as ProwlarrClient,He as Prowlarr,KT as NotFoundError,et as LidarrClient,fe as Lidarr,I as ConnectionError,D as ApiKeyError};
|
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tsarr",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Type-safe TypeScript SDK for Servarr APIs (Radarr, Sonarr, etc.)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"servarr",
|
|
7
|
+
"radarr",
|
|
8
|
+
"sonarr",
|
|
9
|
+
"lidarr",
|
|
10
|
+
"readarr",
|
|
11
|
+
"prowlarr",
|
|
12
|
+
"typescript",
|
|
13
|
+
"sdk",
|
|
14
|
+
"api",
|
|
15
|
+
"bun"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Robbe Verhelst",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/robbeverhelst/tsarr.git"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public",
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
},
|
|
27
|
+
"main": "dist/index.js",
|
|
28
|
+
"module": "dist/index.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"type": "module",
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"sideEffects": false,
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"import": "./dist/index.js",
|
|
38
|
+
"types": "./dist/index.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./radarr": {
|
|
41
|
+
"import": "./dist/clients/radarr.js",
|
|
42
|
+
"types": "./dist/clients/radarr.d.ts"
|
|
43
|
+
},
|
|
44
|
+
"./sonarr": {
|
|
45
|
+
"import": "./dist/clients/sonarr.js",
|
|
46
|
+
"types": "./dist/clients/sonarr.d.ts"
|
|
47
|
+
},
|
|
48
|
+
"./lidarr": {
|
|
49
|
+
"import": "./dist/clients/lidarr.js",
|
|
50
|
+
"types": "./dist/clients/lidarr.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"./readarr": {
|
|
53
|
+
"import": "./dist/clients/readarr.js",
|
|
54
|
+
"types": "./dist/clients/readarr.d.ts"
|
|
55
|
+
},
|
|
56
|
+
"./prowlarr": {
|
|
57
|
+
"import": "./dist/clients/prowlarr.js",
|
|
58
|
+
"types": "./dist/clients/prowlarr.d.ts"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "bun run generate && bun build src/index.ts --outdir dist --target node --minify --splitting",
|
|
63
|
+
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
|
|
64
|
+
"prepublishOnly": "bun run build && bun run build:types",
|
|
65
|
+
"test": "bun test",
|
|
66
|
+
"dev": "bun run src/index.ts",
|
|
67
|
+
"lint": "biome check .",
|
|
68
|
+
"lint:fix": "biome check . --write",
|
|
69
|
+
"format": "biome format . --write",
|
|
70
|
+
"typecheck": "tsc --noEmit",
|
|
71
|
+
"generate": "bun run scripts/generate.ts",
|
|
72
|
+
"generate:radarr": "bun run scripts/generate-radarr.ts",
|
|
73
|
+
"generate:sonarr": "bun run scripts/generate-sonarr.ts",
|
|
74
|
+
"clean": "rm -rf src/generated && rm -rf dist",
|
|
75
|
+
"release": "semantic-release",
|
|
76
|
+
"release:dry": "semantic-release --dry-run"
|
|
77
|
+
},
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"@hey-api/client-fetch": "^0.4.0"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@biomejs/biome": "^1.9.3",
|
|
83
|
+
"@hey-api/openapi-ts": "^0.54.0",
|
|
84
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
85
|
+
"@semantic-release/git": "^10.0.1",
|
|
86
|
+
"@semantic-release/github": "^11.0.5",
|
|
87
|
+
"@semantic-release/npm": "^12.0.2",
|
|
88
|
+
"@types/bun": "latest",
|
|
89
|
+
"semantic-release": "^24.2.7",
|
|
90
|
+
"typescript": "^5.6.2"
|
|
91
|
+
},
|
|
92
|
+
"engines": {
|
|
93
|
+
"bun": ">=1.0.0"
|
|
94
|
+
}
|
|
95
|
+
}
|