From 9e054488e2db7c09a634e61f451335dea7da2bd4 Mon Sep 17 00:00:00 2001 From: Altay Date: Wed, 24 Apr 2024 17:18:30 +0300 Subject: [PATCH] chore: remove unused `/files/public` endpoint usage --- src/resources/Files/File.ts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/resources/Files/File.ts b/src/resources/Files/File.ts index a78c5d0..47a5896 100644 --- a/src/resources/Files/File.ts +++ b/src/resources/Files/File.ts @@ -8,28 +8,6 @@ export default class File { this.client = client } - public Public( - oauthToken: string, - { - mp4StatusParent = 1, - videoMetadataParent = 1, - codecsParent = 1, - mediaInfoParent = 1, - } = {}, - ) { - return this.client.get('/files/public', { - params: { - codecs_parent: codecsParent, - media_info_parent: mediaInfoParent, - mp4_status_parent: mp4StatusParent, - mp4_stream_url_parent: 1, - oauth_token: oauthToken, - stream_url_parent: 1, - video_metadata_parent: videoMetadataParent, - }, - }) - } - public Download(fileId: number) { return this.client.get(`/files/${fileId}/download`) }