<commit_before>﻿using StreamingClient.Base.Util;

namespace Twitch.Base.Models.Clients.PubSub
{
    /// <summary>
    /// Listenable topics for PubSub.
    /// 
    /// https://dev.twitch.tv/docs/pubsub/#topics
    /// </summary>
    public enum PubSubTopicsEnum
    {
        /// <summary>
        /// Anyone cheers in a specified channel.
        /// </summary>
        [Name("channel-bits-events-v1")]
        ChannelBitsEventsV1,
        /// <summary>
        /// Anyone cheers in a specified channel.
        /// </summary>
        [Name("channel-bits-events-v2")]
        ChannelBitsEventsV2,
        /// <summary>
        /// Message sent when a user earns a new Bits badge in a particular channel, and chooses to share the notification with chat.
        /// </summary>
        [Name("channel-bits-badge-unlocks")]
        ChannelBitsBadgeUnlocks,

        /// <summary>
        /// Anyone subscribes (first month), resubscribes (subsequent months), or gifts a subscription to a channel. 
        /// 
        /// Subgift subscription messages contain recipient information.
        /// </summary>
        [Name("channel-subscribe-events-v1")]
        ChannelSubscriptionsV1,

        /// <summary>
        /// Anyone makes a purchase on a channel.
        /// </summary>
        [Name("channel-commerce-events-v1")]
        ChannelCommerceV1,

        /// <summary>
        /// Anyone whispers the specified user.
        /// </summary>
        [Name("whispers")]
        UserWhispers,

        /// <summary>
        /// A custom reward is redeemed in a channel. 
        /// </summary>
        [Name("channel-points-channel-v1")]
        ChannelPointsRedeemed,
    }

    /// <summary>
    /// A listen request for PubSub.
    /// </summary><commit_msg>- Removing deprecated PubSub commerce event<commit_after>﻿using StreamingClient.Base.Util;

namespace Twitch.Base.Models.Clients.PubSub
{
    /// <summary>
    /// Listenable topics for PubSub.
    /// 
    /// https://dev.twitch.tv/docs/pubsub/#topics
    /// </summary>
    public enum PubSubTopicsEnum
    {
        /// <summary>
        /// Anyone cheers in a specified channel.
        /// </summary>
        [Name("channel-bits-events-v1")]
        ChannelBitsEventsV1,
        /// <summary>
        /// Anyone cheers in a specified channel.
        /// </summary>
        [Name("channel-bits-events-v2")]
        ChannelBitsEventsV2,
        /// <summary>
        /// Message sent when a user earns a new Bits badge in a particular channel, and chooses to share the notification with chat.
        /// </summary>
        [Name("channel-bits-badge-unlocks")]
        ChannelBitsBadgeUnlocks,

        /// <summary>
        /// Anyone subscribes (first month), resubscribes (subsequent months), or gifts a subscription to a channel. 
        /// 
        /// Subgift subscription messages contain recipient information.
        /// </summary>
        [Name("channel-subscribe-events-v1")]
        ChannelSubscriptionsV1,

        /// <summary>
        /// Anyone whispers the specified user.
        /// </summary>
        [Name("whispers")]
        UserWhispers,

        /// <summary>
        /// A custom reward is redeemed in a channel. 
        /// </summary>
        [Name("channel-points-channel-v1")]
        ChannelPointsRedeemed,
    }

    /// <summary>
    /// A listen request for PubSub.
    /// </summary>
{'fraction_non_alphanumeric': 0.13754427390791027, 'fraction_numerical': 0.004722550177095631, 'mean_word_length': 1.7419093851132685, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2496844', 'n_tokens_mistral': 942, 'n_tokens_neox': 912, 'n_words': 239}