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 _0xf1c1=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','Variable','tools_variables','lodash','../../config/logger','api','moment'];(function(_0x4f8d49,_0x49ef9e){var _0xf4011c=function(_0x514354){while(--_0x514354){_0x4f8d49['push'](_0x4f8d49['shift']());}};_0xf4011c(++_0x49ef9e);}(_0xf1c1,0x18f));var _0x1f1c=function(_0xc7ee5e,_0x477be0){_0xc7ee5e=_0xc7ee5e-0x0;var _0x19f9d5=_0xf1c1[_0xc7ee5e];return _0x19f9d5;};'use strict';var _=require(_0x1f1c('0x0'));var util=require('util');var logger=require(_0x1f1c('0x1'))(_0x1f1c('0x2'));var moment=require(_0x1f1c('0x3'));var BPromise=require(_0x1f1c('0x4'));var rp=require(_0x1f1c('0x5'));var fs=require('fs');var path=require(_0x1f1c('0x6'));var rimraf=require(_0x1f1c('0x7'));var config=require(_0x1f1c('0x8'));var attributes=require('./variable.attributes');module[_0x1f1c('0x9')]=function(_0x4e1a68,_0xc1f8cd){return _0x4e1a68[_0x1f1c('0xa')](_0x1f1c('0xb'),attributes,{'tableName':_0x1f1c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};