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 _0x29de=['rimraf','../../config/environment','./variable.attributes','exports','define','tools_variables','util','bluebird','request-promise','path'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0x29de,0xf6));var _0xe29d=function(_0x425ca2,_0x42bb21){_0x425ca2=_0x425ca2-0x0;var _0x460860=_0x29de[_0x425ca2];return _0x460860;};'use strict';var _=require('lodash');var util=require(_0xe29d('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xe29d('0x1'));var rp=require(_0xe29d('0x2'));var fs=require('fs');var path=require(_0xe29d('0x3'));var rimraf=require(_0xe29d('0x4'));var config=require(_0xe29d('0x5'));var attributes=require(_0xe29d('0x6'));module[_0xe29d('0x7')]=function(_0x280c4e,_0xdbd3){return _0x280c4e[_0xe29d('0x8')]('Variable',attributes,{'tableName':_0xe29d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};