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 _0x3956=['./template.attributes','exports','define','tools_templates','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x7e1eb6,_0x3fecd3){var _0x34c586=function(_0x146ce0){while(--_0x146ce0){_0x7e1eb6['push'](_0x7e1eb6['shift']());}};_0x34c586(++_0x3fecd3);}(_0x3956,0x1e8));var _0x6395=function(_0x3e6b2f,_0x1ffa07){_0x3e6b2f=_0x3e6b2f-0x0;var _0x323215=_0x3956[_0x3e6b2f];return _0x323215;};'use strict';var _=require(_0x6395('0x0'));var util=require(_0x6395('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6395('0x2'));var BPromise=require(_0x6395('0x3'));var rp=require(_0x6395('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6395('0x5'));var config=require(_0x6395('0x6'));var attributes=require(_0x6395('0x7'));module[_0x6395('0x8')]=function(_0x6d2b28,_0x2fd693){return _0x6d2b28[_0x6395('0x9')]('Template',attributes,{'tableName':_0x6395('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};