diff --git a/Public API v1.yaml b/Public API v1.yaml index 83c742e..56941bf 100644 --- a/Public API v1.yaml +++ b/Public API v1.yaml @@ -2877,6 +2877,7 @@ components: - sharing - advanced_download - downloads_manager + - tasks_manager YesNo: type: string enum: diff --git a/src/api-types/models/AddFileToPlaylistRequest.ts b/src/api-types/models/AddFileToPlaylistRequest.ts index a08c586..bc5b21a 100644 --- a/src/api-types/models/AddFileToPlaylistRequest.ts +++ b/src/api-types/models/AddFileToPlaylistRequest.ts @@ -5,4 +5,4 @@ export type AddFileToPlaylistRequest = { file_uid: string; playlist_id: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Archive.ts b/src/api-types/models/Archive.ts index 0c0e216..63ce05b 100644 --- a/src/api-types/models/Archive.ts +++ b/src/api-types/models/Archive.ts @@ -13,4 +13,4 @@ export type Archive = { sub_id?: string; timestamp: number; uid: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/BaseChangePermissionsRequest.ts b/src/api-types/models/BaseChangePermissionsRequest.ts index fd418de..912d429 100644 --- a/src/api-types/models/BaseChangePermissionsRequest.ts +++ b/src/api-types/models/BaseChangePermissionsRequest.ts @@ -8,4 +8,4 @@ import type { YesNo } from './YesNo'; export type BaseChangePermissionsRequest = { permission: UserPermission; new_value: YesNo; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Category.ts b/src/api-types/models/Category.ts index cfabd8b..b03d891 100644 --- a/src/api-types/models/Category.ts +++ b/src/api-types/models/Category.ts @@ -12,4 +12,4 @@ export type Category = { * Overrides file output for downloaded files in category */ custom_output?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CategoryRule.ts b/src/api-types/models/CategoryRule.ts index e99cda1..ad13eb6 100644 --- a/src/api-types/models/CategoryRule.ts +++ b/src/api-types/models/CategoryRule.ts @@ -22,4 +22,4 @@ export namespace CategoryRule { } -} \ No newline at end of file +} diff --git a/src/api-types/models/ChangeRolePermissionsRequest.ts b/src/api-types/models/ChangeRolePermissionsRequest.ts index 9d786e7..e7e5051 100644 --- a/src/api-types/models/ChangeRolePermissionsRequest.ts +++ b/src/api-types/models/ChangeRolePermissionsRequest.ts @@ -6,4 +6,4 @@ import type { BaseChangePermissionsRequest } from './BaseChangePermissionsReques export type ChangeRolePermissionsRequest = (BaseChangePermissionsRequest & { role: string; -}); \ No newline at end of file +}); diff --git a/src/api-types/models/ChangeUserPermissionsRequest.ts b/src/api-types/models/ChangeUserPermissionsRequest.ts index ffa4817..780ceaa 100644 --- a/src/api-types/models/ChangeUserPermissionsRequest.ts +++ b/src/api-types/models/ChangeUserPermissionsRequest.ts @@ -6,4 +6,4 @@ import type { BaseChangePermissionsRequest } from './BaseChangePermissionsReques export type ChangeUserPermissionsRequest = (BaseChangePermissionsRequest & { user_uid: string; -}); \ No newline at end of file +}); diff --git a/src/api-types/models/CheckConcurrentStreamRequest.ts b/src/api-types/models/CheckConcurrentStreamRequest.ts index 7c30670..d117e3a 100644 --- a/src/api-types/models/CheckConcurrentStreamRequest.ts +++ b/src/api-types/models/CheckConcurrentStreamRequest.ts @@ -7,4 +7,4 @@ export type CheckConcurrentStreamRequest = { * UID of the concurrent stream */ uid: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CheckConcurrentStreamResponse.ts b/src/api-types/models/CheckConcurrentStreamResponse.ts index 2d1df1c..54f03a2 100644 --- a/src/api-types/models/CheckConcurrentStreamResponse.ts +++ b/src/api-types/models/CheckConcurrentStreamResponse.ts @@ -6,4 +6,4 @@ import type { ConcurrentStream } from './ConcurrentStream'; export type CheckConcurrentStreamResponse = { stream: ConcurrentStream; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/ClearDownloadsRequest.ts b/src/api-types/models/ClearDownloadsRequest.ts index efee2c9..5603dc5 100644 --- a/src/api-types/models/ClearDownloadsRequest.ts +++ b/src/api-types/models/ClearDownloadsRequest.ts @@ -6,4 +6,4 @@ export type ClearDownloadsRequest = { clear_finished?: boolean; clear_paused?: boolean; clear_errors?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/ConcurrentStream.ts b/src/api-types/models/ConcurrentStream.ts index 486cc57..ef475d6 100644 --- a/src/api-types/models/ConcurrentStream.ts +++ b/src/api-types/models/ConcurrentStream.ts @@ -6,4 +6,4 @@ export type ConcurrentStream = { playback_timestamp?: number; unix_timestamp?: number; playing?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Config.ts b/src/api-types/models/Config.ts index cb05dea..cb80587 100644 --- a/src/api-types/models/Config.ts +++ b/src/api-types/models/Config.ts @@ -3,5 +3,5 @@ /* eslint-disable */ export type Config = { - YoutubeDLMaterial: any; -}; \ No newline at end of file + YoutubeDLMaterial: Record; +}; diff --git a/src/api-types/models/ConfigResponse.ts b/src/api-types/models/ConfigResponse.ts index 0912cac..4d9eb77 100644 --- a/src/api-types/models/ConfigResponse.ts +++ b/src/api-types/models/ConfigResponse.ts @@ -7,4 +7,4 @@ import type { Config } from './Config'; export type ConfigResponse = { config_file: Config; success: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CreateCategoryRequest.ts b/src/api-types/models/CreateCategoryRequest.ts index 7c091b6..552c745 100644 --- a/src/api-types/models/CreateCategoryRequest.ts +++ b/src/api-types/models/CreateCategoryRequest.ts @@ -4,4 +4,4 @@ export type CreateCategoryRequest = { name: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CreateCategoryResponse.ts b/src/api-types/models/CreateCategoryResponse.ts index 2be83f6..0d38792 100644 --- a/src/api-types/models/CreateCategoryResponse.ts +++ b/src/api-types/models/CreateCategoryResponse.ts @@ -7,4 +7,4 @@ import type { Category } from './Category'; export type CreateCategoryResponse = { new_category?: Category; success?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CreatePlaylistRequest.ts b/src/api-types/models/CreatePlaylistRequest.ts index e61a2a0..e276658 100644 --- a/src/api-types/models/CreatePlaylistRequest.ts +++ b/src/api-types/models/CreatePlaylistRequest.ts @@ -6,4 +6,4 @@ export type CreatePlaylistRequest = { playlistName: string; uids: Array; thumbnailURL: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CreatePlaylistResponse.ts b/src/api-types/models/CreatePlaylistResponse.ts index 48b5d06..51fba29 100644 --- a/src/api-types/models/CreatePlaylistResponse.ts +++ b/src/api-types/models/CreatePlaylistResponse.ts @@ -7,4 +7,4 @@ import type { Playlist } from './Playlist'; export type CreatePlaylistResponse = { new_playlist: Playlist; success: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/CropFileSettings.ts b/src/api-types/models/CropFileSettings.ts index e4ab45a..0e203f2 100644 --- a/src/api-types/models/CropFileSettings.ts +++ b/src/api-types/models/CropFileSettings.ts @@ -5,4 +5,4 @@ export type CropFileSettings = { cropFileStart: number; cropFileEnd: number; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DBBackup.ts b/src/api-types/models/DBBackup.ts index b137cad..5e90358 100644 --- a/src/api-types/models/DBBackup.ts +++ b/src/api-types/models/DBBackup.ts @@ -17,4 +17,4 @@ export namespace DBBackup { } -} \ No newline at end of file +} diff --git a/src/api-types/models/DBInfoResponse.ts b/src/api-types/models/DBInfoResponse.ts index b4e4fe1..e57d595 100644 --- a/src/api-types/models/DBInfoResponse.ts +++ b/src/api-types/models/DBInfoResponse.ts @@ -16,4 +16,4 @@ roles?: TableInfo; download_queue?: TableInfo; archives?: TableInfo; }; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DatabaseFile.ts b/src/api-types/models/DatabaseFile.ts index 855aa61..8fdec34 100644 --- a/src/api-types/models/DatabaseFile.ts +++ b/src/api-types/models/DatabaseFile.ts @@ -42,4 +42,4 @@ export type DatabaseFile = { */ abr?: number; favorite: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteAllFilesResponse.ts b/src/api-types/models/DeleteAllFilesResponse.ts index 94efef7..0720b46 100644 --- a/src/api-types/models/DeleteAllFilesResponse.ts +++ b/src/api-types/models/DeleteAllFilesResponse.ts @@ -11,4 +11,4 @@ export type DeleteAllFilesResponse = { * Number of files removed */ delete_count?: number; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteArchiveItemsRequest.ts b/src/api-types/models/DeleteArchiveItemsRequest.ts index 7911f59..2b849f6 100644 --- a/src/api-types/models/DeleteArchiveItemsRequest.ts +++ b/src/api-types/models/DeleteArchiveItemsRequest.ts @@ -6,4 +6,4 @@ import type { Archive } from './Archive'; export type DeleteArchiveItemsRequest = { archives: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteCategoryRequest.ts b/src/api-types/models/DeleteCategoryRequest.ts index 50e736b..c9e381e 100644 --- a/src/api-types/models/DeleteCategoryRequest.ts +++ b/src/api-types/models/DeleteCategoryRequest.ts @@ -4,4 +4,4 @@ export type DeleteCategoryRequest = { category_uid: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteMp3Mp4Request.ts b/src/api-types/models/DeleteMp3Mp4Request.ts index ec74390..e3c2b0a 100644 --- a/src/api-types/models/DeleteMp3Mp4Request.ts +++ b/src/api-types/models/DeleteMp3Mp4Request.ts @@ -5,4 +5,4 @@ export type DeleteMp3Mp4Request = { uid: string; blacklistMode?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteNotificationRequest.ts b/src/api-types/models/DeleteNotificationRequest.ts index c554c6d..f69e476 100644 --- a/src/api-types/models/DeleteNotificationRequest.ts +++ b/src/api-types/models/DeleteNotificationRequest.ts @@ -4,4 +4,4 @@ export type DeleteNotificationRequest = { uid: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeletePlaylistRequest.ts b/src/api-types/models/DeletePlaylistRequest.ts index 82e25b2..e351f7c 100644 --- a/src/api-types/models/DeletePlaylistRequest.ts +++ b/src/api-types/models/DeletePlaylistRequest.ts @@ -4,4 +4,4 @@ export type DeletePlaylistRequest = { playlist_id: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteSubscriptionFileRequest.ts b/src/api-types/models/DeleteSubscriptionFileRequest.ts index 46afd3f..61051f9 100644 --- a/src/api-types/models/DeleteSubscriptionFileRequest.ts +++ b/src/api-types/models/DeleteSubscriptionFileRequest.ts @@ -8,4 +8,4 @@ export type DeleteSubscriptionFileRequest = { * If true, does not remove id from archive. Only valid if youtube-dl archive is enabled in settings. */ deleteForever?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DeleteUserRequest.ts b/src/api-types/models/DeleteUserRequest.ts index 50b2ce6..8d26983 100644 --- a/src/api-types/models/DeleteUserRequest.ts +++ b/src/api-types/models/DeleteUserRequest.ts @@ -4,4 +4,4 @@ export type DeleteUserRequest = { uid: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Download.ts b/src/api-types/models/Download.ts index cae580f..1a0d05e 100644 --- a/src/api-types/models/Download.ts +++ b/src/api-types/models/Download.ts @@ -26,5 +26,5 @@ export type Download = { user_uid?: string; sub_id?: string; sub_name?: string; - prefetched_info?: any; -}; \ No newline at end of file + prefetched_info?: Record; +}; diff --git a/src/api-types/models/DownloadArchiveRequest.ts b/src/api-types/models/DownloadArchiveRequest.ts index 6123a30..10d9284 100644 --- a/src/api-types/models/DownloadArchiveRequest.ts +++ b/src/api-types/models/DownloadArchiveRequest.ts @@ -7,4 +7,4 @@ import type { FileType } from './FileType'; export type DownloadArchiveRequest = { type?: FileType; sub_id?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DownloadFileRequest.ts b/src/api-types/models/DownloadFileRequest.ts index b14f3ea..daf6392 100644 --- a/src/api-types/models/DownloadFileRequest.ts +++ b/src/api-types/models/DownloadFileRequest.ts @@ -11,4 +11,4 @@ export type DownloadFileRequest = { playlist_id?: string; url?: string; type?: FileType; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DownloadRequest.ts b/src/api-types/models/DownloadRequest.ts index 2d76d96..1f067fe 100644 --- a/src/api-types/models/DownloadRequest.ts +++ b/src/api-types/models/DownloadRequest.ts @@ -49,4 +49,4 @@ export type DownloadRequest = { * If using youtube-dl archive, download will ignore it */ ignoreArchive?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DownloadResponse.ts b/src/api-types/models/DownloadResponse.ts index 9428f00..217be23 100644 --- a/src/api-types/models/DownloadResponse.ts +++ b/src/api-types/models/DownloadResponse.ts @@ -6,4 +6,4 @@ import type { Download } from './Download'; export type DownloadResponse = { download?: Download; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DownloadTwitchChatByVODIDRequest.ts b/src/api-types/models/DownloadTwitchChatByVODIDRequest.ts index c807f13..648587b 100644 --- a/src/api-types/models/DownloadTwitchChatByVODIDRequest.ts +++ b/src/api-types/models/DownloadTwitchChatByVODIDRequest.ts @@ -20,4 +20,4 @@ export type DownloadTwitchChatByVODIDRequest = { */ uuid?: string; sub?: Subscription; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DownloadTwitchChatByVODIDResponse.ts b/src/api-types/models/DownloadTwitchChatByVODIDResponse.ts index 673fd08..f399d2c 100644 --- a/src/api-types/models/DownloadTwitchChatByVODIDResponse.ts +++ b/src/api-types/models/DownloadTwitchChatByVODIDResponse.ts @@ -6,4 +6,4 @@ import type { TwitchChatMessage } from './TwitchChatMessage'; export type DownloadTwitchChatByVODIDResponse = { chat: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/DownloadVideosForSubscriptionRequest.ts b/src/api-types/models/DownloadVideosForSubscriptionRequest.ts index e68b4e4..6482252 100644 --- a/src/api-types/models/DownloadVideosForSubscriptionRequest.ts +++ b/src/api-types/models/DownloadVideosForSubscriptionRequest.ts @@ -4,4 +4,4 @@ export type DownloadVideosForSubscriptionRequest = { subID: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/FileType.ts b/src/api-types/models/FileType.ts index c220762..0b79b13 100644 --- a/src/api-types/models/FileType.ts +++ b/src/api-types/models/FileType.ts @@ -5,4 +5,4 @@ export enum FileType { AUDIO = 'audio', VIDEO = 'video', -} \ No newline at end of file +} diff --git a/src/api-types/models/FileTypeFilter.ts b/src/api-types/models/FileTypeFilter.ts index d1fac98..eea3f12 100644 --- a/src/api-types/models/FileTypeFilter.ts +++ b/src/api-types/models/FileTypeFilter.ts @@ -6,4 +6,4 @@ export enum FileTypeFilter { AUDIO_ONLY = 'audio_only', VIDEO_ONLY = 'video_only', BOTH = 'both', -} \ No newline at end of file +} diff --git a/src/api-types/models/GenerateArgsResponse.ts b/src/api-types/models/GenerateArgsResponse.ts index 0201d16..30b0b62 100644 --- a/src/api-types/models/GenerateArgsResponse.ts +++ b/src/api-types/models/GenerateArgsResponse.ts @@ -4,4 +4,4 @@ export type GenerateArgsResponse = { args?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GenerateNewApiKeyResponse.ts b/src/api-types/models/GenerateNewApiKeyResponse.ts index 3eb90e0..334dab1 100644 --- a/src/api-types/models/GenerateNewApiKeyResponse.ts +++ b/src/api-types/models/GenerateNewApiKeyResponse.ts @@ -4,4 +4,4 @@ export type GenerateNewApiKeyResponse = { new_api_key: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllCategoriesResponse.ts b/src/api-types/models/GetAllCategoriesResponse.ts index 6623016..a45c713 100644 --- a/src/api-types/models/GetAllCategoriesResponse.ts +++ b/src/api-types/models/GetAllCategoriesResponse.ts @@ -6,4 +6,4 @@ import type { Category } from './Category'; export type GetAllCategoriesResponse = { categories: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllDownloadsRequest.ts b/src/api-types/models/GetAllDownloadsRequest.ts index fa0ea24..fe608d4 100644 --- a/src/api-types/models/GetAllDownloadsRequest.ts +++ b/src/api-types/models/GetAllDownloadsRequest.ts @@ -7,4 +7,4 @@ export type GetAllDownloadsRequest = { * Filters downloads with the array */ uids?: Array | null; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllDownloadsResponse.ts b/src/api-types/models/GetAllDownloadsResponse.ts index 16f6f8c..db2257c 100644 --- a/src/api-types/models/GetAllDownloadsResponse.ts +++ b/src/api-types/models/GetAllDownloadsResponse.ts @@ -6,4 +6,4 @@ import type { Download } from './Download'; export type GetAllDownloadsResponse = { downloads?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllFilesRequest.ts b/src/api-types/models/GetAllFilesRequest.ts index cd07f36..d86ecde 100644 --- a/src/api-types/models/GetAllFilesRequest.ts +++ b/src/api-types/models/GetAllFilesRequest.ts @@ -21,4 +21,4 @@ export type GetAllFilesRequest = { * Include if you want to filter by subscription */ sub_id?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllFilesResponse.ts b/src/api-types/models/GetAllFilesResponse.ts index 22aa333..12f5d5c 100644 --- a/src/api-types/models/GetAllFilesResponse.ts +++ b/src/api-types/models/GetAllFilesResponse.ts @@ -11,4 +11,4 @@ export type GetAllFilesResponse = { * All video playlists */ playlists: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllSubscriptionsResponse.ts b/src/api-types/models/GetAllSubscriptionsResponse.ts index 4c2d1a8..a7cb064 100644 --- a/src/api-types/models/GetAllSubscriptionsResponse.ts +++ b/src/api-types/models/GetAllSubscriptionsResponse.ts @@ -6,4 +6,4 @@ import type { Subscription } from './Subscription'; export type GetAllSubscriptionsResponse = { subscriptions: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetAllTasksResponse.ts b/src/api-types/models/GetAllTasksResponse.ts index 9bbd394..28b8b04 100644 --- a/src/api-types/models/GetAllTasksResponse.ts +++ b/src/api-types/models/GetAllTasksResponse.ts @@ -6,4 +6,4 @@ import type { Task } from './Task'; export type GetAllTasksResponse = { tasks?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetArchivesRequest.ts b/src/api-types/models/GetArchivesRequest.ts index 5a0d132..0ce245a 100644 --- a/src/api-types/models/GetArchivesRequest.ts +++ b/src/api-types/models/GetArchivesRequest.ts @@ -7,4 +7,4 @@ import type { FileType } from './FileType'; export type GetArchivesRequest = { type?: FileType; sub_id?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetArchivesResponse.ts b/src/api-types/models/GetArchivesResponse.ts index 953807c..4c0e1ce 100644 --- a/src/api-types/models/GetArchivesResponse.ts +++ b/src/api-types/models/GetArchivesResponse.ts @@ -6,4 +6,4 @@ import type { Archive } from './Archive'; export type GetArchivesResponse = { archives: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetDBBackupsResponse.ts b/src/api-types/models/GetDBBackupsResponse.ts index 0ec58d8..3e0c0ec 100644 --- a/src/api-types/models/GetDBBackupsResponse.ts +++ b/src/api-types/models/GetDBBackupsResponse.ts @@ -6,4 +6,4 @@ import type { DBBackup } from './DBBackup'; export type GetDBBackupsResponse = { tasks?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetDownloadRequest.ts b/src/api-types/models/GetDownloadRequest.ts index e166f9f..3e2df4e 100644 --- a/src/api-types/models/GetDownloadRequest.ts +++ b/src/api-types/models/GetDownloadRequest.ts @@ -4,4 +4,4 @@ export type GetDownloadRequest = { download_uid: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetDownloadResponse.ts b/src/api-types/models/GetDownloadResponse.ts index c6eeb51..9495cc2 100644 --- a/src/api-types/models/GetDownloadResponse.ts +++ b/src/api-types/models/GetDownloadResponse.ts @@ -6,4 +6,4 @@ import type { Download } from './Download'; export type GetDownloadResponse = { download?: Download; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetFileFormatsRequest.ts b/src/api-types/models/GetFileFormatsRequest.ts index 3b9fa54..45cbeb7 100644 --- a/src/api-types/models/GetFileFormatsRequest.ts +++ b/src/api-types/models/GetFileFormatsRequest.ts @@ -4,4 +4,4 @@ export type GetFileFormatsRequest = { url?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetFileFormatsResponse.ts b/src/api-types/models/GetFileFormatsResponse.ts index d195660..34e5059 100644 --- a/src/api-types/models/GetFileFormatsResponse.ts +++ b/src/api-types/models/GetFileFormatsResponse.ts @@ -5,6 +5,6 @@ export type GetFileFormatsResponse = { success: boolean; result: { -formats?: Array; +formats?: Array>; +}; }; -}; \ No newline at end of file diff --git a/src/api-types/models/GetFileRequest.ts b/src/api-types/models/GetFileRequest.ts index 6c3e0cb..085dab9 100644 --- a/src/api-types/models/GetFileRequest.ts +++ b/src/api-types/models/GetFileRequest.ts @@ -14,4 +14,4 @@ export type GetFileRequest = { * User UID */ uuid?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetFileResponse.ts b/src/api-types/models/GetFileResponse.ts index ad64755..b62f1c6 100644 --- a/src/api-types/models/GetFileResponse.ts +++ b/src/api-types/models/GetFileResponse.ts @@ -7,4 +7,4 @@ import type { DatabaseFile } from './DatabaseFile'; export type GetFileResponse = { success: boolean; file?: DatabaseFile; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetFullTwitchChatRequest.ts b/src/api-types/models/GetFullTwitchChatRequest.ts index 0b10d98..4e6efa9 100644 --- a/src/api-types/models/GetFullTwitchChatRequest.ts +++ b/src/api-types/models/GetFullTwitchChatRequest.ts @@ -16,4 +16,4 @@ export type GetFullTwitchChatRequest = { */ uuid?: string; sub?: Subscription; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetFullTwitchChatResponse.ts b/src/api-types/models/GetFullTwitchChatResponse.ts index 1f52375..a894650 100644 --- a/src/api-types/models/GetFullTwitchChatResponse.ts +++ b/src/api-types/models/GetFullTwitchChatResponse.ts @@ -5,4 +5,4 @@ export type GetFullTwitchChatResponse = { success: boolean; error?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetLogsRequest.ts b/src/api-types/models/GetLogsRequest.ts index e5029ee..ef6800b 100644 --- a/src/api-types/models/GetLogsRequest.ts +++ b/src/api-types/models/GetLogsRequest.ts @@ -4,4 +4,4 @@ export type GetLogsRequest = { lines?: number; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetLogsResponse.ts b/src/api-types/models/GetLogsResponse.ts index 760d5f4..255ec9c 100644 --- a/src/api-types/models/GetLogsResponse.ts +++ b/src/api-types/models/GetLogsResponse.ts @@ -8,4 +8,4 @@ export type GetLogsResponse = { */ logs?: string; success?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetMp3sResponse.ts b/src/api-types/models/GetMp3sResponse.ts index ed63f48..cecafb1 100644 --- a/src/api-types/models/GetMp3sResponse.ts +++ b/src/api-types/models/GetMp3sResponse.ts @@ -11,4 +11,4 @@ export type GetMp3sResponse = { * All audio playlists */ playlists: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetMp4sResponse.ts b/src/api-types/models/GetMp4sResponse.ts index bfa0ed0..9a763da 100644 --- a/src/api-types/models/GetMp4sResponse.ts +++ b/src/api-types/models/GetMp4sResponse.ts @@ -11,4 +11,4 @@ export type GetMp4sResponse = { * All video playlists */ playlists: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetNotificationsResponse.ts b/src/api-types/models/GetNotificationsResponse.ts index 1a018cd..35d7469 100644 --- a/src/api-types/models/GetNotificationsResponse.ts +++ b/src/api-types/models/GetNotificationsResponse.ts @@ -6,4 +6,4 @@ import type { Notification } from './Notification'; export type GetNotificationsResponse = { notifications?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetPlaylistRequest.ts b/src/api-types/models/GetPlaylistRequest.ts index 51c85bd..335d1cd 100644 --- a/src/api-types/models/GetPlaylistRequest.ts +++ b/src/api-types/models/GetPlaylistRequest.ts @@ -9,4 +9,4 @@ export type GetPlaylistRequest = { type?: FileType; uuid?: string; include_file_metadata?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetPlaylistResponse.ts b/src/api-types/models/GetPlaylistResponse.ts index 14ff0c0..7c9e2d1 100644 --- a/src/api-types/models/GetPlaylistResponse.ts +++ b/src/api-types/models/GetPlaylistResponse.ts @@ -12,4 +12,4 @@ export type GetPlaylistResponse = { * File objects for every uid in the playlist's uids property, in the same order */ file_objs?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetPlaylistsRequest.ts b/src/api-types/models/GetPlaylistsRequest.ts index 50edba9..1de88b6 100644 --- a/src/api-types/models/GetPlaylistsRequest.ts +++ b/src/api-types/models/GetPlaylistsRequest.ts @@ -4,4 +4,4 @@ export type GetPlaylistsRequest = { include_categories?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetPlaylistsResponse.ts b/src/api-types/models/GetPlaylistsResponse.ts index 7d5a4d4..294360c 100644 --- a/src/api-types/models/GetPlaylistsResponse.ts +++ b/src/api-types/models/GetPlaylistsResponse.ts @@ -6,4 +6,4 @@ import type { Playlist } from './Playlist'; export type GetPlaylistsResponse = { playlists: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetRolesResponse.ts b/src/api-types/models/GetRolesResponse.ts index cddc679..3ab5ab7 100644 --- a/src/api-types/models/GetRolesResponse.ts +++ b/src/api-types/models/GetRolesResponse.ts @@ -13,4 +13,4 @@ user?: { permissions?: Array; }; }; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetSubscriptionRequest.ts b/src/api-types/models/GetSubscriptionRequest.ts index 3a9bf63..19fc36a 100644 --- a/src/api-types/models/GetSubscriptionRequest.ts +++ b/src/api-types/models/GetSubscriptionRequest.ts @@ -11,4 +11,4 @@ export type GetSubscriptionRequest = { * Subscription name */ name?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetSubscriptionResponse.ts b/src/api-types/models/GetSubscriptionResponse.ts index 7b6663d..3801205 100644 --- a/src/api-types/models/GetSubscriptionResponse.ts +++ b/src/api-types/models/GetSubscriptionResponse.ts @@ -6,5 +6,5 @@ import type { Subscription } from './Subscription'; export type GetSubscriptionResponse = { subscription: Subscription; - files: Array; -}; \ No newline at end of file + files: Array>; +}; diff --git a/src/api-types/models/GetTaskRequest.ts b/src/api-types/models/GetTaskRequest.ts index 5602d3c..a188892 100644 --- a/src/api-types/models/GetTaskRequest.ts +++ b/src/api-types/models/GetTaskRequest.ts @@ -4,4 +4,4 @@ export type GetTaskRequest = { task_key: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetTaskResponse.ts b/src/api-types/models/GetTaskResponse.ts index a901123..850ee05 100644 --- a/src/api-types/models/GetTaskResponse.ts +++ b/src/api-types/models/GetTaskResponse.ts @@ -6,4 +6,4 @@ import type { Task } from './Task'; export type GetTaskResponse = { task?: Task; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/GetUsersResponse.ts b/src/api-types/models/GetUsersResponse.ts index 5a18ec7..5e13f1a 100644 --- a/src/api-types/models/GetUsersResponse.ts +++ b/src/api-types/models/GetUsersResponse.ts @@ -6,4 +6,4 @@ import type { User } from './User'; export type GetUsersResponse = { users: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/ImportArchiveRequest.ts b/src/api-types/models/ImportArchiveRequest.ts index 7c00028..05c6e1a 100644 --- a/src/api-types/models/ImportArchiveRequest.ts +++ b/src/api-types/models/ImportArchiveRequest.ts @@ -8,4 +8,4 @@ export type ImportArchiveRequest = { archive: string; type: FileType; sub_id?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/IncrementViewCountRequest.ts b/src/api-types/models/IncrementViewCountRequest.ts index 19011c1..d49d2c2 100644 --- a/src/api-types/models/IncrementViewCountRequest.ts +++ b/src/api-types/models/IncrementViewCountRequest.ts @@ -9,4 +9,4 @@ export type IncrementViewCountRequest = { * User UID */ uuid?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/LoginRequest.ts b/src/api-types/models/LoginRequest.ts index 544a1a2..44c2ae8 100644 --- a/src/api-types/models/LoginRequest.ts +++ b/src/api-types/models/LoginRequest.ts @@ -5,4 +5,4 @@ export type LoginRequest = { username: string; password: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/LoginResponse.ts b/src/api-types/models/LoginResponse.ts index cd4b380..6521ed7 100644 --- a/src/api-types/models/LoginResponse.ts +++ b/src/api-types/models/LoginResponse.ts @@ -10,4 +10,4 @@ export type LoginResponse = { token?: string; permissions?: Array; available_permissions?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Notification.ts b/src/api-types/models/Notification.ts index ce99fe6..6ad7425 100644 --- a/src/api-types/models/Notification.ts +++ b/src/api-types/models/Notification.ts @@ -11,6 +11,6 @@ export type Notification = { user_uid?: string; action?: Array; read: boolean; - data?: any; + data?: Record; timestamp: number; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/NotificationAction.ts b/src/api-types/models/NotificationAction.ts index 9f97b41..8313aaf 100644 --- a/src/api-types/models/NotificationAction.ts +++ b/src/api-types/models/NotificationAction.ts @@ -7,4 +7,4 @@ export enum NotificationAction { RETRY_DOWNLOAD = 'retry_download', VIEW_DOWNLOAD_ERROR = 'view_download_error', VIEW_TASKS = 'view_tasks', -} \ No newline at end of file +} diff --git a/src/api-types/models/NotificationType.ts b/src/api-types/models/NotificationType.ts index 26cfee9..e773485 100644 --- a/src/api-types/models/NotificationType.ts +++ b/src/api-types/models/NotificationType.ts @@ -6,4 +6,4 @@ export enum NotificationType { DOWNLOAD_COMPLETE = 'download_complete', DOWNLOAD_ERROR = 'download_error', TASK_FINISHED = 'task_finished', -} \ No newline at end of file +} diff --git a/src/api-types/models/Playlist.ts b/src/api-types/models/Playlist.ts index bdbd0f6..cff083a 100644 --- a/src/api-types/models/Playlist.ts +++ b/src/api-types/models/Playlist.ts @@ -15,4 +15,4 @@ export type Playlist = { user_uid?: string; auto?: boolean; sharingEnabled?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/RegisterRequest.ts b/src/api-types/models/RegisterRequest.ts index 0cd5a87..5508dc4 100644 --- a/src/api-types/models/RegisterRequest.ts +++ b/src/api-types/models/RegisterRequest.ts @@ -6,4 +6,4 @@ export type RegisterRequest = { userid: string; username: string; password: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/RegisterResponse.ts b/src/api-types/models/RegisterResponse.ts index 62d0387..518c62b 100644 --- a/src/api-types/models/RegisterResponse.ts +++ b/src/api-types/models/RegisterResponse.ts @@ -6,4 +6,4 @@ import type { User } from './User'; export type RegisterResponse = { user?: User; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/RestartDownloadResponse.ts b/src/api-types/models/RestartDownloadResponse.ts index 1cb0233..ec08704 100644 --- a/src/api-types/models/RestartDownloadResponse.ts +++ b/src/api-types/models/RestartDownloadResponse.ts @@ -6,4 +6,4 @@ import type { SuccessObject } from './SuccessObject'; export type RestartDownloadResponse = (SuccessObject & { new_download_uid?: string; -}); \ No newline at end of file +}); diff --git a/src/api-types/models/RestoreDBBackupRequest.ts b/src/api-types/models/RestoreDBBackupRequest.ts index 6804f46..9ae2ad3 100644 --- a/src/api-types/models/RestoreDBBackupRequest.ts +++ b/src/api-types/models/RestoreDBBackupRequest.ts @@ -4,4 +4,4 @@ export type RestoreDBBackupRequest = { file_name: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Schedule.ts b/src/api-types/models/Schedule.ts index a16fc5f..3138c83 100644 --- a/src/api-types/models/Schedule.ts +++ b/src/api-types/models/Schedule.ts @@ -21,4 +21,4 @@ export namespace Schedule { } -} \ No newline at end of file +} diff --git a/src/api-types/models/SetConfigRequest.ts b/src/api-types/models/SetConfigRequest.ts index e0edf66..f4388a5 100644 --- a/src/api-types/models/SetConfigRequest.ts +++ b/src/api-types/models/SetConfigRequest.ts @@ -6,4 +6,4 @@ import type { Config } from './Config'; export type SetConfigRequest = { new_config_file: Config; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/SetNotificationsToReadRequest.ts b/src/api-types/models/SetNotificationsToReadRequest.ts index 83f5948..8865af9 100644 --- a/src/api-types/models/SetNotificationsToReadRequest.ts +++ b/src/api-types/models/SetNotificationsToReadRequest.ts @@ -4,4 +4,4 @@ export type SetNotificationsToReadRequest = { uids: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/SharingToggle.ts b/src/api-types/models/SharingToggle.ts index 8c486f5..68249d7 100644 --- a/src/api-types/models/SharingToggle.ts +++ b/src/api-types/models/SharingToggle.ts @@ -5,4 +5,4 @@ export type SharingToggle = { uid: string; is_playlist?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Sort.ts b/src/api-types/models/Sort.ts index 438f884..e8107e8 100644 --- a/src/api-types/models/Sort.ts +++ b/src/api-types/models/Sort.ts @@ -11,4 +11,4 @@ export type Sort = { * 1 for ascending, -1 for descending */ order?: number; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/SubscribeRequest.ts b/src/api-types/models/SubscribeRequest.ts index d7490bf..69b25f3 100644 --- a/src/api-types/models/SubscribeRequest.ts +++ b/src/api-types/models/SubscribeRequest.ts @@ -10,4 +10,4 @@ export type SubscribeRequest = { customArgs?: string; customFileOutput?: string; maxQuality?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/SubscribeResponse.ts b/src/api-types/models/SubscribeResponse.ts index 0440340..aab560a 100644 --- a/src/api-types/models/SubscribeResponse.ts +++ b/src/api-types/models/SubscribeResponse.ts @@ -7,4 +7,4 @@ import type { Subscription } from './Subscription'; export type SubscribeResponse = { new_sub: Subscription; error?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Subscription.ts b/src/api-types/models/Subscription.ts index 2e280d8..bffb738 100644 --- a/src/api-types/models/Subscription.ts +++ b/src/api-types/models/Subscription.ts @@ -15,5 +15,5 @@ export type Subscription = { timerange?: string; custom_args?: string; custom_output?: string; - videos: Array; -}; \ No newline at end of file + videos: Array>; +}; diff --git a/src/api-types/models/SubscriptionRequestData.ts b/src/api-types/models/SubscriptionRequestData.ts index a7c9650..2bc3591 100644 --- a/src/api-types/models/SubscriptionRequestData.ts +++ b/src/api-types/models/SubscriptionRequestData.ts @@ -10,4 +10,4 @@ export type SubscriptionRequestData = { type?: FileType; isPlaylist?: boolean; archive?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/SuccessObject.ts b/src/api-types/models/SuccessObject.ts index 9cfdf8b..c736856 100644 --- a/src/api-types/models/SuccessObject.ts +++ b/src/api-types/models/SuccessObject.ts @@ -5,4 +5,4 @@ export type SuccessObject = { success: boolean; error?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/TableInfo.ts b/src/api-types/models/TableInfo.ts index 58b651a..dada036 100644 --- a/src/api-types/models/TableInfo.ts +++ b/src/api-types/models/TableInfo.ts @@ -4,4 +4,4 @@ export type TableInfo = { records_count?: number; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/Task.ts b/src/api-types/models/Task.ts index 4b85095..de94b6f 100644 --- a/src/api-types/models/Task.ts +++ b/src/api-types/models/Task.ts @@ -9,8 +9,8 @@ export type Task = { last_confirmed: number; running: boolean; confirming: boolean; - data: any; + data: Record; error: string; - schedule: any; - options?: any; -}; \ No newline at end of file + schedule: Record; + options?: Record; +}; diff --git a/src/api-types/models/TestConnectionStringRequest.ts b/src/api-types/models/TestConnectionStringRequest.ts index af83b84..5822bbc 100644 --- a/src/api-types/models/TestConnectionStringRequest.ts +++ b/src/api-types/models/TestConnectionStringRequest.ts @@ -7,4 +7,4 @@ export type TestConnectionStringRequest = { * MongoDB connection string */ connection_string: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/TestConnectionStringResponse.ts b/src/api-types/models/TestConnectionStringResponse.ts index 745d63f..fac7d24 100644 --- a/src/api-types/models/TestConnectionStringResponse.ts +++ b/src/api-types/models/TestConnectionStringResponse.ts @@ -5,4 +5,4 @@ export type TestConnectionStringResponse = { success: boolean; error?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/TransferDBRequest.ts b/src/api-types/models/TransferDBRequest.ts index 5119252..4e11d06 100644 --- a/src/api-types/models/TransferDBRequest.ts +++ b/src/api-types/models/TransferDBRequest.ts @@ -7,4 +7,4 @@ export type TransferDBRequest = { * True if transfering DB from Local to MongoDB, false if transferring DB from MongoDB to Local */ local_to_remote: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/TransferDBResponse.ts b/src/api-types/models/TransferDBResponse.ts index ab744d4..25b35d8 100644 --- a/src/api-types/models/TransferDBResponse.ts +++ b/src/api-types/models/TransferDBResponse.ts @@ -5,4 +5,4 @@ export type TransferDBResponse = { success: boolean; error?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/TwitchChatMessage.ts b/src/api-types/models/TwitchChatMessage.ts index cc7efd7..1405287 100644 --- a/src/api-types/models/TwitchChatMessage.ts +++ b/src/api-types/models/TwitchChatMessage.ts @@ -14,4 +14,4 @@ created_at?: string; body?: string; user_color?: string; }; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UnsubscribeRequest.ts b/src/api-types/models/UnsubscribeRequest.ts index ffc939c..9eed3c5 100644 --- a/src/api-types/models/UnsubscribeRequest.ts +++ b/src/api-types/models/UnsubscribeRequest.ts @@ -10,4 +10,4 @@ export type UnsubscribeRequest = { * Defaults to false */ deleteMode?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UnsubscribeResponse.ts b/src/api-types/models/UnsubscribeResponse.ts index 6eb1c36..18bc079 100644 --- a/src/api-types/models/UnsubscribeResponse.ts +++ b/src/api-types/models/UnsubscribeResponse.ts @@ -5,4 +5,4 @@ export type UnsubscribeResponse = { success: boolean; error?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateCategoriesRequest.ts b/src/api-types/models/UpdateCategoriesRequest.ts index 6a611ab..b530ee4 100644 --- a/src/api-types/models/UpdateCategoriesRequest.ts +++ b/src/api-types/models/UpdateCategoriesRequest.ts @@ -6,4 +6,4 @@ import type { Category } from './Category'; export type UpdateCategoriesRequest = { categories: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateCategoryRequest.ts b/src/api-types/models/UpdateCategoryRequest.ts index 7b3e1cb..9d92406 100644 --- a/src/api-types/models/UpdateCategoryRequest.ts +++ b/src/api-types/models/UpdateCategoryRequest.ts @@ -6,4 +6,4 @@ import type { Category } from './Category'; export type UpdateCategoryRequest = { category: Category; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateConcurrentStreamRequest.ts b/src/api-types/models/UpdateConcurrentStreamRequest.ts index ce78768..a98d258 100644 --- a/src/api-types/models/UpdateConcurrentStreamRequest.ts +++ b/src/api-types/models/UpdateConcurrentStreamRequest.ts @@ -9,4 +9,4 @@ export type UpdateConcurrentStreamRequest = (ConcurrentStream & { * Concurrent stream UID */ uid: string; -}); \ No newline at end of file +}); diff --git a/src/api-types/models/UpdateConcurrentStreamResponse.ts b/src/api-types/models/UpdateConcurrentStreamResponse.ts index f3dc88d..4a40fb0 100644 --- a/src/api-types/models/UpdateConcurrentStreamResponse.ts +++ b/src/api-types/models/UpdateConcurrentStreamResponse.ts @@ -6,4 +6,4 @@ import type { ConcurrentStream } from './ConcurrentStream'; export type UpdateConcurrentStreamResponse = { stream: ConcurrentStream; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateFileRequest.ts b/src/api-types/models/UpdateFileRequest.ts index cada2e5..b5bb188 100644 --- a/src/api-types/models/UpdateFileRequest.ts +++ b/src/api-types/models/UpdateFileRequest.ts @@ -10,5 +10,5 @@ export type UpdateFileRequest = { /** * Object with fields to update as keys and their new values */ - change_obj: any; -}; \ No newline at end of file + change_obj: Record; +}; diff --git a/src/api-types/models/UpdatePlaylistRequest.ts b/src/api-types/models/UpdatePlaylistRequest.ts index ba015b3..b16dec6 100644 --- a/src/api-types/models/UpdatePlaylistRequest.ts +++ b/src/api-types/models/UpdatePlaylistRequest.ts @@ -6,4 +6,4 @@ import type { Playlist } from './Playlist'; export type UpdatePlaylistRequest = { playlist: Playlist; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateServerRequest.ts b/src/api-types/models/UpdateServerRequest.ts index 8239869..92d95bb 100644 --- a/src/api-types/models/UpdateServerRequest.ts +++ b/src/api-types/models/UpdateServerRequest.ts @@ -4,4 +4,4 @@ export type UpdateServerRequest = { tag: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateTaskDataRequest.ts b/src/api-types/models/UpdateTaskDataRequest.ts index afe9b54..c52509c 100644 --- a/src/api-types/models/UpdateTaskDataRequest.ts +++ b/src/api-types/models/UpdateTaskDataRequest.ts @@ -4,5 +4,5 @@ export type UpdateTaskDataRequest = { task_key: string; - new_data: any; -}; \ No newline at end of file + new_data: Record; +}; diff --git a/src/api-types/models/UpdateTaskOptionsRequest.ts b/src/api-types/models/UpdateTaskOptionsRequest.ts index 47cde2d..50ae9e8 100644 --- a/src/api-types/models/UpdateTaskOptionsRequest.ts +++ b/src/api-types/models/UpdateTaskOptionsRequest.ts @@ -4,5 +4,5 @@ export type UpdateTaskOptionsRequest = { task_key: string; - new_options: any; -}; \ No newline at end of file + new_options: Record; +}; diff --git a/src/api-types/models/UpdateTaskScheduleRequest.ts b/src/api-types/models/UpdateTaskScheduleRequest.ts index 62d8775..fb27cd8 100644 --- a/src/api-types/models/UpdateTaskScheduleRequest.ts +++ b/src/api-types/models/UpdateTaskScheduleRequest.ts @@ -7,4 +7,4 @@ import type { Schedule } from './Schedule'; export type UpdateTaskScheduleRequest = { task_key: string; new_schedule: Schedule; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateUserRequest.ts b/src/api-types/models/UpdateUserRequest.ts index db522c6..31b9b33 100644 --- a/src/api-types/models/UpdateUserRequest.ts +++ b/src/api-types/models/UpdateUserRequest.ts @@ -8,4 +8,4 @@ uid: string; name?: string; role?: string; }; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdaterStatus.ts b/src/api-types/models/UpdaterStatus.ts index 47a2e99..01db98d 100644 --- a/src/api-types/models/UpdaterStatus.ts +++ b/src/api-types/models/UpdaterStatus.ts @@ -6,4 +6,4 @@ export type UpdaterStatus = { updating: boolean; details: string; error?: boolean; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UploadCookiesRequest.ts b/src/api-types/models/UploadCookiesRequest.ts index f65420d..e240063 100644 --- a/src/api-types/models/UploadCookiesRequest.ts +++ b/src/api-types/models/UploadCookiesRequest.ts @@ -4,4 +4,4 @@ export type UploadCookiesRequest = { cookies: Blob; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/User.ts b/src/api-types/models/User.ts index aa9802e..6436ccc 100644 --- a/src/api-types/models/User.ts +++ b/src/api-types/models/User.ts @@ -14,4 +14,4 @@ export type User = { role?: string; permissions?: Array; permission_overrides?: Array; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UserPermission.ts b/src/api-types/models/UserPermission.ts index ca8df45..ba153d6 100644 --- a/src/api-types/models/UserPermission.ts +++ b/src/api-types/models/UserPermission.ts @@ -9,4 +9,5 @@ export enum UserPermission { SHARING = 'sharing', ADVANCED_DOWNLOAD = 'advanced_download', DOWNLOADS_MANAGER = 'downloads_manager', -} \ No newline at end of file + TASKS_MANAGER = 'tasks_manager', +} diff --git a/src/api-types/models/Version.ts b/src/api-types/models/Version.ts index 37c4289..1b2fda0 100644 --- a/src/api-types/models/Version.ts +++ b/src/api-types/models/Version.ts @@ -7,4 +7,4 @@ export type Version = { tag?: string; commit?: string; date?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/VersionInfoResponse.ts b/src/api-types/models/VersionInfoResponse.ts index 20d77da..0a291be 100644 --- a/src/api-types/models/VersionInfoResponse.ts +++ b/src/api-types/models/VersionInfoResponse.ts @@ -6,4 +6,4 @@ import type { Version } from './Version'; export type VersionInfoResponse = { version_info: Version; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/YesNo.ts b/src/api-types/models/YesNo.ts index b30f848..09bce39 100644 --- a/src/api-types/models/YesNo.ts +++ b/src/api-types/models/YesNo.ts @@ -5,4 +5,4 @@ export enum YesNo { YES = 'yes', NO = 'no', -} \ No newline at end of file +} diff --git a/src/api-types/models/binary.ts b/src/api-types/models/binary.ts index e8c6812..0f97ae2 100644 --- a/src/api-types/models/binary.ts +++ b/src/api-types/models/binary.ts @@ -4,4 +4,4 @@ export type binary = { id?: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/body_19.ts b/src/api-types/models/body_19.ts index 69df745..09ed602 100644 --- a/src/api-types/models/body_19.ts +++ b/src/api-types/models/body_19.ts @@ -4,4 +4,4 @@ export type body_19 = { input_pin: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/body_20.ts b/src/api-types/models/body_20.ts index be997a7..66f9ec3 100644 --- a/src/api-types/models/body_20.ts +++ b/src/api-types/models/body_20.ts @@ -4,4 +4,4 @@ export type body_20 = { unhashed_pin: string; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/inline_response_200_15.ts b/src/api-types/models/inline_response_200_15.ts index c8d731d..957fa1c 100644 --- a/src/api-types/models/inline_response_200_15.ts +++ b/src/api-types/models/inline_response_200_15.ts @@ -4,4 +4,4 @@ export type inline_response_200_15 = { is_set: boolean; -}; \ No newline at end of file +};