diff --git a/package.json b/package.json index 702689ae..9db8dc6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rettiwt-api", - "version": "4.1.0", + "version": "4.1.1", "main": "dist/index.js", "types": "dist/index.d.ts", "description": "An API for fetching data from TwitterAPI, without any rate limits!", @@ -36,7 +36,7 @@ "commander": "11.1.0", "https-proxy-agent": "7.0.2", "rettiwt-auth": "2.1.0", - "rettiwt-core": "4.3.0-alpha.0" + "rettiwt-core": "4.3.0" }, "devDependencies": { "@types/node": "20.4.1", diff --git a/src/models/args/PostArgs.ts b/src/models/args/PostArgs.ts index e29db448..fc7c0511 100644 --- a/src/models/args/PostArgs.ts +++ b/src/models/args/PostArgs.ts @@ -109,9 +109,16 @@ export class PostArgs { */ @IsEmpty({ groups: [ - EResourceType.MEDIA_UPLOAD_APPEND, - EResourceType.MEDIA_UPLOAD_FINALIZE, - EResourceType.MEDIA_UPLOAD_INITIALIZE, + EResourceType.TWEET_LIKE, + EResourceType.TWEET_POST, + EResourceType.TWEET_RETWEET, + EResourceType.TWEET_SCHEDULE, + EResourceType.TWEET_UNLIKE, + EResourceType.TWEET_UNPOST, + EResourceType.TWEET_UNRETWEET, + EResourceType.TWEET_UNSCHEDULE, + EResourceType.USER_FOLLOW, + EResourceType.USER_UNFOLLOW, ], }) @IsNotEmpty({