<commit_before>package net.kaleidos.mymalcom

import groovy.json.JsonBuilder

class MyMalcomPushService {

    static transaction = false

    def connectionClient
    def grailsApplication

    /**
     * Send a push notification
     *
     * @param userDevices A list of the devices to send the notification
     * @param message The message to send
     * @param customFields Optional fields to send additional information to the mobile application
     *
     * Example of the json sent:
     *
     * {
     *     "notification": {
     *         "applicationCode": "APP-UUID",
     *         "environment": "SANDBOX",
     *         "udids": [<commit_msg>Fix typo in transactional service definition<commit_after>package net.kaleidos.mymalcom

import groovy.json.JsonBuilder

class MyMalcomPushService {

    static transactional = false

    def connectionClient
    def grailsApplication

    /**
     * Send a push notification
     *
     * @param userDevices A list of the devices to send the notification
     * @param message The message to send
     * @param customFields Optional fields to send additional information to the mobile application
     *
     * Example of the json sent:
     *
     * {
     *     "notification": {
     *         "applicationCode": "APP-UUID",
     *         "environment": "SANDBOX",
     *         "udids": [
{'fraction_non_alphanumeric': 0.07516580692704496, 'fraction_numerical': 0.0, 'mean_word_length': 2.4292929292929295, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4370449', 'n_tokens_mistral': 367, 'n_tokens_neox': 353, 'n_words': 119}