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 _0x1eb6=['../../config/logger','moment','bluebird','path','./template.attributes','exports','define','Template','tools_templates','lodash','util'];(function(_0x4f9ef1,_0x3cead7){var _0x3d3573=function(_0x188b68){while(--_0x188b68){_0x4f9ef1['push'](_0x4f9ef1['shift']());}};_0x3d3573(++_0x3cead7);}(_0x1eb6,0x132));var _0x61eb=function(_0x41905b,_0x31e9f0){_0x41905b=_0x41905b-0x0;var _0x2b3af1=_0x1eb6[_0x41905b];return _0x2b3af1;};'use strict';var _=require(_0x61eb('0x0'));var util=require(_0x61eb('0x1'));var logger=require(_0x61eb('0x2'))('api');var moment=require(_0x61eb('0x3'));var BPromise=require(_0x61eb('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x61eb('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x61eb('0x6'));module[_0x61eb('0x7')]=function(_0x37342c,_0x42f161){return _0x37342c[_0x61eb('0x8')](_0x61eb('0x9'),attributes,{'tableName':_0x61eb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};