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 _0xcae1=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','Template','tools_templates','lodash','util','../../config/logger','moment'];(function(_0x3c6d26,_0x17738e){var _0x1dded2=function(_0x44e00f){while(--_0x44e00f){_0x3c6d26['push'](_0x3c6d26['shift']());}};_0x1dded2(++_0x17738e);}(_0xcae1,0x19c));var _0x1cae=function(_0x2373f5,_0x55fbde){_0x2373f5=_0x2373f5-0x0;var _0x31cf35=_0xcae1[_0x2373f5];return _0x31cf35;};'use strict';var _=require(_0x1cae('0x0'));var util=require(_0x1cae('0x1'));var logger=require(_0x1cae('0x2'))('api');var moment=require(_0x1cae('0x3'));var BPromise=require(_0x1cae('0x4'));var rp=require(_0x1cae('0x5'));var fs=require('fs');var path=require(_0x1cae('0x6'));var rimraf=require(_0x1cae('0x7'));var config=require(_0x1cae('0x8'));var attributes=require('./template.attributes');module[_0x1cae('0x9')]=function(_0x17427e,_0x8d5ff4){return _0x17427e[_0x1cae('0xa')](_0x1cae('0xb'),attributes,{'tableName':_0x1cae('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};