New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

twitch-api-types

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitch-api-types - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

api/moderation/automod.d.ts

10

api/ads.d.ts

@@ -49,7 +49,7 @@ import { Response } from './responses';

*/
snooze_refresh_at: Date;
snooze_refresh_at: string;
/**
* The UTC timestamp of the broadcaster’s next scheduled ad, in RFC3339 format. Empty if the channel has no ad scheduled or is not live.
*/
next_ad_at: Date;
next_ad_at: string;
/**

@@ -62,3 +62,3 @@ * The length in seconds of the scheduled upcoming ad break.

*/
last_ad_at: Date;
last_ad_at: string;
/**

@@ -88,9 +88,9 @@ * The amount of pre-roll free time remaining for the channel in seconds. Returns 0 if they are currently not pre-roll free.

*/
snooze_refresh_at: Date;
snooze_refresh_at: string;
/**
* The UTC timestamp of the broadcaster’s next scheduled ad, in RFC3339 format.
*/
next_ad_at: Date;
next_ad_at: string;
}[]> {
}
//# sourceMappingURL=ads.d.ts.map

@@ -21,7 +21,7 @@ import { PaginatedResponse, PaginationParams } from './responses';

*/
started_at: Date;
started_at: string;
/**
* The reporting window’s end date.
*/
ended_at: Date;
ended_at: string;
};

@@ -49,3 +49,3 @@ }

*/
started_at?: Date;
started_at?: string;
/**

@@ -56,3 +56,3 @@ * The reporting window’s end date, in RFC3339 format. Set the time portion to zeroes (for example, 2021-10-27T00:00:00Z). The report is inclusive of the end date.

*/
ended_at?: Date;
ended_at?: string;
/**

@@ -98,3 +98,3 @@ * The maximum number of report URLs to return per page in the response. The minimum page size is 1 URL per page and the maximum is 100 URLs per page. The default is 20.

*/
started_at?: Date;
started_at?: string;
/**

@@ -105,3 +105,3 @@ * The reporting window’s end date, in RFC3339 format. Set the time portion to zeroes (for example, 2021-10-22T00:00:00Z). The report is inclusive of the end date.

*/
ended_at?: Date;
ended_at?: string;
/**

@@ -108,0 +108,0 @@ * The maximum number of report URLs to return per page in the response. The minimum page size is 1 URL per page and the maximum is 100 URLs per page. The default is 20.

@@ -45,3 +45,3 @@ import { Response } from './responses';

*/
started_at?: Date;
started_at?: string;
/**

@@ -81,7 +81,7 @@ * An ID that identifies a user that cheered bits in the channel. If count is greater than 1, the response may include users ranked above and below the specified user. To get the leaderboard’s top leaders, don’t specify a user ID.

*/
started_at: Date;
started_at: string;
/**
* The reporting window’s start date.
*/
ended_at: Date;
ended_at: string;
};

@@ -88,0 +88,0 @@ /**

@@ -137,3 +137,3 @@ import { PaginatedResponse, PaginationParams, Response } from './responses';

*/
created_at: Date;
created_at: string;
}[]> {

@@ -175,3 +175,3 @@ }

*/
followed_at: Date;
followed_at: string;
}> {

@@ -207,3 +207,3 @@ /**

*/
followed_at: Date;
followed_at: string;
/**

@@ -210,0 +210,0 @@ * An ID that uniquely identifies the user that’s following the broadcaster.

@@ -10,2 +10,3 @@ export * from './ads';

export * from './cheermote';
export * from './moderation';
//# sourceMappingURL=index.d.ts.map

@@ -26,2 +26,3 @@ "use strict";

__exportStar(require("./cheermote"), exports);
__exportStar(require("./moderation"), exports);
//# sourceMappingURL=index.js.map

@@ -51,4 +51,80 @@ export declare enum APIEndpoint {

/**
* POST
*/
CheckAutoModStatus = "https://api.twitch.tv/helix/moderation/enforcements/status",
/**
* POST
*/
ManageHeldAutoModMessages = "https://api.twitch.tv/helix/moderation/automod/message",
/**
* GET
*/
GetAutoModSettings = "https://api.twitch.tv/helix/moderation/automod/settings",
/**
* PUT
*/
UpdateAutoModSettings = "https://api.twitch.tv/helix/moderation/automod/settings",
/**
* GET
*/
GetBannedUsers = "https://api.twitch.tv/helix/moderation/banned",
/**
* POST
*/
BanUser = "https://api.twitch.tv/helix/moderation/bans",
/**
* DELETE
*/
UnbanUser = "https://api.twitch.tv/helix/moderation/bans",
/**
* GET
*/
GetBlockedTerms = "https://api.twitch.tv/helix/moderation/blocked_terms",
/**
* DELETE
*/
RemoveBlockedTerms = "https://api.twitch.tv/helix/moderation/blocked_terms",
/**
* POST
*/
AddBlockedTerms = "https://api.twitch.tv/helix/moderation/blocked_terms",
/**
* GET
*/
GetModeratedChannels = "https://api.twitch.tv/helix/moderation/channels",
/**
* GET
*/
GetModerators = "https://api.twitch.tv/helix/moderation/moderators",
/**
* POST
*/
AddChannelModerator = "https://api.twitch.tv/helix/moderation/moderators",
/**
* DELETE
*/
RemoveChannelModerator = "https://api.twitch.tv/helix/moderation/moderators",
/**
* GET
*/
GetVIPs = "https://api.twitch.tv/helix/channels/vips",
/**
* POST
*/
AddChannelVIP = "https://api.twitch.tv/helix/channels/vips",
/**
* DELETE
*/
RemoveChannelVIP = "https://api.twitch.tv/helix/channels/vips",
/**
* PUT
*/
UpdateShieldModeStatus = "https://api.twitch.tv/helix/moderation/shield_mode",
/**
* GET
*/
GetShieldModeStatus = "https://api.twitch.tv/helix/moderation/shield_mode",
/**
* GET
*/
GetUsers = "https://api.twitch.tv/helix/users",

@@ -55,0 +131,0 @@ /**

@@ -59,2 +59,79 @@ "use strict";

APIEndpoint["GetChannelFollowers"] = "https://api.twitch.tv/helix/channels/followers";
// Moderation
/**
* POST
*/
APIEndpoint["CheckAutoModStatus"] = "https://api.twitch.tv/helix/moderation/enforcements/status";
/**
* POST
*/
APIEndpoint["ManageHeldAutoModMessages"] = "https://api.twitch.tv/helix/moderation/automod/message";
/**
* GET
*/
APIEndpoint["GetAutoModSettings"] = "https://api.twitch.tv/helix/moderation/automod/settings";
/**
* PUT
*/
APIEndpoint["UpdateAutoModSettings"] = "https://api.twitch.tv/helix/moderation/automod/settings";
/**
* GET
*/
APIEndpoint["GetBannedUsers"] = "https://api.twitch.tv/helix/moderation/banned";
/**
* POST
*/
APIEndpoint["BanUser"] = "https://api.twitch.tv/helix/moderation/bans";
/**
* DELETE
*/
APIEndpoint["UnbanUser"] = "https://api.twitch.tv/helix/moderation/bans";
/**
* GET
*/
APIEndpoint["GetBlockedTerms"] = "https://api.twitch.tv/helix/moderation/blocked_terms";
/**
* DELETE
*/
APIEndpoint["RemoveBlockedTerms"] = "https://api.twitch.tv/helix/moderation/blocked_terms";
/**
* POST
*/
APIEndpoint["AddBlockedTerms"] = "https://api.twitch.tv/helix/moderation/blocked_terms";
/**
* GET
*/
APIEndpoint["GetModeratedChannels"] = "https://api.twitch.tv/helix/moderation/channels";
/**
* GET
*/
APIEndpoint["GetModerators"] = "https://api.twitch.tv/helix/moderation/moderators";
/**
* POST
*/
APIEndpoint["AddChannelModerator"] = "https://api.twitch.tv/helix/moderation/moderators";
/**
* DELETE
*/
APIEndpoint["RemoveChannelModerator"] = "https://api.twitch.tv/helix/moderation/moderators";
/**
* GET
*/
APIEndpoint["GetVIPs"] = "https://api.twitch.tv/helix/channels/vips";
/**
* POST
*/
APIEndpoint["AddChannelVIP"] = "https://api.twitch.tv/helix/channels/vips";
/**
* DELETE
*/
APIEndpoint["RemoveChannelVIP"] = "https://api.twitch.tv/helix/channels/vips";
/**
* PUT
*/
APIEndpoint["UpdateShieldModeStatus"] = "https://api.twitch.tv/helix/moderation/shield_mode";
/**
* GET
*/
APIEndpoint["GetShieldModeStatus"] = "https://api.twitch.tv/helix/moderation/shield_mode";
// Users

@@ -61,0 +138,0 @@ /**

@@ -85,3 +85,3 @@ import { PaginatedResponse, PaginationParams, Response } from './responses';

*/
created_at: Date;
created_at: string;
};

@@ -88,0 +88,0 @@ /**

{
"name": "twitch-api-types",
"version": "0.5.2",
"version": "0.6.0",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc