/* eslint-disable */ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; } String: { input: string; output: string; } Boolean: { input: boolean; output: boolean; } Int: { input: number; output: number; } Float: { input: number; output: number; } JsonbFilterInput: { input: any; output: any; } }; export type Bangumi = { __typename?: 'Bangumi'; createdAt: Scalars['String']['output']; displayName: Scalars['String']['output']; episode: EpisodesConnection; fansub?: Maybe; homepage?: Maybe; id: Scalars['Int']['output']; mikanBangumiId?: Maybe; mikanFansubId?: Maybe; posterLink?: Maybe; rawName: Scalars['String']['output']; rssLink?: Maybe; savePath?: Maybe; season: Scalars['Int']['output']; seasonRaw?: Maybe; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; subscription: SubscriptionsConnection; subscriptionBangumi: SubscriptionBangumiConnection; updatedAt: Scalars['String']['output']; }; export type BangumiEpisodeArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type BangumiSubscriptionArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type BangumiSubscriptionBangumiArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type BangumiBasic = { __typename?: 'BangumiBasic'; createdAt: Scalars['String']['output']; displayName: Scalars['String']['output']; fansub?: Maybe; homepage?: Maybe; id: Scalars['Int']['output']; mikanBangumiId?: Maybe; mikanFansubId?: Maybe; posterLink?: Maybe; rawName: Scalars['String']['output']; rssLink?: Maybe; savePath?: Maybe; season: Scalars['Int']['output']; seasonRaw?: Maybe; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; }; export type BangumiConnection = { __typename?: 'BangumiConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type BangumiEdge = { __typename?: 'BangumiEdge'; cursor: Scalars['String']['output']; node: Bangumi; }; export type BangumiFilterInput = { and?: InputMaybe>; createdAt?: InputMaybe; displayName?: InputMaybe; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanBangumiId?: InputMaybe; mikanFansubId?: InputMaybe; or?: InputMaybe>; posterLink?: InputMaybe; rawName?: InputMaybe; rssLink?: InputMaybe; savePath?: InputMaybe; season?: InputMaybe; seasonRaw?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; }; export type BangumiInsertInput = { createdAt?: InputMaybe; displayName: Scalars['String']['input']; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanBangumiId?: InputMaybe; mikanFansubId?: InputMaybe; posterLink?: InputMaybe; rawName: Scalars['String']['input']; rssLink?: InputMaybe; savePath?: InputMaybe; season: Scalars['Int']['input']; seasonRaw?: InputMaybe; updatedAt?: InputMaybe; }; export type BangumiOrderInput = { createdAt?: InputMaybe; displayName?: InputMaybe; fansub?: InputMaybe; filter?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanBangumiId?: InputMaybe; mikanFansubId?: InputMaybe; posterLink?: InputMaybe; rawName?: InputMaybe; rssLink?: InputMaybe; savePath?: InputMaybe; season?: InputMaybe; seasonRaw?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; }; export type BangumiUpdateInput = { createdAt?: InputMaybe; displayName?: InputMaybe; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanBangumiId?: InputMaybe; mikanFansubId?: InputMaybe; posterLink?: InputMaybe; rawName?: InputMaybe; rssLink?: InputMaybe; savePath?: InputMaybe; season?: InputMaybe; seasonRaw?: InputMaybe; updatedAt?: InputMaybe; }; export type BooleanFilterInput = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; }; export type Credential3rd = { __typename?: 'Credential3rd'; cookies?: Maybe; createdAt: Scalars['String']['output']; credentialType: Credential3rdTypeEnum; id: Scalars['Int']['output']; password?: Maybe; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; subscription: SubscriptionsConnection; updatedAt: Scalars['String']['output']; userAgent?: Maybe; username?: Maybe; }; export type Credential3rdSubscriptionArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type Credential3rdBasic = { __typename?: 'Credential3rdBasic'; cookies?: Maybe; createdAt: Scalars['String']['output']; credentialType: Credential3rdTypeEnum; id: Scalars['Int']['output']; password?: Maybe; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; userAgent?: Maybe; username?: Maybe; }; /** The output of the credential3rdCheckAvailable query */ export type Credential3rdCheckAvailableInfo = { __typename?: 'Credential3rdCheckAvailableInfo'; available: Scalars['Boolean']['output']; }; /** The input of the credential3rdCheckAvailable query */ export type Credential3rdCheckAvailableInput = { id: Scalars['Int']['input']; }; export type Credential3rdConnection = { __typename?: 'Credential3rdConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type Credential3rdEdge = { __typename?: 'Credential3rdEdge'; cursor: Scalars['String']['output']; node: Credential3rd; }; export type Credential3rdFilterInput = { and?: InputMaybe>; cookies?: InputMaybe; createdAt?: InputMaybe; credentialType?: InputMaybe; id?: InputMaybe; or?: InputMaybe>; password?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; userAgent?: InputMaybe; username?: InputMaybe; }; export type Credential3rdInsertInput = { cookies?: InputMaybe; createdAt?: InputMaybe; credentialType: Credential3rdTypeEnum; id?: InputMaybe; password?: InputMaybe; updatedAt?: InputMaybe; userAgent?: InputMaybe; username?: InputMaybe; }; export type Credential3rdOrderInput = { cookies?: InputMaybe; createdAt?: InputMaybe; credentialType?: InputMaybe; id?: InputMaybe; password?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; userAgent?: InputMaybe; username?: InputMaybe; }; export const Credential3rdTypeEnum = { Mikan: 'mikan' } as const; export type Credential3rdTypeEnum = typeof Credential3rdTypeEnum[keyof typeof Credential3rdTypeEnum]; export type Credential3rdTypeEnumFilterInput = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; }; export type Credential3rdUpdateInput = { cookies?: InputMaybe; createdAt?: InputMaybe; credentialType?: InputMaybe; id?: InputMaybe; password?: InputMaybe; updatedAt?: InputMaybe; userAgent?: InputMaybe; username?: InputMaybe; }; export type CursorInput = { cursor?: InputMaybe; limit: Scalars['Int']['input']; }; export const DownloadMimeEnum = { Applicationoctetstream: 'applicationoctetstream', Applicationxbittorrent: 'applicationxbittorrent' } as const; export type DownloadMimeEnum = typeof DownloadMimeEnum[keyof typeof DownloadMimeEnum]; export type DownloadMimeEnumFilterInput = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; }; export const DownloadStatusEnum = { Completed: 'completed', Deleted: 'deleted', Downloading: 'downloading', Failed: 'failed', Paused: 'paused', Pending: 'pending' } as const; export type DownloadStatusEnum = typeof DownloadStatusEnum[keyof typeof DownloadStatusEnum]; export type DownloadStatusEnumFilterInput = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; }; export const DownloaderCategoryEnum = { Dandanplay: 'dandanplay', Qbittorrent: 'qbittorrent' } as const; export type DownloaderCategoryEnum = typeof DownloaderCategoryEnum[keyof typeof DownloaderCategoryEnum]; export type DownloaderCategoryEnumFilterInput = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; }; export type Downloaders = { __typename?: 'Downloaders'; category: DownloaderCategoryEnum; createdAt: Scalars['String']['output']; download: DownloadsConnection; endpoint: Scalars['String']['output']; id: Scalars['Int']['output']; password: Scalars['String']['output']; savePath: Scalars['String']['output']; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; username: Scalars['String']['output']; }; export type DownloadersDownloadArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type DownloadersBasic = { __typename?: 'DownloadersBasic'; category: DownloaderCategoryEnum; createdAt: Scalars['String']['output']; endpoint: Scalars['String']['output']; id: Scalars['Int']['output']; password: Scalars['String']['output']; savePath: Scalars['String']['output']; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; username: Scalars['String']['output']; }; export type DownloadersConnection = { __typename?: 'DownloadersConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type DownloadersEdge = { __typename?: 'DownloadersEdge'; cursor: Scalars['String']['output']; node: Downloaders; }; export type DownloadersFilterInput = { and?: InputMaybe>; category?: InputMaybe; createdAt?: InputMaybe; endpoint?: InputMaybe; id?: InputMaybe; or?: InputMaybe>; password?: InputMaybe; savePath?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; username?: InputMaybe; }; export type DownloadersInsertInput = { category: DownloaderCategoryEnum; createdAt?: InputMaybe; endpoint: Scalars['String']['input']; id?: InputMaybe; password: Scalars['String']['input']; savePath: Scalars['String']['input']; updatedAt?: InputMaybe; username: Scalars['String']['input']; }; export type DownloadersOrderInput = { category?: InputMaybe; createdAt?: InputMaybe; endpoint?: InputMaybe; id?: InputMaybe; password?: InputMaybe; savePath?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; username?: InputMaybe; }; export type DownloadersUpdateInput = { category?: InputMaybe; createdAt?: InputMaybe; endpoint?: InputMaybe; id?: InputMaybe; password?: InputMaybe; savePath?: InputMaybe; updatedAt?: InputMaybe; username?: InputMaybe; }; export type Downloads = { __typename?: 'Downloads'; allSize?: Maybe; createdAt: Scalars['String']['output']; currSize?: Maybe; displayName: Scalars['String']['output']; downloader?: Maybe; downloaderId: Scalars['Int']['output']; episode?: Maybe; episodeId: Scalars['Int']['output']; homepage?: Maybe; id: Scalars['Int']['output']; mime: DownloadMimeEnum; rawName: Scalars['String']['output']; savePath?: Maybe; status: DownloadStatusEnum; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; url: Scalars['String']['output']; }; export type DownloadsBasic = { __typename?: 'DownloadsBasic'; allSize?: Maybe; createdAt: Scalars['String']['output']; currSize?: Maybe; displayName: Scalars['String']['output']; downloaderId: Scalars['Int']['output']; episodeId: Scalars['Int']['output']; homepage?: Maybe; id: Scalars['Int']['output']; mime: DownloadMimeEnum; rawName: Scalars['String']['output']; savePath?: Maybe; status: DownloadStatusEnum; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; url: Scalars['String']['output']; }; export type DownloadsConnection = { __typename?: 'DownloadsConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type DownloadsEdge = { __typename?: 'DownloadsEdge'; cursor: Scalars['String']['output']; node: Downloads; }; export type DownloadsFilterInput = { allSize?: InputMaybe; and?: InputMaybe>; createdAt?: InputMaybe; currSize?: InputMaybe; displayName?: InputMaybe; downloaderId?: InputMaybe; episodeId?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mime?: InputMaybe; or?: InputMaybe>; rawName?: InputMaybe; savePath?: InputMaybe; status?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; url?: InputMaybe; }; export type DownloadsInsertInput = { allSize?: InputMaybe; createdAt?: InputMaybe; currSize?: InputMaybe; displayName: Scalars['String']['input']; downloaderId: Scalars['Int']['input']; episodeId: Scalars['Int']['input']; homepage?: InputMaybe; id?: InputMaybe; mime: DownloadMimeEnum; rawName: Scalars['String']['input']; savePath?: InputMaybe; status: DownloadStatusEnum; updatedAt?: InputMaybe; url: Scalars['String']['input']; }; export type DownloadsOrderInput = { allSize?: InputMaybe; createdAt?: InputMaybe; currSize?: InputMaybe; displayName?: InputMaybe; downloaderId?: InputMaybe; episodeId?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mime?: InputMaybe; rawName?: InputMaybe; savePath?: InputMaybe; status?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; url?: InputMaybe; }; export type DownloadsUpdateInput = { allSize?: InputMaybe; createdAt?: InputMaybe; currSize?: InputMaybe; displayName?: InputMaybe; downloaderId?: InputMaybe; episodeId?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mime?: InputMaybe; rawName?: InputMaybe; savePath?: InputMaybe; status?: InputMaybe; updatedAt?: InputMaybe; url?: InputMaybe; }; export type Episodes = { __typename?: 'Episodes'; bangumi?: Maybe; bangumiId: Scalars['Int']['output']; createdAt: Scalars['String']['output']; displayName: Scalars['String']['output']; download: SubscriptionsConnection; episodeIndex: Scalars['Int']['output']; fansub?: Maybe; homepage?: Maybe; id: Scalars['Int']['output']; mikanEpisodeId?: Maybe; posterLink?: Maybe; rawName: Scalars['String']['output']; resolution?: Maybe; savePath?: Maybe; season: Scalars['Int']['output']; seasonRaw?: Maybe; source?: Maybe; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; subscription: DownloadsConnection; subscriptionEpisode: SubscriptionEpisodeConnection; subtitle?: Maybe; updatedAt: Scalars['String']['output']; }; export type EpisodesDownloadArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type EpisodesSubscriptionArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type EpisodesSubscriptionEpisodeArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type EpisodesBasic = { __typename?: 'EpisodesBasic'; bangumiId: Scalars['Int']['output']; createdAt: Scalars['String']['output']; displayName: Scalars['String']['output']; episodeIndex: Scalars['Int']['output']; fansub?: Maybe; homepage?: Maybe; id: Scalars['Int']['output']; mikanEpisodeId?: Maybe; posterLink?: Maybe; rawName: Scalars['String']['output']; resolution?: Maybe; savePath?: Maybe; season: Scalars['Int']['output']; seasonRaw?: Maybe; source?: Maybe; subscriberId: Scalars['Int']['output']; subtitle?: Maybe; updatedAt: Scalars['String']['output']; }; export type EpisodesConnection = { __typename?: 'EpisodesConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type EpisodesEdge = { __typename?: 'EpisodesEdge'; cursor: Scalars['String']['output']; node: Episodes; }; export type EpisodesFilterInput = { and?: InputMaybe>; bangumiId?: InputMaybe; createdAt?: InputMaybe; displayName?: InputMaybe; episodeIndex?: InputMaybe; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanEpisodeId?: InputMaybe; or?: InputMaybe>; posterLink?: InputMaybe; rawName?: InputMaybe; resolution?: InputMaybe; savePath?: InputMaybe; season?: InputMaybe; seasonRaw?: InputMaybe; source?: InputMaybe; subscriberId?: InputMaybe; subtitle?: InputMaybe; updatedAt?: InputMaybe; }; export type EpisodesInsertInput = { bangumiId: Scalars['Int']['input']; createdAt?: InputMaybe; displayName: Scalars['String']['input']; episodeIndex: Scalars['Int']['input']; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanEpisodeId?: InputMaybe; posterLink?: InputMaybe; rawName: Scalars['String']['input']; resolution?: InputMaybe; savePath?: InputMaybe; season: Scalars['Int']['input']; seasonRaw?: InputMaybe; source?: InputMaybe; subtitle?: InputMaybe; updatedAt?: InputMaybe; }; export type EpisodesOrderInput = { bangumiId?: InputMaybe; createdAt?: InputMaybe; displayName?: InputMaybe; episodeIndex?: InputMaybe; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanEpisodeId?: InputMaybe; posterLink?: InputMaybe; rawName?: InputMaybe; resolution?: InputMaybe; savePath?: InputMaybe; season?: InputMaybe; seasonRaw?: InputMaybe; source?: InputMaybe; subscriberId?: InputMaybe; subtitle?: InputMaybe; updatedAt?: InputMaybe; }; export type EpisodesUpdateInput = { bangumiId?: InputMaybe; createdAt?: InputMaybe; displayName?: InputMaybe; episodeIndex?: InputMaybe; fansub?: InputMaybe; homepage?: InputMaybe; id?: InputMaybe; mikanEpisodeId?: InputMaybe; posterLink?: InputMaybe; rawName?: InputMaybe; resolution?: InputMaybe; savePath?: InputMaybe; season?: InputMaybe; seasonRaw?: InputMaybe; source?: InputMaybe; subtitle?: InputMaybe; updatedAt?: InputMaybe; }; export type IntegerFilterInput = { between?: InputMaybe>; eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; not_between?: InputMaybe>; }; export type Mutation = { __typename?: 'Mutation'; _ping?: Maybe; bangumiCreateBatch: Array; bangumiCreateOne: BangumiBasic; bangumiDelete: Scalars['Int']['output']; bangumiUpdate: Array; credential3rdCreateBatch: Array; credential3rdCreateOne: Credential3rdBasic; credential3rdDelete: Scalars['Int']['output']; credential3rdUpdate: Array; downloadersCreateBatch: Array; downloadersCreateOne: DownloadersBasic; downloadersDelete: Scalars['Int']['output']; downloadersUpdate: Array; downloadsCreateBatch: Array; downloadsCreateOne: DownloadsBasic; downloadsDelete: Scalars['Int']['output']; downloadsUpdate: Array; episodesCreateBatch: Array; episodesCreateOne: EpisodesBasic; episodesDelete: Scalars['Int']['output']; episodesUpdate: Array; subscriberTasksCreateBatch: Array; subscriberTasksCreateOne: SubscriberTasksBasic; subscriberTasksDelete: Scalars['Int']['output']; subscriberTasksUpdate: Array; subscriptionBangumiCreateBatch: Array; subscriptionBangumiCreateOne: SubscriptionBangumiBasic; subscriptionBangumiDelete: Scalars['Int']['output']; subscriptionBangumiUpdate: Array; subscriptionEpisodeCreateBatch: Array; subscriptionEpisodeCreateOne: SubscriptionEpisodeBasic; subscriptionEpisodeDelete: Scalars['Int']['output']; subscriptionEpisodeUpdate: Array; subscriptionSyncOneFeedsFull: SyncOneSubscriptionInfo; subscriptionSyncOneFeedsIncremental: SyncOneSubscriptionInfo; subscriptionSyncOneSources: SyncOneSubscriptionInfo; subscriptionsCreateBatch: Array; subscriptionsCreateOne: SubscriptionsBasic; subscriptionsDelete: Scalars['Int']['output']; subscriptionsUpdate: Array; }; export type MutationBangumiCreateBatchArgs = { data: Array; }; export type MutationBangumiCreateOneArgs = { data: BangumiInsertInput; }; export type MutationBangumiDeleteArgs = { filter?: InputMaybe; }; export type MutationBangumiUpdateArgs = { data: BangumiUpdateInput; filter?: InputMaybe; }; export type MutationCredential3rdCreateBatchArgs = { data: Array; }; export type MutationCredential3rdCreateOneArgs = { data: Credential3rdInsertInput; }; export type MutationCredential3rdDeleteArgs = { filter?: InputMaybe; }; export type MutationCredential3rdUpdateArgs = { data: Credential3rdUpdateInput; filter?: InputMaybe; }; export type MutationDownloadersCreateBatchArgs = { data: Array; }; export type MutationDownloadersCreateOneArgs = { data: DownloadersInsertInput; }; export type MutationDownloadersDeleteArgs = { filter?: InputMaybe; }; export type MutationDownloadersUpdateArgs = { data: DownloadersUpdateInput; filter?: InputMaybe; }; export type MutationDownloadsCreateBatchArgs = { data: Array; }; export type MutationDownloadsCreateOneArgs = { data: DownloadsInsertInput; }; export type MutationDownloadsDeleteArgs = { filter?: InputMaybe; }; export type MutationDownloadsUpdateArgs = { data: DownloadsUpdateInput; filter?: InputMaybe; }; export type MutationEpisodesCreateBatchArgs = { data: Array; }; export type MutationEpisodesCreateOneArgs = { data: EpisodesInsertInput; }; export type MutationEpisodesDeleteArgs = { filter?: InputMaybe; }; export type MutationEpisodesUpdateArgs = { data: EpisodesUpdateInput; filter?: InputMaybe; }; export type MutationSubscriberTasksCreateBatchArgs = { data: Array; }; export type MutationSubscriberTasksCreateOneArgs = { data: SubscriberTasksInsertInput; }; export type MutationSubscriberTasksDeleteArgs = { filter?: InputMaybe; }; export type MutationSubscriberTasksUpdateArgs = { data: SubscriberTasksUpdateInput; filter?: InputMaybe; }; export type MutationSubscriptionBangumiCreateBatchArgs = { data: Array; }; export type MutationSubscriptionBangumiCreateOneArgs = { data: SubscriptionBangumiInsertInput; }; export type MutationSubscriptionBangumiDeleteArgs = { filter?: InputMaybe; }; export type MutationSubscriptionBangumiUpdateArgs = { data: SubscriptionBangumiUpdateInput; filter?: InputMaybe; }; export type MutationSubscriptionEpisodeCreateBatchArgs = { data: Array; }; export type MutationSubscriptionEpisodeCreateOneArgs = { data: SubscriptionEpisodeInsertInput; }; export type MutationSubscriptionEpisodeDeleteArgs = { filter?: InputMaybe; }; export type MutationSubscriptionEpisodeUpdateArgs = { data: SubscriptionEpisodeUpdateInput; filter?: InputMaybe; }; export type MutationSubscriptionSyncOneFeedsFullArgs = { filter: SyncOneSubscriptionFilterInput; }; export type MutationSubscriptionSyncOneFeedsIncrementalArgs = { filter: SyncOneSubscriptionFilterInput; }; export type MutationSubscriptionSyncOneSourcesArgs = { filter: SyncOneSubscriptionFilterInput; }; export type MutationSubscriptionsCreateBatchArgs = { data: Array; }; export type MutationSubscriptionsCreateOneArgs = { data: SubscriptionsInsertInput; }; export type MutationSubscriptionsDeleteArgs = { filter?: InputMaybe; }; export type MutationSubscriptionsUpdateArgs = { data: SubscriptionsUpdateInput; filter?: InputMaybe; }; export type OffsetInput = { limit: Scalars['Int']['input']; offset: Scalars['Int']['input']; }; export const OrderByEnum = { Asc: 'ASC', Desc: 'DESC' } as const; export type OrderByEnum = typeof OrderByEnum[keyof typeof OrderByEnum]; export type PageInfo = { __typename?: 'PageInfo'; endCursor?: Maybe; hasNextPage: Scalars['Boolean']['output']; hasPreviousPage: Scalars['Boolean']['output']; startCursor?: Maybe; }; export type PageInput = { limit: Scalars['Int']['input']; page: Scalars['Int']['input']; }; export type PaginationInfo = { __typename?: 'PaginationInfo'; current: Scalars['Int']['output']; offset: Scalars['Int']['output']; pages: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type PaginationInput = { cursor?: InputMaybe; offset?: InputMaybe; page?: InputMaybe; }; export type Query = { __typename?: 'Query'; _sea_orm_entity_metadata?: Maybe; bangumi: BangumiConnection; credential3rd: Credential3rdConnection; credential3rdCheckAvailable: Credential3rdCheckAvailableInfo; downloaders: DownloadersConnection; downloads: DownloadsConnection; episodes: EpisodesConnection; subscriberTasks: SubscriberTasksConnection; subscribers: SubscribersConnection; subscriptionBangumi: SubscriptionBangumiConnection; subscriptionEpisode: SubscriptionEpisodeConnection; subscriptions: SubscriptionsConnection; }; export type Query_Sea_Orm_Entity_MetadataArgs = { table_name: Scalars['String']['input']; }; export type QueryBangumiArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QueryCredential3rdArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QueryCredential3rdCheckAvailableArgs = { filter: Credential3rdCheckAvailableInput; }; export type QueryDownloadersArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QueryDownloadsArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QueryEpisodesArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QuerySubscriberTasksArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QuerySubscribersArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QuerySubscriptionBangumiArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QuerySubscriptionEpisodeArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type QuerySubscriptionsArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type StringFilterInput = { between?: InputMaybe>; contains?: InputMaybe; ends_with?: InputMaybe; eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; like?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; not_between?: InputMaybe>; not_like?: InputMaybe; starts_with?: InputMaybe; }; export type SubscriberIdFilterInput = { eq?: InputMaybe; }; export type SubscriberTasks = { __typename?: 'SubscriberTasks'; attempts: Scalars['Int']['output']; doneAt?: Maybe; id: Scalars['String']['output']; lastError?: Maybe; lockAt?: Maybe; lockBy?: Maybe; maxAttempts: Scalars['Int']['output']; priority: Scalars['Int']['output']; runAt: Scalars['String']['output']; status: Scalars['String']['output']; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; }; export type SubscriberTasksBasic = { __typename?: 'SubscriberTasksBasic'; attempts: Scalars['Int']['output']; doneAt?: Maybe; id: Scalars['String']['output']; lastError?: Maybe; lockAt?: Maybe; lockBy?: Maybe; maxAttempts: Scalars['Int']['output']; priority: Scalars['Int']['output']; runAt: Scalars['String']['output']; status: Scalars['String']['output']; subscriberId: Scalars['Int']['output']; }; export type SubscriberTasksConnection = { __typename?: 'SubscriberTasksConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type SubscriberTasksEdge = { __typename?: 'SubscriberTasksEdge'; cursor: Scalars['String']['output']; node: SubscriberTasks; }; export type SubscriberTasksFilterInput = { and?: InputMaybe>; attempts?: InputMaybe; doneAt?: InputMaybe; id?: InputMaybe; job?: InputMaybe; lastError?: InputMaybe; lockAt?: InputMaybe; lockBy?: InputMaybe; maxAttempts?: InputMaybe; or?: InputMaybe>; priority?: InputMaybe; runAt?: InputMaybe; status?: InputMaybe; subscriberId?: InputMaybe; }; export type SubscriberTasksInsertInput = { attempts: Scalars['Int']['input']; doneAt?: InputMaybe; id?: InputMaybe; lastError?: InputMaybe; lockAt?: InputMaybe; lockBy?: InputMaybe; maxAttempts: Scalars['Int']['input']; priority: Scalars['Int']['input']; runAt: Scalars['String']['input']; status: Scalars['String']['input']; }; export type SubscriberTasksOrderInput = { attempts?: InputMaybe; doneAt?: InputMaybe; id?: InputMaybe; job?: InputMaybe; lastError?: InputMaybe; lockAt?: InputMaybe; lockBy?: InputMaybe; maxAttempts?: InputMaybe; priority?: InputMaybe; runAt?: InputMaybe; status?: InputMaybe; subscriberId?: InputMaybe; }; export type SubscriberTasksUpdateInput = { attempts?: InputMaybe; doneAt?: InputMaybe; id?: InputMaybe; lastError?: InputMaybe; lockAt?: InputMaybe; lockBy?: InputMaybe; maxAttempts?: InputMaybe; priority?: InputMaybe; runAt?: InputMaybe; status?: InputMaybe; }; export type Subscribers = { __typename?: 'Subscribers'; bangumi: BangumiConnection; createdAt: Scalars['String']['output']; credential3rd: Credential3rdConnection; displayName: Scalars['String']['output']; downloader: DownloadersConnection; episode: EpisodesConnection; id: Scalars['Int']['output']; subscription: SubscriptionsConnection; updatedAt: Scalars['String']['output']; }; export type SubscribersBangumiArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscribersCredential3rdArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscribersDownloaderArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscribersEpisodeArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscribersSubscriptionArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscribersConnection = { __typename?: 'SubscribersConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type SubscribersEdge = { __typename?: 'SubscribersEdge'; cursor: Scalars['String']['output']; node: Subscribers; }; export type SubscribersFilterInput = { and?: InputMaybe>; id?: InputMaybe; or?: InputMaybe>; }; export type SubscribersOrderInput = { bangumiConf?: InputMaybe; createdAt?: InputMaybe; displayName?: InputMaybe; id?: InputMaybe; updatedAt?: InputMaybe; }; export type SubscriptionBangumi = { __typename?: 'SubscriptionBangumi'; bangumi?: Maybe; bangumiId: Scalars['Int']['output']; id: Scalars['Int']['output']; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; subscription?: Maybe; subscriptionId: Scalars['Int']['output']; }; export type SubscriptionBangumiBasic = { __typename?: 'SubscriptionBangumiBasic'; bangumiId: Scalars['Int']['output']; id: Scalars['Int']['output']; subscriberId: Scalars['Int']['output']; subscriptionId: Scalars['Int']['output']; }; export type SubscriptionBangumiConnection = { __typename?: 'SubscriptionBangumiConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type SubscriptionBangumiEdge = { __typename?: 'SubscriptionBangumiEdge'; cursor: Scalars['String']['output']; node: SubscriptionBangumi; }; export type SubscriptionBangumiFilterInput = { and?: InputMaybe>; bangumiId?: InputMaybe; id?: InputMaybe; or?: InputMaybe>; subscriberId?: InputMaybe; subscriptionId?: InputMaybe; }; export type SubscriptionBangumiInsertInput = { bangumiId: Scalars['Int']['input']; id?: InputMaybe; subscriptionId: Scalars['Int']['input']; }; export type SubscriptionBangumiOrderInput = { bangumiId?: InputMaybe; id?: InputMaybe; subscriberId?: InputMaybe; subscriptionId?: InputMaybe; }; export type SubscriptionBangumiUpdateInput = { bangumiId?: InputMaybe; id?: InputMaybe; subscriptionId?: InputMaybe; }; export const SubscriptionCategoryEnum = { Manual: 'manual', MikanBangumi: 'mikan_bangumi', MikanSeason: 'mikan_season', MikanSubscriber: 'mikan_subscriber' } as const; export type SubscriptionCategoryEnum = typeof SubscriptionCategoryEnum[keyof typeof SubscriptionCategoryEnum]; export type SubscriptionCategoryEnumFilterInput = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; }; export type SubscriptionEpisode = { __typename?: 'SubscriptionEpisode'; episode?: Maybe; episodeId: Scalars['Int']['output']; id: Scalars['Int']['output']; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; subscription?: Maybe; subscriptionId: Scalars['Int']['output']; }; export type SubscriptionEpisodeBasic = { __typename?: 'SubscriptionEpisodeBasic'; episodeId: Scalars['Int']['output']; id: Scalars['Int']['output']; subscriberId: Scalars['Int']['output']; subscriptionId: Scalars['Int']['output']; }; export type SubscriptionEpisodeConnection = { __typename?: 'SubscriptionEpisodeConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type SubscriptionEpisodeEdge = { __typename?: 'SubscriptionEpisodeEdge'; cursor: Scalars['String']['output']; node: SubscriptionEpisode; }; export type SubscriptionEpisodeFilterInput = { and?: InputMaybe>; episodeId?: InputMaybe; id?: InputMaybe; or?: InputMaybe>; subscriberId?: InputMaybe; subscriptionId?: InputMaybe; }; export type SubscriptionEpisodeInsertInput = { episodeId: Scalars['Int']['input']; id?: InputMaybe; subscriptionId: Scalars['Int']['input']; }; export type SubscriptionEpisodeOrderInput = { episodeId?: InputMaybe; id?: InputMaybe; subscriberId?: InputMaybe; subscriptionId?: InputMaybe; }; export type SubscriptionEpisodeUpdateInput = { episodeId?: InputMaybe; id?: InputMaybe; subscriptionId?: InputMaybe; }; export type Subscriptions = { __typename?: 'Subscriptions'; bangumi: BangumiConnection; category: SubscriptionCategoryEnum; createdAt: Scalars['String']['output']; credential3rd?: Maybe; credentialId?: Maybe; displayName: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; episode: EpisodesConnection; id: Scalars['Int']['output']; sourceUrl: Scalars['String']['output']; subscriber?: Maybe; subscriberId: Scalars['Int']['output']; subscriptionBangumi: SubscriptionBangumiConnection; subscriptionEpisode: SubscriptionEpisodeConnection; updatedAt: Scalars['String']['output']; }; export type SubscriptionsBangumiArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscriptionsEpisodeArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscriptionsSubscriptionBangumiArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscriptionsSubscriptionEpisodeArgs = { filters?: InputMaybe; orderBy?: InputMaybe; pagination?: InputMaybe; }; export type SubscriptionsBasic = { __typename?: 'SubscriptionsBasic'; category: SubscriptionCategoryEnum; createdAt: Scalars['String']['output']; credentialId?: Maybe; displayName: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['Int']['output']; sourceUrl: Scalars['String']['output']; subscriberId: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; }; export type SubscriptionsConnection = { __typename?: 'SubscriptionsConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; paginationInfo?: Maybe; }; export type SubscriptionsEdge = { __typename?: 'SubscriptionsEdge'; cursor: Scalars['String']['output']; node: Subscriptions; }; export type SubscriptionsFilterInput = { and?: InputMaybe>; category?: InputMaybe; createdAt?: InputMaybe; credentialId?: InputMaybe; displayName?: InputMaybe; enabled?: InputMaybe; id?: InputMaybe; or?: InputMaybe>; sourceUrl?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; }; export type SubscriptionsInsertInput = { category: SubscriptionCategoryEnum; createdAt?: InputMaybe; credentialId?: InputMaybe; displayName: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; id?: InputMaybe; sourceUrl: Scalars['String']['input']; updatedAt?: InputMaybe; }; export type SubscriptionsOrderInput = { category?: InputMaybe; createdAt?: InputMaybe; credentialId?: InputMaybe; displayName?: InputMaybe; enabled?: InputMaybe; id?: InputMaybe; sourceUrl?: InputMaybe; subscriberId?: InputMaybe; updatedAt?: InputMaybe; }; export type SubscriptionsUpdateInput = { category?: InputMaybe; createdAt?: InputMaybe; credentialId?: InputMaybe; displayName?: InputMaybe; enabled?: InputMaybe; id?: InputMaybe; sourceUrl?: InputMaybe; updatedAt?: InputMaybe; }; /** The input of the subscriptionSyncOne series of mutations */ export type SyncOneSubscriptionFilterInput = { id: Scalars['Int']['input']; }; /** The output of the subscriptionSyncOne series of mutations */ export type SyncOneSubscriptionInfo = { __typename?: 'SyncOneSubscriptionInfo'; taskId: Scalars['String']['output']; }; export type TextFilterInput = { between?: InputMaybe>; eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; is_in?: InputMaybe>; is_not_in?: InputMaybe>; is_not_null?: InputMaybe; is_null?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; ne?: InputMaybe; not_between?: InputMaybe>; }; export type GetCredential3rdQueryVariables = Exact<{ filters: Credential3rdFilterInput; orderBy?: InputMaybe; pagination?: InputMaybe; }>; export type GetCredential3rdQuery = { __typename?: 'Query', credential3rd: { __typename?: 'Credential3rdConnection', nodes: Array<{ __typename?: 'Credential3rd', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }>, paginationInfo?: { __typename?: 'PaginationInfo', total: number, pages: number } | null } }; export type InsertCredential3rdMutationVariables = Exact<{ data: Credential3rdInsertInput; }>; export type InsertCredential3rdMutation = { __typename?: 'Mutation', credential3rdCreateOne: { __typename?: 'Credential3rdBasic', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum } }; export type UpdateCredential3rdMutationVariables = Exact<{ data: Credential3rdUpdateInput; filters: Credential3rdFilterInput; }>; export type UpdateCredential3rdMutation = { __typename?: 'Mutation', credential3rdUpdate: Array<{ __typename?: 'Credential3rdBasic', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }> }; export type DeleteCredential3rdMutationVariables = Exact<{ filters: Credential3rdFilterInput; }>; export type DeleteCredential3rdMutation = { __typename?: 'Mutation', credential3rdDelete: number }; export type GetCredential3rdDetailQueryVariables = Exact<{ id: Scalars['Int']['input']; }>; export type GetCredential3rdDetailQuery = { __typename?: 'Query', credential3rd: { __typename?: 'Credential3rdConnection', nodes: Array<{ __typename?: 'Credential3rd', id: number, cookies?: string | null, username?: string | null, password?: string | null, userAgent?: string | null, createdAt: string, updatedAt: string, credentialType: Credential3rdTypeEnum }> } }; export type CheckCredential3rdAvailableQueryVariables = Exact<{ id: Scalars['Int']['input']; }>; export type CheckCredential3rdAvailableQuery = { __typename?: 'Query', credential3rdCheckAvailable: { __typename?: 'Credential3rdCheckAvailableInfo', available: boolean } }; export type GetSubscriptionsQueryVariables = Exact<{ filters: SubscriptionsFilterInput; orderBy: SubscriptionsOrderInput; pagination: PaginationInput; }>; export type GetSubscriptionsQuery = { __typename?: 'Query', subscriptions: { __typename?: 'SubscriptionsConnection', nodes: Array<{ __typename?: 'Subscriptions', id: number, createdAt: string, updatedAt: string, displayName: string, category: SubscriptionCategoryEnum, sourceUrl: string, enabled: boolean, credentialId?: number | null }>, paginationInfo?: { __typename?: 'PaginationInfo', total: number, pages: number } | null } }; export type InsertSubscriptionMutationVariables = Exact<{ data: SubscriptionsInsertInput; }>; export type InsertSubscriptionMutation = { __typename?: 'Mutation', subscriptionsCreateOne: { __typename?: 'SubscriptionsBasic', id: number, createdAt: string, updatedAt: string, displayName: string, category: SubscriptionCategoryEnum, sourceUrl: string, enabled: boolean, credentialId?: number | null } }; export type UpdateSubscriptionsMutationVariables = Exact<{ data: SubscriptionsUpdateInput; filters: SubscriptionsFilterInput; }>; export type UpdateSubscriptionsMutation = { __typename?: 'Mutation', subscriptionsUpdate: Array<{ __typename?: 'SubscriptionsBasic', id: number, createdAt: string, updatedAt: string, displayName: string, category: SubscriptionCategoryEnum, sourceUrl: string, enabled: boolean }> }; export type DeleteSubscriptionsMutationVariables = Exact<{ filters?: InputMaybe; }>; export type DeleteSubscriptionsMutation = { __typename?: 'Mutation', subscriptionsDelete: number }; export type GetSubscriptionDetailQueryVariables = Exact<{ id: Scalars['Int']['input']; }>; export type GetSubscriptionDetailQuery = { __typename?: 'Query', subscriptions: { __typename?: 'SubscriptionsConnection', nodes: Array<{ __typename?: 'Subscriptions', id: number, displayName: string, createdAt: string, updatedAt: string, category: SubscriptionCategoryEnum, sourceUrl: string, enabled: boolean, credential3rd?: { __typename?: 'Credential3rd', id: number, username?: string | null } | null, bangumi: { __typename?: 'BangumiConnection', nodes: Array<{ __typename?: 'Bangumi', createdAt: string, updatedAt: string, id: number, mikanBangumiId?: string | null, displayName: string, rawName: string, season: number, seasonRaw?: string | null, fansub?: string | null, mikanFansubId?: string | null, rssLink?: string | null, posterLink?: string | null, savePath?: string | null, homepage?: string | null }> } }> } }; export type SyncSubscriptionFeedsIncrementalMutationVariables = Exact<{ id: Scalars['Int']['input']; }>; export type SyncSubscriptionFeedsIncrementalMutation = { __typename?: 'Mutation', subscriptionSyncOneFeedsIncremental: { __typename?: 'SyncOneSubscriptionInfo', taskId: string } }; export type SyncSubscriptionFeedsFullMutationVariables = Exact<{ id: Scalars['Int']['input']; }>; export type SyncSubscriptionFeedsFullMutation = { __typename?: 'Mutation', subscriptionSyncOneFeedsFull: { __typename?: 'SyncOneSubscriptionInfo', taskId: string } }; export type SyncSubscriptionSourcesMutationVariables = Exact<{ id: Scalars['Int']['input']; }>; export type SyncSubscriptionSourcesMutation = { __typename?: 'Mutation', subscriptionSyncOneSources: { __typename?: 'SyncOneSubscriptionInfo', taskId: string } }; export const GetCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdOrderInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode; export const InsertCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]} as unknown as DocumentNode; export const UpdateCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdUpdate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]} as unknown as DocumentNode; export const DeleteCredential3rdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCredential3rd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Credential3rdFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}]}]}}]} as unknown as DocumentNode; export const GetCredential3rdDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCredential3rdDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cookies"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"password"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"credentialType"}}]}}]}}]}}]} as unknown as DocumentNode; export const CheckCredential3rdAvailableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CheckCredential3rdAvailable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credential3rdCheckAvailable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"available"}}]}}]}}]} as unknown as DocumentNode; export const GetSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsOrderInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credentialId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paginationInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}}]}}]}}]} as unknown as DocumentNode; export const InsertSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsInsertInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsCreateOne"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credentialId"}}]}}]}}]} as unknown as DocumentNode; export const UpdateSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsUpdateInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsUpdate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]}}]} as unknown as DocumentNode; export const DeleteSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionsFilterInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionsDelete"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}]}]}}]} as unknown as DocumentNode; export const GetSubscriptionDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSubscriptionDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"credential3rd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bangumi"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mikanBangumiId"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"rawName"}},{"kind":"Field","name":{"kind":"Name","value":"season"}},{"kind":"Field","name":{"kind":"Name","value":"seasonRaw"}},{"kind":"Field","name":{"kind":"Name","value":"fansub"}},{"kind":"Field","name":{"kind":"Name","value":"mikanFansubId"}},{"kind":"Field","name":{"kind":"Name","value":"rssLink"}},{"kind":"Field","name":{"kind":"Name","value":"posterLink"}},{"kind":"Field","name":{"kind":"Name","value":"savePath"}},{"kind":"Field","name":{"kind":"Name","value":"homepage"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const SyncSubscriptionFeedsIncrementalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionFeedsIncremental"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionSyncOneFeedsIncremental"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taskId"}}]}}]}}]} as unknown as DocumentNode; export const SyncSubscriptionFeedsFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionFeedsFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionSyncOneFeedsFull"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taskId"}}]}}]}}]} as unknown as DocumentNode; export const SyncSubscriptionSourcesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SyncSubscriptionSources"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subscriptionSyncOneSources"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taskId"}}]}}]}}]} as unknown as DocumentNode;