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 _0xafe2=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','Template','tools_templates','util','../../config/logger'];(function(_0x26bbf5,_0x102992){var _0x107f4=function(_0x523ef6){while(--_0x523ef6){_0x26bbf5['push'](_0x26bbf5['shift']());}};_0x107f4(++_0x102992);}(_0xafe2,0x195));var _0x2afe=function(_0x3c20ba,_0x313f90){_0x3c20ba=_0x3c20ba-0x0;var _0x523e50=_0xafe2[_0x3c20ba];return _0x523e50;};'use strict';var _=require('lodash');var util=require(_0x2afe('0x0'));var logger=require(_0x2afe('0x1'))('api');var moment=require('moment');var BPromise=require(_0x2afe('0x2'));var rp=require(_0x2afe('0x3'));var fs=require('fs');var path=require(_0x2afe('0x4'));var rimraf=require(_0x2afe('0x5'));var config=require(_0x2afe('0x6'));var attributes=require('./template.attributes');module[_0x2afe('0x7')]=function(_0x438f03,_0x46d364){return _0x438f03[_0x2afe('0x8')](_0x2afe('0x9'),attributes,{'tableName':_0x2afe('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};