From a2b5484b75594969e07d1ad5ad8c68b9f71ea086 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Sun, 26 Mar 2023 00:52:55 -0400 Subject: [PATCH] Updated OpenAPI version --- package-lock.json | 150 +++++++++++------- package.json | 2 +- .../models/AddFileToPlaylistRequest.ts | 2 +- .../models/BaseChangePermissionsRequest.ts | 2 +- src/api-types/models/Category.ts | 2 +- src/api-types/models/CategoryRule.ts | 2 +- .../models/ChangeRolePermissionsRequest.ts | 2 +- .../models/ChangeUserPermissionsRequest.ts | 2 +- .../models/CheckConcurrentStreamRequest.ts | 2 +- .../models/CheckConcurrentStreamResponse.ts | 2 +- src/api-types/models/ClearDownloadsRequest.ts | 2 +- src/api-types/models/ConcurrentStream.ts | 2 +- src/api-types/models/Config.ts | 2 +- src/api-types/models/ConfigResponse.ts | 2 +- src/api-types/models/CreateCategoryRequest.ts | 2 +- .../models/CreateCategoryResponse.ts | 2 +- src/api-types/models/CreatePlaylistRequest.ts | 2 +- .../models/CreatePlaylistResponse.ts | 2 +- src/api-types/models/CropFileSettings.ts | 2 +- src/api-types/models/DBBackup.ts | 2 +- src/api-types/models/DBInfoResponse.ts | 3 +- src/api-types/models/DatabaseFile.ts | 2 +- .../models/DeleteAllFilesResponse.ts | 2 +- src/api-types/models/DeleteCategoryRequest.ts | 2 +- src/api-types/models/DeleteMp3Mp4Request.ts | 2 +- .../models/DeleteNotificationRequest.ts | 2 +- src/api-types/models/DeletePlaylistRequest.ts | 2 +- .../models/DeleteSubscriptionFileRequest.ts | 2 +- src/api-types/models/DeleteUserRequest.ts | 2 +- src/api-types/models/Download.ts | 6 +- .../models/DownloadArchiveRequest.ts | 2 +- src/api-types/models/DownloadFileRequest.ts | 2 +- src/api-types/models/DownloadRequest.ts | 6 +- src/api-types/models/DownloadResponse.ts | 2 +- .../DownloadTwitchChatByVODIDRequest.ts | 2 +- .../DownloadTwitchChatByVODIDResponse.ts | 2 +- .../DownloadVideosForSubscriptionRequest.ts | 2 +- src/api-types/models/FileType.ts | 2 +- src/api-types/models/FileTypeFilter.ts | 2 +- src/api-types/models/GenerateArgsResponse.ts | 2 +- .../models/GenerateNewApiKeyResponse.ts | 2 +- .../models/GetAllCategoriesResponse.ts | 2 +- .../models/GetAllDownloadsRequest.ts | 2 +- .../models/GetAllDownloadsResponse.ts | 2 +- src/api-types/models/GetAllFilesRequest.ts | 2 +- src/api-types/models/GetAllFilesResponse.ts | 2 +- .../models/GetAllSubscriptionsResponse.ts | 2 +- src/api-types/models/GetAllTasksResponse.ts | 2 +- src/api-types/models/GetDBBackupsResponse.ts | 2 +- src/api-types/models/GetDownloadRequest.ts | 2 +- src/api-types/models/GetDownloadResponse.ts | 2 +- src/api-types/models/GetFileFormatsRequest.ts | 2 +- .../models/GetFileFormatsResponse.ts | 2 +- src/api-types/models/GetFileRequest.ts | 2 +- src/api-types/models/GetFileResponse.ts | 2 +- .../models/GetFullTwitchChatRequest.ts | 2 +- .../models/GetFullTwitchChatResponse.ts | 2 +- src/api-types/models/GetLogsRequest.ts | 2 +- src/api-types/models/GetLogsResponse.ts | 2 +- src/api-types/models/GetMp3sResponse.ts | 2 +- src/api-types/models/GetMp4sResponse.ts | 2 +- .../models/GetNotificationsResponse.ts | 2 +- src/api-types/models/GetPlaylistRequest.ts | 2 +- src/api-types/models/GetPlaylistResponse.ts | 2 +- src/api-types/models/GetPlaylistsRequest.ts | 2 +- src/api-types/models/GetPlaylistsResponse.ts | 2 +- src/api-types/models/GetRolesResponse.ts | 2 +- .../models/GetSubscriptionRequest.ts | 2 +- .../models/GetSubscriptionResponse.ts | 2 +- src/api-types/models/GetTaskRequest.ts | 2 +- src/api-types/models/GetTaskResponse.ts | 2 +- src/api-types/models/GetUsersResponse.ts | 2 +- .../models/IncrementViewCountRequest.ts | 2 +- src/api-types/models/LoginRequest.ts | 2 +- src/api-types/models/LoginResponse.ts | 2 +- src/api-types/models/Notification.ts | 2 +- src/api-types/models/NotificationAction.ts | 2 +- src/api-types/models/NotificationType.ts | 2 +- src/api-types/models/Playlist.ts | 2 +- src/api-types/models/RegisterRequest.ts | 2 +- src/api-types/models/RegisterResponse.ts | 2 +- .../models/RestoreDBBackupRequest.ts | 2 +- src/api-types/models/Schedule.ts | 2 +- src/api-types/models/SetConfigRequest.ts | 2 +- .../models/SetNotificationsToReadRequest.ts | 2 +- src/api-types/models/SharingToggle.ts | 2 +- src/api-types/models/Sort.ts | 2 +- src/api-types/models/SubscribeRequest.ts | 2 +- src/api-types/models/SubscribeResponse.ts | 2 +- src/api-types/models/Subscription.ts | 2 +- .../models/SubscriptionRequestData.ts | 2 +- src/api-types/models/SuccessObject.ts | 2 +- src/api-types/models/TableInfo.ts | 2 +- src/api-types/models/Task.ts | 2 +- .../models/TestConnectionStringRequest.ts | 2 +- .../models/TestConnectionStringResponse.ts | 2 +- src/api-types/models/TransferDBRequest.ts | 2 +- src/api-types/models/TransferDBResponse.ts | 2 +- src/api-types/models/TwitchChatMessage.ts | 2 +- src/api-types/models/UnsubscribeRequest.ts | 2 +- src/api-types/models/UnsubscribeResponse.ts | 2 +- .../models/UpdateCategoriesRequest.ts | 2 +- src/api-types/models/UpdateCategoryRequest.ts | 2 +- .../models/UpdateConcurrentStreamRequest.ts | 2 +- .../models/UpdateConcurrentStreamResponse.ts | 2 +- src/api-types/models/UpdateFileRequest.ts | 2 +- src/api-types/models/UpdatePlaylistRequest.ts | 2 +- src/api-types/models/UpdateServerRequest.ts | 2 +- src/api-types/models/UpdateTaskDataRequest.ts | 2 +- .../models/UpdateTaskOptionsRequest.ts | 2 +- .../models/UpdateTaskScheduleRequest.ts | 2 +- src/api-types/models/UpdateUserRequest.ts | 2 +- src/api-types/models/UpdaterStatus.ts | 2 +- src/api-types/models/User.ts | 2 +- src/api-types/models/UserPermission.ts | 2 +- src/api-types/models/Version.ts | 2 +- src/api-types/models/VersionInfoResponse.ts | 2 +- src/api-types/models/YesNo.ts | 2 +- src/api-types/models/binary.ts | 2 +- src/api-types/models/body_19.ts | 2 +- src/api-types/models/body_20.ts | 2 +- .../models/inline_response_200_15.ts | 2 +- 122 files changed, 220 insertions(+), 181 deletions(-) diff --git a/package-lock.json b/package-lock.json index bfd80ba..9dd70d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4725,7 +4725,7 @@ "batch": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", "dev": true }, "bcrypt-pbkdf": { @@ -4907,7 +4907,7 @@ "boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", "dev": true }, "boolean": { @@ -4969,7 +4969,7 @@ "buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", "dev": true }, "buffer-from": { @@ -5007,7 +5007,7 @@ "bytes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", "dev": true }, "cacache": { @@ -5113,9 +5113,9 @@ } }, "call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", "dev": true }, "camelcase": { @@ -5352,7 +5352,7 @@ "commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, "compressible": { @@ -5391,7 +5391,7 @@ "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true } } @@ -5503,7 +5503,7 @@ "cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", "dev": true }, "copy-anything": { @@ -5847,7 +5847,7 @@ "decompress-response": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", + "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", "dev": true, "requires": { "mimic-response": "^1.0.0" @@ -5960,7 +5960,7 @@ "dns-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg==", + "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", "dev": true }, "dns-packet": { @@ -6759,7 +6759,7 @@ "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", "dev": true }, "eventemitter-asyncresource": { @@ -7059,7 +7059,7 @@ "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true } } @@ -7128,7 +7128,7 @@ "fd-slicer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", "dev": true, "requires": { "pend": "~1.2.0" @@ -7308,7 +7308,7 @@ "fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", "dev": true }, "fs-extra": { @@ -7776,7 +7776,7 @@ "hpack.js": { "version": "2.1.6", "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", + "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", "dev": true, "requires": { "inherits": "^2.0.1", @@ -7806,7 +7806,7 @@ "http-deceiver": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", + "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", "dev": true }, "http-parser-js": { @@ -7902,7 +7902,7 @@ "humanize-ms": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", "dev": true, "requires": { "ms": "^2.0.0" @@ -7967,7 +7967,7 @@ "image-size": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", + "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", "dev": true, "optional": true }, @@ -8143,7 +8143,7 @@ "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, "is-binary-path": { @@ -8199,7 +8199,7 @@ "is-lambda": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", + "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=", "dev": true }, "is-number": { @@ -8277,7 +8277,7 @@ "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true }, "isstream": { @@ -8519,7 +8519,7 @@ "json-buffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==", + "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", "dev": true }, "json-parse-even-better-errors": { @@ -8569,7 +8569,7 @@ "jsonfile": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", "dev": true, "requires": { "graceful-fs": "^4.1.6" @@ -8578,7 +8578,7 @@ "jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", "dev": true }, "jsprim": { @@ -9303,7 +9303,7 @@ "merge-descriptors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", "dev": true }, "merge-stream": { @@ -9321,7 +9321,7 @@ "methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", "dev": true }, "micromatch": { @@ -9761,7 +9761,7 @@ "normalize-range": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, "normalize-url": { @@ -9793,7 +9793,7 @@ "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "dev": true, "optional": true } @@ -10178,13 +10178,14 @@ } }, "openapi-typescript-codegen": { - "version": "0.21.0", - "resolved": "https://registry.npmjs.org/openapi-typescript-codegen/-/openapi-typescript-codegen-0.21.0.tgz", - "integrity": "sha512-wohx5b03jNfPVKocNoyzu7zVscPoRjyq/G/P5Bdtsjeze2BkXiLxd8uwkVCESQx6Sid4xihohKUgDy4MO09nsg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/openapi-typescript-codegen/-/openapi-typescript-codegen-0.23.0.tgz", + "integrity": "sha512-gOJXy5g3H3HlLpVNN+USrNK2i2KYBmDczk9Xk34u6JorwrGiDJZUj+al4S+i9TXdfUQ/ZaLxE59Xf3wqkxGfqA==", "dev": true, "requires": { "camelcase": "^6.3.0", - "commander": "^9.0.0", + "commander": "^9.3.0", + "fs-extra": "^10.1.0", "handlebars": "^4.7.7", "json-schema-ref-parser": "^9.0.9" }, @@ -10196,9 +10197,36 @@ "dev": true }, "commander": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.2.0.tgz", - "integrity": "sha512-e2i4wANQiSXgnrBlIatyHtP1odfUp0BbV5Y5nEGbxtIrStkEOAAzCUirvLBNXHLr7kwLvJl6V+4V3XV9x7Wd9w==", + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "dev": true + }, + "fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "dev": true } } @@ -10567,7 +10595,7 @@ "path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", "dev": true }, "path-type": { @@ -10579,7 +10607,7 @@ "pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", "dev": true }, "performance-now": { @@ -10764,7 +10792,7 @@ "promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", "dev": true }, "promise-retry": { @@ -10788,7 +10816,7 @@ "proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", + "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", "dev": true, "optional": true }, @@ -10874,7 +10902,8 @@ "dependencies": { "ansi-regex": { "version": "5.0.0", - "resolved": "", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", "dev": true }, "strip-ansi": { @@ -11089,7 +11118,8 @@ "dependencies": { "ansi-regex": { "version": "5.0.0", - "resolved": "", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", "dev": true }, "ansi-styles": { @@ -11170,7 +11200,7 @@ "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", "dev": true, "optional": true }, @@ -11502,7 +11532,7 @@ "responselike": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", + "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", "dev": true, "requires": { "lowercase-keys": "^1.0.0" @@ -11704,7 +11734,7 @@ "select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", - "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", + "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", "dev": true }, "selenium-webdriver": { @@ -11771,7 +11801,7 @@ "semver-compare": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==", + "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", "dev": true, "optional": true }, @@ -11907,7 +11937,7 @@ "serve-index": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", "dev": true, "requires": { "accepts": "~1.3.4", @@ -11931,7 +11961,7 @@ "http-errors": { "version": "1.6.3", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", - "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", "dev": true, "requires": { "depd": "~1.1.2", @@ -11943,13 +11973,13 @@ "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, "setprototypeof": { @@ -12645,7 +12675,7 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" }, "to-readable-stream": { "version": "1.0.0", @@ -12889,7 +12919,7 @@ "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, "typescript": { @@ -12904,9 +12934,9 @@ "dev": true }, "uglify-js": { - "version": "3.15.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.4.tgz", - "integrity": "sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==", + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", "dev": true, "optional": true }, @@ -12988,7 +13018,7 @@ "url-parse-lax": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", + "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", "dev": true, "requires": { "prepend-http": "^2.0.0" @@ -13097,7 +13127,7 @@ "wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", "dev": true, "requires": { "defaults": "^1.0.3" @@ -13346,7 +13376,7 @@ "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", "dev": true }, "wrap-ansi": { @@ -13474,7 +13504,7 @@ "yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", "dev": true, "requires": { "buffer-crc32": "~0.2.3", diff --git a/package.json b/package.json index 81da56c..a490cdb 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", - "openapi-typescript-codegen": "^0.21.0", + "openapi-typescript-codegen": "^0.23.0", "protractor": "~7.0.0", "ts-node": "~3.0.4", "tslint": "~6.1.0" 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/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..9bf8057 100644 --- a/src/api-types/models/Config.ts +++ b/src/api-types/models/Config.ts @@ -4,4 +4,4 @@ export type Config = { YoutubeDLMaterial: any; -}; \ No newline at end of file +}; 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 f368ffe..e57d595 100644 --- a/src/api-types/models/DBInfoResponse.ts +++ b/src/api-types/models/DBInfoResponse.ts @@ -14,5 +14,6 @@ subscriptions?: TableInfo; users?: TableInfo; 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/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 db447c3..84d95e5 100644 --- a/src/api-types/models/Download.ts +++ b/src/api-types/models/Download.ts @@ -19,8 +19,12 @@ export type Download = { * Error text, set if download fails. */ error?: string | null; + /** + * Error type, may or may not be set in case of an error + */ + error_type?: string | null; user_uid?: string; sub_id?: string; sub_name?: string; prefetched_info?: any; -}; \ No newline at end of file +}; 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 c7b6fe6..1f067fe 100644 --- a/src/api-types/models/DownloadRequest.ts +++ b/src/api-types/models/DownloadRequest.ts @@ -45,4 +45,8 @@ export type DownloadRequest = { maxBitrate?: string; type?: FileType; cropFileSettings?: CropFileSettings; -}; \ No newline at end of file + /** + * If using youtube-dl archive, download will ignore it + */ + ignoreArchive?: boolean; +}; 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/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..0412637 100644 --- a/src/api-types/models/GetFileFormatsResponse.ts +++ b/src/api-types/models/GetFileFormatsResponse.ts @@ -7,4 +7,4 @@ export type GetFileFormatsResponse = { result: { 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..c9931c6 100644 --- a/src/api-types/models/GetSubscriptionResponse.ts +++ b/src/api-types/models/GetSubscriptionResponse.ts @@ -7,4 +7,4 @@ import type { Subscription } from './Subscription'; export type GetSubscriptionResponse = { subscription: Subscription; files: Array; -}; \ No newline at end of file +}; 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/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..f77e917 100644 --- a/src/api-types/models/Notification.ts +++ b/src/api-types/models/Notification.ts @@ -13,4 +13,4 @@ export type Notification = { read: boolean; data?: any; 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/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..9d84e2c 100644 --- a/src/api-types/models/Subscription.ts +++ b/src/api-types/models/Subscription.ts @@ -16,4 +16,4 @@ export type Subscription = { custom_args?: string; custom_output?: string; videos: Array; -}; \ No newline at end of file +}; 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..a10e413 100644 --- a/src/api-types/models/Task.ts +++ b/src/api-types/models/Task.ts @@ -13,4 +13,4 @@ export type Task = { error: string; schedule: any; options?: any; -}; \ No newline at end of file +}; 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..224b018 100644 --- a/src/api-types/models/UpdateFileRequest.ts +++ b/src/api-types/models/UpdateFileRequest.ts @@ -11,4 +11,4 @@ export type UpdateFileRequest = { * Object with fields to update as keys and their new values */ change_obj: any; -}; \ No newline at end of file +}; 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..a9f8e99 100644 --- a/src/api-types/models/UpdateTaskDataRequest.ts +++ b/src/api-types/models/UpdateTaskDataRequest.ts @@ -5,4 +5,4 @@ export type UpdateTaskDataRequest = { task_key: string; new_data: any; -}; \ No newline at end of file +}; diff --git a/src/api-types/models/UpdateTaskOptionsRequest.ts b/src/api-types/models/UpdateTaskOptionsRequest.ts index 47cde2d..2e50f74 100644 --- a/src/api-types/models/UpdateTaskOptionsRequest.ts +++ b/src/api-types/models/UpdateTaskOptionsRequest.ts @@ -5,4 +5,4 @@ export type UpdateTaskOptionsRequest = { task_key: string; new_options: any; -}; \ No newline at end of file +}; 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/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..d19c728 100644 --- a/src/api-types/models/UserPermission.ts +++ b/src/api-types/models/UserPermission.ts @@ -9,4 +9,4 @@ export enum UserPermission { SHARING = 'sharing', ADVANCED_DOWNLOAD = 'advanced_download', DOWNLOADS_MANAGER = 'downloads_manager', -} \ No newline at end of file +} 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 +};