Base Provision
This is an abstract class; it must be extended by another class that defines the specific actions of a given provision. This class is responsible for managing requests 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 |
| 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 creates a provisioned entity
Retorna
Tip
Tipo: Promise
Ejemplos
delete(body)
This invoke a request to OpenGate North API and the callback is managed by promises This function deletes a provisioned entity
Retorna
Tip
Tipo: Promise
Ejemplos
update()
This invoke a request to OpenGate North API and the callback is managed by promises This function updates a provisioned entity
Retorna
Tip
Tipo: Promise