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 _0x774e=['path','rimraf','../../config/environment','./template.attributes','exports','Template','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0x774e,0x11a));var _0xe774=function(_0x3df555,_0x47b1b0){_0x3df555=_0x3df555-0x0;var _0x17e197=_0x774e[_0x3df555];return _0x17e197;};'use strict';var _=require(_0xe774('0x0'));var util=require(_0xe774('0x1'));var logger=require(_0xe774('0x2'))('api');var moment=require(_0xe774('0x3'));var BPromise=require(_0xe774('0x4'));var rp=require(_0xe774('0x5'));var fs=require('fs');var path=require(_0xe774('0x6'));var rimraf=require(_0xe774('0x7'));var config=require(_0xe774('0x8'));var attributes=require(_0xe774('0x9'));module[_0xe774('0xa')]=function(_0x1f291a,_0x5b3fe4){return _0x1f291a['define'](_0xe774('0xb'),attributes,{'tableName':'tools_templates','paranoid':![],'indexes':[],'timestamps':!![]});};