<gh_stars>0
# -*- coding: utf-8 -*-

"""Generate the Resilient customizations required for fn_bluecoat_recategorization"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the fn_bluecoat_recategorization package"""
    reload_params = {"package": u"fn_bluecoat_recategorization",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"artifact_value", u"categorization_id", u"categorization_name", u"incident_id", u"submission_comments"], 
                    "datatables": [], 
                    "message_destinations": [u"bluecoat_recategorization"], 
                    "functions": [u"bluecoat_site_review_recategorization"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"bluecoat_site_review_resubmission"], 
                    "actions": [] 
                    }
    return reload_params


def customization_data(client=None):
    """Produce any customization definitions (types, fields, message destinations, etc)
       that should be installed by `resilient-circuits customize`
    """

    # This import data contains:
    #   Function inputs:
    #     artifact_value
    #     categorization_id
    #     categorization_name
    #     incident_id
    #     submission_comments
    #   Message Destinations:
    #     bluecoat_recategorization
    #   Functions:
    #     bluecoat_site_review_recategorization
    #   Workflows:
    #     bluecoat_site_review_resubmission


    yield ImportDefinition(u"""
<KEY>
"""
    )