0.0.5 • Published 29 days ago
oute-services-template-sdk v0.0.5
This module expose helper functions
- Initialization
var params = {
url: @server url
token: @access token
}
var Template = require("oute-services-template-sdk")
var template_instance = new Template(params)
Cache functions
Core functions
- get List by type
type = "EMAIL"
await template_instance.getByType(body)
- get by id
id = "I3Qwgmgwm"
await template_instance.getById(id)
- Use template
body = {react_id: "ZzBfJMpfQ"}
await template_instance.useMe(body)