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 _0xa193=['bluebird','request-promise','path','rimraf','exports','Template','tools_templates','lodash','../../config/logger','api','moment'];(function(_0x1446ae,_0x2fa4ac){var _0x2af625=function(_0xe86c5b){while(--_0xe86c5b){_0x1446ae['push'](_0x1446ae['shift']());}};_0x2af625(++_0x2fa4ac);}(_0xa193,0x6a));var _0x3a19=function(_0x46d369,_0x443cc5){_0x46d369=_0x46d369-0x0;var _0x533347=_0xa193[_0x46d369];return _0x533347;};'use strict';var _=require(_0x3a19('0x0'));var util=require('util');var logger=require(_0x3a19('0x1'))(_0x3a19('0x2'));var moment=require(_0x3a19('0x3'));var BPromise=require(_0x3a19('0x4'));var rp=require(_0x3a19('0x5'));var fs=require('fs');var path=require(_0x3a19('0x6'));var rimraf=require(_0x3a19('0x7'));var config=require('../../config/environment');var attributes=require('./template.attributes');module[_0x3a19('0x8')]=function(_0x39eb1e,_0x49cc18){return _0x39eb1e['define'](_0x3a19('0x9'),attributes,{'tableName':_0x3a19('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};