tsarr 1.1.2 → 1.2.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/dist/index.js CHANGED
@@ -1 +1 @@
1
- var Lr=Object.defineProperty;var T=(e,n)=>{for(var a in n)Lr(e,a,{get:n[a],enumerable:!0,configurable:!0,set:(s)=>n[a]=()=>s})};var rt={};T(rt,{putApiV3TagById:()=>yp,putApiV3RemotepathmappingById:()=>ep,putApiV3ReleaseprofileById:()=>Ks,putApiV3QualityprofileById:()=>je,putApiV3QualitydefinitionUpdate:()=>Qs,putApiV3QualitydefinitionById:()=>Ls,putApiV3NotificationById:()=>ve,putApiV3MoviefileEditor:()=>Ts,putApiV3MoviefileById:()=>bs,putApiV3MoviefileBulk:()=>Bs,putApiV3MovieEditor:()=>Vs,putApiV3MovieById:()=>Be,putApiV3MetadataById:()=>ss,putApiV3IndexerById:()=>Ve,putApiV3IndexerBulk:()=>Na,putApiV3ImportlistById:()=>ue,putApiV3ImportlistBulk:()=>wa,putApiV3ExclusionsById:()=>ka,putApiV3DownloadclientById:()=>z,putApiV3DownloadclientBulk:()=>_,putApiV3DelayprofileReorderById:()=>ca,putApiV3DelayprofileById:()=>ua,putApiV3CustomformatById:()=>N,putApiV3CustomformatBulk:()=>j,putApiV3CustomfilterById:()=>oa,putApiV3ConfigUiById:()=>Ep,putApiV3ConfigNamingById:()=>Gs,putApiV3ConfigMetadataById:()=>As,putApiV3ConfigMediamanagementById:()=>os,putApiV3ConfigIndexerById:()=>Ua,putApiV3ConfigImportlistById:()=>xa,putApiV3ConfigHostById:()=>ba,putApiV3ConfigDownloadclientById:()=>ga,putApiV3CollectionById:()=>Yi,putApiV3Collection:()=>Ki,putApiV3AutotaggingById:()=>Ci,postLogin:()=>Pi,postApiV3Tag:()=>cp,postApiV3SystemShutdown:()=>lp,postApiV3SystemRestart:()=>up,postApiV3SystemBackupRestoreUpload:()=>ji,postApiV3SystemBackupRestoreById:()=>Qi,postApiV3Rootfolder:()=>Ze,postApiV3Remotepathmapping:()=>Xs,postApiV3Releaseprofile:()=>qs,postApiV3ReleasePush:()=>_s,postApiV3Release:()=>Us,postApiV3QueueGrabById:()=>Ke,postApiV3QueueGrabBulk:()=>Ye,postApiV3Qualityprofile:()=>Ne,postApiV3NotificationTestall:()=>Le,postApiV3NotificationTest:()=>Fe,postApiV3NotificationActionByName:()=>Ss,postApiV3Notification:()=>ke,postApiV3MovieImport:()=>De,postApiV3Movie:()=>Ie,postApiV3MetadataTestall:()=>cs,postApiV3MetadataTest:()=>ds,postApiV3MetadataActionByName:()=>ys,postApiV3Metadata:()=>as,postApiV3Manualimport:()=>es,postApiV3IndexerTestall:()=>we,postApiV3IndexerTest:()=>Oe,postApiV3IndexerActionByName:()=>Qa,postApiV3Indexer:()=>fe,postApiV3ImportlistTestall:()=>Ae,postApiV3ImportlistTest:()=>me,postApiV3ImportlistMovie:()=>La,postApiV3ImportlistActionByName:()=>Ia,postApiV3Importlist:()=>le,postApiV3HistoryFailedById:()=>se,postApiV3ExclusionsBulk:()=>Ca,postApiV3Exclusions:()=>Pa,postApiV3DownloadclientTestall:()=>ee,postApiV3DownloadclientTest:()=>J,postApiV3DownloadclientActionByName:()=>ma,postApiV3Downloadclient:()=>W,postApiV3Delayprofile:()=>sa,postApiV3Customformat:()=>L,postApiV3Customfilter:()=>ra,postApiV3Command:()=>C,postApiV3Autotagging:()=>vi,headPing:()=>Fs,getPing:()=>Ms,getLogout:()=>ki,getLogin:()=>Gi,getFeedV3CalendarRadarrIcs:()=>S,getContentByPath:()=>np,getByPath:()=>ap,getApiV3WantedMissing:()=>fs,getApiV3WantedCutoff:()=>aa,getApiV3Update:()=>wp,getApiV3TagDetailById:()=>fp,getApiV3TagDetail:()=>gp,getApiV3TagById:()=>Ap,getApiV3Tag:()=>dp,getApiV3SystemTaskById:()=>hp,getApiV3SystemTask:()=>Vp,getApiV3SystemStatus:()=>tt,getApiV3SystemRoutesDuplicate:()=>pp,getApiV3SystemRoutes:()=>sp,getApiV3SystemBackup:()=>Ni,getApiV3RootfolderById:()=>op,getApiV3Rootfolder:()=>Je,getApiV3Rename:()=>rp,getApiV3RemotepathmappingById:()=>tp,getApiV3Remotepathmapping:()=>Zs,getApiV3ReleaseprofileById:()=>Ys,getApiV3Releaseprofile:()=>Ws,getApiV3Release:()=>Hs,getApiV3QueueStatus:()=>Xe,getApiV3QueueDetails:()=>_e,getApiV3Queue:()=>ze,getApiV3QualityprofileSchema:()=>He,getApiV3QualityprofileById:()=>Ue,getApiV3Qualityprofile:()=>$e,getApiV3QualitydefinitionLimits:()=>js,getApiV3QualitydefinitionById:()=>Ns,getApiV3Qualitydefinition:()=>$s,getApiV3Parse:()=>Cs,getApiV3NotificationSchema:()=>Me,getApiV3NotificationById:()=>Ce,getApiV3Notification:()=>Ge,getApiV3MoviefileById:()=>ws,getApiV3Moviefile:()=>Es,getApiV3MovieLookupTmdb:()=>Rs,getApiV3MovieLookupImdb:()=>Ds,getApiV3MovieLookup:()=>Pe,getApiV3MovieByIdFolder:()=>xs,getApiV3MovieById:()=>Re,getApiV3Movie:()=>Te,getApiV3MetadataSchema:()=>us,getApiV3MetadataById:()=>ls,getApiV3Metadata:()=>is,getApiV3MediacoverByMovieIdByFilename:()=>ts,getApiV3Manualimport:()=>Ja,getApiV3LogFileUpdateByFilename:()=>Ip,getApiV3LogFileUpdate:()=>Tp,getApiV3LogFileByFilename:()=>Za,getApiV3LogFile:()=>Xa,getApiV3Log:()=>_a,getApiV3LocalizationLanguage:()=>Ya,getApiV3Localization:()=>Ka,getApiV3LanguageById:()=>za,getApiV3Language:()=>Wa,getApiV3Indexerflag:()=>qa,getApiV3IndexerSchema:()=>be,getApiV3IndexerById:()=>Ee,getApiV3Indexer:()=>ge,getApiV3ImportlistSchema:()=>ye,getApiV3ImportlistMovie:()=>Fa,getApiV3ImportlistById:()=>ce,getApiV3Importlist:()=>pe,getApiV3HistorySince:()=>ie,getApiV3HistoryMovie:()=>ae,getApiV3History:()=>ne,getApiV3Health:()=>oe,getApiV3FilesystemType:()=>ha,getApiV3FilesystemMediafiles:()=>re,getApiV3Filesystem:()=>te,getApiV3Extrafile:()=>Va,getApiV3ExclusionsPaged:()=>Ga,getApiV3ExclusionsById:()=>Sa,getApiV3Exclusions:()=>Da,getApiV3DownloadclientSchema:()=>Z,getApiV3DownloadclientById:()=>Y,getApiV3Downloadclient:()=>q,getApiV3Diskspace:()=>ya,getApiV3DelayprofileById:()=>da,getApiV3Delayprofile:()=>pa,getApiV3CustomformatSchema:()=>H,getApiV3CustomformatById:()=>Q,getApiV3Customformat:()=>F,getApiV3CustomfilterById:()=>ia,getApiV3Customfilter:()=>ta,getApiV3CreditById:()=>ea,getApiV3Credit:()=>Ji,getApiV3ConfigUiById:()=>bp,getApiV3ConfigUi:()=>Op,getApiV3ConfigNamingExamples:()=>vs,getApiV3ConfigNamingById:()=>ks,getApiV3ConfigNaming:()=>Ps,getApiV3ConfigMetadataById:()=>gs,getApiV3ConfigMetadata:()=>ms,getApiV3ConfigMediamanagementById:()=>ns,getApiV3ConfigMediamanagement:()=>rs,getApiV3ConfigIndexerById:()=>Ha,getApiV3ConfigIndexer:()=>ja,getApiV3ConfigImportlistById:()=>Ra,getApiV3ConfigImportlist:()=>Ba,getApiV3ConfigHostById:()=>Oa,getApiV3ConfigHost:()=>Ea,getApiV3ConfigDownloadclientById:()=>fa,getApiV3ConfigDownloadclient:()=>Aa,getApiV3CommandById:()=>Zi,getApiV3Command:()=>M,getApiV3CollectionById:()=>_i,getApiV3Collection:()=>zi,getApiV3Calendar:()=>v,getApiV3BlocklistMovie:()=>Hi,getApiV3Blocklist:()=>Ui,getApiV3AutotaggingSchema:()=>Li,getApiV3AutotaggingById:()=>Fi,getApiV3Autotagging:()=>Si,getApiV3AlttitleById:()=>Ri,getApiV3Alttitle:()=>xi,getApi:()=>Di,get:()=>ip,deleteApiV3TagById:()=>mp,deleteApiV3SystemBackupById:()=>$i,deleteApiV3RootfolderById:()=>et,deleteApiV3RemotepathmappingById:()=>Js,deleteApiV3ReleaseprofileById:()=>zs,deleteApiV3QueueById:()=>qe,deleteApiV3QueueBulk:()=>We,deleteApiV3QualityprofileById:()=>Qe,deleteApiV3NotificationById:()=>Se,deleteApiV3MoviefileById:()=>Os,deleteApiV3MoviefileBulk:()=>Is,deleteApiV3MovieEditor:()=>hs,deleteApiV3MovieById:()=>xe,deleteApiV3MetadataById:()=>ps,deleteApiV3IndexerById:()=>he,deleteApiV3IndexerBulk:()=>$a,deleteApiV3ImportlistById:()=>de,deleteApiV3ImportlistBulk:()=>Ta,deleteApiV3ExclusionsById:()=>va,deleteApiV3ExclusionsBulk:()=>Ma,deleteApiV3DownloadclientById:()=>K,deleteApiV3DownloadclientBulk:()=>X,deleteApiV3DelayprofileById:()=>la,deleteApiV3CustomformatById:()=>$,deleteApiV3CustomformatBulk:()=>U,deleteApiV3CustomfilterById:()=>na,deleteApiV3CommandById:()=>Xi,deleteApiV3BlocklistById:()=>qi,deleteApiV3BlocklistBulk:()=>Wi,deleteApiV3AutotaggingById:()=>Mi,client:()=>t,UpdateResourceSchema:()=>Ai,UpdateMechanismSchema:()=>mi,UpdateChangesSchema:()=>yi,UnmappedFolderSchema:()=>ci,UiConfigResourceSchema:()=>di,TrackedDownloadStatusSchema:()=>li,TrackedDownloadStatusMessageSchema:()=>ui,TrackedDownloadStateSchema:()=>pi,TaskResourceSchema:()=>si,TagResourceSchema:()=>ai,TagDetailsResourceSchema:()=>ii,TMDbCountryCodeSchema:()=>ni,SystemResourceSchema:()=>oi,SourceTypeSchema:()=>ri,SortDirectionSchema:()=>ti,SelectOptionSchema:()=>ei,RuntimeModeSchema:()=>Jn,RootFolderResourceSchema:()=>Zn,RevisionSchema:()=>Xn,RescanAfterRefreshTypeSchema:()=>_n,RenameMovieResourceSchema:()=>Yn,RemotePathMappingResourceSchema:()=>Kn,ReleaseResourceSchema:()=>zn,ReleaseProfileResourceSchema:()=>Wn,RejectionTypeSchema:()=>qn,RatingsSchema:()=>Hn,RatingTypeSchema:()=>Un,RatingChildSchema:()=>jn,QueueStatusSchema:()=>$n,QueueStatusResourceSchema:()=>Qn,QueueResourceSchema:()=>Ln,QueueResourcePagingResourceSchema:()=>Nn,QueueBulkResourceSchema:()=>Fn,QualitySourceSchema:()=>Mn,QualitySchema:()=>Pn,QualityProfileResourceSchema:()=>Cn,QualityProfileQualityItemResourceSchema:()=>Sn,QualityModelSchema:()=>vn,QualityDefinitionResourceSchema:()=>kn,QualityDefinitionLimitsResourceSchema:()=>Gn,ProxyTypeSchema:()=>Dn,ProviderMessageTypeSchema:()=>Rn,ProviderMessageSchema:()=>xn,ProperDownloadTypesSchema:()=>Bn,ProfileFormatItemResourceSchema:()=>In,PrivacyLevelSchema:()=>Tn,PingResourceSchema:()=>wn,ParsedMovieInfoSchema:()=>On,ParseResourceSchema:()=>bn,NotificationResourceSchema:()=>En,NamingConfigResourceSchema:()=>hn,MovieStatusTypeSchema:()=>Vn,MovieStatisticsResourceSchema:()=>fn,MovieRuntimeFormatTypeSchema:()=>gn,MovieResourceSchema:()=>mn,MovieResourcePagingResourceSchema:()=>An,MovieHistoryEventTypeSchema:()=>yn,MovieFileResourceSchema:()=>cn,MovieFileListResourceSchema:()=>dn,MovieEditorResourceSchema:()=>un,MovieCollectionResourceSchema:()=>ln,MonitorTypesSchema:()=>pn,ModifierSchema:()=>sn,MetadataResourceSchema:()=>an,MetadataConfigResourceSchema:()=>nn,MediaManagementConfigResourceSchema:()=>on,MediaInfoResourceSchema:()=>rn,MediaCoverTypesSchema:()=>tn,MediaCoverSchema:()=>en,ManualImportResourceSchema:()=>Jo,ManualImportReprocessResourceSchema:()=>Zo,LogResourceSchema:()=>_o,LogResourcePagingResourceSchema:()=>Xo,LogFileResourceSchema:()=>Yo,LocalizationLanguageResourceSchema:()=>Ko,LanguageSchema:()=>Wo,LanguageResourceSchema:()=>zo,IndexerResourceSchema:()=>qo,IndexerFlagResourceSchema:()=>Ho,IndexerConfigResourceSchema:()=>Uo,IndexerBulkResourceSchema:()=>jo,ImportRejectionResourceSchema:()=>Qo,ImportListTypeSchema:()=>$o,ImportListResourceSchema:()=>No,ImportListExclusionResourceSchema:()=>Fo,ImportListExclusionResourcePagingResourceSchema:()=>Lo,ImportListExclusionBulkResourceSchema:()=>Mo,ImportListConfigResourceSchema:()=>Co,ImportListBulkResourceSchema:()=>So,HostConfigResourceSchema:()=>vo,HistoryResourceSchema:()=>Go,HistoryResourcePagingResourceSchema:()=>ko,HealthResourceSchema:()=>Po,HealthCheckResultSchema:()=>Do,FileDateTypeSchema:()=>Ro,FieldSchema:()=>xo,ExtraFileTypeSchema:()=>Bo,ExtraFileResourceSchema:()=>Io,DownloadProtocolSchema:()=>To,DownloadClientResourceSchema:()=>wo,DownloadClientConfigResourceSchema:()=>Oo,DownloadClientBulkResourceSchema:()=>bo,DiskSpaceResourceSchema:()=>Eo,DelayProfileResourceSchema:()=>ho,DatabaseTypeSchema:()=>Vo,CustomFormatSpecificationSchemaSchema:()=>fo,CustomFormatResourceSchema:()=>go,CustomFormatBulkResourceSchema:()=>Ao,CustomFilterResourceSchema:()=>mo,CreditTypeSchema:()=>yo,CreditResourceSchema:()=>co,CommandTriggerSchema:()=>uo,CommandStatusSchema:()=>lo,CommandSchema:()=>io,CommandResultSchema:()=>po,CommandResourceSchema:()=>so,CommandPrioritySchema:()=>ao,ColonReplacementFormatSchema:()=>no,CollectionUpdateResourceSchema:()=>oo,CollectionResourceSchema:()=>ro,CollectionMovieResourceSchema:()=>to,CertificateValidationTypeSchema:()=>eo,CalendarReleaseTypeSchema:()=>Jr,BlocklistResourceSchema:()=>Xr,BlocklistResourcePagingResourceSchema:()=>Zr,BlocklistBulkResourceSchema:()=>_r,BackupTypeSchema:()=>Yr,BackupResourceSchema:()=>Kr,AutoTaggingSpecificationSchemaSchema:()=>zr,AutoTaggingResourceSchema:()=>Wr,AuthenticationTypeSchema:()=>qr,AuthenticationRequiredTypeSchema:()=>Hr,ApplyTagsSchema:()=>Ur,ApiInfoResourceSchema:()=>jr,AlternativeTitleResourceSchema:()=>Qr,AddMovieOptionsSchema:()=>$r,AddMovieMethodSchema:()=>Nr});var Nr={enum:["manual","list","collection"],type:"string"},$r={type:"object",properties:{ignoreEpisodesWithFiles:{type:"boolean"},ignoreEpisodesWithoutFiles:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},searchForMovie:{type:"boolean"},addMethod:{$ref:"#/components/schemas/AddMovieMethod"}},additionalProperties:!1},Qr={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},jr={type:"object",properties:{current:{type:"string",nullable:!0},deprecated:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},Ur={enum:["add","remove","replace"],type:"string"},Hr={enum:["enabled","disabledForLocalAddresses"],type:"string"},qr={enum:["none","basic","forms","external"],type:"string"},Wr={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},zr={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},Kr={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},Yr={enum:["scheduled","manual","update"],type:"string"},_r={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Xr={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},Zr={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},Jr={enum:["cinemaRelease","digitalRelease","physicalRelease"],type:"string"},eo={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},to={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},ro={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},oo={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},no={enum:["delete","dash","spaceDash","spaceDashSpace","smart"],type:"string"},io={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},ao={enum:["normal","high","low"],type:"string"},so={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},po={enum:["unknown","successful","unsuccessful"],type:"string"},lo={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},uo={enum:["unspecified","manual","scheduled"],type:"string"},co={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},yo={enum:["cast","crew"],type:"string"},mo={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},Ao={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0}},additionalProperties:!1},go={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},fo={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},Vo={enum:["sqLite","postgreSQL"],type:"string"},ho={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},Eo={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},bo={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},Oo={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},wo={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},To={enum:["unknown","usenet","torrent"],type:"string"},Io={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},Bo={enum:["subtitle","metadata","other"],type:"string"},xo={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},Ro={enum:["none","cinemas","release"],type:"string"},Do={enum:["ok","notice","warning","error"],type:"string"},Po={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},Go={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},ko={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},vo={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},So={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},Co={type:"object",properties:{id:{type:"integer",format:"int32"},listSyncLevel:{type:"string",nullable:!0}},additionalProperties:!1},Mo={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},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/ImportListExclusionResource"},nullable:!0},tmdbId:{type:"integer",format:"int32"},movieTitle:{type:"string",nullable:!0},movieYear:{type:"integer",format:"int32"}},additionalProperties:!1},Lo={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},No={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},$o={enum:["program","tmdb","trakt","plex","simkl","other","advanced"],type:"string"},Qo={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},jo={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},Uo={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},Ho={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},qo={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},Wo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},zo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},Ko={type:"object",properties:{identifier:{type:"string",nullable:!0}},additionalProperties:!1},Yo={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},_o={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},Xo={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},Zo={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},Jo={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},en={type:"object",properties:{coverType:{$ref:"#/components/schemas/MediaCoverTypes"},url:{type:"string",nullable:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},tn={enum:["unknown","poster","banner","fanart","screenshot","headshot","clearlogo"],type:"string"},rn={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},on={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},nn={type:"object",properties:{id:{type:"integer",format:"int32"},certificationCountry:{$ref:"#/components/schemas/TMDbCountryCode"}},additionalProperties:!1},an={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},sn={enum:["none","regional","screener","rawhd","brdisk","remux"],type:"string"},pn={enum:["movieOnly","movieAndCollection","none"],type:"string"},ln={type:"object",properties:{title:{type:"string",nullable:!0},tmdbId:{type:"integer",format:"int32"}},additionalProperties:!1},un={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},dn={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},cn={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},yn={enum:["unknown","grabbed","downloadFolderImported","downloadFailed","movieFileDeleted","movieFolderImported","movieFileRenamed","downloadIgnored"],type:"string"},mn={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},An={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},gn={enum:["hoursMinutes","minutes"],type:"string"},fn={type:"object",properties:{movieFileCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},releaseGroups:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},Vn={enum:["tba","announced","inCinemas","released","deleted"],type:"string"},hn={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},En={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},bn={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},On={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},wn={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},Tn={enum:["normal","password","apiKey","userName"],type:"string"},In={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},Bn={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},xn={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},Rn={enum:["info","warning","error"],type:"string"},Dn={enum:["http","socks4","socks5"],type:"string"},Pn={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},Gn={type:"object",properties:{min:{type:"integer",format:"int32"},max:{type:"integer",format:"int32"}},additionalProperties:!1},kn={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},vn={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},Sn={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},Cn={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},Mn={enum:["unknown","cam","telesync","telecine","workprint","dvd","tv","webdl","webrip","bluray"],type:"string"},Fn={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Ln={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},Nn={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},$n={enum:["unknown","queued","paused","downloading","completed","failed","warning","delay","downloadClientUnavailable","fallback"],type:"string"},Qn={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},jn={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"},type:{$ref:"#/components/schemas/RatingType"}},additionalProperties:!1},Un={enum:["user","critic"],type:"string"},Hn={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},qn={enum:["permanent","temporary"],type:"string"},Wn={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},zn={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},Kn={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},Yn={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},_n={enum:["always","afterManual","never"],type:"string"},Xn={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},Zn={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},Jn={enum:["console","service","tray"],type:"string"},ei={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},ti={enum:["default","ascending","descending"],type:"string"},ri={enum:["tmdb","mappings","user","indexer"],type:"string"},oi={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},ni={enum:["au","br","ca","fr","de","gb","in","ie","it","nz","ro","es","us"],type:"string"},ii={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},ai={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},si={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},pi={enum:["downloading","importBlocked","importPending","importing","imported","failedPending","failed","ignored"],type:"string"},li={enum:["ok","warning","error"],type:"string"},ui={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},di={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},ci={type:"object",properties:{name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},relativePath:{type:"string",nullable:!0}},additionalProperties:!1},yi={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},mi={enum:["builtIn","script","external","apt","docker"],type:"string"},Ai={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 gi=/\{[^{}]+\}/g,D=({allowReserved:e,name:n,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`${n}=${e?a:encodeURIComponent(a)}`},fi=(e)=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Vi=(e)=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},hi=(e)=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},xr=({allowReserved:e,explode:n,name:a,style:s,value:d})=>{if(!n){let u=(e?d:d.map((y)=>encodeURIComponent(y))).join(Vi(s));switch(s){case"label":return`.${u}`;case"matrix":return`;${a}=${u}`;case"simple":return u;default:return`${a}=${u}`}}let p=fi(s),l=d.map((u)=>s==="label"||s==="simple"?e?u:encodeURIComponent(u):D({allowReserved:e,name:a,value:u})).join(p);return s==="label"||s==="matrix"?p+l:l},Rr=({allowReserved:e,explode:n,name:a,style:s,value:d})=>{if(d instanceof Date)return`${a}=${d.toISOString()}`;if(s!=="deepObject"&&!n){let u=[];Object.entries(d).forEach(([O,E])=>{u=[...u,O,e?E:encodeURIComponent(E)]});let y=u.join(",");switch(s){case"form":return`${a}=${y}`;case"label":return`.${y}`;case"matrix":return`;${a}=${y}`;default:return y}}let p=hi(s),l=Object.entries(d).map(([u,y])=>D({allowReserved:e,name:s==="deepObject"?`${a}[${u}]`:u,value:y})).join(p);return s==="label"||s==="matrix"?p+l:l},Ei=({path:e,url:n})=>{let a=n,s=n.match(gi);if(s)for(let d of s){let p=!1,l=d.substring(1,d.length-1),u="simple";l.endsWith("*")&&(p=!0,l=l.substring(0,l.length-1)),l.startsWith(".")?(l=l.substring(1),u="label"):l.startsWith(";")&&(l=l.substring(1),u="matrix");let y=e[l];if(y==null)continue;if(Array.isArray(y)){a=a.replace(d,xr({explode:p,name:l,style:u,value:y}));continue}if(typeof y=="object"){a=a.replace(d,Rr({explode:p,name:l,style:u,value:y}));continue}if(u==="matrix"){a=a.replace(d,`;${D({name:l,value:y})}`);continue}let O=encodeURIComponent(u==="label"?`.${y}`:y);a=a.replace(d,O)}return a},Dr=({allowReserved:e,array:n,object:a}={})=>(s)=>{let d=[];if(s&&typeof s=="object")for(let p in s){let l=s[p];if(l!=null){if(Array.isArray(l)){d=[...d,xr({allowReserved:e,explode:!0,name:p,style:"form",value:l,...n})];continue}if(typeof l=="object"){d=[...d,Rr({allowReserved:e,explode:!0,name:p,style:"deepObject",value:l,...a})];continue}d=[...d,D({allowReserved:e,name:p,value:l})]}}return d.join("&")},bi=(e)=>{if(!e)return;let n=e.split(";")[0].trim();if(n.startsWith("application/json")||n.endsWith("+json"))return"json";if(n==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some((a)=>n.startsWith(a)))return"blob";if(n.startsWith("text/"))return"text"},Oi=({baseUrl:e,path:n,query:a,querySerializer:s,url:d})=>{let p=d.startsWith("/")?d:`/${d}`,l=e+p;n&&(l=Ei({path:n,url:l}));let u=a?s(a):"";return u.startsWith("?")&&(u=u.substring(1)),u&&(l+=`?${u}`),l},Ir=(e,n)=>{let a={...e,...n};return a.baseUrl?.endsWith("/")&&(a.baseUrl=a.baseUrl.substring(0,a.baseUrl.length-1)),a.headers=Pr(e.headers,n.headers),a},Pr=(...e)=>{let n=new Headers;for(let a of e){if(!a||typeof a!="object")continue;let s=a instanceof Headers?a.entries():Object.entries(a);for(let[d,p]of s)if(p===null)n.delete(d);else if(Array.isArray(p))for(let l of p)n.append(d,l);else p!==void 0&&n.set(d,typeof p=="object"?JSON.stringify(p):p)}return n},k=class{_fns;constructor(){this._fns=[]}clear(){this._fns=[]}exists(e){return this._fns.indexOf(e)!==-1}eject(e){let n=this._fns.indexOf(e);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(e){this._fns=[...this._fns,e]}},wi=()=>({error:new k,request:new k,response:new k}),Br=(e,n,a)=>{typeof a=="string"||a instanceof Blob?e.append(n,a):e.append(n,JSON.stringify(a))},V={bodySerializer:(e)=>{let n=new FormData;return Object.entries(e).forEach(([a,s])=>{s!=null&&(Array.isArray(s)?s.forEach((d)=>Br(n,a,d)):Br(n,a,s))}),n}},Ti={bodySerializer:(e)=>JSON.stringify(e)};var Ii=Dr({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Bi={"Content-Type":"application/json"},f=(e={})=>({...Ti,baseUrl:"",fetch:globalThis.fetch,headers:Bi,parseAs:"auto",querySerializer:Ii,...e}),h=(e={})=>{let n=Ir(f(),e),a=()=>({...n}),s=(l)=>(n=Ir(n,l),a()),d=wi(),p=async(l)=>{let u={...n,...l,headers:Pr(n.headers,l.headers)};u.body&&u.bodySerializer&&(u.body=u.bodySerializer(u.body)),u.body||u.headers.delete("Content-Type");let y=Oi({baseUrl:u.baseUrl??"",path:u.path,query:u.query,querySerializer:typeof u.querySerializer=="function"?u.querySerializer:Dr(u.querySerializer),url:u.url}),O={redirect:"follow",...u},E=new Request(y,O);for(let b of d.request._fns)E=await b(E,u);let Fr=u.fetch,g=await Fr(E);for(let b of d.response._fns)g=await b(g,E,u);let x={request:E,response:g};if(g.ok){if(g.status===204||g.headers.get("Content-Length")==="0")return{data:{},...x};if(u.parseAs==="stream")return{data:g.body,...x};let b=(u.parseAs==="auto"?bi(g.headers.get("Content-Type")):u.parseAs)??"json",G=await g[b]();return b==="json"&&u.responseTransformer&&(G=await u.responseTransformer(G)),{data:G,...x}}let R=await g.text();try{R=JSON.parse(R)}catch{}let w=R;for(let b of d.error._fns)w=await b(R,g,E,u);if(w=w||{},u.throwOnError)throw w;return{error:w,...x}};return{connect:(l)=>p({...l,method:"CONNECT"}),delete:(l)=>p({...l,method:"DELETE"}),get:(l)=>p({...l,method:"GET"}),getConfig:a,head:(l)=>p({...l,method:"HEAD"}),interceptors:d,options:(l)=>p({...l,method:"OPTIONS"}),patch:(l)=>p({...l,method:"PATCH"}),post:(l)=>p({...l,method:"POST"}),put:(l)=>p({...l,method:"PUT"}),request:p,setConfig:s,trace:(l)=>p({...l,method:"TRACE"})}};var t=h(f()),xi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/alttitle"})},Ri=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/alttitle/{id}"})},Di=(e)=>{return(e?.client??t).get({...e,url:"/api"})},Pi=(e)=>{return(e?.client??t).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Gi=(e)=>{return(e?.client??t).get({...e,url:"/login"})},ki=(e)=>{return(e?.client??t).get({...e,url:"/logout"})},vi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/autotagging"})},Si=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging"})},Ci=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/autotagging/{id}"})},Mi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/autotagging/{id}"})},Fi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging/{id}"})},Li=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging/schema"})},Ni=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/backup"})},$i=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/system/backup/{id}"})},Qi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/backup/restore/{id}"})},ji=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/backup/restore/upload"})},Ui=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/blocklist"})},Hi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/blocklist/movie"})},qi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/blocklist/{id}"})},Wi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/blocklist/bulk"})},v=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/calendar"})},S=(e)=>{return(e?.client??t).get({...e,url:"/feed/v3/calendar/radarr.ics"})},zi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/collection"})},Ki=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/collection"})},Yi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/collection/{id}"})},_i=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/collection/{id}"})},C=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/command"})},M=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/command"})},Xi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/command/{id}"})},Zi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/command/{id}"})},Ji=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/credit"})},ea=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/credit/{id}"})},ta=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customfilter"})},ra=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/customfilter"})},oa=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customfilter/{id}"})},na=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customfilter/{id}"})},ia=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customfilter/{id}"})},F=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat"})},L=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/customformat"})},N=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customformat/{id}"})},$=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customformat/{id}"})},Q=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat/{id}"})},j=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customformat/bulk"})},U=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customformat/bulk"})},H=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat/schema"})},aa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/wanted/cutoff"})},sa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/delayprofile"})},pa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/delayprofile"})},la=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/delayprofile/{id}"})},ua=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/delayprofile/{id}"})},da=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/delayprofile/{id}"})},ca=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/delayprofile/reorder/{id}"})},ya=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/diskspace"})},q=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient"})},W=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient"})},z=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/downloadclient/{id}"})},K=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/downloadclient/{id}"})},Y=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient/{id}"})},_=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/downloadclient/bulk"})},X=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/downloadclient/bulk"})},Z=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient/schema"})},J=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/test"})},ee=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/testall"})},ma=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/action/{name}"})},Aa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/downloadclient"})},ga=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/downloadclient/{id}"})},fa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/downloadclient/{id}"})},Va=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/extrafile"})},te=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem"})},ha=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem/type"})},re=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem/mediafiles"})},oe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/health"})},ne=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history"})},ie=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history/since"})},ae=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history/movie"})},se=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/history/failed/{id}"})},Ea=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/host"})},ba=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/host/{id}"})},Oa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/host/{id}"})},pe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist"})},le=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist"})},ue=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/importlist/{id}"})},de=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/importlist/{id}"})},ce=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/{id}"})},wa=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/importlist/bulk"})},Ta=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/importlist/bulk"})},ye=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/schema"})},me=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/test"})},Ae=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/testall"})},Ia=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/action/{name}"})},Ba=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/importlist"})},xa=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/importlist/{id}"})},Ra=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/importlist/{id}"})},Da=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions"})},Pa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/exclusions"})},Ga=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions/paged"})},ka=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/exclusions/{id}"})},va=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/exclusions/{id}"})},Sa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions/{id}"})},Ca=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/exclusions/bulk"})},Ma=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/exclusions/bulk"})},Fa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/movie"})},La=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/movie"})},ge=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer"})},fe=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer"})},Ve=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/indexer/{id}"})},he=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/indexer/{id}"})},Ee=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer/{id}"})},Na=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/indexer/bulk"})},$a=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/indexer/bulk"})},be=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer/schema"})},Oe=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/test"})},we=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/testall"})},Qa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/action/{name}"})},ja=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/indexer"})},Ua=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/indexer/{id}"})},Ha=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/indexer/{id}"})},qa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexerflag"})},Wa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/language"})},za=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/language/{id}"})},Ka=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/localization"})},Ya=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/localization/language"})},_a=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log"})},Xa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file"})},Za=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/{filename}"})},Ja=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/manualimport"})},es=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/manualimport"})},ts=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/mediacover/{movieId}/{filename}"})},rs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/mediamanagement"})},os=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/mediamanagement/{id}"})},ns=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/mediamanagement/{id}"})},is=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata"})},as=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata"})},ss=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/metadata/{id}"})},ps=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/metadata/{id}"})},ls=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata/{id}"})},us=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata/schema"})},ds=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/test"})},cs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/testall"})},ys=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/action/{name}"})},ms=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/metadata"})},As=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/metadata/{id}"})},gs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/metadata/{id}"})},fs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/wanted/missing"})},Te=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie"})},Ie=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/movie"})},Be=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/movie/{id}"})},xe=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/movie/{id}"})},Re=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/{id}"})},Vs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/movie/editor"})},hs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/movie/editor"})},Es=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/moviefile"})},bs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/{id}"})},Os=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/moviefile/{id}"})},ws=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/moviefile/{id}"})},Ts=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/editor"})},Is=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/moviefile/bulk"})},Bs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/bulk"})},xs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/{id}/folder"})},De=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/movie/import"})},Rs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup/tmdb"})},Ds=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup/imdb"})},Pe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup"})},Ps=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming"})},Gs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/naming/{id}"})},ks=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming/{id}"})},vs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming/examples"})},Ge=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification"})},ke=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification"})},ve=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/notification/{id}"})},Se=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/notification/{id}"})},Ce=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification/{id}"})},Me=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification/schema"})},Fe=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/test"})},Le=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/testall"})},Ss=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/action/{name}"})},Cs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/parse"})},Ms=(e)=>{return(e?.client??t).get({...e,url:"/ping"})},Fs=(e)=>{return(e?.client??t).head({...e,url:"/ping"})},Ls=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualitydefinition/{id}"})},Ns=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition/{id}"})},$s=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition"})},Qs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualitydefinition/update"})},js=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition/limits"})},Ne=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/qualityprofile"})},$e=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile"})},Qe=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/qualityprofile/{id}"})},je=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualityprofile/{id}"})},Ue=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile/{id}"})},He=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile/schema"})},qe=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/queue/{id}"})},We=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/queue/bulk"})},ze=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue"})},Ke=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/queue/grab/{id}"})},Ye=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/queue/grab/bulk"})},_e=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue/details"})},Xe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue/status"})},Us=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/release"})},Hs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/release"})},qs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/releaseprofile"})},Ws=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/releaseprofile"})},zs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/releaseprofile/{id}"})},Ks=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/releaseprofile/{id}"})},Ys=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/releaseprofile/{id}"})},_s=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/release/push"})},Xs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/remotepathmapping"})},Zs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/remotepathmapping"})},Js=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/remotepathmapping/{id}"})},ep=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/remotepathmapping/{id}"})},tp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/remotepathmapping/{id}"})},rp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rename"})},Ze=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/rootfolder"})},Je=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rootfolder"})},et=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/rootfolder/{id}"})},op=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rootfolder/{id}"})},np=(e)=>{return(e?.client??t).get({...e,url:"/content/{path}"})},ip=(e)=>{return(e?.client??t).get({...e,url:"/"})},ap=(e)=>{return(e?.client??t).get({...e,url:"/{path}"})},tt=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/status"})},sp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/routes"})},pp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/routes/duplicate"})},lp=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/shutdown"})},up=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/restart"})},dp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag"})},cp=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/tag"})},yp=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/tag/{id}"})},mp=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/tag/{id}"})},Ap=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/{id}"})},gp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/detail"})},fp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/detail/{id}"})},Vp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/task"})},hp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/task/{id}"})},Ep=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/ui/{id}"})},bp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/ui/{id}"})},Op=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/ui"})},wp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/update"})},Tp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/update"})},Ip=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/update/{filename}"})};var gt={};T(gt,{putApiV5SettingsUpdate:()=>mt,putApiV5SeriesById:()=>pt,postLogin:()=>Kp,postApiV5Series:()=>at,headPing:()=>Zp,getPing:()=>Xp,getLogout:()=>_p,getLogin:()=>Yp,getContentByPath:()=>Jp,getByPath:()=>tl,getApiV5Update:()=>ct,getApiV5SettingsUpdateById:()=>At,getApiV5SettingsUpdate:()=>yt,getApiV5SeriesLookup:()=>dt,getApiV5SeriesByIdFolder:()=>ut,getApiV5SeriesById:()=>st,getApiV5Series:()=>it,getApiV5Log:()=>nt,getApi:()=>ot,get:()=>el,deleteApiV5SeriesById:()=>lt,client:()=>c,UpdateSettingsResourceSchema:()=>zp,UpdateResourceSchema:()=>Wp,UpdateMechanismSchema:()=>qp,UpdateChangesSchema:()=>Hp,SortDirectionSchema:()=>Up,SeriesTypesSchema:()=>jp,SeriesStatusTypeSchema:()=>Qp,SeriesStatisticsResourceSchema:()=>$p,SeriesResourceSchema:()=>Np,SeasonStatisticsResourceSchema:()=>Lp,SeasonResourceSchema:()=>Fp,RatingsSchema:()=>Mp,PingResourceSchema:()=>Cp,NewItemMonitorTypesSchema:()=>Sp,MonitorTypesSchema:()=>vp,MediaCoverTypesSchema:()=>kp,MediaCoverSchema:()=>Gp,LogResourceSchema:()=>Dp,LogResourcePagingResourceSchema:()=>Pp,LanguageSchema:()=>Rp,AlternateTitleResourceSchema:()=>xp,AddSeriesOptionsSchema:()=>Bp});var Bp={type:"object",properties:{ignoreEpisodesWithFiles:{type:"boolean"},ignoreEpisodesWithoutFiles:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},searchForMissingEpisodes:{type:"boolean"},searchForCutoffUnmetEpisodes:{type:"boolean"}},additionalProperties:!1},xp={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},Dp={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},Pp={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},Gp={type:"object",properties:{coverType:{$ref:"#/components/schemas/MediaCoverTypes"},url:{type:"string",nullable:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},kp={enum:["unknown","poster","banner","fanart","screenshot","headshot","clearlogo"],type:"string"},vp={enum:["unknown","all","future","missing","existing","firstSeason","lastSeason","latestSeason","pilot","recent","monitorSpecials","unmonitorSpecials","none","skip"],type:"string"},Sp={enum:["all","none"],type:"string"},Cp={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},Mp={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"}},additionalProperties:!1},Fp={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},Lp={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},Np={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},$p={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},Qp={enum:["continuing","ended","upcoming","deleted"],type:"string"},jp={enum:["standard","daily","anime"],type:"string"},Up={enum:["default","ascending","descending"],type:"string"},Hp={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},qp={enum:["builtIn","script","external","apt","docker"],type:"string"},Wp={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},zp={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()),ot=(e)=>{return(e?.client??c).get({...e,url:"/api"})},Kp=(e)=>{return(e?.client??c).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Yp=(e)=>{return(e?.client??c).get({...e,url:"/login"})},_p=(e)=>{return(e?.client??c).get({...e,url:"/logout"})},nt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/log"})},Xp=(e)=>{return(e?.client??c).get({...e,url:"/ping"})},Zp=(e)=>{return(e?.client??c).head({...e,url:"/ping"})},it=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series"})},at=(e)=>{return(e?.client??c).post({...e,url:"/api/v5/series"})},st=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/{id}"})},pt=(e)=>{return(e?.client??c).put({...e,url:"/api/v5/series/{id}"})},lt=(e)=>{return(e?.client??c).delete({...e,url:"/api/v5/series/{id}"})},ut=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/{id}/folder"})},dt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/lookup"})},Jp=(e)=>{return(e?.client??c).get({...e,url:"/content/{path}"})},el=(e)=>{return(e?.client??c).get({...e,url:"/"})},tl=(e)=>{return(e?.client??c).get({...e,url:"/{path}"})},ct=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/update"})},yt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/settings/update"})},mt=(e)=>{return(e?.client??c).put({...e,url:"/api/v5/settings/update"})},At=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/settings/update/{id}"})};var Xt={};T(Xt,{putApiV1TrackfileEditor:()=>yA,putApiV1TrackfileById:()=>uA,putApiV1TagById:()=>Jm,putApiV1RootfolderById:()=>jm,putApiV1RemotepathmappingById:()=>Mm,putApiV1ReleaseprofileById:()=>Dm,putApiV1QualityprofileById:()=>qt,putApiV1QualitydefinitionUpdate:()=>Vm,putApiV1QualitydefinitionById:()=>Am,putApiV1NotificationById:()=>nm,putApiV1MetadataprofileById:()=>qy,putApiV1MetadataById:()=>Sy,putApiV1IndexerById:()=>ay,putApiV1IndexerBulk:()=>uy,putApiV1ImportlistexclusionById:()=>ty,putApiV1ImportlistById:()=>Hc,putApiV1ImportlistBulk:()=>Kc,putApiV1DownloadclientById:()=>Ec,putApiV1DownloadclientBulk:()=>Tc,putApiV1DelayprofileReorderById:()=>fc,putApiV1DelayprofileById:()=>Ac,putApiV1CustomformatById:()=>St,putApiV1CustomformatBulk:()=>Lt,putApiV1CustomfilterById:()=>ac,putApiV1ConfigUiById:()=>AA,putApiV1ConfigNamingById:()=>em,putApiV1ConfigMetadataproviderById:()=>Yy,putApiV1ConfigMediamanagementById:()=>Gy,putApiV1ConfigIndexerById:()=>fy,putApiV1ConfigHostById:()=>Qc,putApiV1ConfigDownloadclientById:()=>Gc,putApiV1AutotaggingById:()=>Hd,putApiV1ArtistEditor:()=>Ld,putApiV1ArtistById:()=>Tt,putApiV1AlbumMonitor:()=>Cd,putApiV1AlbumById:()=>ht,postLogin:()=>$d,postApiV1Tag:()=>rA,postApiV1SystemShutdown:()=>_m,postApiV1SystemRestart:()=>Xm,postApiV1SystemBackupRestoreUpload:()=>Zd,postApiV1SystemBackupRestoreById:()=>Xd,postApiV1Rootfolder:()=>Kt,postApiV1Remotepathmapping:()=>Fm,postApiV1Releaseprofile:()=>km,postApiV1ReleasePush:()=>vm,postApiV1Release:()=>Bm,postApiV1QueueGrabById:()=>Om,postApiV1QueueGrabBulk:()=>wm,postApiV1Qualityprofile:()=>jt,postApiV1NotificationTestall:()=>um,postApiV1NotificationTest:()=>lm,postApiV1NotificationActionByName:()=>dm,postApiV1Notification:()=>sm,postApiV1Metadataprofile:()=>jy,postApiV1MetadataTestall:()=>$y,postApiV1MetadataTest:()=>Ny,postApiV1MetadataActionByName:()=>Qy,postApiV1Metadata:()=>Fy,postApiV1Manualimport:()=>By,postApiV1IndexerTestall:()=>my,postApiV1IndexerTest:()=>yy,postApiV1IndexerActionByName:()=>Ay,postApiV1Indexer:()=>ly,postApiV1Importlistexclusion:()=>ny,postApiV1ImportlistTestall:()=>Zc,postApiV1ImportlistTest:()=>Xc,postApiV1ImportlistActionByName:()=>Jc,postApiV1Importlist:()=>zc,postApiV1HistoryFailedById:()=>Nc,postApiV1DownloadclientTestall:()=>Rc,postApiV1DownloadclientTest:()=>xc,postApiV1DownloadclientActionByName:()=>Dc,postApiV1Downloadclient:()=>wc,postApiV1Delayprofile:()=>cc,postApiV1Customformat:()=>Ft,postApiV1Customfilter:()=>lc,postApiV1Command:()=>Gt,postApiV1Autotagging:()=>Wd,postApiV1Artist:()=>xt,postApiV1Albumstudio:()=>Md,postApiV1Album:()=>Vt,headPing:()=>mm,getPing:()=>ym,getLogout:()=>jd,getLogin:()=>Qd,getFeedV1CalendarLidarrIcs:()=>Pt,getContentByPath:()=>qm,getByPath:()=>zm,getApiV1WantedMissingById:()=>Zy,getApiV1WantedMissing:()=>Xy,getApiV1WantedCutoffById:()=>dc,getApiV1WantedCutoff:()=>uc,getApiV1Update:()=>VA,getApiV1TrackfileById:()=>lA,getApiV1Trackfile:()=>cA,getApiV1TrackById:()=>pA,getApiV1Track:()=>sA,getApiV1TagDetailById:()=>oA,getApiV1TagDetail:()=>nA,getApiV1TagById:()=>Zm,getApiV1Tag:()=>tA,getApiV1SystemTaskById:()=>aA,getApiV1SystemTask:()=>iA,getApiV1SystemStatus:()=>_t,getApiV1SystemRoutesDuplicate:()=>Ym,getApiV1SystemRoutes:()=>Km,getApiV1SystemBackup:()=>Yd,getApiV1Search:()=>Hm,getApiV1RootfolderById:()=>Qm,getApiV1Rootfolder:()=>Yt,getApiV1Retag:()=>$m,getApiV1Rename:()=>Nm,getApiV1RemotepathmappingById:()=>Sm,getApiV1Remotepathmapping:()=>Lm,getApiV1ReleaseprofileById:()=>Rm,getApiV1Releaseprofile:()=>Gm,getApiV1Release:()=>xm,getApiV1QueueStatus:()=>Im,getApiV1QueueDetails:()=>Tm,getApiV1Queue:()=>bm,getApiV1QualityprofileSchema:()=>zt,getApiV1QualityprofileById:()=>Wt,getApiV1Qualityprofile:()=>Ut,getApiV1QualitydefinitionById:()=>gm,getApiV1Qualitydefinition:()=>fm,getApiV1Parse:()=>cm,getApiV1NotificationSchema:()=>pm,getApiV1NotificationById:()=>om,getApiV1Notification:()=>am,getApiV1MetadataprofileSchema:()=>zy,getApiV1MetadataprofileById:()=>Wy,getApiV1Metadataprofile:()=>Uy,getApiV1MetadataSchema:()=>Ly,getApiV1MetadataById:()=>vy,getApiV1Metadata:()=>My,getApiV1MediacoverArtistByArtistIdByFilename:()=>Ry,getApiV1MediacoverAlbumByAlbumIdByFilename:()=>Dy,getApiV1Manualimport:()=>xy,getApiV1LogFileUpdateByFilename:()=>EA,getApiV1LogFileUpdate:()=>hA,getApiV1LogFileByFilename:()=>Iy,getApiV1LogFile:()=>Ty,getApiV1Log:()=>wy,getApiV1Localization:()=>Oy,getApiV1LanguageById:()=>Ey,getApiV1Language:()=>by,getApiV1Indexerflag:()=>hy,getApiV1IndexerSchema:()=>cy,getApiV1IndexerById:()=>iy,getApiV1Indexer:()=>py,getApiV1ImportlistexclusionById:()=>ey,getApiV1Importlistexclusion:()=>oy,getApiV1ImportlistSchema:()=>_c,getApiV1ImportlistById:()=>Uc,getApiV1Importlist:()=>Wc,getApiV1HistorySince:()=>Fc,getApiV1HistoryArtist:()=>Lc,getApiV1History:()=>Mc,getApiV1Health:()=>Qt,getApiV1FilesystemType:()=>Sc,getApiV1FilesystemMediafiles:()=>Cc,getApiV1Filesystem:()=>vc,getApiV1DownloadclientSchema:()=>Bc,getApiV1DownloadclientById:()=>hc,getApiV1Downloadclient:()=>Oc,getApiV1Diskspace:()=>Vc,getApiV1DelayprofileById:()=>gc,getApiV1Delayprofile:()=>yc,getApiV1CustomformatSchema:()=>$t,getApiV1CustomformatById:()=>vt,getApiV1Customformat:()=>Mt,getApiV1CustomfilterById:()=>ic,getApiV1Customfilter:()=>pc,getApiV1ConfigUiById:()=>gA,getApiV1ConfigUi:()=>fA,getApiV1ConfigNamingExamples:()=>rm,getApiV1ConfigNamingById:()=>Jy,getApiV1ConfigNaming:()=>tm,getApiV1ConfigMetadataproviderById:()=>Ky,getApiV1ConfigMetadataprovider:()=>_y,getApiV1ConfigMediamanagementById:()=>Py,getApiV1ConfigMediamanagement:()=>ky,getApiV1ConfigIndexerById:()=>gy,getApiV1ConfigIndexer:()=>Vy,getApiV1ConfigHostById:()=>$c,getApiV1ConfigHost:()=>jc,getApiV1ConfigDownloadclientById:()=>Pc,getApiV1ConfigDownloadclient:()=>kc,getApiV1CommandById:()=>oc,getApiV1Command:()=>kt,getApiV1CalendarById:()=>rc,getApiV1Calendar:()=>Dt,getApiV1Blocklist:()=>Jd,getApiV1AutotaggingSchema:()=>Kd,getApiV1AutotaggingById:()=>Ud,getApiV1Autotagging:()=>zd,getApiV1ArtistLookup:()=>Rt,getApiV1ArtistById:()=>wt,getApiV1Artist:()=>Bt,getApiV1AlbumLookup:()=>Ot,getApiV1AlbumById:()=>bt,getApiV1Album:()=>ft,getApi:()=>Fd,get:()=>Wm,deleteApiV1TrackfileById:()=>dA,deleteApiV1TrackfileBulk:()=>mA,deleteApiV1TagById:()=>eA,deleteApiV1SystemBackupById:()=>_d,deleteApiV1RootfolderById:()=>Um,deleteApiV1RemotepathmappingById:()=>Cm,deleteApiV1ReleaseprofileById:()=>Pm,deleteApiV1QueueById:()=>hm,deleteApiV1QueueBulk:()=>Em,deleteApiV1QualityprofileById:()=>Ht,deleteApiV1NotificationById:()=>im,deleteApiV1MetadataprofileById:()=>Hy,deleteApiV1MetadataById:()=>Cy,deleteApiV1IndexerById:()=>sy,deleteApiV1IndexerBulk:()=>dy,deleteApiV1ImportlistexclusionById:()=>ry,deleteApiV1ImportlistById:()=>qc,deleteApiV1ImportlistBulk:()=>Yc,deleteApiV1DownloadclientById:()=>bc,deleteApiV1DownloadclientBulk:()=>Ic,deleteApiV1DelayprofileById:()=>mc,deleteApiV1CustomformatById:()=>Ct,deleteApiV1CustomformatBulk:()=>Nt,deleteApiV1CustomfilterById:()=>sc,deleteApiV1CommandById:()=>nc,deleteApiV1BlocklistById:()=>ec,deleteApiV1BlocklistBulk:()=>tc,deleteApiV1AutotaggingById:()=>qd,deleteApiV1ArtistEditor:()=>Nd,deleteApiV1ArtistById:()=>It,deleteApiV1AlbumById:()=>Et,client:()=>r,WriteAudioTagsTypeSchema:()=>Sd,UpdateResourceSchema:()=>vd,UpdateMechanismSchema:()=>kd,UpdateChangesSchema:()=>Gd,UiConfigResourceSchema:()=>Pd,TrackedDownloadStatusSchema:()=>Rd,TrackedDownloadStatusMessageSchema:()=>Dd,TrackedDownloadStateSchema:()=>xd,TrackResourceSchema:()=>Bd,TrackFileResourceSchema:()=>Id,TrackFileListResourceSchema:()=>Td,TaskResourceSchema:()=>wd,TagResourceSchema:()=>Od,TagDifferenceSchema:()=>bd,TagDetailsResourceSchema:()=>Ed,SystemResourceSchema:()=>hd,SortDirectionSchema:()=>Vd,SelectOptionSchema:()=>fd,SecondaryAlbumTypeSchema:()=>gd,SearchResourceSchema:()=>Ad,RuntimeModeSchema:()=>md,RootFolderResourceSchema:()=>yd,RevisionSchema:()=>cd,RetagTrackResourceSchema:()=>dd,RescanAfterRefreshTypeSchema:()=>ud,RenameTrackResourceSchema:()=>ld,RemotePathMappingResourceSchema:()=>pd,ReleaseStatusSchema:()=>sd,ReleaseResourceSchema:()=>ad,ReleaseProfileResourceSchema:()=>id,RejectionTypeSchema:()=>nd,RejectionSchema:()=>od,RatingsSchema:()=>rd,QueueStatusResourceSchema:()=>td,QueueResourceSchema:()=>Ju,QueueResourcePagingResourceSchema:()=>ed,QueueBulkResourceSchema:()=>Zu,QualitySchema:()=>zu,QualityProfileResourceSchema:()=>Xu,QualityProfileQualityItemResourceSchema:()=>_u,QualityModelSchema:()=>Yu,QualityDefinitionResourceSchema:()=>Ku,ProxyTypeSchema:()=>Wu,ProviderMessageTypeSchema:()=>qu,ProviderMessageSchema:()=>Hu,ProperDownloadTypesSchema:()=>Uu,ProfileSecondaryAlbumTypeItemResourceSchema:()=>ju,ProfileReleaseStatusItemResourceSchema:()=>Qu,ProfilePrimaryAlbumTypeItemResourceSchema:()=>$u,ProfileFormatItemResourceSchema:()=>Nu,PrivacyLevelSchema:()=>Lu,PrimaryAlbumTypeSchema:()=>Fu,PingResourceSchema:()=>Mu,ParsedTrackInfoSchema:()=>Cu,ParsedAlbumInfoSchema:()=>Su,ParseResourceSchema:()=>vu,NotificationResourceSchema:()=>ku,NewItemMonitorTypesSchema:()=>Gu,NamingConfigResourceSchema:()=>Pu,MonitoringOptionsSchema:()=>Du,MonitorTypesSchema:()=>Ru,MetadataResourceSchema:()=>xu,MetadataProviderConfigResourceSchema:()=>Bu,MetadataProfileResourceSchema:()=>Iu,MemberSchema:()=>Tu,MediumResourceSchema:()=>wu,MediaManagementConfigResourceSchema:()=>Ou,MediaInfoResourceSchema:()=>bu,MediaInfoModelSchema:()=>Eu,MediaCoverTypesSchema:()=>hu,MediaCoverSchema:()=>Vu,ManualImportUpdateResourceSchema:()=>fu,ManualImportResourceSchema:()=>gu,LogResourceSchema:()=>mu,LogResourcePagingResourceSchema:()=>Au,LogFileResourceSchema:()=>yu,LocalizationResourceSchema:()=>cu,LinksSchema:()=>du,LanguageResourceSchema:()=>uu,IsoCountrySchema:()=>lu,IndexerResourceSchema:()=>pu,IndexerFlagResourceSchema:()=>su,IndexerConfigResourceSchema:()=>au,IndexerBulkResourceSchema:()=>iu,ImportListTypeSchema:()=>nu,ImportListResourceSchema:()=>ou,ImportListMonitorTypeSchema:()=>ru,ImportListExclusionResourceSchema:()=>tu,ImportListBulkResourceSchema:()=>eu,HostConfigResourceSchema:()=>Jl,HistoryResourceSchema:()=>Xl,HistoryResourcePagingResourceSchema:()=>Zl,HealthResourceSchema:()=>_l,HealthCheckResultSchema:()=>Yl,FileDateTypeSchema:()=>Kl,FieldSchema:()=>zl,EntityHistoryEventTypeSchema:()=>Wl,DownloadProtocolSchema:()=>ql,DownloadClientResourceSchema:()=>Hl,DownloadClientConfigResourceSchema:()=>Ul,DownloadClientBulkResourceSchema:()=>jl,DiskSpaceResourceSchema:()=>Ql,DelayProfileResourceSchema:()=>$l,DatabaseTypeSchema:()=>Nl,CustomFormatSpecificationSchemaSchema:()=>Ll,CustomFormatResourceSchema:()=>Fl,CustomFormatBulkResourceSchema:()=>Ml,CustomFilterResourceSchema:()=>Cl,CommandTriggerSchema:()=>Sl,CommandStatusSchema:()=>vl,CommandSchema:()=>Dl,CommandResultSchema:()=>kl,CommandResourceSchema:()=>Gl,CommandPrioritySchema:()=>Pl,CertificateValidationTypeSchema:()=>Rl,BlocklistResourceSchema:()=>Bl,BlocklistResourcePagingResourceSchema:()=>xl,BlocklistBulkResourceSchema:()=>Il,BackupTypeSchema:()=>Tl,BackupResourceSchema:()=>wl,AutoTaggingSpecificationSchemaSchema:()=>Ol,AutoTaggingResourceSchema:()=>bl,AuthenticationTypeSchema:()=>El,AuthenticationRequiredTypeSchema:()=>hl,ArtistTitleInfoSchema:()=>Vl,ArtistStatusTypeSchema:()=>fl,ArtistStatisticsResourceSchema:()=>gl,ArtistResourceSchema:()=>Al,ArtistEditorResourceSchema:()=>ml,ApplyTagsSchema:()=>yl,AllowFingerprintingSchema:()=>cl,AlbumsMonitoredResourceSchema:()=>dl,AlbumStudioResourceSchema:()=>ul,AlbumStudioArtistResourceSchema:()=>ll,AlbumStatisticsResourceSchema:()=>pl,AlbumResourceSchema:()=>al,AlbumResourcePagingResourceSchema:()=>sl,AlbumReleaseResourceSchema:()=>il,AlbumAddTypeSchema:()=>nl,AddArtistOptionsSchema:()=>ol,AddAlbumOptionsSchema:()=>rl});var rl={type:"object",properties:{addType:{$ref:"#/components/schemas/AlbumAddType"},searchForNewAlbum:{type:"boolean"}},additionalProperties:!1},ol={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},albumsToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"},searchForMissingAlbums:{type:"boolean"}},additionalProperties:!1},nl={enum:["automatic","manual"],type:"string"},il={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},al={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},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/AlbumResource"},nullable:!0}},additionalProperties:!1},pl={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},ll={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},ul={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},dl={type:"object",properties:{albumIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},cl={enum:["never","newFiles","allFiles"],type:"string"},yl={enum:["add","remove","replace"],type:"string"},ml={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},Al={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},gl={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},fl={enum:["continuing","ended"],type:"string"},Vl={type:"object",properties:{title:{type:"string",nullable:!0},titleWithoutYear:{type:"string",nullable:!0},year:{type:"integer",format:"int32"}},additionalProperties:!1},hl={enum:["enabled","disabledForLocalAddresses"],type:"string"},El={enum:["none","basic","forms","external"],type:"string"},bl={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},Ol={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},wl={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},Tl={enum:["scheduled","manual","update"],type:"string"},Il={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Bl={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},xl={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},Rl={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},Dl={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},Pl={enum:["normal","high","low"],type:"string"},Gl={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},kl={enum:["unknown","successful","unsuccessful"],type:"string"},vl={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},Sl={enum:["unspecified","manual","scheduled"],type:"string"},Cl={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},Ml={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},Ll={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},Nl={enum:["sqLite","postgreSQL"],type:"string"},$l={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},Ql={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},jl={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},Ul={type:"object",properties:{id:{type:"integer",format:"int32"},downloadClientWorkingFolders:{type:"string",nullable:!0},enableCompletedDownloadHandling:{type:"boolean"},autoRedownloadFailed:{type:"boolean"},autoRedownloadFailedFromInteractiveSearch:{type:"boolean"}},additionalProperties:!1},Hl={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},ql={enum:["unknown","usenet","torrent"],type:"string"},Wl={enum:["unknown","grabbed","artistFolderImported","trackFileImported","downloadFailed","trackFileDeleted","trackFileRenamed","albumImportIncomplete","downloadImported","trackFileRetagged","downloadIgnored"],type:"string"},zl={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},Kl={enum:["none","albumReleaseDate"],type:"string"},Yl={enum:["ok","notice","warning","error"],type:"string"},_l={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},Xl={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},Zl={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},Jl={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},eu={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},tu={type:"object",properties:{id:{type:"integer",format:"int32"},foreignId:{type:"string",nullable:!0},artistName:{type:"string",nullable:!0}},additionalProperties:!1},ru={enum:["none","specificAlbum","entireArtist"],type:"string"},ou={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},nu={enum:["program","spotify","lastFm","other","advanced"],type:"string"},iu={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},au={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},su={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},pu={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},lu={type:"object",properties:{twoLetterCode:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},uu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},du={type:"object",properties:{url:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},cu={type:"object",properties:{id:{type:"integer",format:"int32"},strings:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0}},additionalProperties:!1},yu={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},mu={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},Au={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},gu={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},fu={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},Vu={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},hu={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},bu={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},Ou={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},wu={type:"object",properties:{mediumNumber:{type:"integer",format:"int32"},mediumName:{type:"string",nullable:!0},mediumFormat:{type:"string",nullable:!0}},additionalProperties:!1},Tu={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},Bu={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},xu={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},Ru={enum:["all","future","missing","existing","latest","first","none","unknown"],type:"string"},Du={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},albumsToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},Pu={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},Gu={enum:["all","none","new"],type:"string"},ku={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},vu={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},Su={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},Cu={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},Mu={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},Lu={enum:["normal","password","apiKey","userName"],type:"string"},Nu={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},$u={type:"object",properties:{id:{type:"integer",format:"int32"},albumType:{$ref:"#/components/schemas/PrimaryAlbumType"},allowed:{type:"boolean"}},additionalProperties:!1},Qu={type:"object",properties:{id:{type:"integer",format:"int32"},releaseStatus:{$ref:"#/components/schemas/ReleaseStatus"},allowed:{type:"boolean"}},additionalProperties:!1},ju={type:"object",properties:{id:{type:"integer",format:"int32"},albumType:{$ref:"#/components/schemas/SecondaryAlbumType"},allowed:{type:"boolean"}},additionalProperties:!1},Uu={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},Hu={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},qu={enum:["info","warning","error"],type:"string"},Wu={enum:["http","socks4","socks5"],type:"string"},zu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Ku={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},Yu={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},_u={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},Xu={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},Zu={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Ju={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},ed={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},td={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},rd={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"}},additionalProperties:!1},od={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},nd={enum:["permanent","temporary"],type:"string"},id={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},ad={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},sd={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},pd={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},ld={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},ud={enum:["always","afterManual","never"],type:"string"},dd={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},cd={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},yd={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},md={enum:["console","service","tray"],type:"string"},Ad={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},gd={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},fd={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},Vd={enum:["default","ascending","descending"],type:"string"},hd={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},bd={type:"object",properties:{field:{type:"string",nullable:!0},oldValue:{type:"string",nullable:!0},newValue:{type:"string",nullable:!0}},additionalProperties:!1},Od={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},wd={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},Td={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},Bd={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},xd={enum:["downloading","downloadFailed","downloadFailedPending","importBlocked","importPending","importing","importFailed","imported","ignored"],type:"string"},Rd={enum:["ok","warning","error"],type:"string"},Dd={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},Pd={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},Gd={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},kd={enum:["builtIn","script","external","apt","docker"],type:"string"},vd={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},Sd={enum:["no","newFiles","allFiles","sync"],type:"string"};var r=h(f()),ft=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album"})},Vt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/album"})},ht=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/album/{id}"})},Et=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/album/{id}"})},bt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album/{id}"})},Cd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/album/monitor"})},Ot=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album/lookup"})},Md=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/albumstudio"})},Fd=(e)=>{return(e?.client??r).get({...e,url:"/api"})},wt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist/{id}"})},Tt=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/artist/{id}"})},It=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/artist/{id}"})},Bt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist"})},xt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/artist"})},Ld=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/artist/editor"})},Nd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/artist/editor"})},Rt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist/lookup"})},$d=(e)=>{return(e?.client??r).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Qd=(e)=>{return(e?.client??r).get({...e,url:"/login"})},jd=(e)=>{return(e?.client??r).get({...e,url:"/logout"})},Ud=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging/{id}"})},Hd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/autotagging/{id}"})},qd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/autotagging/{id}"})},Wd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/autotagging"})},zd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging"})},Kd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging/schema"})},Yd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/backup"})},_d=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/system/backup/{id}"})},Xd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/backup/restore/{id}"})},Zd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/backup/restore/upload"})},Jd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/blocklist"})},ec=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/blocklist/{id}"})},tc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/blocklist/bulk"})},Dt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/calendar"})},rc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/calendar/{id}"})},Pt=(e)=>{return(e?.client??r).get({...e,url:"/feed/v1/calendar/lidarr.ics"})},oc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/command/{id}"})},nc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/command/{id}"})},Gt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/command"})},kt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/command"})},ic=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customfilter/{id}"})},ac=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customfilter/{id}"})},sc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customfilter/{id}"})},pc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customfilter"})},lc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/customfilter"})},vt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat/{id}"})},St=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customformat/{id}"})},Ct=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customformat/{id}"})},Mt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat"})},Ft=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/customformat"})},Lt=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customformat/bulk"})},Nt=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customformat/bulk"})},$t=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat/schema"})},uc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/cutoff"})},dc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/cutoff/{id}"})},cc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/delayprofile"})},yc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/delayprofile"})},mc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/delayprofile/{id}"})},Ac=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/delayprofile/{id}"})},gc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/delayprofile/{id}"})},fc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/delayprofile/reorder/{id}"})},Vc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/diskspace"})},hc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient/{id}"})},Ec=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/downloadclient/{id}"})},bc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/downloadclient/{id}"})},Oc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient"})},wc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient"})},Tc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/downloadclient/bulk"})},Ic=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/downloadclient/bulk"})},Bc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient/schema"})},xc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/test"})},Rc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/testall"})},Dc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Pc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Gc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/downloadclient/{id}"})},kc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/downloadclient"})},vc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem"})},Sc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem/type"})},Cc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem/mediafiles"})},Qt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/health"})},Mc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history"})},Fc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history/since"})},Lc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history/artist"})},Nc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/history/failed/{id}"})},$c=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/host/{id}"})},Qc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/host/{id}"})},jc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/host"})},Uc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist/{id}"})},Hc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlist/{id}"})},qc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlist/{id}"})},Wc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist"})},zc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist"})},Kc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlist/bulk"})},Yc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlist/bulk"})},_c=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist/schema"})},Xc=(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"})},Jc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist/action/{name}"})},ey=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlistexclusion/{id}"})},ty=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlistexclusion/{id}"})},ry=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlistexclusion/{id}"})},oy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlistexclusion"})},ny=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlistexclusion"})},iy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer/{id}"})},ay=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/indexer/{id}"})},sy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/indexer/{id}"})},py=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer"})},ly=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer"})},uy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/indexer/bulk"})},dy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/indexer/bulk"})},cy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer/schema"})},yy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/test"})},my=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/testall"})},Ay=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/action/{name}"})},gy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/indexer/{id}"})},fy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/indexer/{id}"})},Vy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/indexer"})},hy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexerflag"})},Ey=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/language/{id}"})},by=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/language"})},Oy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/localization"})},wy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log"})},Ty=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file"})},Iy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file/{filename}"})},By=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/manualimport"})},xy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/manualimport"})},Ry=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/mediacover/artist/{artistId}/{filename}"})},Dy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/mediacover/album/{albumId}/{filename}"})},Py=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/mediamanagement/{id}"})},Gy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/mediamanagement/{id}"})},ky=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/mediamanagement"})},vy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata/{id}"})},Sy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/metadata/{id}"})},Cy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/metadata/{id}"})},My=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata"})},Fy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata"})},Ly=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata/schema"})},Ny=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/test"})},$y=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/testall"})},Qy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/action/{name}"})},jy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadataprofile"})},Uy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile"})},Hy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/metadataprofile/{id}"})},qy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/metadataprofile/{id}"})},Wy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile/{id}"})},zy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile/schema"})},Ky=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/metadataprovider/{id}"})},Yy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/metadataprovider/{id}"})},_y=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/metadataprovider"})},Xy=(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}"})},Jy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming/{id}"})},em=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/naming/{id}"})},tm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming"})},rm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming/examples"})},om=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification/{id}"})},nm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/notification/{id}"})},im=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/notification/{id}"})},am=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification"})},sm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification"})},pm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification/schema"})},lm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/test"})},um=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/testall"})},dm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/action/{name}"})},cm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/parse"})},ym=(e)=>{return(e?.client??r).get({...e,url:"/ping"})},mm=(e)=>{return(e?.client??r).head({...e,url:"/ping"})},Am=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualitydefinition/{id}"})},gm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualitydefinition/{id}"})},fm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualitydefinition"})},Vm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualitydefinition/update"})},jt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/qualityprofile"})},Ut=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile"})},Ht=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/qualityprofile/{id}"})},qt=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualityprofile/{id}"})},Wt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile/{id}"})},zt=(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}"})},Kt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/rootfolder"})},Yt=(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}"})},Wm=(e)=>{return(e?.client??r).get({...e,url:"/"})},zm=(e)=>{return(e?.client??r).get({...e,url:"/{path}"})},_t=(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 cr={};T(cr,{putApiV1TagById:()=>l1,putApiV1RootfolderById:()=>Yb,putApiV1RemotepathmappingById:()=>qb,putApiV1ReleaseprofileById:()=>Lb,putApiV1QualityprofileById:()=>Tb,putApiV1QualitydefinitionUpdate:()=>Eb,putApiV1QualitydefinitionById:()=>fb,putApiV1NotificationById:()=>sb,putApiV1MetadataprofileById:()=>zE,putApiV1MetadataById:()=>FE,putApiV1IndexerById:()=>lE,putApiV1IndexerBulk:()=>cE,putApiV1ImportlistexclusionById:()=>nE,putApiV1ImportlistById:()=>zh,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:()=>er,postLogin:()=>hV,postApiV1Tag:()=>p1,postApiV1SystemShutdown:()=>i1,postApiV1SystemRestart:()=>a1,postApiV1SystemBackupRestoreUpload:()=>xV,postApiV1SystemBackupRestoreById:()=>BV,postApiV1Rootfolder:()=>lr,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:()=>Wh,postApiV1HistoryFailedById:()=>Qh,postApiV1DownloadclientTestall:()=>Dh,postApiV1DownloadclientTest:()=>Rh,postApiV1DownloadclientActionByName:()=>Ph,postApiV1Downloadclient:()=>bh,postApiV1Delayprofile:()=>uh,postApiV1Customformat:()=>rh,postApiV1Customfilter:()=>ZV,postApiV1Command:()=>ar,postApiV1Bookshelf:()=>qV,postApiV1Book:()=>GV,postApiV1Author:()=>Jt,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:()=>dr,getApiV1SystemRoutesDuplicate:()=>n1,getApiV1SystemRoutes:()=>o1,getApiV1SystemBackup:()=>TV,getApiV1Series:()=>Jb,getApiV1Search:()=>Zb,getApiV1RootfolderById:()=>Xb,getApiV1Rootfolder:()=>ur,getApiV1Retag:()=>Kb,getApiV1Rename:()=>zb,getApiV1RemotepathmappingById:()=>Wb,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:()=>pr,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:()=>sr,getApiV1CalendarById:()=>zV,getApiV1Calendar:()=>WV,getApiV1BookfileById:()=>QV,getApiV1Bookfile:()=>LV,getApiV1BookLookup:()=>HV,getApiV1BookByIdOverview:()=>kV,getApiV1BookById:()=>ir,getApiV1Book:()=>nr,getApiV1Blocklist:()=>RV,getApiV1AuthorLookup:()=>or,getApiV1AuthorById:()=>rr,getApiV1Author:()=>Zt,getApi:()=>VV,get:()=>t1,deleteApiV1TagById:()=>u1,deleteApiV1SystemBackupById:()=>IV,deleteApiV1RootfolderById:()=>_b,deleteApiV1RemotepathmappingById:()=>Hb,deleteApiV1ReleaseprofileById:()=>Nb,deleteApiV1QueueById:()=>xb,deleteApiV1QueueBulk:()=>Rb,deleteApiV1QualityprofileById:()=>wb,deleteApiV1NotificationById:()=>pb,deleteApiV1MetadataprofileById:()=>WE,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:()=>tr,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:()=>zf,RevisionSchema:()=>Wf,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:()=>zg,LanguageResourceSchema:()=>Wg,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:()=>zA,BookFileListLazyLoadedSchema:()=>WA,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},WA={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/BookFile"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},zA={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},Wg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},zg={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},Wf={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},zf={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"})},Zt=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/author"})},Jt=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/author"})},er=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/author/{id}"})},tr=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/author/{id}"})},rr=(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"})},or=(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"})},nr=(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}"})},ir=(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"})},WV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/calendar"})},zV=(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"})},ar=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/command"})},sr=(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"})},pr=(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"})},Wh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlist"})},zh=(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"})},WE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/metadataprofile/{id}"})},zE=(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}"})},Wb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/remotepathmapping/{id}"})},zb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/rename"})},Kb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/retag"})},lr=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/rootfolder"})},ur=(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}"})},dr=(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 Tr={};T(Tr,{putApiV1TagById:()=>ST,putApiV1NotificationById:()=>mT,putApiV1IndexerproxyById:()=>Kw,putApiV1IndexerById:()=>Vr,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:()=>br,postApiV1DownloadclientTestall:()=>xw,postApiV1DownloadclientTest:()=>Bw,postApiV1DownloadclientActionByName:()=>Rw,postApiV1Downloadclient:()=>Ow,postApiV1Customfilter:()=>mw,postApiV1Command:()=>mr,postApiV1Appprofile:()=>YO,postApiV1ApplicationsTestall:()=>zO,postApiV1ApplicationsTest:()=>WO,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:()=>wr,getApiV1SystemRoutesDuplicate:()=>PT,getApiV1SystemRoutes:()=>DT,getApiV1SystemBackup:()=>nw,getApiV1Search:()=>Or,getApiV1NotificationSchema:()=>VT,getApiV1NotificationById:()=>yT,getApiV1Notification:()=>gT,getApiV1LogFileUpdateByFilename:()=>zT,getApiV1LogFileUpdate:()=>WT,getApiV1LogFileByFilename:()=>pT,getApiV1LogFile:()=>sT,getApiV1Log:()=>aT,getApiV1LocalizationOptions:()=>iT,getApiV1Localization:()=>nT,getApiV1Indexerstatus:()=>oT,getApiV1Indexerstats:()=>rT,getApiV1IndexerproxySchema:()=>Zw,getApiV1IndexerproxyById:()=>zw,getApiV1Indexerproxy:()=>_w,getApiV1IndexerSchema:()=>jw,getApiV1IndexerCategories:()=>Ww,getApiV1IndexerByIdNewznab:()=>lT,getApiV1IndexerByIdDownload:()=>dT,getApiV1IndexerById:()=>fr,getApiV1Indexer:()=>Er,getApiV1HistorySince:()=>Cw,getApiV1HistoryIndexer:()=>Mw,getApiV1History:()=>Sw,getApiV1Health:()=>gr,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:()=>Ar,getApiV1AppprofileSchema:()=>ew,getApiV1AppprofileById:()=>JO,getApiV1Appprofile:()=>_O,getApiV1ApplicationsSchema:()=>qO,getApiV1ApplicationsById:()=>NO,getApiV1Applications:()=>yr,getApi:()=>LO,get:()=>xT,deleteApiV1TagById:()=>CT,deleteApiV1SystemBackupById:()=>iw,deleteApiV1NotificationById:()=>AT,deleteApiV1IndexerproxyById:()=>Yw,deleteApiV1IndexerById:()=>hr,deleteApiV1IndexerBulk:()=>Qw,deleteApiV1DownloadclientById:()=>Ew,deleteApiV1DownloadclientBulk:()=>Tw,deleteApiV1CustomfilterById:()=>cw,deleteApiV1CommandById:()=>lw,deleteApiV1AppprofileById:()=>XO,deleteApiV1ApplicationsById:()=>QO,deleteApiV1ApplicationsBulk:()=>HO,client:()=>i,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:()=>z1,DownloadProtocolSchema:()=>W1,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},W1={enum:["unknown","usenet","torrent"],type:"string"},z1={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 i=h(f()),LO=(e)=>{return(e?.client??i).get({...e,url:"/api"})},NO=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/applications/{id}"})},$O=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/applications/{id}"})},QO=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/applications/{id}"})},yr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/applications"})},jO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications"})},UO=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/applications/bulk"})},HO=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/applications/bulk"})},qO=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/applications/schema"})},WO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications/test"})},zO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications/testall"})},KO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications/action/{name}"})},YO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/appprofile"})},_O=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/appprofile"})},XO=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/appprofile/{id}"})},ZO=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/appprofile/{id}"})},JO=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/appprofile/{id}"})},ew=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/appprofile/schema"})},tw=(e)=>{return(e?.client??i).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},rw=(e)=>{return(e?.client??i).get({...e,url:"/login"})},ow=(e)=>{return(e?.client??i).get({...e,url:"/logout"})},nw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/backup"})},iw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/system/backup/{id}"})},aw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/backup/restore/{id}"})},sw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/backup/restore/upload"})},pw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/command/{id}"})},lw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/command/{id}"})},mr=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/command"})},Ar=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/command"})},uw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/customfilter/{id}"})},dw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/customfilter/{id}"})},cw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/customfilter/{id}"})},yw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/customfilter"})},mw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/customfilter"})},Aw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/development/{id}"})},gw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/development/{id}"})},fw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/development"})},Vw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/downloadclient/{id}"})},hw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/downloadclient/{id}"})},Ew=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/downloadclient/{id}"})},bw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/downloadclient"})},Ow=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient"})},ww=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/downloadclient/bulk"})},Tw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/downloadclient/bulk"})},Iw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/downloadclient/schema"})},Bw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient/test"})},xw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient/testall"})},Rw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Dw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Pw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/downloadclient/{id}"})},Gw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/downloadclient"})},kw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/filesystem"})},vw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/filesystem/type"})},gr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/health"})},Sw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/history"})},Cw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/history/since"})},Mw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/history/indexer"})},Fw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/host/{id}"})},Lw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/host/{id}"})},Nw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/host"})},fr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/{id}"})},Vr=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/indexer/{id}"})},hr=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/indexer/{id}"})},Er=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer"})},br=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer"})},$w=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/indexer/bulk"})},Qw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/indexer/bulk"})},jw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/schema"})},Uw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer/test"})},Hw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer/testall"})},qw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer/action/{name}"})},Ww=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/categories"})},zw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerproxy/{id}"})},Kw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/indexerproxy/{id}"})},Yw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/indexerproxy/{id}"})},_w=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerproxy"})},Xw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy"})},Zw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerproxy/schema"})},Jw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy/test"})},eT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy/testall"})},tT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy/action/{name}"})},rT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerstats"})},oT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerstatus"})},nT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/localization"})},iT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/localization/options"})},aT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log"})},sT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file"})},pT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file/{filename}"})},lT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/{id}/newznab"})},uT=(e)=>{return(e?.client??i).get({...e,url:"/{id}/api"})},dT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/{id}/download"})},cT=(e)=>{return(e?.client??i).get({...e,url:"/{id}/download"})},yT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/notification/{id}"})},mT=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/notification/{id}"})},AT=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/notification/{id}"})},gT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/notification"})},fT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification"})},VT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/notification/schema"})},hT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification/test"})},ET=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification/testall"})},bT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification/action/{name}"})},OT=(e)=>{return(e?.client??i).get({...e,url:"/ping"})},wT=(e)=>{return(e?.client??i).head({...e,url:"/ping"})},TT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/search"})},Or=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/search"})},IT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/search/bulk"})},BT=(e)=>{return(e?.client??i).get({...e,url:"/content/{path}"})},xT=(e)=>{return(e?.client??i).get({...e,url:"/"})},RT=(e)=>{return(e?.client??i).get({...e,url:"/{path}"})},wr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/status"})},DT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/routes"})},PT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/routes/duplicate"})},GT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/shutdown"})},kT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/restart"})},vT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag/{id}"})},ST=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/tag/{id}"})},CT=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/tag/{id}"})},MT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag"})},FT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/tag"})},LT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag/detail/{id}"})},NT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag/detail"})},$T=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/task"})},QT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/task/{id}"})},jT=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/ui/{id}"})},UT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/ui/{id}"})},HT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/ui"})},qT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/update"})},WT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file/update"})},zT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file/update/{filename}"})};class A extends Error{code;statusCode;details;constructor(e,n,a,s){super(e);this.code=n;this.statusCode=a;this.details=s;this.name="TsArrError"}}class P extends A{constructor(e="Invalid or missing API key"){super(e,"API_KEY_ERROR",401);this.name="ApiKeyError"}}class I extends A{constructor(e,n){super(e,"CONNECTION_ERROR",void 0,n);this.name="ConnectionError"}}class B extends A{constructor(e,n){super(e,"VALIDATION_ERROR",void 0,n);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 P;if(!e.baseUrl)throw new I("No base URL provided");let n={...e,baseUrl:e.baseUrl.replace(/\/$/,"")};return{config:n,getHeaders:()=>({"X-Api-Key":n.apiKey,"Content-Type":"application/json",...n.headers}),getBaseUrl:()=>n.baseUrl}}function PI(e){if(!e||e.trim()==="")throw new P;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(`Failed to connect: Invalid URL: ${e}`)}return e.trim().replace(/\/$/,"")}class Gr{clientConfig;constructor(e){this.clientConfig=m(e),t.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return tt()}async getHealth(){return oe()}async getMovies(){return Te()}async getMovie(e){return Re({path:{id:e}})}async addMovie(e){return Ie({body:e})}async updateMovie(e,n){return Be({path:{id:String(e)},body:n})}async deleteMovie(e){return xe({path:{id:e}})}async searchMovies(e){return Pe({query:{term:e}})}async runCommand(e){return C({body:e})}async getCommands(){return M()}async getRootFolders(){return Je()}async addRootFolder(e){return Ze({body:{path:e}})}async deleteRootFolder(e){return et({path:{id:e}})}async getFilesystem(e){return te(e?{query:{path:e}}:{})}async getMediaFiles(e){return re({query:{path:e}})}async importMovies(e){return De({body:e})}async getQualityProfiles(){return $e()}async getQualityProfile(e){return Ue({path:{id:e}})}async addQualityProfile(e){return Ne({body:e})}async updateQualityProfile(e,n){return je({path:{id:String(e)},body:n})}async deleteQualityProfile(e){return Qe({path:{id:e}})}async getQualityProfileSchema(){return He()}async getCustomFormats(){return F()}async getCustomFormat(e){return Q({path:{id:e}})}async addCustomFormat(e){return L({body:e})}async updateCustomFormat(e,n){return N({path:{id:String(e)},body:n})}async deleteCustomFormat(e){return $({path:{id:e}})}async updateCustomFormatsBulk(e){return j({body:e})}async deleteCustomFormatsBulk(e){return U({body:{ids:e}})}async getCustomFormatSchema(){return H()}async getDownloadClients(){return q()}async getDownloadClient(e){return Y({path:{id:e}})}async addDownloadClient(e){return W({body:e})}async updateDownloadClient(e,n){return z({path:{id:e},body:n})}async deleteDownloadClient(e){return K({path:{id:e}})}async updateDownloadClientsBulk(e){return _({body:e})}async deleteDownloadClientsBulk(e){return X({body:{ids:e}})}async getDownloadClientSchema(){return Z()}async testDownloadClient(e){return J({body:e})}async testAllDownloadClients(){return ee()}async getNotifications(){return Ge()}async getNotification(e){return Ce({path:{id:e}})}async addNotification(e){return ke({body:e})}async updateNotification(e,n){return ve({path:{id:e},body:n})}async deleteNotification(e){return Se({path:{id:e}})}async getNotificationSchema(){return Me()}async testNotification(e){return Fe({body:e})}async testAllNotifications(){return Le()}async getCalendar(e,n,a){let s={};if(e)s.start=e;if(n)s.end=n;if(a!==void 0)s.unmonitored=a;return v(Object.keys(s).length>0?{query:s}:{})}async getCalendarFeed(e,n,a){let s={};if(e!==void 0)s.pastDays=e;if(n!==void 0)s.futureDays=n;if(a)s.tags=a;return S(Object.keys(s).length>0?{query:s}:{})}async getQueue(e,n,a,s,d){let p={};if(e!==void 0)p.page=e;if(n!==void 0)p.pageSize=n;if(a)p.sortKey=a;if(s)p.sortDirection=s;if(d!==void 0)p.includeUnknownMovieItems=d;return ze(Object.keys(p).length>0?{query:p}:{})}async removeQueueItem(e,n,a){let s={};if(n!==void 0)s.removeFromClient=n;if(a!==void 0)s.blocklist=a;return qe({path:{id:e},...Object.keys(s).length>0?{query:s}:{}})}async removeQueueItemsBulk(e,n,a){let s={ids:e};if(n!==void 0)s.removeFromClient=n;if(a!==void 0)s.blocklist=a;return We({body:s})}async grabQueueItem(e){return Ke({path:{id:e}})}async grabQueueItemsBulk(e){return Ye({body:{ids:e}})}async getQueueDetails(e,n){let a={};if(e!==void 0)a.movieId=e;if(n!==void 0)a.includeMovie=n;return _e(Object.keys(a).length>0?{query:a}:{})}async getQueueStatus(){return Xe()}async getImportLists(){return pe()}async getImportList(e){return ce({path:{id:e}})}async addImportList(e){return le({body:e})}async updateImportList(e,n){return ue({path:{id:e},body:n})}async deleteImportList(e){return de({path:{id:e}})}async getImportListSchema(){return ye()}async testImportList(e){return me({body:e})}async testAllImportLists(){return Ae()}async getIndexers(){return ge()}async getIndexer(e){return Ee({path:{id:e}})}async addIndexer(e){return fe({body:e})}async updateIndexer(e,n){return Ve({path:{id:e},body:n})}async deleteIndexer(e){return he({path:{id:e}})}async getIndexerSchema(){return be()}async testIndexer(e){return Oe({body:e})}async testAllIndexers(){return we()}async getHistory(e,n,a,s,d){let p={};if(e!==void 0)p.page=e;if(n!==void 0)p.pageSize=n;if(a)p.sortKey=a;if(s)p.sortDirection=s;if(d!==void 0)p.movieId=d;return ne(Object.keys(p).length>0?{query:p}:{})}async getHistorySince(e,n){let a={date:e};if(n!==void 0)a.movieId=n;return ie({query:a})}async getMovieHistory(e,n){let a={movieId:e};if(n!==void 0)a.eventType=n;return ae({query:a})}async markHistoryItemFailed(e){return se({path:{id:e}})}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),t.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class kr{clientConfig;constructor(e){this.clientConfig=m(e),c.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getApi(){return ot()}async getSeries(){return it()}async getSeriesById(e){return st({path:{id:e}})}async addSeries(e){return at({body:e})}async updateSeries(e,n){return pt({path:{id:String(e)},body:n})}async deleteSeries(e){return lt({path:{id:e}})}async getSeriesFolder(e){return ut({path:{id:e}})}async searchSeries(e){return dt({query:{term:e}})}async getLogs(e,n,a,s,d){let p={};if(e!==void 0)p.page=e;if(n!==void 0)p.pageSize=n;if(a)p.sortKey=a;if(s)p.sortDirection=s;if(d)p.level=d;return nt(Object.keys(p).length>0?{query:p}:{})}async getUpdates(){return ct()}async getUpdateSettings(){return yt()}async updateSettings(e){return mt({body:e})}async getUpdateSetting(e){return At({path:{id:e}})}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),c.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class vr{clientConfig;constructor(e){this.clientConfig=m(e),r.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return _t()}async getHealth(){return Qt()}async getArtists(){return Bt()}async getArtist(e){return wt({path:{id:e}})}async addArtist(e){return xt({body:e})}async updateArtist(e,n){return Tt({path:{id:String(e)},body:n})}async deleteArtist(e){return It({path:{id:e}})}async getAlbums(){return ft()}async getAlbum(e){return bt({path:{id:e}})}async searchArtists(e){return Rt({query:{term:e}})}async runCommand(e){return Gt({body:e})}async getCommands(){return kt()}async getRootFolders(){return Yt()}async addRootFolder(e){return Kt({body:{path:e}})}async addAlbum(e){return Vt({body:e})}async updateAlbum(e,n){return ht({path:{id:String(e)},body:n})}async deleteAlbum(e){return Et({path:{id:e}})}async searchAlbums(e){return Ot({query:{term:e}})}async getCalendar(e,n,a){let s={};if(e)s.start=e;if(n)s.end=n;if(a!==void 0)s.unmonitored=a;return Dt(Object.keys(s).length>0?{query:s}:{})}async getCalendarFeed(e,n,a){let s={};if(e!==void 0)s.pastDays=e;if(n!==void 0)s.futureDays=n;if(a)s.tags=a;return Pt(Object.keys(s).length>0?{query:s}:{})}async getQualityProfiles(){return Ut()}async getQualityProfile(e){return Wt({path:{id:e}})}async addQualityProfile(e){return jt({body:e})}async updateQualityProfile(e,n){return qt({path:{id:String(e)},body:n})}async deleteQualityProfile(e){return Ht({path:{id:e}})}async getQualityProfileSchema(){return zt()}async getCustomFormats(){return Mt()}async getCustomFormat(e){return vt({path:{id:e}})}async addCustomFormat(e){return Ft({body:e})}async updateCustomFormat(e,n){return St({path:{id:String(e)},body:n})}async deleteCustomFormat(e){return Ct({path:{id:e}})}async updateCustomFormatsBulk(e){return Lt({body:e})}async deleteCustomFormatsBulk(e){return Nt({body:{ids:e}})}async getCustomFormatSchema(){return $t()}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),r.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class Sr{clientConfig;constructor(e){this.clientConfig=m(e),o.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return dr()}async getHealth(){return pr()}async getAuthors(){return Zt()}async getAuthor(e){return rr({path:{id:e}})}async addAuthor(e){return Jt({body:e})}async updateAuthor(e,n){return er({path:{id:String(e)},body:n})}async deleteAuthor(e){return tr({path:{id:e}})}async getBooks(){return nr()}async getBook(e){return ir({path:{id:e}})}async searchAuthors(e){return or({query:{term:e}})}async runCommand(e){return ar({body:e})}async getCommands(){return sr()}async getRootFolders(){return ur()}async addRootFolder(e){return lr({body:{path:e}})}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),o.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class Cr{clientConfig;constructor(e){this.clientConfig=m(e),i.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return wr()}async getHealth(){return gr()}async getIndexers(){return Er()}async getIndexer(e){return fr({path:{id:e}})}async addIndexer(e){return br({body:e})}async updateIndexer(e,n){return Vr({path:{id:String(e)},body:n})}async deleteIndexer(e){return hr({path:{id:e}})}async search(e,n){return Or({query:{query:e,...n&&{indexerIds:n}}})}async getApplications(){return yr()}async runCommand(e){return mr({body:e})}async getCommands(){return Ar()}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),i.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}async function HI(e){try{let n=await e;if(n.error)return{success:!1,error:Mr(n.error,n.response)};return{success:!0,data:n.data}}catch(n){return{success:!1,error:Mr(n)}}}function Mr(e,n){if(e instanceof A)return e;if(n){let{status:a,statusText:s}=n;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: ${s}`,"SERVER_ERROR",a);if(a>=400)return new A(`Client error: ${s}`,"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,n){if(!e)throw new B("No data returned from API");if(typeof e==="object"&&e!==null){if(Array.isArray(e))e.forEach((a,s)=>{if(a===null||a===void 0)throw new B(`Invalid null/undefined item at index ${s}`)});if("id"in e&&typeof e.id!=="number")throw new B("Resource ID must be a number")}return e}var zI="1.0.0";export{qI as validateResponse,GI as validateBaseUrl,PI as validateApiKey,HI as handleApiResponse,m as createServarrClient,B as ValidationError,zI as VERSION,A as TsArrError,kr as SonarrClient,gt as Sonarr,Sr as ReadarrClient,cr as Readarr,Gr as RadarrClient,rt as Radarr,Cr as ProwlarrClient,Tr as Prowlarr,KT as NotFoundError,vr as LidarrClient,Xt as Lidarr,I as ConnectionError,P as ApiKeyError};
1
+ var Fr=Object.defineProperty;var T=(e,n)=>{for(var a in n)Fr(e,a,{get:n[a],enumerable:!0,configurable:!0,set:(s)=>n[a]=()=>s})};var rt={};T(rt,{putApiV3TagById:()=>cp,putApiV3RemotepathmappingById:()=>Js,putApiV3ReleaseprofileById:()=>zs,putApiV3QualityprofileById:()=>je,putApiV3QualitydefinitionUpdate:()=>$s,putApiV3QualitydefinitionById:()=>Fs,putApiV3NotificationById:()=>ve,putApiV3MoviefileEditor:()=>ws,putApiV3MoviefileById:()=>Es,putApiV3MoviefileBulk:()=>Is,putApiV3MovieEditor:()=>fs,putApiV3MovieById:()=>Be,putApiV3MetadataById:()=>as,putApiV3IndexerById:()=>Ve,putApiV3IndexerBulk:()=>La,putApiV3ImportlistById:()=>ue,putApiV3ImportlistBulk:()=>Oa,putApiV3ExclusionsById:()=>Ga,putApiV3DownloadclientById:()=>z,putApiV3DownloadclientBulk:()=>_,putApiV3DelayprofileReorderById:()=>da,putApiV3DelayprofileById:()=>la,putApiV3CustomformatById:()=>N,putApiV3CustomformatBulk:()=>j,putApiV3CustomfilterById:()=>ra,putApiV3ConfigUiById:()=>hp,putApiV3ConfigNamingById:()=>Ps,putApiV3ConfigMetadataById:()=>ms,putApiV3ConfigMediamanagementById:()=>rs,putApiV3ConfigIndexerById:()=>ja,putApiV3ConfigImportlistById:()=>Ba,putApiV3ConfigHostById:()=>Ea,putApiV3ConfigDownloadclientById:()=>Aa,putApiV3CollectionById:()=>Ki,putApiV3Collection:()=>zi,putApiV3AutotaggingById:()=>Si,postLogin:()=>Di,postApiV3Tag:()=>dp,postApiV3SystemShutdown:()=>pp,postApiV3SystemRestart:()=>lp,postApiV3SystemBackupRestoreUpload:()=>Qi,postApiV3SystemBackupRestoreById:()=>$i,postApiV3Rootfolder:()=>Ze,postApiV3Remotepathmapping:()=>_s,postApiV3Releaseprofile:()=>Hs,postApiV3ReleasePush:()=>Ys,postApiV3Release:()=>js,postApiV3QueueGrabById:()=>Ke,postApiV3QueueGrabBulk:()=>Ye,postApiV3Qualityprofile:()=>Ne,postApiV3NotificationTestall:()=>Le,postApiV3NotificationTest:()=>Fe,postApiV3NotificationActionByName:()=>vs,postApiV3Notification:()=>ke,postApiV3MovieImport:()=>De,postApiV3Movie:()=>Ie,postApiV3MetadataTestall:()=>ds,postApiV3MetadataTest:()=>us,postApiV3MetadataActionByName:()=>cs,postApiV3Metadata:()=>is,postApiV3Manualimport:()=>Ja,postApiV3IndexerTestall:()=>we,postApiV3IndexerTest:()=>Oe,postApiV3IndexerActionByName:()=>$a,postApiV3Indexer:()=>fe,postApiV3ImportlistTestall:()=>Ae,postApiV3ImportlistTest:()=>me,postApiV3ImportlistMovie:()=>Fa,postApiV3ImportlistActionByName:()=>Ta,postApiV3Importlist:()=>le,postApiV3HistoryFailedById:()=>se,postApiV3ExclusionsBulk:()=>Sa,postApiV3Exclusions:()=>Da,postApiV3DownloadclientTestall:()=>ee,postApiV3DownloadclientTest:()=>J,postApiV3DownloadclientActionByName:()=>ya,postApiV3Downloadclient:()=>W,postApiV3Delayprofile:()=>aa,postApiV3Customformat:()=>L,postApiV3Customfilter:()=>ta,postApiV3Command:()=>C,postApiV3Autotagging:()=>ki,headPing:()=>Ms,getPing:()=>Cs,getLogout:()=>Gi,getLogin:()=>Pi,getFeedV3CalendarRadarrIcs:()=>S,getContentByPath:()=>op,getByPath:()=>ip,getApiV3WantedMissing:()=>gs,getApiV3WantedCutoff:()=>ia,getApiV3Update:()=>Op,getApiV3TagDetailById:()=>gp,getApiV3TagDetail:()=>Ap,getApiV3TagById:()=>mp,getApiV3Tag:()=>up,getApiV3SystemTaskById:()=>Vp,getApiV3SystemTask:()=>fp,getApiV3SystemStatus:()=>tt,getApiV3SystemRoutesDuplicate:()=>sp,getApiV3SystemRoutes:()=>ap,getApiV3SystemBackup:()=>Li,getApiV3RootfolderById:()=>rp,getApiV3Rootfolder:()=>Je,getApiV3Rename:()=>tp,getApiV3RemotepathmappingById:()=>ep,getApiV3Remotepathmapping:()=>Xs,getApiV3ReleaseprofileById:()=>Ks,getApiV3Releaseprofile:()=>qs,getApiV3Release:()=>Us,getApiV3QueueStatus:()=>Xe,getApiV3QueueDetails:()=>_e,getApiV3Queue:()=>ze,getApiV3QualityprofileSchema:()=>He,getApiV3QualityprofileById:()=>Ue,getApiV3Qualityprofile:()=>$e,getApiV3QualitydefinitionLimits:()=>Qs,getApiV3QualitydefinitionById:()=>Ls,getApiV3Qualitydefinition:()=>Ns,getApiV3Parse:()=>Ss,getApiV3NotificationSchema:()=>Me,getApiV3NotificationById:()=>Ce,getApiV3Notification:()=>Ge,getApiV3MoviefileById:()=>Os,getApiV3Moviefile:()=>hs,getApiV3MovieLookupTmdb:()=>xs,getApiV3MovieLookupImdb:()=>Rs,getApiV3MovieLookup:()=>Pe,getApiV3MovieByIdFolder:()=>Bs,getApiV3MovieById:()=>Re,getApiV3Movie:()=>Te,getApiV3MetadataSchema:()=>ls,getApiV3MetadataById:()=>ps,getApiV3Metadata:()=>ns,getApiV3MediacoverByMovieIdByFilename:()=>es,getApiV3Manualimport:()=>Za,getApiV3LogFileUpdateByFilename:()=>Tp,getApiV3LogFileUpdate:()=>wp,getApiV3LogFileByFilename:()=>Xa,getApiV3LogFile:()=>_a,getApiV3Log:()=>Ya,getApiV3LocalizationLanguage:()=>Ka,getApiV3Localization:()=>za,getApiV3LanguageById:()=>Wa,getApiV3Language:()=>qa,getApiV3Indexerflag:()=>Ha,getApiV3IndexerSchema:()=>be,getApiV3IndexerById:()=>Ee,getApiV3Indexer:()=>ge,getApiV3ImportlistSchema:()=>ye,getApiV3ImportlistMovie:()=>Ma,getApiV3ImportlistById:()=>ce,getApiV3Importlist:()=>pe,getApiV3HistorySince:()=>ie,getApiV3HistoryMovie:()=>ae,getApiV3History:()=>ne,getApiV3Health:()=>oe,getApiV3FilesystemType:()=>Va,getApiV3FilesystemMediafiles:()=>re,getApiV3Filesystem:()=>te,getApiV3Extrafile:()=>fa,getApiV3ExclusionsPaged:()=>Pa,getApiV3ExclusionsById:()=>va,getApiV3Exclusions:()=>Ra,getApiV3DownloadclientSchema:()=>Z,getApiV3DownloadclientById:()=>Y,getApiV3Downloadclient:()=>q,getApiV3Diskspace:()=>ca,getApiV3DelayprofileById:()=>ua,getApiV3Delayprofile:()=>sa,getApiV3CustomformatSchema:()=>H,getApiV3CustomformatById:()=>Q,getApiV3Customformat:()=>F,getApiV3CustomfilterById:()=>na,getApiV3Customfilter:()=>ea,getApiV3CreditById:()=>Ji,getApiV3Credit:()=>Zi,getApiV3ConfigUiById:()=>Ep,getApiV3ConfigUi:()=>bp,getApiV3ConfigNamingExamples:()=>ks,getApiV3ConfigNamingById:()=>Gs,getApiV3ConfigNaming:()=>Ds,getApiV3ConfigMetadataById:()=>As,getApiV3ConfigMetadata:()=>ys,getApiV3ConfigMediamanagementById:()=>os,getApiV3ConfigMediamanagement:()=>ts,getApiV3ConfigIndexerById:()=>Ua,getApiV3ConfigIndexer:()=>Qa,getApiV3ConfigImportlistById:()=>xa,getApiV3ConfigImportlist:()=>Ia,getApiV3ConfigHostById:()=>ba,getApiV3ConfigHost:()=>ha,getApiV3ConfigDownloadclientById:()=>ga,getApiV3ConfigDownloadclient:()=>ma,getApiV3CommandById:()=>Xi,getApiV3Command:()=>M,getApiV3CollectionById:()=>Yi,getApiV3Collection:()=>Wi,getApiV3Calendar:()=>v,getApiV3BlocklistMovie:()=>Ui,getApiV3Blocklist:()=>ji,getApiV3AutotaggingSchema:()=>Fi,getApiV3AutotaggingById:()=>Mi,getApiV3Autotagging:()=>vi,getApiV3AlttitleById:()=>xi,getApiV3Alttitle:()=>Bi,getApi:()=>Ri,get:()=>np,deleteApiV3TagById:()=>yp,deleteApiV3SystemBackupById:()=>Ni,deleteApiV3RootfolderById:()=>et,deleteApiV3RemotepathmappingById:()=>Zs,deleteApiV3ReleaseprofileById:()=>Ws,deleteApiV3QueueById:()=>qe,deleteApiV3QueueBulk:()=>We,deleteApiV3QualityprofileById:()=>Qe,deleteApiV3NotificationById:()=>Se,deleteApiV3MoviefileById:()=>bs,deleteApiV3MoviefileBulk:()=>Ts,deleteApiV3MovieEditor:()=>Vs,deleteApiV3MovieById:()=>xe,deleteApiV3MetadataById:()=>ss,deleteApiV3IndexerById:()=>he,deleteApiV3IndexerBulk:()=>Na,deleteApiV3ImportlistById:()=>de,deleteApiV3ImportlistBulk:()=>wa,deleteApiV3ExclusionsById:()=>ka,deleteApiV3ExclusionsBulk:()=>Ca,deleteApiV3DownloadclientById:()=>K,deleteApiV3DownloadclientBulk:()=>X,deleteApiV3DelayprofileById:()=>pa,deleteApiV3CustomformatById:()=>$,deleteApiV3CustomformatBulk:()=>U,deleteApiV3CustomfilterById:()=>oa,deleteApiV3CommandById:()=>_i,deleteApiV3BlocklistById:()=>Hi,deleteApiV3BlocklistBulk:()=>qi,deleteApiV3AutotaggingById:()=>Ci,client:()=>t,UpdateResourceSchema:()=>mi,UpdateMechanismSchema:()=>yi,UpdateChangesSchema:()=>ci,UnmappedFolderSchema:()=>di,UiConfigResourceSchema:()=>ui,TrackedDownloadStatusSchema:()=>pi,TrackedDownloadStatusMessageSchema:()=>li,TrackedDownloadStateSchema:()=>si,TaskResourceSchema:()=>ai,TagResourceSchema:()=>ii,TagDetailsResourceSchema:()=>ni,TMDbCountryCodeSchema:()=>oi,SystemResourceSchema:()=>ri,SourceTypeSchema:()=>ti,SortDirectionSchema:()=>ei,SelectOptionSchema:()=>Jn,RuntimeModeSchema:()=>Zn,RootFolderResourceSchema:()=>Xn,RevisionSchema:()=>_n,RescanAfterRefreshTypeSchema:()=>Yn,RenameMovieResourceSchema:()=>Kn,RemotePathMappingResourceSchema:()=>zn,ReleaseResourceSchema:()=>Wn,ReleaseProfileResourceSchema:()=>qn,RejectionTypeSchema:()=>Hn,RatingsSchema:()=>Un,RatingTypeSchema:()=>jn,RatingChildSchema:()=>Qn,QueueStatusSchema:()=>Nn,QueueStatusResourceSchema:()=>$n,QueueResourceSchema:()=>Fn,QueueResourcePagingResourceSchema:()=>Ln,QueueBulkResourceSchema:()=>Mn,QualitySourceSchema:()=>Cn,QualitySchema:()=>Dn,QualityProfileResourceSchema:()=>Sn,QualityProfileQualityItemResourceSchema:()=>vn,QualityModelSchema:()=>kn,QualityDefinitionResourceSchema:()=>Gn,QualityDefinitionLimitsResourceSchema:()=>Pn,ProxyTypeSchema:()=>Rn,ProviderMessageTypeSchema:()=>xn,ProviderMessageSchema:()=>Bn,ProperDownloadTypesSchema:()=>In,ProfileFormatItemResourceSchema:()=>Tn,PrivacyLevelSchema:()=>wn,PingResourceSchema:()=>On,ParsedMovieInfoSchema:()=>bn,ParseResourceSchema:()=>En,NotificationResourceSchema:()=>hn,NamingConfigResourceSchema:()=>Vn,MovieStatusTypeSchema:()=>fn,MovieStatisticsResourceSchema:()=>gn,MovieRuntimeFormatTypeSchema:()=>An,MovieResourceSchema:()=>yn,MovieResourcePagingResourceSchema:()=>mn,MovieHistoryEventTypeSchema:()=>cn,MovieFileResourceSchema:()=>dn,MovieFileListResourceSchema:()=>un,MovieEditorResourceSchema:()=>ln,MovieCollectionResourceSchema:()=>pn,MonitorTypesSchema:()=>sn,ModifierSchema:()=>an,MetadataResourceSchema:()=>nn,MetadataConfigResourceSchema:()=>on,MediaManagementConfigResourceSchema:()=>rn,MediaInfoResourceSchema:()=>tn,MediaCoverTypesSchema:()=>en,MediaCoverSchema:()=>Jo,ManualImportResourceSchema:()=>Zo,ManualImportReprocessResourceSchema:()=>Xo,LogResourceSchema:()=>Yo,LogResourcePagingResourceSchema:()=>_o,LogFileResourceSchema:()=>Ko,LocalizationLanguageResourceSchema:()=>zo,LanguageSchema:()=>qo,LanguageResourceSchema:()=>Wo,IndexerResourceSchema:()=>Ho,IndexerFlagResourceSchema:()=>Uo,IndexerConfigResourceSchema:()=>jo,IndexerBulkResourceSchema:()=>Qo,ImportRejectionResourceSchema:()=>$o,ImportListTypeSchema:()=>No,ImportListResourceSchema:()=>Lo,ImportListExclusionResourceSchema:()=>Mo,ImportListExclusionResourcePagingResourceSchema:()=>Fo,ImportListExclusionBulkResourceSchema:()=>Co,ImportListConfigResourceSchema:()=>So,ImportListBulkResourceSchema:()=>vo,HostConfigResourceSchema:()=>ko,HistoryResourceSchema:()=>Po,HistoryResourcePagingResourceSchema:()=>Go,HealthResourceSchema:()=>Do,HealthCheckResultSchema:()=>Ro,FileDateTypeSchema:()=>xo,FieldSchema:()=>Bo,ExtraFileTypeSchema:()=>Io,ExtraFileResourceSchema:()=>To,DownloadProtocolSchema:()=>wo,DownloadClientResourceSchema:()=>Oo,DownloadClientConfigResourceSchema:()=>bo,DownloadClientBulkResourceSchema:()=>Eo,DiskSpaceResourceSchema:()=>ho,DelayProfileResourceSchema:()=>Vo,DatabaseTypeSchema:()=>fo,CustomFormatSpecificationSchemaSchema:()=>go,CustomFormatResourceSchema:()=>Ao,CustomFormatBulkResourceSchema:()=>mo,CustomFilterResourceSchema:()=>yo,CreditTypeSchema:()=>co,CreditResourceSchema:()=>uo,CommandTriggerSchema:()=>lo,CommandStatusSchema:()=>po,CommandSchema:()=>no,CommandResultSchema:()=>so,CommandResourceSchema:()=>ao,CommandPrioritySchema:()=>io,ColonReplacementFormatSchema:()=>oo,CollectionUpdateResourceSchema:()=>ro,CollectionResourceSchema:()=>to,CollectionMovieResourceSchema:()=>eo,CertificateValidationTypeSchema:()=>Jr,CalendarReleaseTypeSchema:()=>Zr,BlocklistResourceSchema:()=>_r,BlocklistResourcePagingResourceSchema:()=>Xr,BlocklistBulkResourceSchema:()=>Yr,BackupTypeSchema:()=>Kr,BackupResourceSchema:()=>zr,AutoTaggingSpecificationSchemaSchema:()=>Wr,AutoTaggingResourceSchema:()=>qr,AuthenticationTypeSchema:()=>Hr,AuthenticationRequiredTypeSchema:()=>Ur,ApplyTagsSchema:()=>jr,ApiInfoResourceSchema:()=>Qr,AlternativeTitleResourceSchema:()=>$r,AddMovieOptionsSchema:()=>Nr,AddMovieMethodSchema:()=>Lr});var Lr={enum:["manual","list","collection"],type:"string"},Nr={type:"object",properties:{ignoreEpisodesWithFiles:{type:"boolean"},ignoreEpisodesWithoutFiles:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},searchForMovie:{type:"boolean"},addMethod:{$ref:"#/components/schemas/AddMovieMethod"}},additionalProperties:!1},$r={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},Qr={type:"object",properties:{current:{type:"string",nullable:!0},deprecated:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},jr={enum:["add","remove","replace"],type:"string"},Ur={enum:["enabled","disabledForLocalAddresses"],type:"string"},Hr={enum:["none","basic","forms","external"],type:"string"},qr={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},Wr={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},zr={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},Kr={enum:["scheduled","manual","update"],type:"string"},Yr={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},_r={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},Xr={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},Zr={enum:["cinemaRelease","digitalRelease","physicalRelease"],type:"string"},Jr={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},eo={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},to={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},ro={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},oo={enum:["delete","dash","spaceDash","spaceDashSpace","smart"],type:"string"},no={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},io={enum:["normal","high","low"],type:"string"},ao={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},so={enum:["unknown","successful","unsuccessful"],type:"string"},po={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},lo={enum:["unspecified","manual","scheduled"],type:"string"},uo={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},co={enum:["cast","crew"],type:"string"},yo={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},mo={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0},includeCustomFormatWhenRenaming:{type:"boolean",nullable:!0}},additionalProperties:!1},Ao={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},go={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},fo={enum:["sqLite","postgreSQL"],type:"string"},Vo={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},ho={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},Eo={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},bo={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},Oo={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},wo={enum:["unknown","usenet","torrent"],type:"string"},To={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},Io={enum:["subtitle","metadata","other"],type:"string"},Bo={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},xo={enum:["none","cinemas","release"],type:"string"},Ro={enum:["ok","notice","warning","error"],type:"string"},Do={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},Po={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},Go={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},ko={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},vo={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},So={type:"object",properties:{id:{type:"integer",format:"int32"},listSyncLevel:{type:"string",nullable:!0}},additionalProperties:!1},Co={type:"object",properties:{ids:{uniqueItems:!0,type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Mo={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},Fo={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},Lo={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},No={enum:["program","tmdb","trakt","plex","simkl","other","advanced"],type:"string"},$o={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},Qo={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},jo={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},Uo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},Ho={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},qo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Wo={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},zo={type:"object",properties:{identifier:{type:"string",nullable:!0}},additionalProperties:!1},Ko={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},_o={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},Xo={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},Zo={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},Jo={type:"object",properties:{coverType:{$ref:"#/components/schemas/MediaCoverTypes"},url:{type:"string",nullable:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},en={enum:["unknown","poster","banner","fanart","screenshot","headshot","clearlogo"],type:"string"},tn={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},rn={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},on={type:"object",properties:{id:{type:"integer",format:"int32"},certificationCountry:{$ref:"#/components/schemas/TMDbCountryCode"}},additionalProperties:!1},nn={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},an={enum:["none","regional","screener","rawhd","brdisk","remux"],type:"string"},sn={enum:["movieOnly","movieAndCollection","none"],type:"string"},pn={type:"object",properties:{title:{type:"string",nullable:!0},tmdbId:{type:"integer",format:"int32"}},additionalProperties:!1},ln={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},un={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},dn={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},cn={enum:["unknown","grabbed","downloadFolderImported","downloadFailed","movieFileDeleted","movieFolderImported","movieFileRenamed","downloadIgnored"],type:"string"},yn={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},mn={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},An={enum:["hoursMinutes","minutes"],type:"string"},gn={type:"object",properties:{movieFileCount:{type:"integer",format:"int32"},sizeOnDisk:{type:"integer",format:"int64"},releaseGroups:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},fn={enum:["tba","announced","inCinemas","released","deleted"],type:"string"},Vn={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},hn={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},En={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},bn={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},On={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},wn={enum:["normal","password","apiKey","userName"],type:"string"},Tn={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},In={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},Bn={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},xn={enum:["info","warning","error"],type:"string"},Rn={enum:["http","socks4","socks5"],type:"string"},Dn={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},Pn={type:"object",properties:{min:{type:"integer",format:"int32"},max:{type:"integer",format:"int32"}},additionalProperties:!1},Gn={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},kn={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},vn={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},Sn={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},Cn={enum:["unknown","cam","telesync","telecine","workprint","dvd","tv","webdl","webrip","bluray"],type:"string"},Mn={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Fn={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},Ln={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},Nn={enum:["unknown","queued","paused","downloading","completed","failed","warning","delay","downloadClientUnavailable","fallback"],type:"string"},$n={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},Qn={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"},type:{$ref:"#/components/schemas/RatingType"}},additionalProperties:!1},jn={enum:["user","critic"],type:"string"},Un={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},Hn={enum:["permanent","temporary"],type:"string"},qn={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},Wn={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},zn={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},Kn={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},Yn={enum:["always","afterManual","never"],type:"string"},_n={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},Xn={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},Zn={enum:["console","service","tray"],type:"string"},Jn={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},ei={enum:["default","ascending","descending"],type:"string"},ti={enum:["tmdb","mappings","user","indexer"],type:"string"},ri={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},oi={enum:["au","br","ca","fr","de","gb","in","ie","it","nz","ro","es","us"],type:"string"},ni={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},ii={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},ai={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},si={enum:["downloading","importBlocked","importPending","importing","imported","failedPending","failed","ignored"],type:"string"},pi={enum:["ok","warning","error"],type:"string"},li={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},ui={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},di={type:"object",properties:{name:{type:"string",nullable:!0},path:{type:"string",nullable:!0},relativePath:{type:"string",nullable:!0}},additionalProperties:!1},ci={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},yi={enum:["builtIn","script","external","apt","docker"],type:"string"},mi={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 Ai=/\{[^{}]+\}/g,D=({allowReserved:e,name:n,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`${n}=${e?a:encodeURIComponent(a)}`},gi=(e)=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},fi=(e)=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},Vi=(e)=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Br=({allowReserved:e,explode:n,name:a,style:s,value:d})=>{if(!n){let u=(e?d:d.map((y)=>encodeURIComponent(y))).join(fi(s));switch(s){case"label":return`.${u}`;case"matrix":return`;${a}=${u}`;case"simple":return u;default:return`${a}=${u}`}}let p=gi(s),l=d.map((u)=>s==="label"||s==="simple"?e?u:encodeURIComponent(u):D({allowReserved:e,name:a,value:u})).join(p);return s==="label"||s==="matrix"?p+l:l},xr=({allowReserved:e,explode:n,name:a,style:s,value:d})=>{if(d instanceof Date)return`${a}=${d.toISOString()}`;if(s!=="deepObject"&&!n){let u=[];Object.entries(d).forEach(([O,E])=>{u=[...u,O,e?E:encodeURIComponent(E)]});let y=u.join(",");switch(s){case"form":return`${a}=${y}`;case"label":return`.${y}`;case"matrix":return`;${a}=${y}`;default:return y}}let p=Vi(s),l=Object.entries(d).map(([u,y])=>D({allowReserved:e,name:s==="deepObject"?`${a}[${u}]`:u,value:y})).join(p);return s==="label"||s==="matrix"?p+l:l},hi=({path:e,url:n})=>{let a=n,s=n.match(Ai);if(s)for(let d of s){let p=!1,l=d.substring(1,d.length-1),u="simple";l.endsWith("*")&&(p=!0,l=l.substring(0,l.length-1)),l.startsWith(".")?(l=l.substring(1),u="label"):l.startsWith(";")&&(l=l.substring(1),u="matrix");let y=e[l];if(y==null)continue;if(Array.isArray(y)){a=a.replace(d,Br({explode:p,name:l,style:u,value:y}));continue}if(typeof y=="object"){a=a.replace(d,xr({explode:p,name:l,style:u,value:y}));continue}if(u==="matrix"){a=a.replace(d,`;${D({name:l,value:y})}`);continue}let O=encodeURIComponent(u==="label"?`.${y}`:y);a=a.replace(d,O)}return a},Rr=({allowReserved:e,array:n,object:a}={})=>(s)=>{let d=[];if(s&&typeof s=="object")for(let p in s){let l=s[p];if(l!=null){if(Array.isArray(l)){d=[...d,Br({allowReserved:e,explode:!0,name:p,style:"form",value:l,...n})];continue}if(typeof l=="object"){d=[...d,xr({allowReserved:e,explode:!0,name:p,style:"deepObject",value:l,...a})];continue}d=[...d,D({allowReserved:e,name:p,value:l})]}}return d.join("&")},Ei=(e)=>{if(!e)return;let n=e.split(";")[0].trim();if(n.startsWith("application/json")||n.endsWith("+json"))return"json";if(n==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some((a)=>n.startsWith(a)))return"blob";if(n.startsWith("text/"))return"text"},bi=({baseUrl:e,path:n,query:a,querySerializer:s,url:d})=>{let p=d.startsWith("/")?d:`/${d}`,l=e+p;n&&(l=hi({path:n,url:l}));let u=a?s(a):"";return u.startsWith("?")&&(u=u.substring(1)),u&&(l+=`?${u}`),l},Tr=(e,n)=>{let a={...e,...n};return a.baseUrl?.endsWith("/")&&(a.baseUrl=a.baseUrl.substring(0,a.baseUrl.length-1)),a.headers=Dr(e.headers,n.headers),a},Dr=(...e)=>{let n=new Headers;for(let a of e){if(!a||typeof a!="object")continue;let s=a instanceof Headers?a.entries():Object.entries(a);for(let[d,p]of s)if(p===null)n.delete(d);else if(Array.isArray(p))for(let l of p)n.append(d,l);else p!==void 0&&n.set(d,typeof p=="object"?JSON.stringify(p):p)}return n},k=class{_fns;constructor(){this._fns=[]}clear(){this._fns=[]}exists(e){return this._fns.indexOf(e)!==-1}eject(e){let n=this._fns.indexOf(e);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(e){this._fns=[...this._fns,e]}},Oi=()=>({error:new k,request:new k,response:new k}),Ir=(e,n,a)=>{typeof a=="string"||a instanceof Blob?e.append(n,a):e.append(n,JSON.stringify(a))},V={bodySerializer:(e)=>{let n=new FormData;return Object.entries(e).forEach(([a,s])=>{s!=null&&(Array.isArray(s)?s.forEach((d)=>Ir(n,a,d)):Ir(n,a,s))}),n}},wi={bodySerializer:(e)=>JSON.stringify(e)};var Ti=Rr({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Ii={"Content-Type":"application/json"},f=(e={})=>({...wi,baseUrl:"",fetch:globalThis.fetch,headers:Ii,parseAs:"auto",querySerializer:Ti,...e}),h=(e={})=>{let n=Tr(f(),e),a=()=>({...n}),s=(l)=>(n=Tr(n,l),a()),d=Oi(),p=async(l)=>{let u={...n,...l,headers:Dr(n.headers,l.headers)};u.body&&u.bodySerializer&&(u.body=u.bodySerializer(u.body)),u.body||u.headers.delete("Content-Type");let y=bi({baseUrl:u.baseUrl??"",path:u.path,query:u.query,querySerializer:typeof u.querySerializer=="function"?u.querySerializer:Rr(u.querySerializer),url:u.url}),O={redirect:"follow",...u},E=new Request(y,O);for(let b of d.request._fns)E=await b(E,u);let Mr=u.fetch,g=await Mr(E);for(let b of d.response._fns)g=await b(g,E,u);let x={request:E,response:g};if(g.ok){if(g.status===204||g.headers.get("Content-Length")==="0")return{data:{},...x};if(u.parseAs==="stream")return{data:g.body,...x};let b=(u.parseAs==="auto"?Ei(g.headers.get("Content-Type")):u.parseAs)??"json",G=await g[b]();return b==="json"&&u.responseTransformer&&(G=await u.responseTransformer(G)),{data:G,...x}}let R=await g.text();try{R=JSON.parse(R)}catch{}let w=R;for(let b of d.error._fns)w=await b(R,g,E,u);if(w=w||{},u.throwOnError)throw w;return{error:w,...x}};return{connect:(l)=>p({...l,method:"CONNECT"}),delete:(l)=>p({...l,method:"DELETE"}),get:(l)=>p({...l,method:"GET"}),getConfig:a,head:(l)=>p({...l,method:"HEAD"}),interceptors:d,options:(l)=>p({...l,method:"OPTIONS"}),patch:(l)=>p({...l,method:"PATCH"}),post:(l)=>p({...l,method:"POST"}),put:(l)=>p({...l,method:"PUT"}),request:p,setConfig:s,trace:(l)=>p({...l,method:"TRACE"})}};var t=h(f()),Bi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/alttitle"})},xi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/alttitle/{id}"})},Ri=(e)=>{return(e?.client??t).get({...e,url:"/api"})},Di=(e)=>{return(e?.client??t).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Pi=(e)=>{return(e?.client??t).get({...e,url:"/login"})},Gi=(e)=>{return(e?.client??t).get({...e,url:"/logout"})},ki=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/autotagging"})},vi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging"})},Si=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/autotagging/{id}"})},Ci=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/autotagging/{id}"})},Mi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging/{id}"})},Fi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/autotagging/schema"})},Li=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/backup"})},Ni=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/system/backup/{id}"})},$i=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/backup/restore/{id}"})},Qi=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/backup/restore/upload"})},ji=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/blocklist"})},Ui=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/blocklist/movie"})},Hi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/blocklist/{id}"})},qi=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/blocklist/bulk"})},v=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/calendar"})},S=(e)=>{return(e?.client??t).get({...e,url:"/feed/v3/calendar/radarr.ics"})},Wi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/collection"})},zi=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/collection"})},Ki=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/collection/{id}"})},Yi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/collection/{id}"})},C=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/command"})},M=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/command"})},_i=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/command/{id}"})},Xi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/command/{id}"})},Zi=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/credit"})},Ji=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/credit/{id}"})},ea=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customfilter"})},ta=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/customfilter"})},ra=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customfilter/{id}"})},oa=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customfilter/{id}"})},na=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customfilter/{id}"})},F=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat"})},L=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/customformat"})},N=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customformat/{id}"})},$=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customformat/{id}"})},Q=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat/{id}"})},j=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/customformat/bulk"})},U=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/customformat/bulk"})},H=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/customformat/schema"})},ia=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/wanted/cutoff"})},aa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/delayprofile"})},sa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/delayprofile"})},pa=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/delayprofile/{id}"})},la=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/delayprofile/{id}"})},ua=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/delayprofile/{id}"})},da=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/delayprofile/reorder/{id}"})},ca=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/diskspace"})},q=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient"})},W=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient"})},z=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/downloadclient/{id}"})},K=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/downloadclient/{id}"})},Y=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient/{id}"})},_=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/downloadclient/bulk"})},X=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/downloadclient/bulk"})},Z=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/downloadclient/schema"})},J=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/test"})},ee=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/testall"})},ya=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/downloadclient/action/{name}"})},ma=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/downloadclient"})},Aa=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/downloadclient/{id}"})},ga=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/downloadclient/{id}"})},fa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/extrafile"})},te=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem"})},Va=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem/type"})},re=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/filesystem/mediafiles"})},oe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/health"})},ne=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history"})},ie=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history/since"})},ae=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/history/movie"})},se=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/history/failed/{id}"})},ha=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/host"})},Ea=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/host/{id}"})},ba=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/host/{id}"})},pe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist"})},le=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist"})},ue=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/importlist/{id}"})},de=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/importlist/{id}"})},ce=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/{id}"})},Oa=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/importlist/bulk"})},wa=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/importlist/bulk"})},ye=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/schema"})},me=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/test"})},Ae=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/testall"})},Ta=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/action/{name}"})},Ia=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/importlist"})},Ba=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/importlist/{id}"})},xa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/importlist/{id}"})},Ra=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions"})},Da=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/exclusions"})},Pa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions/paged"})},Ga=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/exclusions/{id}"})},ka=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/exclusions/{id}"})},va=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/exclusions/{id}"})},Sa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/exclusions/bulk"})},Ca=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/exclusions/bulk"})},Ma=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/importlist/movie"})},Fa=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/importlist/movie"})},ge=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer"})},fe=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer"})},Ve=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/indexer/{id}"})},he=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/indexer/{id}"})},Ee=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer/{id}"})},La=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/indexer/bulk"})},Na=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/indexer/bulk"})},be=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexer/schema"})},Oe=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/test"})},we=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/testall"})},$a=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/indexer/action/{name}"})},Qa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/indexer"})},ja=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/indexer/{id}"})},Ua=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/indexer/{id}"})},Ha=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/indexerflag"})},qa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/language"})},Wa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/language/{id}"})},za=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/localization"})},Ka=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/localization/language"})},Ya=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log"})},_a=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file"})},Xa=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/{filename}"})},Za=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/manualimport"})},Ja=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/manualimport"})},es=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/mediacover/{movieId}/{filename}"})},ts=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/mediamanagement"})},rs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/mediamanagement/{id}"})},os=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/mediamanagement/{id}"})},ns=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata"})},is=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata"})},as=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/metadata/{id}"})},ss=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/metadata/{id}"})},ps=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata/{id}"})},ls=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/metadata/schema"})},us=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/test"})},ds=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/testall"})},cs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/metadata/action/{name}"})},ys=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/metadata"})},ms=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/metadata/{id}"})},As=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/metadata/{id}"})},gs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/wanted/missing"})},Te=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie"})},Ie=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/movie"})},Be=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/movie/{id}"})},xe=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/movie/{id}"})},Re=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/{id}"})},fs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/movie/editor"})},Vs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/movie/editor"})},hs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/moviefile"})},Es=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/{id}"})},bs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/moviefile/{id}"})},Os=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/moviefile/{id}"})},ws=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/editor"})},Ts=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/moviefile/bulk"})},Is=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/moviefile/bulk"})},Bs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/{id}/folder"})},De=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/movie/import"})},xs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup/tmdb"})},Rs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup/imdb"})},Pe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/movie/lookup"})},Ds=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming"})},Ps=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/naming/{id}"})},Gs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming/{id}"})},ks=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/naming/examples"})},Ge=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification"})},ke=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification"})},ve=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/notification/{id}"})},Se=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/notification/{id}"})},Ce=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification/{id}"})},Me=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/notification/schema"})},Fe=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/test"})},Le=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/testall"})},vs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/notification/action/{name}"})},Ss=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/parse"})},Cs=(e)=>{return(e?.client??t).get({...e,url:"/ping"})},Ms=(e)=>{return(e?.client??t).head({...e,url:"/ping"})},Fs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualitydefinition/{id}"})},Ls=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition/{id}"})},Ns=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition"})},$s=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualitydefinition/update"})},Qs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualitydefinition/limits"})},Ne=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/qualityprofile"})},$e=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile"})},Qe=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/qualityprofile/{id}"})},je=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/qualityprofile/{id}"})},Ue=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile/{id}"})},He=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/qualityprofile/schema"})},qe=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/queue/{id}"})},We=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/queue/bulk"})},ze=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue"})},Ke=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/queue/grab/{id}"})},Ye=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/queue/grab/bulk"})},_e=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue/details"})},Xe=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/queue/status"})},js=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/release"})},Us=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/release"})},Hs=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/releaseprofile"})},qs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/releaseprofile"})},Ws=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/releaseprofile/{id}"})},zs=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/releaseprofile/{id}"})},Ks=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/releaseprofile/{id}"})},Ys=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/release/push"})},_s=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/remotepathmapping"})},Xs=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/remotepathmapping"})},Zs=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/remotepathmapping/{id}"})},Js=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/remotepathmapping/{id}"})},ep=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/remotepathmapping/{id}"})},tp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rename"})},Ze=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/rootfolder"})},Je=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rootfolder"})},et=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/rootfolder/{id}"})},rp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/rootfolder/{id}"})},op=(e)=>{return(e?.client??t).get({...e,url:"/content/{path}"})},np=(e)=>{return(e?.client??t).get({...e,url:"/"})},ip=(e)=>{return(e?.client??t).get({...e,url:"/{path}"})},tt=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/status"})},ap=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/routes"})},sp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/routes/duplicate"})},pp=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/shutdown"})},lp=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/system/restart"})},up=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag"})},dp=(e)=>{return(e?.client??t).post({...e,url:"/api/v3/tag"})},cp=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/tag/{id}"})},yp=(e)=>{return(e?.client??t).delete({...e,url:"/api/v3/tag/{id}"})},mp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/{id}"})},Ap=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/detail"})},gp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/tag/detail/{id}"})},fp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/task"})},Vp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/system/task/{id}"})},hp=(e)=>{return(e?.client??t).put({...e,url:"/api/v3/config/ui/{id}"})},Ep=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/ui/{id}"})},bp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/config/ui"})},Op=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/update"})},wp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/update"})},Tp=(e)=>{return(e?.client??t).get({...e,url:"/api/v3/log/file/update/{filename}"})};var At={};T(At,{putApiV5SettingsUpdate:()=>tl,putApiV5SeriesById:()=>pt,postLogin:()=>zp,postApiV5Series:()=>at,headPing:()=>Xp,getPing:()=>_p,getLogout:()=>Yp,getLogin:()=>Kp,getContentByPath:()=>Zp,getByPath:()=>el,getApiV5Update:()=>ct,getApiV5SettingsUpdateById:()=>mt,getApiV5SettingsUpdate:()=>yt,getApiV5SeriesLookup:()=>dt,getApiV5SeriesByIdFolder:()=>ut,getApiV5SeriesById:()=>st,getApiV5Series:()=>it,getApiV5Log:()=>nt,getApi:()=>ot,get:()=>Jp,deleteApiV5SeriesById:()=>lt,client:()=>c,UpdateSettingsResourceSchema:()=>Wp,UpdateResourceSchema:()=>qp,UpdateMechanismSchema:()=>Hp,UpdateChangesSchema:()=>Up,SortDirectionSchema:()=>jp,SeriesTypesSchema:()=>Qp,SeriesStatusTypeSchema:()=>$p,SeriesStatisticsResourceSchema:()=>Np,SeriesResourceSchema:()=>Lp,SeasonStatisticsResourceSchema:()=>Fp,SeasonResourceSchema:()=>Mp,RatingsSchema:()=>Cp,PingResourceSchema:()=>Sp,NewItemMonitorTypesSchema:()=>vp,MonitorTypesSchema:()=>kp,MediaCoverTypesSchema:()=>Gp,MediaCoverSchema:()=>Pp,LogResourceSchema:()=>Rp,LogResourcePagingResourceSchema:()=>Dp,LanguageSchema:()=>xp,AlternateTitleResourceSchema:()=>Bp,AddSeriesOptionsSchema:()=>Ip});var Ip={type:"object",properties:{ignoreEpisodesWithFiles:{type:"boolean"},ignoreEpisodesWithoutFiles:{type:"boolean"},monitor:{$ref:"#/components/schemas/MonitorTypes"},searchForMissingEpisodes:{type:"boolean"},searchForCutoffUnmetEpisodes:{type:"boolean"}},additionalProperties:!1},Bp={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},xp={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Rp={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},Dp={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},Pp={type:"object",properties:{coverType:{$ref:"#/components/schemas/MediaCoverTypes"},url:{type:"string",nullable:!0},remoteUrl:{type:"string",nullable:!0}},additionalProperties:!1},Gp={enum:["unknown","poster","banner","fanart","screenshot","headshot","clearlogo"],type:"string"},kp={enum:["unknown","all","future","missing","existing","firstSeason","lastSeason","latestSeason","pilot","recent","monitorSpecials","unmonitorSpecials","none","skip"],type:"string"},vp={enum:["all","none"],type:"string"},Sp={type:"object",properties:{status:{type:"string",nullable:!0}},additionalProperties:!1},Cp={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"}},additionalProperties:!1},Mp={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},Fp={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},Lp={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},Np={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},$p={enum:["continuing","ended","upcoming","deleted"],type:"string"},Qp={enum:["standard","daily","anime"],type:"string"},jp={enum:["default","ascending","descending"],type:"string"},Up={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"},qp={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},Wp={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()),ot=(e)=>{return(e?.client??c).get({...e,url:"/api"})},zp=(e)=>{return(e?.client??c).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Kp=(e)=>{return(e?.client??c).get({...e,url:"/login"})},Yp=(e)=>{return(e?.client??c).get({...e,url:"/logout"})},nt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/log"})},_p=(e)=>{return(e?.client??c).get({...e,url:"/ping"})},Xp=(e)=>{return(e?.client??c).head({...e,url:"/ping"})},it=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series"})},at=(e)=>{return(e?.client??c).post({...e,url:"/api/v5/series"})},st=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/{id}"})},pt=(e)=>{return(e?.client??c).put({...e,url:"/api/v5/series/{id}"})},lt=(e)=>{return(e?.client??c).delete({...e,url:"/api/v5/series/{id}"})},ut=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/{id}/folder"})},dt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/series/lookup"})},Zp=(e)=>{return(e?.client??c).get({...e,url:"/content/{path}"})},Jp=(e)=>{return(e?.client??c).get({...e,url:"/"})},el=(e)=>{return(e?.client??c).get({...e,url:"/{path}"})},ct=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/update"})},yt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/settings/update"})},tl=(e)=>{return(e?.client??c).put({...e,url:"/api/v5/settings/update"})},mt=(e)=>{return(e?.client??c).get({...e,url:"/api/v5/settings/update/{id}"})};var _t={};T(_t,{putApiV1TrackfileEditor:()=>yA,putApiV1TrackfileById:()=>uA,putApiV1TagById:()=>Jm,putApiV1RootfolderById:()=>jm,putApiV1RemotepathmappingById:()=>Mm,putApiV1ReleaseprofileById:()=>Dm,putApiV1QualityprofileById:()=>Ht,putApiV1QualitydefinitionUpdate:()=>Vm,putApiV1QualitydefinitionById:()=>Am,putApiV1NotificationById:()=>nm,putApiV1MetadataprofileById:()=>qy,putApiV1MetadataById:()=>Sy,putApiV1IndexerById:()=>ay,putApiV1IndexerBulk:()=>uy,putApiV1ImportlistexclusionById:()=>ty,putApiV1ImportlistById:()=>Hc,putApiV1ImportlistBulk:()=>Kc,putApiV1DownloadclientById:()=>Ec,putApiV1DownloadclientBulk:()=>Tc,putApiV1DelayprofileReorderById:()=>fc,putApiV1DelayprofileById:()=>Ac,putApiV1CustomformatById:()=>vt,putApiV1CustomformatBulk:()=>Ft,putApiV1CustomfilterById:()=>ac,putApiV1ConfigUiById:()=>AA,putApiV1ConfigNamingById:()=>em,putApiV1ConfigMetadataproviderById:()=>Yy,putApiV1ConfigMediamanagementById:()=>Gy,putApiV1ConfigIndexerById:()=>fy,putApiV1ConfigHostById:()=>Qc,putApiV1ConfigDownloadclientById:()=>Gc,putApiV1AutotaggingById:()=>Hd,putApiV1ArtistEditor:()=>Ld,putApiV1ArtistById:()=>wt,putApiV1AlbumMonitor:()=>Cd,putApiV1AlbumById:()=>Vt,postLogin:()=>$d,postApiV1Tag:()=>rA,postApiV1SystemShutdown:()=>_m,postApiV1SystemRestart:()=>Xm,postApiV1SystemBackupRestoreUpload:()=>Zd,postApiV1SystemBackupRestoreById:()=>Xd,postApiV1Rootfolder:()=>zt,postApiV1Remotepathmapping:()=>Fm,postApiV1Releaseprofile:()=>km,postApiV1ReleasePush:()=>vm,postApiV1Release:()=>Bm,postApiV1QueueGrabById:()=>Om,postApiV1QueueGrabBulk:()=>wm,postApiV1Qualityprofile:()=>Qt,postApiV1NotificationTestall:()=>um,postApiV1NotificationTest:()=>lm,postApiV1NotificationActionByName:()=>dm,postApiV1Notification:()=>sm,postApiV1Metadataprofile:()=>jy,postApiV1MetadataTestall:()=>$y,postApiV1MetadataTest:()=>Ny,postApiV1MetadataActionByName:()=>Qy,postApiV1Metadata:()=>Fy,postApiV1Manualimport:()=>By,postApiV1IndexerTestall:()=>my,postApiV1IndexerTest:()=>yy,postApiV1IndexerActionByName:()=>Ay,postApiV1Indexer:()=>ly,postApiV1Importlistexclusion:()=>ny,postApiV1ImportlistTestall:()=>Zc,postApiV1ImportlistTest:()=>Xc,postApiV1ImportlistActionByName:()=>Jc,postApiV1Importlist:()=>zc,postApiV1HistoryFailedById:()=>Nc,postApiV1DownloadclientTestall:()=>Rc,postApiV1DownloadclientTest:()=>xc,postApiV1DownloadclientActionByName:()=>Dc,postApiV1Downloadclient:()=>wc,postApiV1Delayprofile:()=>cc,postApiV1Customformat:()=>Mt,postApiV1Customfilter:()=>lc,postApiV1Command:()=>Pt,postApiV1Autotagging:()=>Wd,postApiV1Artist:()=>Bt,postApiV1Albumstudio:()=>Md,postApiV1Album:()=>ft,headPing:()=>mm,getPing:()=>ym,getLogout:()=>jd,getLogin:()=>Qd,getFeedV1CalendarLidarrIcs:()=>Dt,getContentByPath:()=>qm,getByPath:()=>zm,getApiV1WantedMissingById:()=>Zy,getApiV1WantedMissing:()=>Xy,getApiV1WantedCutoffById:()=>dc,getApiV1WantedCutoff:()=>uc,getApiV1Update:()=>VA,getApiV1TrackfileById:()=>lA,getApiV1Trackfile:()=>cA,getApiV1TrackById:()=>pA,getApiV1Track:()=>sA,getApiV1TagDetailById:()=>oA,getApiV1TagDetail:()=>nA,getApiV1TagById:()=>Zm,getApiV1Tag:()=>tA,getApiV1SystemTaskById:()=>aA,getApiV1SystemTask:()=>iA,getApiV1SystemStatus:()=>Yt,getApiV1SystemRoutesDuplicate:()=>Ym,getApiV1SystemRoutes:()=>Km,getApiV1SystemBackup:()=>Yd,getApiV1Search:()=>Hm,getApiV1RootfolderById:()=>Qm,getApiV1Rootfolder:()=>Kt,getApiV1Retag:()=>$m,getApiV1Rename:()=>Nm,getApiV1RemotepathmappingById:()=>Sm,getApiV1Remotepathmapping:()=>Lm,getApiV1ReleaseprofileById:()=>Rm,getApiV1Releaseprofile:()=>Gm,getApiV1Release:()=>xm,getApiV1QueueStatus:()=>Im,getApiV1QueueDetails:()=>Tm,getApiV1Queue:()=>bm,getApiV1QualityprofileSchema:()=>Wt,getApiV1QualityprofileById:()=>qt,getApiV1Qualityprofile:()=>jt,getApiV1QualitydefinitionById:()=>gm,getApiV1Qualitydefinition:()=>fm,getApiV1Parse:()=>cm,getApiV1NotificationSchema:()=>pm,getApiV1NotificationById:()=>om,getApiV1Notification:()=>am,getApiV1MetadataprofileSchema:()=>zy,getApiV1MetadataprofileById:()=>Wy,getApiV1Metadataprofile:()=>Uy,getApiV1MetadataSchema:()=>Ly,getApiV1MetadataById:()=>vy,getApiV1Metadata:()=>My,getApiV1MediacoverArtistByArtistIdByFilename:()=>Ry,getApiV1MediacoverAlbumByAlbumIdByFilename:()=>Dy,getApiV1Manualimport:()=>xy,getApiV1LogFileUpdateByFilename:()=>EA,getApiV1LogFileUpdate:()=>hA,getApiV1LogFileByFilename:()=>Iy,getApiV1LogFile:()=>Ty,getApiV1Log:()=>wy,getApiV1Localization:()=>Oy,getApiV1LanguageById:()=>Ey,getApiV1Language:()=>by,getApiV1Indexerflag:()=>hy,getApiV1IndexerSchema:()=>cy,getApiV1IndexerById:()=>iy,getApiV1Indexer:()=>py,getApiV1ImportlistexclusionById:()=>ey,getApiV1Importlistexclusion:()=>oy,getApiV1ImportlistSchema:()=>_c,getApiV1ImportlistById:()=>Uc,getApiV1Importlist:()=>Wc,getApiV1HistorySince:()=>Fc,getApiV1HistoryArtist:()=>Lc,getApiV1History:()=>Mc,getApiV1Health:()=>$t,getApiV1FilesystemType:()=>Sc,getApiV1FilesystemMediafiles:()=>Cc,getApiV1Filesystem:()=>vc,getApiV1DownloadclientSchema:()=>Bc,getApiV1DownloadclientById:()=>hc,getApiV1Downloadclient:()=>Oc,getApiV1Diskspace:()=>Vc,getApiV1DelayprofileById:()=>gc,getApiV1Delayprofile:()=>yc,getApiV1CustomformatSchema:()=>Nt,getApiV1CustomformatById:()=>kt,getApiV1Customformat:()=>Ct,getApiV1CustomfilterById:()=>ic,getApiV1Customfilter:()=>pc,getApiV1ConfigUiById:()=>gA,getApiV1ConfigUi:()=>fA,getApiV1ConfigNamingExamples:()=>rm,getApiV1ConfigNamingById:()=>Jy,getApiV1ConfigNaming:()=>tm,getApiV1ConfigMetadataproviderById:()=>Ky,getApiV1ConfigMetadataprovider:()=>_y,getApiV1ConfigMediamanagementById:()=>Py,getApiV1ConfigMediamanagement:()=>ky,getApiV1ConfigIndexerById:()=>gy,getApiV1ConfigIndexer:()=>Vy,getApiV1ConfigHostById:()=>$c,getApiV1ConfigHost:()=>jc,getApiV1ConfigDownloadclientById:()=>Pc,getApiV1ConfigDownloadclient:()=>kc,getApiV1CommandById:()=>oc,getApiV1Command:()=>Gt,getApiV1CalendarById:()=>rc,getApiV1Calendar:()=>Rt,getApiV1Blocklist:()=>Jd,getApiV1AutotaggingSchema:()=>Kd,getApiV1AutotaggingById:()=>Ud,getApiV1Autotagging:()=>zd,getApiV1ArtistLookup:()=>xt,getApiV1ArtistById:()=>Ot,getApiV1Artist:()=>It,getApiV1AlbumLookup:()=>bt,getApiV1AlbumById:()=>Et,getApiV1Album:()=>gt,getApi:()=>Fd,get:()=>Wm,deleteApiV1TrackfileById:()=>dA,deleteApiV1TrackfileBulk:()=>mA,deleteApiV1TagById:()=>eA,deleteApiV1SystemBackupById:()=>_d,deleteApiV1RootfolderById:()=>Um,deleteApiV1RemotepathmappingById:()=>Cm,deleteApiV1ReleaseprofileById:()=>Pm,deleteApiV1QueueById:()=>hm,deleteApiV1QueueBulk:()=>Em,deleteApiV1QualityprofileById:()=>Ut,deleteApiV1NotificationById:()=>im,deleteApiV1MetadataprofileById:()=>Hy,deleteApiV1MetadataById:()=>Cy,deleteApiV1IndexerById:()=>sy,deleteApiV1IndexerBulk:()=>dy,deleteApiV1ImportlistexclusionById:()=>ry,deleteApiV1ImportlistById:()=>qc,deleteApiV1ImportlistBulk:()=>Yc,deleteApiV1DownloadclientById:()=>bc,deleteApiV1DownloadclientBulk:()=>Ic,deleteApiV1DelayprofileById:()=>mc,deleteApiV1CustomformatById:()=>St,deleteApiV1CustomformatBulk:()=>Lt,deleteApiV1CustomfilterById:()=>sc,deleteApiV1CommandById:()=>nc,deleteApiV1BlocklistById:()=>ec,deleteApiV1BlocklistBulk:()=>tc,deleteApiV1AutotaggingById:()=>qd,deleteApiV1ArtistEditor:()=>Nd,deleteApiV1ArtistById:()=>Tt,deleteApiV1AlbumById:()=>ht,client:()=>r,WriteAudioTagsTypeSchema:()=>Sd,UpdateResourceSchema:()=>vd,UpdateMechanismSchema:()=>kd,UpdateChangesSchema:()=>Gd,UiConfigResourceSchema:()=>Pd,TrackedDownloadStatusSchema:()=>Rd,TrackedDownloadStatusMessageSchema:()=>Dd,TrackedDownloadStateSchema:()=>xd,TrackResourceSchema:()=>Bd,TrackFileResourceSchema:()=>Id,TrackFileListResourceSchema:()=>Td,TaskResourceSchema:()=>wd,TagResourceSchema:()=>Od,TagDifferenceSchema:()=>bd,TagDetailsResourceSchema:()=>Ed,SystemResourceSchema:()=>hd,SortDirectionSchema:()=>Vd,SelectOptionSchema:()=>fd,SecondaryAlbumTypeSchema:()=>gd,SearchResourceSchema:()=>Ad,RuntimeModeSchema:()=>md,RootFolderResourceSchema:()=>yd,RevisionSchema:()=>cd,RetagTrackResourceSchema:()=>dd,RescanAfterRefreshTypeSchema:()=>ud,RenameTrackResourceSchema:()=>ld,RemotePathMappingResourceSchema:()=>pd,ReleaseStatusSchema:()=>sd,ReleaseResourceSchema:()=>ad,ReleaseProfileResourceSchema:()=>id,RejectionTypeSchema:()=>nd,RejectionSchema:()=>od,RatingsSchema:()=>rd,QueueStatusResourceSchema:()=>td,QueueResourceSchema:()=>Ju,QueueResourcePagingResourceSchema:()=>ed,QueueBulkResourceSchema:()=>Zu,QualitySchema:()=>zu,QualityProfileResourceSchema:()=>Xu,QualityProfileQualityItemResourceSchema:()=>_u,QualityModelSchema:()=>Yu,QualityDefinitionResourceSchema:()=>Ku,ProxyTypeSchema:()=>Wu,ProviderMessageTypeSchema:()=>qu,ProviderMessageSchema:()=>Hu,ProperDownloadTypesSchema:()=>Uu,ProfileSecondaryAlbumTypeItemResourceSchema:()=>ju,ProfileReleaseStatusItemResourceSchema:()=>Qu,ProfilePrimaryAlbumTypeItemResourceSchema:()=>$u,ProfileFormatItemResourceSchema:()=>Nu,PrivacyLevelSchema:()=>Lu,PrimaryAlbumTypeSchema:()=>Fu,PingResourceSchema:()=>Mu,ParsedTrackInfoSchema:()=>Cu,ParsedAlbumInfoSchema:()=>Su,ParseResourceSchema:()=>vu,NotificationResourceSchema:()=>ku,NewItemMonitorTypesSchema:()=>Gu,NamingConfigResourceSchema:()=>Pu,MonitoringOptionsSchema:()=>Du,MonitorTypesSchema:()=>Ru,MetadataResourceSchema:()=>xu,MetadataProviderConfigResourceSchema:()=>Bu,MetadataProfileResourceSchema:()=>Iu,MemberSchema:()=>Tu,MediumResourceSchema:()=>wu,MediaManagementConfigResourceSchema:()=>Ou,MediaInfoResourceSchema:()=>bu,MediaInfoModelSchema:()=>Eu,MediaCoverTypesSchema:()=>hu,MediaCoverSchema:()=>Vu,ManualImportUpdateResourceSchema:()=>fu,ManualImportResourceSchema:()=>gu,LogResourceSchema:()=>mu,LogResourcePagingResourceSchema:()=>Au,LogFileResourceSchema:()=>yu,LocalizationResourceSchema:()=>cu,LinksSchema:()=>du,LanguageResourceSchema:()=>uu,IsoCountrySchema:()=>lu,IndexerResourceSchema:()=>pu,IndexerFlagResourceSchema:()=>su,IndexerConfigResourceSchema:()=>au,IndexerBulkResourceSchema:()=>iu,ImportListTypeSchema:()=>nu,ImportListResourceSchema:()=>ou,ImportListMonitorTypeSchema:()=>ru,ImportListExclusionResourceSchema:()=>tu,ImportListBulkResourceSchema:()=>eu,HostConfigResourceSchema:()=>Jl,HistoryResourceSchema:()=>Xl,HistoryResourcePagingResourceSchema:()=>Zl,HealthResourceSchema:()=>_l,HealthCheckResultSchema:()=>Yl,FileDateTypeSchema:()=>Kl,FieldSchema:()=>zl,EntityHistoryEventTypeSchema:()=>Wl,DownloadProtocolSchema:()=>ql,DownloadClientResourceSchema:()=>Hl,DownloadClientConfigResourceSchema:()=>Ul,DownloadClientBulkResourceSchema:()=>jl,DiskSpaceResourceSchema:()=>Ql,DelayProfileResourceSchema:()=>$l,DatabaseTypeSchema:()=>Nl,CustomFormatSpecificationSchemaSchema:()=>Ll,CustomFormatResourceSchema:()=>Fl,CustomFormatBulkResourceSchema:()=>Ml,CustomFilterResourceSchema:()=>Cl,CommandTriggerSchema:()=>Sl,CommandStatusSchema:()=>vl,CommandSchema:()=>Dl,CommandResultSchema:()=>kl,CommandResourceSchema:()=>Gl,CommandPrioritySchema:()=>Pl,CertificateValidationTypeSchema:()=>Rl,BlocklistResourceSchema:()=>Bl,BlocklistResourcePagingResourceSchema:()=>xl,BlocklistBulkResourceSchema:()=>Il,BackupTypeSchema:()=>Tl,BackupResourceSchema:()=>wl,AutoTaggingSpecificationSchemaSchema:()=>Ol,AutoTaggingResourceSchema:()=>bl,AuthenticationTypeSchema:()=>El,AuthenticationRequiredTypeSchema:()=>hl,ArtistTitleInfoSchema:()=>Vl,ArtistStatusTypeSchema:()=>fl,ArtistStatisticsResourceSchema:()=>gl,ArtistResourceSchema:()=>Al,ArtistEditorResourceSchema:()=>ml,ApplyTagsSchema:()=>yl,AllowFingerprintingSchema:()=>cl,AlbumsMonitoredResourceSchema:()=>dl,AlbumStudioResourceSchema:()=>ul,AlbumStudioArtistResourceSchema:()=>ll,AlbumStatisticsResourceSchema:()=>pl,AlbumResourceSchema:()=>al,AlbumResourcePagingResourceSchema:()=>sl,AlbumReleaseResourceSchema:()=>il,AlbumAddTypeSchema:()=>nl,AddArtistOptionsSchema:()=>ol,AddAlbumOptionsSchema:()=>rl});var rl={type:"object",properties:{addType:{$ref:"#/components/schemas/AlbumAddType"},searchForNewAlbum:{type:"boolean"}},additionalProperties:!1},ol={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},albumsToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"},searchForMissingAlbums:{type:"boolean"}},additionalProperties:!1},nl={enum:["automatic","manual"],type:"string"},il={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},al={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},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/AlbumResource"},nullable:!0}},additionalProperties:!1},pl={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},ll={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},ul={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},dl={type:"object",properties:{albumIds:{type:"array",items:{type:"integer",format:"int32"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},cl={enum:["never","newFiles","allFiles"],type:"string"},yl={enum:["add","remove","replace"],type:"string"},ml={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},Al={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},gl={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},fl={enum:["continuing","ended"],type:"string"},Vl={type:"object",properties:{title:{type:"string",nullable:!0},titleWithoutYear:{type:"string",nullable:!0},year:{type:"integer",format:"int32"}},additionalProperties:!1},hl={enum:["enabled","disabledForLocalAddresses"],type:"string"},El={enum:["none","basic","forms","external"],type:"string"},bl={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},Ol={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},wl={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},Tl={enum:["scheduled","manual","update"],type:"string"},Il={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Bl={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},xl={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},Rl={enum:["enabled","disabledForLocalAddresses","disabled"],type:"string"},Dl={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},Pl={enum:["normal","high","low"],type:"string"},Gl={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},kl={enum:["unknown","successful","unsuccessful"],type:"string"},vl={enum:["queued","started","completed","failed","aborted","cancelled","orphaned"],type:"string"},Sl={enum:["unspecified","manual","scheduled"],type:"string"},Cl={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},Ml={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},Ll={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},Nl={enum:["sqLite","postgreSQL"],type:"string"},$l={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},Ql={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},jl={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},Ul={type:"object",properties:{id:{type:"integer",format:"int32"},downloadClientWorkingFolders:{type:"string",nullable:!0},enableCompletedDownloadHandling:{type:"boolean"},autoRedownloadFailed:{type:"boolean"},autoRedownloadFailedFromInteractiveSearch:{type:"boolean"}},additionalProperties:!1},Hl={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},ql={enum:["unknown","usenet","torrent"],type:"string"},Wl={enum:["unknown","grabbed","artistFolderImported","trackFileImported","downloadFailed","trackFileDeleted","trackFileRenamed","albumImportIncomplete","downloadImported","trackFileRetagged","downloadIgnored"],type:"string"},zl={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},Kl={enum:["none","albumReleaseDate"],type:"string"},Yl={enum:["ok","notice","warning","error"],type:"string"},_l={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},Xl={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},Zl={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},Jl={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},eu={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},tu={type:"object",properties:{id:{type:"integer",format:"int32"},foreignId:{type:"string",nullable:!0},artistName:{type:"string",nullable:!0}},additionalProperties:!1},ru={enum:["none","specificAlbum","entireArtist"],type:"string"},ou={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},nu={enum:["program","spotify","lastFm","other","advanced"],type:"string"},iu={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},au={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},su={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},pu={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},lu={type:"object",properties:{twoLetterCode:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},uu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},du={type:"object",properties:{url:{type:"string",nullable:!0},name:{type:"string",nullable:!0}},additionalProperties:!1},cu={type:"object",properties:{id:{type:"integer",format:"int32"},strings:{type:"object",additionalProperties:{type:"string",nullable:!0},nullable:!0}},additionalProperties:!1},yu={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},mu={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},Au={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},gu={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},fu={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},Vu={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},hu={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},bu={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},Ou={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},wu={type:"object",properties:{mediumNumber:{type:"integer",format:"int32"},mediumName:{type:"string",nullable:!0},mediumFormat:{type:"string",nullable:!0}},additionalProperties:!1},Tu={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},Bu={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},xu={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},Ru={enum:["all","future","missing","existing","latest","first","none","unknown"],type:"string"},Du={type:"object",properties:{monitor:{$ref:"#/components/schemas/MonitorTypes"},albumsToMonitor:{type:"array",items:{type:"string"},nullable:!0},monitored:{type:"boolean"}},additionalProperties:!1},Pu={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},Gu={enum:["all","none","new"],type:"string"},ku={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},vu={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},Su={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},Cu={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},Mu={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},Lu={enum:["normal","password","apiKey","userName"],type:"string"},Nu={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},$u={type:"object",properties:{id:{type:"integer",format:"int32"},albumType:{$ref:"#/components/schemas/PrimaryAlbumType"},allowed:{type:"boolean"}},additionalProperties:!1},Qu={type:"object",properties:{id:{type:"integer",format:"int32"},releaseStatus:{$ref:"#/components/schemas/ReleaseStatus"},allowed:{type:"boolean"}},additionalProperties:!1},ju={type:"object",properties:{id:{type:"integer",format:"int32"},albumType:{$ref:"#/components/schemas/SecondaryAlbumType"},allowed:{type:"boolean"}},additionalProperties:!1},Uu={enum:["preferAndUpgrade","doNotUpgrade","doNotPrefer"],type:"string"},Hu={type:"object",properties:{message:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/ProviderMessageType"}},additionalProperties:!1},qu={enum:["info","warning","error"],type:"string"},Wu={enum:["http","socks4","socks5"],type:"string"},zu={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},Ku={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},Yu={type:"object",properties:{quality:{$ref:"#/components/schemas/Quality"},revision:{$ref:"#/components/schemas/Revision"}},additionalProperties:!1},_u={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},Xu={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},Zu={type:"object",properties:{ids:{type:"array",items:{type:"integer",format:"int32"},nullable:!0}},additionalProperties:!1},Ju={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},ed={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},td={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},rd={type:"object",properties:{votes:{type:"integer",format:"int32"},value:{type:"number",format:"double"}},additionalProperties:!1},od={type:"object",properties:{reason:{type:"string",nullable:!0},type:{$ref:"#/components/schemas/RejectionType"}},additionalProperties:!1},nd={enum:["permanent","temporary"],type:"string"},id={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},ad={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},sd={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},pd={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},ld={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},ud={enum:["always","afterManual","never"],type:"string"},dd={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},cd={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},yd={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},md={enum:["console","service","tray"],type:"string"},Ad={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},gd={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0}},additionalProperties:!1},fd={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},Vd={enum:["default","ascending","descending"],type:"string"},hd={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},bd={type:"object",properties:{field:{type:"string",nullable:!0},oldValue:{type:"string",nullable:!0},newValue:{type:"string",nullable:!0}},additionalProperties:!1},Od={type:"object",properties:{id:{type:"integer",format:"int32"},label:{type:"string",nullable:!0}},additionalProperties:!1},wd={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},Td={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},Bd={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},xd={enum:["downloading","downloadFailed","downloadFailedPending","importBlocked","importPending","importing","importFailed","imported","ignored"],type:"string"},Rd={enum:["ok","warning","error"],type:"string"},Dd={type:"object",properties:{title:{type:"string",nullable:!0},messages:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},Pd={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},Gd={type:"object",properties:{new:{type:"array",items:{type:"string"},nullable:!0},fixed:{type:"array",items:{type:"string"},nullable:!0}},additionalProperties:!1},kd={enum:["builtIn","script","external","apt","docker"],type:"string"},vd={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},Sd={enum:["no","newFiles","allFiles","sync"],type:"string"};var r=h(f()),gt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album"})},ft=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/album"})},Vt=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/album/{id}"})},ht=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/album/{id}"})},Et=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album/{id}"})},Cd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/album/monitor"})},bt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/album/lookup"})},Md=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/albumstudio"})},Fd=(e)=>{return(e?.client??r).get({...e,url:"/api"})},Ot=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist/{id}"})},wt=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/artist/{id}"})},Tt=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/artist/{id}"})},It=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist"})},Bt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/artist"})},Ld=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/artist/editor"})},Nd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/artist/editor"})},xt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/artist/lookup"})},$d=(e)=>{return(e?.client??r).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},Qd=(e)=>{return(e?.client??r).get({...e,url:"/login"})},jd=(e)=>{return(e?.client??r).get({...e,url:"/logout"})},Ud=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging/{id}"})},Hd=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/autotagging/{id}"})},qd=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/autotagging/{id}"})},Wd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/autotagging"})},zd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging"})},Kd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/autotagging/schema"})},Yd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/system/backup"})},_d=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/system/backup/{id}"})},Xd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/backup/restore/{id}"})},Zd=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/system/backup/restore/upload"})},Jd=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/blocklist"})},ec=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/blocklist/{id}"})},tc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/blocklist/bulk"})},Rt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/calendar"})},rc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/calendar/{id}"})},Dt=(e)=>{return(e?.client??r).get({...e,url:"/feed/v1/calendar/lidarr.ics"})},oc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/command/{id}"})},nc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/command/{id}"})},Pt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/command"})},Gt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/command"})},ic=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customfilter/{id}"})},ac=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customfilter/{id}"})},sc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customfilter/{id}"})},pc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customfilter"})},lc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/customfilter"})},kt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat/{id}"})},vt=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customformat/{id}"})},St=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customformat/{id}"})},Ct=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat"})},Mt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/customformat"})},Ft=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/customformat/bulk"})},Lt=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/customformat/bulk"})},Nt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/customformat/schema"})},uc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/cutoff"})},dc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/wanted/cutoff/{id}"})},cc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/delayprofile"})},yc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/delayprofile"})},mc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/delayprofile/{id}"})},Ac=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/delayprofile/{id}"})},gc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/delayprofile/{id}"})},fc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/delayprofile/reorder/{id}"})},Vc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/diskspace"})},hc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient/{id}"})},Ec=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/downloadclient/{id}"})},bc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/downloadclient/{id}"})},Oc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient"})},wc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient"})},Tc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/downloadclient/bulk"})},Ic=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/downloadclient/bulk"})},Bc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/downloadclient/schema"})},xc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/test"})},Rc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/testall"})},Dc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Pc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Gc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/downloadclient/{id}"})},kc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/downloadclient"})},vc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem"})},Sc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem/type"})},Cc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/filesystem/mediafiles"})},$t=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/health"})},Mc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history"})},Fc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history/since"})},Lc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/history/artist"})},Nc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/history/failed/{id}"})},$c=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/host/{id}"})},Qc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/host/{id}"})},jc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/host"})},Uc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist/{id}"})},Hc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlist/{id}"})},qc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlist/{id}"})},Wc=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist"})},zc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist"})},Kc=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlist/bulk"})},Yc=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlist/bulk"})},_c=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlist/schema"})},Xc=(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"})},Jc=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlist/action/{name}"})},ey=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlistexclusion/{id}"})},ty=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/importlistexclusion/{id}"})},ry=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/importlistexclusion/{id}"})},oy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/importlistexclusion"})},ny=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/importlistexclusion"})},iy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer/{id}"})},ay=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/indexer/{id}"})},sy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/indexer/{id}"})},py=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer"})},ly=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer"})},uy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/indexer/bulk"})},dy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/indexer/bulk"})},cy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexer/schema"})},yy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/test"})},my=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/testall"})},Ay=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/indexer/action/{name}"})},gy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/indexer/{id}"})},fy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/indexer/{id}"})},Vy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/indexer"})},hy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/indexerflag"})},Ey=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/language/{id}"})},by=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/language"})},Oy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/localization"})},wy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log"})},Ty=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file"})},Iy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/log/file/{filename}"})},By=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/manualimport"})},xy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/manualimport"})},Ry=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/mediacover/artist/{artistId}/{filename}"})},Dy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/mediacover/album/{albumId}/{filename}"})},Py=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/mediamanagement/{id}"})},Gy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/mediamanagement/{id}"})},ky=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/mediamanagement"})},vy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata/{id}"})},Sy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/metadata/{id}"})},Cy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/metadata/{id}"})},My=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata"})},Fy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata"})},Ly=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadata/schema"})},Ny=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/test"})},$y=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/testall"})},Qy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadata/action/{name}"})},jy=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/metadataprofile"})},Uy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile"})},Hy=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/metadataprofile/{id}"})},qy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/metadataprofile/{id}"})},Wy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile/{id}"})},zy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/metadataprofile/schema"})},Ky=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/metadataprovider/{id}"})},Yy=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/metadataprovider/{id}"})},_y=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/metadataprovider"})},Xy=(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}"})},Jy=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming/{id}"})},em=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/config/naming/{id}"})},tm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming"})},rm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/config/naming/examples"})},om=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification/{id}"})},nm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/notification/{id}"})},im=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/notification/{id}"})},am=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification"})},sm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification"})},pm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/notification/schema"})},lm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/test"})},um=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/testall"})},dm=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/notification/action/{name}"})},cm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/parse"})},ym=(e)=>{return(e?.client??r).get({...e,url:"/ping"})},mm=(e)=>{return(e?.client??r).head({...e,url:"/ping"})},Am=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualitydefinition/{id}"})},gm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualitydefinition/{id}"})},fm=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualitydefinition"})},Vm=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualitydefinition/update"})},Qt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/qualityprofile"})},jt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile"})},Ut=(e)=>{return(e?.client??r).delete({...e,url:"/api/v1/qualityprofile/{id}"})},Ht=(e)=>{return(e?.client??r).put({...e,url:"/api/v1/qualityprofile/{id}"})},qt=(e)=>{return(e?.client??r).get({...e,url:"/api/v1/qualityprofile/{id}"})},Wt=(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}"})},zt=(e)=>{return(e?.client??r).post({...e,url:"/api/v1/rootfolder"})},Kt=(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}"})},Wm=(e)=>{return(e?.client??r).get({...e,url:"/"})},zm=(e)=>{return(e?.client??r).get({...e,url:"/{path}"})},Yt=(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 dr={};T(dr,{putApiV1TagById:()=>l1,putApiV1RootfolderById:()=>Yb,putApiV1RemotepathmappingById:()=>qb,putApiV1ReleaseprofileById:()=>Lb,putApiV1QualityprofileById:()=>Tb,putApiV1QualitydefinitionUpdate:()=>Eb,putApiV1QualitydefinitionById:()=>fb,putApiV1NotificationById:()=>sb,putApiV1MetadataprofileById:()=>zE,putApiV1MetadataById:()=>FE,putApiV1IndexerById:()=>lE,putApiV1IndexerBulk:()=>cE,putApiV1ImportlistexclusionById:()=>nE,putApiV1ImportlistById:()=>zh,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:()=>Jt,postLogin:()=>hV,postApiV1Tag:()=>p1,postApiV1SystemShutdown:()=>i1,postApiV1SystemRestart:()=>a1,postApiV1SystemBackupRestoreUpload:()=>xV,postApiV1SystemBackupRestoreById:()=>BV,postApiV1Rootfolder:()=>pr,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:()=>Wh,postApiV1HistoryFailedById:()=>Qh,postApiV1DownloadclientTestall:()=>Dh,postApiV1DownloadclientTest:()=>Rh,postApiV1DownloadclientActionByName:()=>Ph,postApiV1Downloadclient:()=>bh,postApiV1Delayprofile:()=>uh,postApiV1Customformat:()=>rh,postApiV1Customfilter:()=>ZV,postApiV1Command:()=>ir,postApiV1Bookshelf:()=>qV,postApiV1Book:()=>GV,postApiV1Author:()=>Zt,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:()=>ur,getApiV1SystemRoutesDuplicate:()=>n1,getApiV1SystemRoutes:()=>o1,getApiV1SystemBackup:()=>TV,getApiV1Series:()=>Jb,getApiV1Search:()=>Zb,getApiV1RootfolderById:()=>Xb,getApiV1Rootfolder:()=>lr,getApiV1Retag:()=>Kb,getApiV1Rename:()=>zb,getApiV1RemotepathmappingById:()=>Wb,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:()=>sr,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:()=>ar,getApiV1CalendarById:()=>zV,getApiV1Calendar:()=>WV,getApiV1BookfileById:()=>QV,getApiV1Bookfile:()=>LV,getApiV1BookLookup:()=>HV,getApiV1BookByIdOverview:()=>kV,getApiV1BookById:()=>nr,getApiV1Book:()=>or,getApiV1Blocklist:()=>RV,getApiV1AuthorLookup:()=>rr,getApiV1AuthorById:()=>tr,getApiV1Author:()=>Xt,getApi:()=>VV,get:()=>t1,deleteApiV1TagById:()=>u1,deleteApiV1SystemBackupById:()=>IV,deleteApiV1RootfolderById:()=>_b,deleteApiV1RemotepathmappingById:()=>Hb,deleteApiV1ReleaseprofileById:()=>Nb,deleteApiV1QueueById:()=>xb,deleteApiV1QueueBulk:()=>Rb,deleteApiV1QualityprofileById:()=>wb,deleteApiV1NotificationById:()=>pb,deleteApiV1MetadataprofileById:()=>WE,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:()=>er,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:()=>zf,RevisionSchema:()=>Wf,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:()=>zg,LanguageResourceSchema:()=>Wg,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:()=>zA,BookFileListLazyLoadedSchema:()=>WA,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},WA={type:"object",properties:{value:{type:"array",items:{$ref:"#/components/schemas/BookFile"},nullable:!0,readOnly:!0},isLoaded:{type:"boolean",readOnly:!0}},additionalProperties:!1},zA={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},Wg={type:"object",properties:{id:{type:"integer",format:"int32"},name:{type:"string",nullable:!0},nameLower:{type:"string",nullable:!0,readOnly:!0}},additionalProperties:!1},zg={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},Wf={type:"object",properties:{version:{type:"integer",format:"int32"},real:{type:"integer",format:"int32"},isRepack:{type:"boolean"}},additionalProperties:!1},zf={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"})},Xt=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/author"})},Zt=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/author"})},Jt=(e)=>{return(e?.client??o).put({...e,url:"/api/v1/author/{id}"})},er=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/author/{id}"})},tr=(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"})},rr=(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"})},or=(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}"})},nr=(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"})},WV=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/calendar"})},zV=(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"})},ir=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/command"})},ar=(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"})},sr=(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"})},Wh=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/importlist"})},zh=(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"})},WE=(e)=>{return(e?.client??o).delete({...e,url:"/api/v1/metadataprofile/{id}"})},zE=(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}"})},Wb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/remotepathmapping/{id}"})},zb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/rename"})},Kb=(e)=>{return(e?.client??o).get({...e,url:"/api/v1/retag"})},pr=(e)=>{return(e?.client??o).post({...e,url:"/api/v1/rootfolder"})},lr=(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}"})},ur=(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 wr={};T(wr,{putApiV1TagById:()=>ST,putApiV1NotificationById:()=>mT,putApiV1IndexerproxyById:()=>Kw,putApiV1IndexerById:()=>fr,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:()=>Er,postApiV1DownloadclientTestall:()=>xw,postApiV1DownloadclientTest:()=>Bw,postApiV1DownloadclientActionByName:()=>Rw,postApiV1Downloadclient:()=>Ow,postApiV1Customfilter:()=>mw,postApiV1Command:()=>yr,postApiV1Appprofile:()=>YO,postApiV1ApplicationsTestall:()=>zO,postApiV1ApplicationsTest:()=>WO,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:()=>Or,getApiV1SystemRoutesDuplicate:()=>PT,getApiV1SystemRoutes:()=>DT,getApiV1SystemBackup:()=>nw,getApiV1Search:()=>br,getApiV1NotificationSchema:()=>VT,getApiV1NotificationById:()=>yT,getApiV1Notification:()=>gT,getApiV1LogFileUpdateByFilename:()=>zT,getApiV1LogFileUpdate:()=>WT,getApiV1LogFileByFilename:()=>pT,getApiV1LogFile:()=>sT,getApiV1Log:()=>aT,getApiV1LocalizationOptions:()=>iT,getApiV1Localization:()=>nT,getApiV1Indexerstatus:()=>oT,getApiV1Indexerstats:()=>rT,getApiV1IndexerproxySchema:()=>Zw,getApiV1IndexerproxyById:()=>zw,getApiV1Indexerproxy:()=>_w,getApiV1IndexerSchema:()=>jw,getApiV1IndexerCategories:()=>Ww,getApiV1IndexerByIdNewznab:()=>lT,getApiV1IndexerByIdDownload:()=>dT,getApiV1IndexerById:()=>gr,getApiV1Indexer:()=>hr,getApiV1HistorySince:()=>Cw,getApiV1HistoryIndexer:()=>Mw,getApiV1History:()=>Sw,getApiV1Health:()=>Ar,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:()=>mr,getApiV1AppprofileSchema:()=>ew,getApiV1AppprofileById:()=>JO,getApiV1Appprofile:()=>_O,getApiV1ApplicationsSchema:()=>qO,getApiV1ApplicationsById:()=>NO,getApiV1Applications:()=>cr,getApi:()=>LO,get:()=>xT,deleteApiV1TagById:()=>CT,deleteApiV1SystemBackupById:()=>iw,deleteApiV1NotificationById:()=>AT,deleteApiV1IndexerproxyById:()=>Yw,deleteApiV1IndexerById:()=>Vr,deleteApiV1IndexerBulk:()=>Qw,deleteApiV1DownloadclientById:()=>Ew,deleteApiV1DownloadclientBulk:()=>Tw,deleteApiV1CustomfilterById:()=>cw,deleteApiV1CommandById:()=>lw,deleteApiV1AppprofileById:()=>XO,deleteApiV1ApplicationsById:()=>QO,deleteApiV1ApplicationsBulk:()=>HO,client:()=>i,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:()=>z1,DownloadProtocolSchema:()=>W1,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},W1={enum:["unknown","usenet","torrent"],type:"string"},z1={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 i=h(f()),LO=(e)=>{return(e?.client??i).get({...e,url:"/api"})},NO=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/applications/{id}"})},$O=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/applications/{id}"})},QO=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/applications/{id}"})},cr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/applications"})},jO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications"})},UO=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/applications/bulk"})},HO=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/applications/bulk"})},qO=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/applications/schema"})},WO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications/test"})},zO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications/testall"})},KO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/applications/action/{name}"})},YO=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/appprofile"})},_O=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/appprofile"})},XO=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/appprofile/{id}"})},ZO=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/appprofile/{id}"})},JO=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/appprofile/{id}"})},ew=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/appprofile/schema"})},tw=(e)=>{return(e?.client??i).post({...e,...V,headers:{"Content-Type":null,...e?.headers},url:"/login"})},rw=(e)=>{return(e?.client??i).get({...e,url:"/login"})},ow=(e)=>{return(e?.client??i).get({...e,url:"/logout"})},nw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/backup"})},iw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/system/backup/{id}"})},aw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/backup/restore/{id}"})},sw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/backup/restore/upload"})},pw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/command/{id}"})},lw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/command/{id}"})},yr=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/command"})},mr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/command"})},uw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/customfilter/{id}"})},dw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/customfilter/{id}"})},cw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/customfilter/{id}"})},yw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/customfilter"})},mw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/customfilter"})},Aw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/development/{id}"})},gw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/development/{id}"})},fw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/development"})},Vw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/downloadclient/{id}"})},hw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/downloadclient/{id}"})},Ew=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/downloadclient/{id}"})},bw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/downloadclient"})},Ow=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient"})},ww=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/downloadclient/bulk"})},Tw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/downloadclient/bulk"})},Iw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/downloadclient/schema"})},Bw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient/test"})},xw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient/testall"})},Rw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/downloadclient/action/{name}"})},Dw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/downloadclient/{id}"})},Pw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/downloadclient/{id}"})},Gw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/downloadclient"})},kw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/filesystem"})},vw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/filesystem/type"})},Ar=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/health"})},Sw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/history"})},Cw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/history/since"})},Mw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/history/indexer"})},Fw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/host/{id}"})},Lw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/host/{id}"})},Nw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/host"})},gr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/{id}"})},fr=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/indexer/{id}"})},Vr=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/indexer/{id}"})},hr=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer"})},Er=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer"})},$w=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/indexer/bulk"})},Qw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/indexer/bulk"})},jw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/schema"})},Uw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer/test"})},Hw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer/testall"})},qw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexer/action/{name}"})},Ww=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/categories"})},zw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerproxy/{id}"})},Kw=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/indexerproxy/{id}"})},Yw=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/indexerproxy/{id}"})},_w=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerproxy"})},Xw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy"})},Zw=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerproxy/schema"})},Jw=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy/test"})},eT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy/testall"})},tT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/indexerproxy/action/{name}"})},rT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerstats"})},oT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexerstatus"})},nT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/localization"})},iT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/localization/options"})},aT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log"})},sT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file"})},pT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file/{filename}"})},lT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/{id}/newznab"})},uT=(e)=>{return(e?.client??i).get({...e,url:"/{id}/api"})},dT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/indexer/{id}/download"})},cT=(e)=>{return(e?.client??i).get({...e,url:"/{id}/download"})},yT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/notification/{id}"})},mT=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/notification/{id}"})},AT=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/notification/{id}"})},gT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/notification"})},fT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification"})},VT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/notification/schema"})},hT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification/test"})},ET=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification/testall"})},bT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/notification/action/{name}"})},OT=(e)=>{return(e?.client??i).get({...e,url:"/ping"})},wT=(e)=>{return(e?.client??i).head({...e,url:"/ping"})},TT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/search"})},br=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/search"})},IT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/search/bulk"})},BT=(e)=>{return(e?.client??i).get({...e,url:"/content/{path}"})},xT=(e)=>{return(e?.client??i).get({...e,url:"/"})},RT=(e)=>{return(e?.client??i).get({...e,url:"/{path}"})},Or=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/status"})},DT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/routes"})},PT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/routes/duplicate"})},GT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/shutdown"})},kT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/system/restart"})},vT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag/{id}"})},ST=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/tag/{id}"})},CT=(e)=>{return(e?.client??i).delete({...e,url:"/api/v1/tag/{id}"})},MT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag"})},FT=(e)=>{return(e?.client??i).post({...e,url:"/api/v1/tag"})},LT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag/detail/{id}"})},NT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/tag/detail"})},$T=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/task"})},QT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/system/task/{id}"})},jT=(e)=>{return(e?.client??i).put({...e,url:"/api/v1/config/ui/{id}"})},UT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/ui/{id}"})},HT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/config/ui"})},qT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/update"})},WT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file/update"})},zT=(e)=>{return(e?.client??i).get({...e,url:"/api/v1/log/file/update/{filename}"})};class A extends Error{code;statusCode;details;constructor(e,n,a,s){super(e);this.code=n;this.statusCode=a;this.details=s;this.name="TsarrError"}}class P extends A{constructor(e="Invalid or missing API key"){super(e,"API_KEY_ERROR",401);this.name="ApiKeyError"}}class I extends A{constructor(e,n){super(e,"CONNECTION_ERROR",void 0,n);this.name="ConnectionError"}}class B extends A{constructor(e,n){super(e,"VALIDATION_ERROR",void 0,n);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 P;if(!e.baseUrl)throw new I("No base URL provided");let n={...e,baseUrl:e.baseUrl.replace(/\/$/,"")};return{config:n,getHeaders:()=>({"X-Api-Key":n.apiKey,"Content-Type":"application/json",...n.headers}),getBaseUrl:()=>n.baseUrl}}function PI(e){if(!e||e.trim()==="")throw new P;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(`Failed to connect: Invalid URL: ${e}`)}return e.trim().replace(/\/$/,"")}class Pr{clientConfig;constructor(e){this.clientConfig=m(e),t.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return tt()}async getHealth(){return oe()}async getMovies(){return Te()}async getMovie(e){return Re({path:{id:e}})}async addMovie(e){return Ie({body:e})}async updateMovie(e,n){return Be({path:{id:String(e)},body:n})}async deleteMovie(e){return xe({path:{id:e}})}async searchMovies(e){return Pe({query:{term:e}})}async runCommand(e){return C({body:e})}async getCommands(){return M()}async getRootFolders(){return Je()}async addRootFolder(e){return Ze({body:{path:e}})}async deleteRootFolder(e){return et({path:{id:e}})}async getFilesystem(e){return te(e?{query:{path:e}}:{})}async getMediaFiles(e){return re({query:{path:e}})}async importMovies(e){return De({body:e})}async getQualityProfiles(){return $e()}async getQualityProfile(e){return Ue({path:{id:e}})}async addQualityProfile(e){return Ne({body:e})}async updateQualityProfile(e,n){return je({path:{id:String(e)},body:n})}async deleteQualityProfile(e){return Qe({path:{id:e}})}async getQualityProfileSchema(){return He()}async getCustomFormats(){return F()}async getCustomFormat(e){return Q({path:{id:e}})}async addCustomFormat(e){return L({body:e})}async updateCustomFormat(e,n){return N({path:{id:String(e)},body:n})}async deleteCustomFormat(e){return $({path:{id:e}})}async updateCustomFormatsBulk(e){return j({body:e})}async deleteCustomFormatsBulk(e){return U({body:{ids:e}})}async getCustomFormatSchema(){return H()}async getDownloadClients(){return q()}async getDownloadClient(e){return Y({path:{id:e}})}async addDownloadClient(e){return W({body:e})}async updateDownloadClient(e,n){return z({path:{id:e},body:n})}async deleteDownloadClient(e){return K({path:{id:e}})}async updateDownloadClientsBulk(e){return _({body:e})}async deleteDownloadClientsBulk(e){return X({body:{ids:e}})}async getDownloadClientSchema(){return Z()}async testDownloadClient(e){return J({body:e})}async testAllDownloadClients(){return ee()}async getNotifications(){return Ge()}async getNotification(e){return Ce({path:{id:e}})}async addNotification(e){return ke({body:e})}async updateNotification(e,n){return ve({path:{id:e},body:n})}async deleteNotification(e){return Se({path:{id:e}})}async getNotificationSchema(){return Me()}async testNotification(e){return Fe({body:e})}async testAllNotifications(){return Le()}async getCalendar(e,n,a){let s={};if(e)s.start=e;if(n)s.end=n;if(a!==void 0)s.unmonitored=a;return v(Object.keys(s).length>0?{query:s}:{})}async getCalendarFeed(e,n,a){let s={};if(e!==void 0)s.pastDays=e;if(n!==void 0)s.futureDays=n;if(a)s.tags=a;return S(Object.keys(s).length>0?{query:s}:{})}async getQueue(e,n,a,s,d){let p={};if(e!==void 0)p.page=e;if(n!==void 0)p.pageSize=n;if(a)p.sortKey=a;if(s)p.sortDirection=s;if(d!==void 0)p.includeUnknownMovieItems=d;return ze(Object.keys(p).length>0?{query:p}:{})}async removeQueueItem(e,n,a){let s={};if(n!==void 0)s.removeFromClient=n;if(a!==void 0)s.blocklist=a;return qe({path:{id:e},...Object.keys(s).length>0?{query:s}:{}})}async removeQueueItemsBulk(e,n,a){let s={ids:e};if(n!==void 0)s.removeFromClient=n;if(a!==void 0)s.blocklist=a;return We({body:s})}async grabQueueItem(e){return Ke({path:{id:e}})}async grabQueueItemsBulk(e){return Ye({body:{ids:e}})}async getQueueDetails(e,n){let a={};if(e!==void 0)a.movieId=e;if(n!==void 0)a.includeMovie=n;return _e(Object.keys(a).length>0?{query:a}:{})}async getQueueStatus(){return Xe()}async getImportLists(){return pe()}async getImportList(e){return ce({path:{id:e}})}async addImportList(e){return le({body:e})}async updateImportList(e,n){return ue({path:{id:e},body:n})}async deleteImportList(e){return de({path:{id:e}})}async getImportListSchema(){return ye()}async testImportList(e){return me({body:e})}async testAllImportLists(){return Ae()}async getIndexers(){return ge()}async getIndexer(e){return Ee({path:{id:e}})}async addIndexer(e){return fe({body:e})}async updateIndexer(e,n){return Ve({path:{id:e},body:n})}async deleteIndexer(e){return he({path:{id:e}})}async getIndexerSchema(){return be()}async testIndexer(e){return Oe({body:e})}async testAllIndexers(){return we()}async getHistory(e,n,a,s,d){let p={};if(e!==void 0)p.page=e;if(n!==void 0)p.pageSize=n;if(a)p.sortKey=a;if(s)p.sortDirection=s;if(d!==void 0)p.movieId=d;return ne(Object.keys(p).length>0?{query:p}:{})}async getHistorySince(e,n){let a={date:e};if(n!==void 0)a.movieId=n;return ie({query:a})}async getMovieHistory(e,n){let a={movieId:e};if(n!==void 0)a.eventType=n;return ae({query:a})}async markHistoryItemFailed(e){return se({path:{id:e}})}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),t.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class Gr{clientConfig;constructor(e){this.clientConfig=m(e),c.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getApi(){return ot()}async getSystemStatus(){return c.get({url:"/api/v3/system/status"})}async getHealth(){return c.get({url:"/api/v3/health"})}async getSeries(){return it()}async getSeriesById(e){return st({path:{id:e}})}async addSeries(e){return at({body:e})}async updateSeries(e,n){return pt({path:{id:String(e)},body:n})}async deleteSeries(e){return lt({path:{id:e}})}async getSeriesFolder(e){return ut({path:{id:e}})}async searchSeries(e){return dt({query:{term:e}})}async getLogs(e,n,a,s,d){let p={};if(e!==void 0)p.page=e;if(n!==void 0)p.pageSize=n;if(a)p.sortKey=a;if(s)p.sortDirection=s;if(d)p.level=d;return nt(Object.keys(p).length>0?{query:p}:{})}async getUpdates(){return ct()}async getUpdateSettings(){return yt()}async getUpdateSetting(e){return mt({path:{id:e}})}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),c.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class kr{clientConfig;constructor(e){this.clientConfig=m(e),r.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return Yt()}async getHealth(){return $t()}async getArtists(){return It()}async getArtist(e){return Ot({path:{id:e}})}async addArtist(e){return Bt({body:e})}async updateArtist(e,n){return wt({path:{id:String(e)},body:n})}async deleteArtist(e){return Tt({path:{id:e}})}async getAlbums(){return gt()}async getAlbum(e){return Et({path:{id:e}})}async searchArtists(e){return xt({query:{term:e}})}async runCommand(e){return Pt({body:e})}async getCommands(){return Gt()}async getRootFolders(){return Kt()}async addRootFolder(e){return zt({body:{path:e}})}async addAlbum(e){return ft({body:e})}async updateAlbum(e,n){return Vt({path:{id:String(e)},body:n})}async deleteAlbum(e){return ht({path:{id:e}})}async searchAlbums(e){return bt({query:{term:e}})}async getCalendar(e,n,a){let s={};if(e)s.start=e;if(n)s.end=n;if(a!==void 0)s.unmonitored=a;return Rt(Object.keys(s).length>0?{query:s}:{})}async getCalendarFeed(e,n,a){let s={};if(e!==void 0)s.pastDays=e;if(n!==void 0)s.futureDays=n;if(a)s.tags=a;return Dt(Object.keys(s).length>0?{query:s}:{})}async getQualityProfiles(){return jt()}async getQualityProfile(e){return qt({path:{id:e}})}async addQualityProfile(e){return Qt({body:e})}async updateQualityProfile(e,n){return Ht({path:{id:String(e)},body:n})}async deleteQualityProfile(e){return Ut({path:{id:e}})}async getQualityProfileSchema(){return Wt()}async getCustomFormats(){return Ct()}async getCustomFormat(e){return kt({path:{id:e}})}async addCustomFormat(e){return Mt({body:e})}async updateCustomFormat(e,n){return vt({path:{id:String(e)},body:n})}async deleteCustomFormat(e){return St({path:{id:e}})}async updateCustomFormatsBulk(e){return Ft({body:e})}async deleteCustomFormatsBulk(e){return Lt({body:{ids:e}})}async getCustomFormatSchema(){return Nt()}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),r.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class vr{clientConfig;constructor(e){this.clientConfig=m(e),o.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return ur()}async getHealth(){return sr()}async getAuthors(){return Xt()}async getAuthor(e){return tr({path:{id:e}})}async addAuthor(e){return Zt({body:e})}async updateAuthor(e,n){return Jt({path:{id:String(e)},body:n})}async deleteAuthor(e){return er({path:{id:e}})}async getBooks(){return or()}async getBook(e){return nr({path:{id:e}})}async searchAuthors(e){return rr({query:{term:e}})}async runCommand(e){return ir({body:e})}async getCommands(){return ar()}async getRootFolders(){return lr()}async addRootFolder(e){return pr({body:{path:e}})}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),o.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}class Sr{clientConfig;constructor(e){this.clientConfig=m(e),i.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()})}async getSystemStatus(){return Or()}async getHealth(){return Ar()}async getIndexers(){return hr()}async getIndexer(e){return gr({path:{id:e}})}async addIndexer(e){return Er({body:e})}async updateIndexer(e,n){return fr({path:{id:String(e)},body:n})}async deleteIndexer(e){return Vr({path:{id:e}})}async search(e,n){return br({query:{query:e,...n&&{indexerIds:n}}})}async getApplications(){return cr()}async runCommand(e){return yr({body:e})}async getCommands(){return mr()}updateConfig(e){let n={...this.clientConfig.config,...e};return this.clientConfig=m(n),i.setConfig({baseUrl:this.clientConfig.getBaseUrl(),headers:this.clientConfig.getHeaders()}),this.clientConfig.config}}async function HI(e){try{let n=await e;if(n.error)return{success:!1,error:Cr(n.error,n.response)};return{success:!0,data:n.data}}catch(n){return{success:!1,error:Cr(n)}}}function Cr(e,n){if(e instanceof A)return e;if(n){let{status:a,statusText:s}=n;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: ${s}`,"SERVER_ERROR",a);if(a>=400)return new A(`Client error: ${s}`,"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,n){if(!e)throw new B("No data returned from API");if(typeof e==="object"&&e!==null){if(Array.isArray(e))e.forEach((a,s)=>{if(a===null||a===void 0)throw new B(`Invalid null/undefined item at index ${s}`)});if("id"in e&&typeof e.id!=="number")throw new B("Resource ID must be a number")}return e}var zI="1.0.0";export{qI as validateResponse,GI as validateBaseUrl,PI as validateApiKey,HI as handleApiResponse,m as createServarrClient,B as ValidationError,zI as VERSION,A as TsarrError,Gr as SonarrClient,At as Sonarr,vr as ReadarrClient,dr as Readarr,Pr as RadarrClient,rt as Radarr,Sr as ProwlarrClient,wr as Prowlarr,KT as NotFoundError,kr as LidarrClient,_t as Lidarr,I as ConnectionError,P as ApiKeyError};