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 _0x9be5=['bluebird','path','rimraf','../../config/environment','./template.attributes','exports','define','Template','tools_templates','lodash','util','../../config/logger'];(function(_0x53452e,_0x27e4c0){var _0x134c6f=function(_0x36efa0){while(--_0x36efa0){_0x53452e['push'](_0x53452e['shift']());}};_0x134c6f(++_0x27e4c0);}(_0x9be5,0xc9));var _0x59be=function(_0x934425,_0x5af72f){_0x934425=_0x934425-0x0;var _0x31d596=_0x9be5[_0x934425];return _0x31d596;};'use strict';var _=require(_0x59be('0x0'));var util=require(_0x59be('0x1'));var logger=require(_0x59be('0x2'))('api');var moment=require('moment');var BPromise=require(_0x59be('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x59be('0x4'));var rimraf=require(_0x59be('0x5'));var config=require(_0x59be('0x6'));var attributes=require(_0x59be('0x7'));module[_0x59be('0x8')]=function(_0x426c5b,_0x8bb591){return _0x426c5b[_0x59be('0x9')](_0x59be('0xa'),attributes,{'tableName':_0x59be('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};