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 _0xd5c4=['Variable','tools_variables','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','exports','define'];(function(_0x3f9b67,_0x350562){var _0x5003ff=function(_0x1084cb){while(--_0x1084cb){_0x3f9b67['push'](_0x3f9b67['shift']());}};_0x5003ff(++_0x350562);}(_0xd5c4,0x12d));var _0x4d5c=function(_0x4b8db3,_0xa35e06){_0x4b8db3=_0x4b8db3-0x0;var _0x5e2a02=_0xd5c4[_0x4b8db3];return _0x5e2a02;};'use strict';var _=require(_0x4d5c('0x0'));var util=require(_0x4d5c('0x1'));var logger=require(_0x4d5c('0x2'))(_0x4d5c('0x3'));var moment=require(_0x4d5c('0x4'));var BPromise=require(_0x4d5c('0x5'));var rp=require(_0x4d5c('0x6'));var fs=require('fs');var path=require(_0x4d5c('0x7'));var rimraf=require('rimraf');var config=require(_0x4d5c('0x8'));var attributes=require('./variable.attributes');module[_0x4d5c('0x9')]=function(_0x5b0d7b,_0x453881){return _0x5b0d7b[_0x4d5c('0xa')](_0x4d5c('0xb'),attributes,{'tableName':_0x4d5c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};