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 _0xefdd=['lodash','util','api','moment','bluebird','request-promise','path','exports','tools_variables'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xefdd,0x75));var _0xdefd=function(_0x44ceb1,_0x338f04){_0x44ceb1=_0x44ceb1-0x0;var _0x4ce905=_0xefdd[_0x44ceb1];return _0x4ce905;};'use strict';var _=require(_0xdefd('0x0'));var util=require(_0xdefd('0x1'));var logger=require('../../config/logger')(_0xdefd('0x2'));var moment=require(_0xdefd('0x3'));var BPromise=require(_0xdefd('0x4'));var rp=require(_0xdefd('0x5'));var fs=require('fs');var path=require(_0xdefd('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./variable.attributes');module[_0xdefd('0x7')]=function(_0x27025e,_0x34eb0a){return _0x27025e['define']('Variable',attributes,{'tableName':_0xdefd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};