Subsections of rulesConfiguration

Rule Configurations

This is a base object that contains all you can do about RulesConfigurations.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
Reference InternalOpenGateAPI to the API object.

create()

Create a new Rule

Retorna

Tip

Tipo: Promise


delete()

Deletes the selected RuleConfiguration

Retorna

Tip

Tipo: Promise


update()

Udpate a Rule

Retorna

Tip

Tipo: Promise


updateParameters(newParameters)

Udpate a Rule

Parámetros

Nombre Tipo Opcional Descripción
newParameters *

Retorna

Tip

Tipo: Promise


withActions(actions)

Allows the modification of the actions

Parámetros

Nombre Tipo Opcional Descripción
actions object

Retorna

Tip

Tipo: _RuleCondition


withActionsDelay(actionsDelay)

Set the actions delay attribute

Parámetros

Nombre Tipo Opcional Descripción
actionsDelay number

Retorna

Tip

Tipo: RulesConfigurations


withActive(active)

Set the active attribute

Parámetros

Nombre Tipo Opcional Descripción
active boolean

Retorna

Tip

Tipo: RulesConfigurations


withChannel(channel)

Set the channel attribute

Parámetros

Nombre Tipo Opcional Descripción
channel string required field

Retorna

Tip

Tipo: RulesConfigurations


withCondition(conditionFilter)

Allows the modification of a condition

Parámetros

Nombre Tipo Opcional Descripción
conditionFilter string

Retorna

Tip

Tipo: _RuleCondition


withDescription(description)

Set the description attribute

Parámetros

Nombre Tipo Opcional Descripción
description string

Retorna

Tip

Tipo: RulesConfigurations


withIdentifier(identifier)

Set the identifier attribute

Parámetros

Nombre Tipo Opcional Descripción
identifier string required field

Retorna

Tip

Tipo: RulesConfigurations


withJavascript(javascript)

Set the javascript attribute

Parámetros

Nombre Tipo Opcional Descripción
javascript string

Retorna

Tip

Tipo: RulesConfigurations


withMode(mode)

Set the mode attribute

Parámetros

Nombre Tipo Opcional Descripción
mode string

Retorna

Tip

Tipo: RulesConfigurations


withName(name)

Set the name attribute

Parámetros

Nombre Tipo Opcional Descripción
name string required field

Retorna

Tip

Tipo: RulesConfigurations


withOrganization(organization)

Set the organization attribute

Parámetros

Nombre Tipo Opcional Descripción
organization string required field

Retorna

Tip

Tipo: RulesConfigurations


withParameters(parameters)

Allows the modification of the actions

Parámetros

Nombre Tipo Opcional Descripción
parameters array

Retorna

Tip

Tipo: _RuleCondition


withType(type)

Set the type attribute

Parámetros

Nombre Tipo Opcional Descripción
type string

Retorna

Tip

Tipo: RulesConfigurations


Rule Configurations Actions

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI this is configuration about Opengate North API.
name string Identifier of the ryule configuration to operate

cloneTo(newRuleName, newRuleOpenAction, newRuleCloseAction, newRuleNotifications)

Clones a rule configuration into a new one

Parámetros

Nombre Tipo Opcional Descripción
newRuleName string
newRuleOpenAction boolean
newRuleCloseAction string
newRuleNotifications boolean

Retorna

Tip

Tipo: Promise


Rule Configurations Catalog

This class allow make get request to RuleConfigurations resource into Opengate North API.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI Reference to the API object.

getTemplates()

Performs a get that returns rule templates

Retorna

Tip

Tipo: Promise


Rule Configurations Finder

This class allow make get request to RuleConfigurations resource into Opengate North API.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI Reference to the API object.

findByOrganizationAndChannelAndName(organization, channel, name)

Performs a get that returns organizations related

Parámetros

Nombre Tipo Opcional Descripción
organization string organization
channel string channel.
name string Rule Configuration name

Retorna

Tip

Tipo: Promise


Rule Configurations Helper

This class allow make get request to RuleConfigurationsHelper resource into Opengate North API.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI Reference to the API object.

getDocJavascriptFunctions()

Performs a get that returns documentation of javascript functions from rules service

Retorna

Tip

Tipo: Promise


getDocPrivateJavascriptFunctions()

Performs a get that returns documentation private of javascript functions from rules service

Retorna

Tip

Tipo: Promise