Defines the builder to execute alarm attend operation
constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is configuration about Opengate North API.
Alarm Close Builder
Defines the builder to execute alarm close operation
constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is configuration about Opengate North API.
Operation
This is a abstract class, it must be extended to another class that defined the specific search.
This class is responsible to manage execute operations request to OpenGate North API
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
resource
string
❌
this is a base url resource
postObj
object
❌
it will be sent as a data on post action
execute()
This invoke a request to OpenGate North API and the callback is managed by promises
This is a base object that contains all you can do about Deployment Element.
createWithFile(rawFile)
This invoke a request to OpenGate North API and the callback is managed by promises
This method create an element deploymentElement
Parámetros
Nombre
Tipo
Opcional
Descripción
rawFile
File
❌
this File is the deployment element
Retorna
Tip
Tipo:Promise
deploy()
This invoke a request to OpenGate North API and the callback is managed by promises
This method create an element deploymentElement with previously assignated file
Retorna
Tip
Tipo:Promise
update()
This method invalidates the update option
withDownloadUrl(downloadUrl)
Set the downloadUrl attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
downloadUrl
string
❌
Retorna
Tip
Tipo:DeploymentElement
withFile(rawFile)
Sets the file to upload
Parámetros
Nombre
Tipo
Opcional
Descripción
rawFile
object
❌
Retorna
Tip
Tipo:DeploymentElement
withFileName(fileName)
Set the fileName attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
fileName
string
❌
Retorna
Tip
Tipo:DeploymentElement
withName(name)
Set the name attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
name
string
❌
required field
Retorna
Tip
Tipo:DeploymentElement
withOldName(name)
Sets the old name attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
name
string
❌
Retorna
Tip
Tipo:DeploymentElement
withOldPath(path)
Sets the old path attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
path
string
❌
Retorna
Tip
Tipo:DeploymentElement
withOldVersion(version)
Sets the old version attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
version
string
❌
Retorna
Tip
Tipo:DeploymentElement
withOperation(operation)
Set the operation attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
operation
string
❌
required field
Retorna
Tip
Tipo:DeploymentElement
withOption(option)
Set the option attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
option
string
❌
Retorna
Tip
Tipo:DeploymentElement
withOrder(order)
Set the order attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
order
string
❌
required field
Retorna
Tip
Tipo:DeploymentElement
withPath(path)
Set the path attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
path
string
❌
required field
Retorna
Tip
Tipo:DeploymentElement
withTimeout(ms)
The request will have a specific time out if it will be exceeded then the promise throw an exception
This is a base object than contains all you can about connector functions catalog
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
identifier
String
❌
connectorFunction
Object
❌
addNorthCriteria(northCriteria)
Add northCriteria to parameter northCriterias. Each element is defined by path and value
Parámetros
Nombre
Tipo
Opcional
Descripción
northCriteria
Object
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
addSouthCriteria(southCriteria)
Add southCriteria to parameter southCriterias. Each string can represent an URI, topic, OID…
Parámetros
Nombre
Tipo
Opcional
Descripción
southCriteria
String
❌
Retorna
Tip
Tipo:*
create()
Create a new connector function catalog
Retorna
Tip
Tipo:Promise
withCloneable(cloneable)
Indicates whether or not the Connector Function is cloneable.
Parámetros
Nombre
Tipo
Opcional
Descripción
cloneable
Boolean
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withDescription(description)
Description of the connector function. This field is optional.
Parámetros
Nombre
Tipo
Opcional
Descripción
description
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withIdentifier(identifier)
Set the identifier
Parámetros
Nombre
Tipo
Opcional
Descripción
identifier
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withJavascript(javascript)
Connector function javascript code
Parámetros
Nombre
Tipo
Opcional
Descripción
javascript
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withName(name)
Descriptive and unique name
Parámetros
Nombre
Tipo
Opcional
Descripción
name
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withNorthCriterias(northCriterias)
Connector Function selection criteria for operation requests. This field is mandatory if Connector Function type is REQUEST. ⮕ [ each element is defined by path and value ]
Parámetros
Nombre
Tipo
Opcional
Descripción
northCriterias
Array
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withOperationalStatus(operationalStatus)
Connector Function status
Allowed: DISABLED┃PRODUCTION┃TEST
Parámetros
Nombre
Tipo
Opcional
Descripción
operationalStatus
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withOperationName(operationName)
Used to filter connector functions by operation name. If Connector Function type is REQUEST, this field is mandatory and defined name must be an operation name available for specified Api Key. If the type is COLLECTION or RESPONSE, this field must be null.
Parámetros
Nombre
Tipo
Opcional
Descripción
operationName
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withPayloadType(payloadType)
Enum of allowed types for connector function's payload data. Request Connector Functions only accept JSON.
Allowed: TEXT┃JSON┃BINARY
Parámetros
Nombre
Tipo
Opcional
Descripción
payloadType
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withSouthCriterias(southCriterias)
Connector Function selection criteria for operation responses and data collection. This field is mandatory if Connector Function type is COLLECTION or RESPONSE. ⮕ [ each string can represent an URI, topic, OID… ]. Each string can represent an URI, topic, OID…
Parámetros
Nombre
Tipo
Opcional
Descripción
southCriterias
Array
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
withType(type)
Type of connector function, this is mandatory. Keep in mind that you will be not allowed to modify it.
Allowed: COLLECTION┃REQUEST┃RESPONSE
Parámetros
Nombre
Tipo
Opcional
Descripción
type
String
❌
Retorna
Tip
Tipo:ConnectorFunctionsCatalog
Connector Functions Catalog
This class allow make get request to connector functions catalog resource into Opengate North API.
getConnectorFunctionsCatalog()
Get connector functions catalog
Retorna
Tip
Tipo:Promise
Connector Functions Catalog Finder
This class allow make get request to a connector functions catalog resource into Opengate North API.
This is a base object that contains all you can do about geocluster.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
Reference
InternalOpenGateAPI
❌
to the API object.
withIdentifier(identifier)
Set the identifier attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
identifier
string
❌
required field
Retorna
Tip
Tipo:Geocluster
Geocluster Finder
This class allow make get request to user resource into Opengate North API.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
Reference
InternalOpenGateAPI
❌
to the API object.
findAll()
Find all available geocluster. This execute a GET http method
Retorna
Tip
Tipo:Promise
findById(id)
Find a specify geocluster by an identifier. This execute a GET http method
Parámetros
Nombre
Tipo
Opcional
Descripción
id
string
❌
Identifier of the geocluster.
Retorna
Tip
Tipo:Promise
findFeatures(id, coordinates)
Find features inside the coordinates. This execute a GET http method
Parámetros
Nombre
Tipo
Opcional
Descripción
id
string
❌
Identifier of the geocluster.
coordinates
Object
❌
square defined by the coordinates and the zoom used to find the inside features .
Retorna
Tip
Tipo:Promise
Internal Open Gate API
This is a abstract class, it must be extended to another class that defined the backend, it will be used on request to Opengate North API by browser or nodejs server
This is a abstract class, it must be extended to another class that defined the specific search.
This class is responsible to manage execute operations request to OpenGate North API
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
resource
string
❌
this is a base url resource
postObj
object
❌
it will be sent as a data on post action
execute()
This invoke a request to OpenGate North API and the callback is managed by promises
Retorna
Tip
Tipo:Promise
updatePeriodicity()
This invoke a request to OpenGate North API and the callback is managed by promises
This invoke a request to OpenGate North API and the callback is managed by promises
This function pauses (if it was active), updates the callback and passes the operation to the initial state (if activated, activated again)
This invoke a request to OpenGate North API and the callback is managed by promises
This function pauses (if it was active), updates the delay and passes the operation to the initial state (if activated, activated again)
This invoke a request to OpenGate North API and the callback is managed by promises
This function pause, update its delay and active an operation for execute immediately
This class allow make get request to organization device plans resource into Opengate North API.
constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
Reference
InternalOpenGateAPI
❌
to the API object.
administrable()
Marks visibility administrable for organization device plans list retrieval.
ogapi.newDevicePlansFinder().administrable().findByOrganization('organization').then().catch();
Retorna
Tip
Tipo:this
assignable()
Marks visibility assignable for organization device plans list retrieval
ogapi.newDevicePlansFinder().assignable().findByOrganization('organization').then().catch();
Retorna
Tip
Tipo:this
default()
Marks visibility default for organization device plans list list retrieval.
ogapi.newDevicePlansFinder().default().findByOrganization('organization').then().catch();
Retorna
Tip
Tipo:this
findByOrganization(organization)
Retrieves all device plans from a organization
ogapi.newDevicePlansFinder().findByOrganization('organization').then().catch();
Parámetros
Nombre
Tipo
Opcional
Descripción
organization
string
❌
organization name .
Retorna
Tip
Tipo:Promise
findByOrganizationAndId(organization, identifier)
Retrieves a specific device plan from a organization
ogapi.newDevicePlansFinder().findByOrganizationAndId('organization', 'identifier').then().catch();
Parámetros
Nombre
Tipo
Opcional
Descripción
organization
string
❌
organization name .
identifier
string
❌
plan name.
Retorna
Tip
Tipo:Promise
Organization Plans
This is a base object that contains all you can do about Organizations plan.
This class allow make get request to organization plans resource into Opengate North API.
constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
Reference
InternalOpenGateAPI
❌
to the API object.
administrable()
Marks visibility administrable for organization plans list retrieval.
ogapi.newOrganizationPlansFinder().administrable().findByOrganization('organization').then().catch();
Retorna
Tip
Tipo:this
assignable()
Marks visibility assignable for organization plans list retrieval
ogapi.newOrganizationPlansFinder().assignable().findByOrganization('organization').then().catch();
Retorna
Tip
Tipo:this
default()
Marks visibility default for plans list list retrieval.
ogapi.newOrganizationPlansFinder().default().findByOrganization('organization').then().catch();
Retorna
Tip
Tipo:this
findByOrganization(organization)
Retrieves all plans from a organization
ogapi.newOrganizationPlansFinder().findByOrganization('organization').then().catch();
Parámetros
Nombre
Tipo
Opcional
Descripción
organization
string
❌
organization name .
Retorna
Tip
Tipo:Promise
findByOrganizationAndId(organization, identifier)
Retrieves a specific plan from a organization
ogapi.newOrganizationPlansFinder().findByOrganizationAndId('organization', 'identifier').then().catch();
This is an abstract class, it must be extended to another class that defines the different actions of a specific provision.
This class is responsible for managing the request to execute Norte OpenGate API
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
resource
string
❌
this is a base url resource
timeout
number
✅
timeout on request
requiredParameters
array
❌
serviceBaseURL
string
❌
base of the uri petition
create()
This invoke a request to OpenGate North API and the callback is managed by promises
This function create a entity of provision
Retorna
Tip
Tipo:Promise
Ejemplos
ogapi.organizationsBuilder().create()
delete(body)
This invoke a request to OpenGate North API and the callback is managed by promises
This function deletes a entity of provision
Instead of creating a bulk process, return the provision process planning for specified entries. This is is synch process that does not cause changes in the database
This class extends SimpleBuilder to allow set complex values. What is a complex value? It is simple, It is a value
that need a communications module identifier to allow set into the box.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
resource
string
❌
this is the resource url where can be create/delete/update/read the entity
allowedDatastreams
array
✅
Allowed datastreams to add into the new entity
definedSchemas
array
✅
Jsonschema about all OpenGate specific types
jsonSchemaValidator
Validator
✅
Json schema validator tool
withComplex(_id, idCommunicationModules, val)
Set a complex value to entity
Parámetros
Nombre
Tipo
Opcional
Descripción
_id
string
❌
Datastream identifier
idCommunicationModules
string
❌
Communications module identifier
val
object
❌
Value to set.
Retorna
Tip
Tipo:*
Csv Bulk Builder
Csv builder. This builder give you the necessary tools to create a csv bulk using our OpenGate REST.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
required field. This is ogapi instance
organization
string
❌
required field. This is the organization name where entities will be created, updated or deleted
resource
resource
❌
required field. This is the resource used for the bulk provision
timeout
number
✅
timeout in millisecons. The request will have a specific time out if it will be exceeded then the promise throw an exception
async
boolean
✅
forces async execution for the bulk operation
Device Builder
Device builder. This builder give you the necessary tools to create a device using our OpenGate REST.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
organization
string
❌
this is the organization name where device will be created
allowedDatastreams
array
✅
Allowed datastreams to add into the new device
definedSchemas
array
✅
Jsonschema about all OpenGate specific types
jsonSchemaValidator
Validator
✅
Json schema validator tool
ms
number
❌
timeout in milliseconds
create()
This invoke a request to OpenGate North API and the callback is managed by promises
This function create a entity of provision
Retorna
Tip
Tipo:Promise
Ejemplos
ogapi.organizationsBuilder().create()
update()
This invoke a request to OpenGate North API and the callback is managed by promises
This function updates a entity of provision and check if any subscriber/subscription exits or no.
If a subscriber/subscription not exists then this entities will be created and after that will be added to entity box.
Retorna
Tip
Tipo:Promise
Ejemplos
ogapi.entityBuilder.devicesBuilder().update()
Entity Builder
This is a base object that contains all you can do about Devices.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
Reference
InternalOpenGateAPI
❌
to the API object.
assetsBuilder(organization, timeout)
Get a AssetBuilder for operate with entities of type asset
This extends Search and allow make request to any available resource into Opengate North API.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is configuration about Opengate North API.
url
string
❌
this define a specific resource to make the search
filter
object
❌
this is the filter
limit
object
❌
this is the pagination about the search
sort
object
❌
this defined parameters to order the result of search
group
object
❌
this defined the group by
execute()
This invoke a request to OpenGate North API and the callback is managed by promises
Retorna
Tip
Tipo:Promise
Base Search
This is a abstract class, it must be extended to another class that defined the specific search.
This class is responsible to manage execute request to OpenGate North API
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
resource
string
❌
this is a base url resource
timeout
number
✅
timeout on request
serviceBaseURL
string
❌
base of the uri petition
downloadCsv()
This invoke a request to OpenGate North API and the callback is managed by promises
Retorna
Tip
Tipo:Promise
Promise with data with format csv
execute()
This invoke a request to OpenGate North API and the callback is managed by promises
Retorna
Tip
Tipo:Promise
executeWithAsyncPaging(resource)
This invokes a request for asynchronous paging to the OpenGate North API and the return of the pages is managed by promises and its notify object
To cancel the process in the notify method return false or string with custom message for response
In case of canceling the process, the response will be 403: Forbidden -> {data: 'Cancel process'|| custom_message, statusCode: 403}
This is a abstract class, it must be extended to another class that defined the specific search.
This class is responsible to manage execute request to OpenGate North API
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is ogapi instance
timeout
number
✅
timeout on request
execute()
This invoke a request to OpenGate North API and the callback is managed by promises
This is a abstract class. It is a base to make all kind of search request to OpenGate North API.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
parent
InternalOpenGateAPI
❌
this is ogapi instance
routes
object
❌
this defined the routes. One of those routes must be called on Builder before call build method.
addSortAscendingBy(filterField)
Add ascending param into the sort search object
Parámetros
Nombre
Tipo
Opcional
Descripción
filterField
string
❌
This field must be allowed into the specific resource
Retorna
Tip
Tipo:SearchBuilder
Ejemplos
ogapi.subscriptionsSearchBuilder().addSortAscendingBy('prov.customid') // Order by prov.customid Ascending
addSortBy(filterField, typeSort)
Add ascending/descending param into the sort search object
Parámetros
Nombre
Tipo
Opcional
Descripción
filterField
string
❌
This field must be allowed into the specific resource
typeSort
string
❌
Retorna
Tip
Tipo:SearchBuilder
Ejemplos
ogapi.subscriptionsSearchBuilder().addSortBy('prov.customid','ASCENDING') // Order by prov.customid Ascending
ogapi.devicesSearchBuilder().addSortBy('prov.customid','DESCENDING') // Order by prov.customid Descending
addSortDescendingBy(filterField)
Add descending param into the sort search object
Parámetros
Nombre
Tipo
Opcional
Descripción
filterField
string
❌
This field must be allowed into the specific resource
Retorna
Tip
Tipo:SearchBuilder
Ejemplos
ogapi.devicesSearchBuilder().addSortDescendingBy('prov.customid') // Order by prov.customid Descending
Return a promise which it will contains an array with fields recommended with complete structure
Parámetros
Nombre
Tipo
Opcional
Descripción
input
*
❌
Retorna
Tip
Tipo:Promise
findFieldPath(field)
Return a promise which it will contains an string with the path of a field
Parámetros
Nombre
Tipo
Opcional
Descripción
field
*
❌
Retorna
Tip
Tipo:Promise
findFields(input)
Return a promise which it will contains an array with fields recommended with only identifier
Parámetros
Nombre
Tipo
Opcional
Descripción
input
*
❌
Retorna
Tip
Tipo:Promise
limit(size, start)
Set reponse pagination.
Parámetros
Nombre
Tipo
Opcional
Descripción
size
number
❌
Defined the number of elements on response
start
number
✅
Defined the offset on response
Retorna
Tip
Tipo:SearchBuilder
Ejemplos
ogapi.subscribersSearchBuilder().limit(10) // Without offset
ogapi.subscribersSearchBuilder().limit(25,50) //With offset value 50
removeSortBy(filterField)
Remove sort param from the search object
Parámetros
Nombre
Tipo
Opcional
Descripción
filterField
string
❌
This field must be allowed into the specific resource
Retorna
Tip
Tipo:SearchBuilder
Ejemplos
ogapi.subscriptionsSearchBuilder().removeSortBy('prov.customid') // Remove order by prov.customid
ogapi.subscriptionsSearchBuilder().removeSortBy() // Remove all order by parameters
withTimeout(ms)
The request will have a specific time out if it will be exceeded then the promise throw an exception
This extends Search and it allow make request to any available resource into static resources for Opengate North API
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is configuration about Opengate North API.
url
string
❌
this define a specific resource to make the search
filter
object
❌
this is the filter
execute()
This invoke a dummy request to OpenGate North API and the callback is managed by promises
Retorna
Tip
Tipo:Promise
WP Search
This extends BaseSearch and allow make request to any available resource into Opengate North API.
The resource does not have the ‘search’ prefix. For this, use class Search
constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
ogapi
InternalOpenGateAPI
❌
this is configuration about Opengate North API.
url
string
❌
this define a specific resource to make the search
filter
object
❌
this is the filter
limit
object
❌
this is the pagination about the search
sort
object
❌
this defined parameters to order the result of search
This is a base object that contains all you can do about Timeseries.
constructor
Constructor
Parámetros
Nombre
Tipo
Opcional
Descripción
Reference
InternalOpenGateAPI
❌
to the API object.
onlyPlan()
Mark timeseries as plan only
Retorna
Tip
Tipo:Timeseries
optimizationPlan()
Request optimization plan
Retorna
Tip
Tipo:Promise
withBucketColumn(bucketColumn)
Name of generated column with bucket date.Required if timeBucket > 0.
Parámetros
Nombre
Tipo
Opcional
Descripción
bucketColumn
string
❌
pattern: ^[a-zA-Z0-9 _-]*$
Retorna
Tip
Tipo:Timeseries
withBucketInitColumn(bucketInitColumn)
Name of generated column with bucket init date.
Parámetros
Nombre
Tipo
Opcional
Descripción
bucketInitColumn
string
❌
pattern: ^[a-zA-Z0-9 _-]*$
Retorna
Tip
Tipo:Timeseries
withColumns(columns)
List of data that is needed for each entity.
Parámetros
Nombre
Tipo
Opcional
Descripción
columns
array
❌
required field
Retorna
Tip
Tipo:Timeseries
withContext(context)
List of data that is needed for each entity.
Parámetros
Nombre
Tipo
Opcional
Descripción
context
array
❌
Retorna
Tip
Tipo:Timeseries
withDescription(description)
Long text to explain timeserie definition
Parámetros
Nombre
Tipo
Opcional
Descripción
description
string
❌
Retorna
Tip
Tipo:Timeseries
withIdentifier(identifier)
Set the identifier attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
identifier
string
❌
required field
Retorna
Tip
Tipo:Timeseries
withIdentifierColumn(identifierColumn)
Set the identifierColumn attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
identifierColumn
string
❌
required field
Retorna
Tip
Tipo:Datasets
withName(name)
Name which will be unique in each organization
Parámetros
Nombre
Tipo
Opcional
Descripción
name
string
❌
required field
Retorna
Tip
Tipo:Timeseries
withOrganization(organization)
Set the organization attribute
Parámetros
Nombre
Tipo
Opcional
Descripción
organization
string
❌
required field
Retorna
Tip
Tipo:Timeseries
withOrigin(origin)
Initial date to first bucket with ISO date time format. Next bucket will be calcullated from this date. Default value is created date with time equals 00:00:00.000Z
Parámetros
Nombre
Tipo
Opcional
Descripción
origin
string
❌
Retorna
Tip
Tipo:Timeseries
withRetention(retention)
Time that a row is stored to be got in searching. Default value is 1 month
Parámetros
Nombre
Tipo
Opcional
Descripción
retention
number
❌
Retorna
Tip
Tipo:Timeseries
withSorts(sorts)
List of sorting fields
Parámetros
Nombre
Tipo
Opcional
Descripción
sorts
array
❌
required field
Retorna
Tip
Tipo:Timeseries
withTimeBucket(timeBucket)
Duration of buckets in seconds.
Parámetros
Nombre
Tipo
Opcional
Descripción
timeBucket
integer
❌
required field
Retorna
Tip
Tipo:Timeseries
Timeseries Finder
This class allow make get request to TimeseriesFinder resource into Opengate North API.
This invoke a request to OpenGate North API and the callback is managed by promises
This function get a JWT for user with Two Factor Authorithation (optional)
This invoke a request to OpenGate North API and the callback is managed by promises
This function request for new password when the user forgets it.
Sends a password recovery email