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 _0x181e=['Template','tools_templates','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./template.attributes','exports'];(function(_0x2bfa88,_0xc64230){var _0x2e7039=function(_0x4b87cc){while(--_0x4b87cc){_0x2bfa88['push'](_0x2bfa88['shift']());}};_0x2e7039(++_0xc64230);}(_0x181e,0x12e));var _0xe181=function(_0xe348d6,_0x11a06a){_0xe348d6=_0xe348d6-0x0;var _0x57a7ff=_0x181e[_0xe348d6];return _0x57a7ff;};'use strict';var _=require(_0xe181('0x0'));var util=require('util');var logger=require(_0xe181('0x1'))(_0xe181('0x2'));var moment=require(_0xe181('0x3'));var BPromise=require(_0xe181('0x4'));var rp=require(_0xe181('0x5'));var fs=require('fs');var path=require(_0xe181('0x6'));var rimraf=require('rimraf');var config=require(_0xe181('0x7'));var attributes=require(_0xe181('0x8'));module[_0xe181('0x9')]=function(_0x49b185,_0x5356b7){return _0x49b185['define'](_0xe181('0xa'),attributes,{'tableName':_0xe181('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};