Source code for ace.core.constants

"""
    All core constants for the engine required to Centralize, service and API constants
    WARNING: Do not modify the constants in this file as they are used for the engine general functionalities
"""


[docs] class Rule:
[docs] class OutputType: CALCULATION = "CALCULATION" NOTIFICATION = "NOTIFICATION" WORKFLOW = "WORKFLOW" DYNAMIC_GRID = "DYNAMIC_GRID" DASHBOARD_TILE = "DASHBOARD_TILE" SCHEDULING = "SCHEDULING" INTEGRATION = "INTEGRATION" ILLUSTRATION = "ILLUSTRATION" TRANSFORMATION = "TRANSFORMATION" REPORTING = "REPORTING"
[docs] class MessageRequest:
[docs] class Type: EVENT = "EVENT_MESSAGE" API = "API_MESSAGE" RESPONSE = "RESPONSE_MESSAGE" GRAPHQL = "GRAPHQL_MESSAGE"
[docs] class APIMessage:
[docs] class AuthService: CENTRALIZE = "CENTRALIZE" CONNECT = "CONNECT" UNKNOWN = "UNKNOWN" ON_BEHALF_OF_USER_ID = "ON_BEHALF_OF_USER_ID"
[docs] class Method: GET = "GET" # retrieves information or data from a specified resource. POST = "POST" # submits data to be processed to a specified resource. PUT = "PUT" # updates a specified resource with new data. DELETE = "DELETE" # deletes a specified resource. PATCH = "PATCH" # partially updates a specified resource.
[docs] class ContentType:
[docs] class Application: JAVASCRIPT = "application/javascript" JSON = "application/json" XML = "application/xml" ZIP = "application/zip" URL_ENCODED = "application/x-www-form-urlencoded"
[docs] class Multipart: FORM_DATA = "multipart/form-data"
[docs] class Text: CSS = "text/css" CSV = "text/csv" HTML = "text/html" PLAIN = "text/plain" XML = "text/xml"