<commit_before>import { IFilter } from "api/IFilter";

/**
 * Internationalization for notification content
 *
 * @export
 * @interface Ii18n
 */
export interface Ii18n {
  /**
   * Two letters language code
   * @see https://documentation.onesignal.com/docs/language-localization
   * @type {[lang: string]: string}
   * @memberof Ii18n
   */
  [lang: string]: string;
}

/**
 * Notification
 *
 * @export
 * @interface INotification
 * @see https://documentation.onesignal.com/reference#create-notification
 */
export interface INotification {
  /**
   * The segment names you want to target.
   * Users in these segments will receive a notification.
   *
   * @type {string[]}
   * @memberof INotification
   */
  included_segments?: string[];
  /**
   * Segment that will be excluded when sending.
   * Users in these segments will not receive a notification.
   *
   * @type {string[]}
   * @memberof INotification
   */
  excluded_segments?: string[];
  /**
   * The filters parameter targets notification recipients.
   * Filters can be combined together to form advanced, highly precise user targeting.
   * This filter targeting parameter cannot be combined with any other targeting parameters.
   *
   * @type {IFilter[]}
   * @memberof INotification
   */
  filters?: IFilter[];
  /**
   * Specific players to send your notification to.
   * Do not combine with other targeting parameters. Not compatible with any other targeting parameters.
   *
   * @type {string[]}
   * @memberof INotification
   */
  include_player_ids?: string[];
  /**<commit_msg>Set `included_segments` as required for create notifications<commit_after>import { IFilter } from "api/IFilter";

/**
 * Internationalization for notification content
 *
 * @export
 * @interface Ii18n
 */
export interface Ii18n {
  /**
   * Two letters language code
   * @see https://documentation.onesignal.com/docs/language-localization
   * @type {[lang: string]: string}
   * @memberof Ii18n
   */
  [lang: string]: string;
}

/**
 * Notification
 *
 * @export
 * @interface INotification
 * @see https://documentation.onesignal.com/reference#create-notification
 */
export interface INotification {
  /**
   * The segment names you want to target.
   * Users in these segments will receive a notification.
   *
   * @type {string[]}
   * @memberof INotification
   */
  included_segments: string[];
  /**
   * Segment that will be excluded when sending.
   * Users in these segments will not receive a notification.
   *
   * @type {string[]}
   * @memberof INotification
   */
  excluded_segments?: string[];
  /**
   * The filters parameter targets notification recipients.
   * Filters can be combined together to form advanced, highly precise user targeting.
   * This filter targeting parameter cannot be combined with any other targeting parameters.
   *
   * @type {IFilter[]}
   * @memberof INotification
   */
  filters?: IFilter[];
  /**
   * Specific players to send your notification to.
   * Do not combine with other targeting parameters. Not compatible with any other targeting parameters.
   *
   * @type {string[]}
   * @memberof INotification
   */
  include_player_ids?: string[];
  /**
{'fraction_non_alphanumeric': 0.10988664987405541, 'fraction_numerical': 0.003778337531486146, 'mean_word_length': 3.3580246913580245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7115798', 'n_tokens_mistral': 906, 'n_tokens_neox': 901, 'n_words': 296}