1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x7abe=['exports','define','Template','tools_templates','lodash','util','../../config/logger','bluebird','request-promise','path','./template.attributes'];(function(_0x3e543d,_0x4f3548){var _0x51285c=function(_0x4fa37d){while(--_0x4fa37d){_0x3e543d['push'](_0x3e543d['shift']());}};_0x51285c(++_0x4f3548);}(_0x7abe,0x117));var _0xe7ab=function(_0xecc781,_0x272faa){_0xecc781=_0xecc781-0x0;var _0x5344d6=_0x7abe[_0xecc781];return _0x5344d6;};'use strict';var _=require(_0xe7ab('0x0'));var util=require(_0xe7ab('0x1'));var logger=require(_0xe7ab('0x2'))('api');var moment=require('moment');var BPromise=require(_0xe7ab('0x3'));var rp=require(_0xe7ab('0x4'));var fs=require('fs');var path=require(_0xe7ab('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe7ab('0x6'));module[_0xe7ab('0x7')]=function(_0x264fa1,_0x132497){return _0x264fa1[_0xe7ab('0x8')](_0xe7ab('0x9'),attributes,{'tableName':_0xe7ab('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};