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 _0x6439=['tools_templates','util','../../config/logger','moment','bluebird','request-promise','./template.attributes','exports','define','Template'];(function(_0x37e011,_0x34144f){var _0x5a4c87=function(_0x5e07fe){while(--_0x5e07fe){_0x37e011['push'](_0x37e011['shift']());}};_0x5a4c87(++_0x34144f);}(_0x6439,0xc9));var _0x9643=function(_0x20589d,_0x55d5bf){_0x20589d=_0x20589d-0x0;var _0x422de9=_0x6439[_0x20589d];return _0x422de9;};'use strict';var _=require('lodash');var util=require(_0x9643('0x0'));var logger=require(_0x9643('0x1'))('api');var moment=require(_0x9643('0x2'));var BPromise=require(_0x9643('0x3'));var rp=require(_0x9643('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9643('0x5'));module[_0x9643('0x6')]=function(_0x1b7c53,_0x30b64b){return _0x1b7c53[_0x9643('0x7')](_0x9643('0x8'),attributes,{'tableName':_0x9643('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};