2023-02-18 00:04:20 +00:00
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"loyalty/rewards": {
|
|
|
|
"description": "List of available rewards",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
|
|
|
"name": "",
|
2023-02-18 12:04:09 +00:00
|
|
|
"kind": "array",
|
2023-02-18 00:04:20 +00:00
|
|
|
"element": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Reward",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
2023-02-18 12:04:09 +00:00
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
2023-02-18 00:04:20 +00:00
|
|
|
{
|
|
|
|
"name": "description",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "image",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "price",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "required_info",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "cooldown",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"loyalty/@remove-redeem": {
|
|
|
|
"description": "Remove a redeem from the queue",
|
|
|
|
"schema": {
|
|
|
|
"name": "Redeem",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "username",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "display_name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "description",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "image",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "price",
|
2023-02-18 12:04:09 +00:00
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "required_info",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cooldown",
|
2023-02-18 12:04:09 +00:00
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "when",
|
|
|
|
"kind": "datetime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_text",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"rpc"
|
|
|
|
]
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"twitch/eventsub-history": {
|
|
|
|
"description": "Last eventsub notifications received",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "NotificationMessagePayload",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "subscription",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "id",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "type",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "version",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "status",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "condition",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "broadcaster_user_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "from_broadcaster_user_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "to_broadcaster_user_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "client_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "extension_client_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "user_id",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "transport",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "method",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "callback",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "secret",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "session_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "connected_at",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "disconnected_at",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "created_at",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "Time",
|
|
|
|
"kind": "datetime"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cost",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "event",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "uint8",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "date",
|
|
|
|
"kind": "datetime"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"history"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"twitch/bot-config": {
|
|
|
|
"description": "General configuration for the Twitch chatbot",
|
|
|
|
"schema": {
|
|
|
|
"name": "BotConfig",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "username",
|
|
|
|
"description": "Chatbot username (for internal use, ignored by Twitch)",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "oauth",
|
|
|
|
"description": "OAuth key for IRC authentication",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "channel",
|
|
|
|
"description": "Twitch channel to join and use",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "chat_history",
|
|
|
|
"description": "How many messages to keep in twitch/chat-history",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"twitch/chat-history": {
|
|
|
|
"description": "Last chat messages received",
|
|
|
|
"schema": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "PrivateMessage",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "User",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "ID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DisplayName",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Color",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Badges",
|
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"element": {
|
|
|
|
"name": "int",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Raw",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Type",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RawType",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Tags",
|
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Message",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Channel",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RoomID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Time",
|
|
|
|
"kind": "datetime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Emotes",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
2023-02-18 00:04:20 +00:00
|
|
|
{
|
|
|
|
"name": "Name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Count",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Positions",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "EmotePosition",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "Start",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "End",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"isPointer": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Bits",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Action",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "FirstMessage",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Reply",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "ParentMsgID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ParentUserID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ParentUserLogin",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ParentDisplayName",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ParentMsgBody",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CustomRewardID",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"history"
|
|
|
|
]
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"twitch/@send-chat-message": {
|
|
|
|
"description": "Send plain text chat message",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"rpc"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"loyalty/config": {
|
|
|
|
"description": "General configuration for the loyalty subsystem",
|
|
|
|
"schema": {
|
|
|
|
"name": "Config",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "currency",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "points",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "interval",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "amount",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "activity_bonus",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "banlist",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-02-18 12:04:09 +00:00
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"loyalty/goals": {
|
|
|
|
"description": "List of all goals",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "Goal",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "description",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "image",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "total",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "contributed",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "contributors",
|
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"element": {
|
|
|
|
"name": "int64",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"loyalty/redeem-queue": {
|
|
|
|
"description": "All pending redeems",
|
|
|
|
"schema": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "Redeem",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "username",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
{
|
|
|
|
"name": "display_name",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
2023-02-18 12:04:09 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "name",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "description",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "image",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "price",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "required_info",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cooldown",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "when",
|
|
|
|
"kind": "datetime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_text",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"loyalty/ev/new-redeem": {
|
|
|
|
"description": "On reward redeemed",
|
|
|
|
"schema": {
|
|
|
|
"name": "Redeem",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
2023-02-18 00:04:20 +00:00
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "username",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "display_name",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "reward",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "name",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "description",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "image",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "price",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "required_info",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
2023-02-18 12:04:09 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cooldown",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
]
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "when",
|
|
|
|
"kind": "datetime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_text",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"event"
|
|
|
|
]
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"twitch/bot-custom-commands": {
|
|
|
|
"description": "Chatbot custom commands",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "",
|
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"element": {
|
|
|
|
"name": "BotCustomCommand",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "description",
|
|
|
|
"description": "Command description",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "access_level",
|
|
|
|
"description": "Minimum access level needed to use the command",
|
|
|
|
"kind": "enum",
|
|
|
|
"enumValues": [
|
|
|
|
"everyone",
|
|
|
|
"subscriber",
|
|
|
|
"vip",
|
|
|
|
"moderators",
|
|
|
|
"streamer"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "response",
|
|
|
|
"description": "Response template (in Go templating format)",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
2023-02-18 12:04:09 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Is the command enabled?",
|
|
|
|
"kind": "boolean"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
]
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"twitch/bot-modules/alerts/config": {
|
|
|
|
"description": "Configuration of chat bot alerts",
|
|
|
|
"schema": {
|
|
|
|
"name": "BotAlertsConfig",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "follow",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable chat message alert on follow",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"description": "List of message to write on follow, one at random will be picked",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "subscription",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable chat message alert on subscription",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"description": "List of message to write on subscription, one at random will be picked",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "variations",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "min_streak",
|
|
|
|
"kind": "int",
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "is_gifted",
|
|
|
|
"kind": "boolean",
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gift_sub",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable chat message alert on gifted subscription",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"description": "List of message to write on gifted subscription, one at random will be picked",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "variations",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "min_cumulative",
|
|
|
|
"kind": "int",
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "is_anonymous",
|
|
|
|
"kind": "boolean",
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "raid",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable chat message alert on raid",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "messages",
|
|
|
|
"description": "List of message to write on raid, one at random will be picked",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "variations",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "min_viewers",
|
|
|
|
"kind": "int",
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cheer",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable chat message alert on cheer",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"description": "List of message to write on cheer, one at random will be picked",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "variations",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "min_amount",
|
|
|
|
"kind": "int",
|
|
|
|
"isPointer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "messages",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"twitch/ev/eventsub-event": {
|
|
|
|
"description": "On Eventsub event received",
|
|
|
|
"schema": {
|
|
|
|
"name": "NotificationMessagePayload",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "subscription",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "type",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "version",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "status",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "condition",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "broadcaster_user_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "from_broadcaster_user_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "to_broadcaster_user_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "client_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "extension_client_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "user_id",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "transport",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "method",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "callback",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "secret",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "session_id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "connected_at",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "disconnected_at",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "created_at",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "Time",
|
|
|
|
"kind": "datetime"
|
|
|
|
}
|
|
|
|
]
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "cost",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "event",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "uint8",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "date",
|
|
|
|
"kind": "datetime"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
2023-02-18 12:04:09 +00:00
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"event"
|
|
|
|
]
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
"twitch/config": {
|
|
|
|
"description": "General configuration for the Twitch subsystem",
|
|
|
|
"schema": {
|
|
|
|
"name": "Config",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable subsystem",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "enable_bot",
|
|
|
|
"description": "Enable the chatbot",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "api_client_id",
|
|
|
|
"description": "Twitch API App Client ID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "api_client_secret",
|
|
|
|
"description": "Twitch API App Client Secret",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"loyalty/@create-redeem": {
|
|
|
|
"description": "Create a new pending redeem",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Redeem",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "username",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "display_name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "reward",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "enabled",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "description",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "image",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "price",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "required_info",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cooldown",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "when",
|
|
|
|
"kind": "datetime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "request_text",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"rpc"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"twitch/ev/chat-message": {
|
|
|
|
"description": "On chat message received",
|
|
|
|
"schema": {
|
|
|
|
"name": "PrivateMessage",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "User",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "ID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Name",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DisplayName",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Color",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Badges",
|
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"element": {
|
|
|
|
"name": "int",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Raw",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Type",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RawType",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Tags",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"element": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Message",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Channel",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RoomID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ID",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Time",
|
|
|
|
"kind": "datetime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Emotes",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Name",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ID",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Count",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Positions",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "EmotePosition",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "Start",
|
|
|
|
"kind": "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "End",
|
|
|
|
"kind": "int"
|
|
|
|
}
|
|
|
|
]
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
],
|
|
|
|
"isPointer": true
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
},
|
2023-02-18 00:04:20 +00:00
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Bits",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Action",
|
|
|
|
"kind": "boolean"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "FirstMessage",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Reply",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ParentMsgID",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ParentUserID",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ParentUserLogin",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ParentDisplayName",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ParentMsgBody",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
],
|
|
|
|
"isPointer": true
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "CustomRewardID",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tags": [
|
2023-02-18 12:04:09 +00:00
|
|
|
"event"
|
2023-02-18 00:04:20 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"twitch/bot-modules/timers/config": {
|
|
|
|
"description": "Configuration of chat bot timers",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "BotTimersConfig",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "timers",
|
|
|
|
"description": "List of timers as a dictionary",
|
|
|
|
"kind": "dictionary",
|
|
|
|
"key": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"element": {
|
|
|
|
"name": "BotTimer",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "enabled",
|
|
|
|
"description": "Enable the timer",
|
|
|
|
"kind": "boolean"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "name",
|
|
|
|
"description": "Timer name (must be unique)",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "minimum_chat_activity",
|
|
|
|
"description": "Minimum chat messages in the last 5 minutes for timer to trigger",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "minimum_delay",
|
|
|
|
"description": "Minimum amount of time (in seconds) that needs to pass before it triggers again",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "messages",
|
|
|
|
"description": "Messages to write (randomly chosen)",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-02-18 12:04:09 +00:00
|
|
|
}
|
|
|
|
]
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"http/config": {
|
|
|
|
"description": "General server configuration",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "ServerConfig",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "bind",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "enable_static_server",
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "path",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "kv_password",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"twitch/auth-keys": {
|
|
|
|
"description": "User access token for the twitch subsystem",
|
|
|
|
"schema": {
|
|
|
|
"name": "AuthResponse",
|
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "access_token",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "refresh_token",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "expires_in",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "int"
|
2023-02-18 12:04:09 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "scope",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Time",
|
|
|
|
"kind": "datetime"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"twitch/stream-info": {
|
|
|
|
"description": "List of active twitch streams (1 element if live, 0 otherwise)",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
|
|
|
"name": "",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "Stream",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "user_id",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "user_login",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "user_name",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "game_id",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "game_name",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "tag_ids",
|
|
|
|
"kind": "array",
|
|
|
|
"element": {
|
|
|
|
"name": "string",
|
|
|
|
"kind": "string"
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "is_mature",
|
|
|
|
"kind": "boolean"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "type",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "title",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "viewer_count",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "started_at",
|
|
|
|
"kind": "datetime"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "language",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "thumbnail_url",
|
|
|
|
"kind": "string"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"twitch/chat-activity": {
|
|
|
|
"description": "Number of chat messages in the last minute",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "int",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
},
|
2023-02-18 12:04:09 +00:00
|
|
|
"loyalty/points/<user>": {
|
|
|
|
"description": "Point entry for a given user",
|
2023-02-18 00:04:20 +00:00
|
|
|
"schema": {
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "PointsEntry",
|
2023-02-18 00:04:20 +00:00
|
|
|
"kind": "object",
|
|
|
|
"keys": [
|
|
|
|
{
|
2023-02-18 12:04:09 +00:00
|
|
|
"name": "points",
|
|
|
|
"kind": "int"
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
]
|
2023-02-18 12:04:09 +00:00
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
}
|