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 _0x0874=['request-promise','../../config/environment','./variable.attributes','exports','util','api','moment','bluebird'];(function(_0x25a92e,_0x4e8ded){var _0x5732e2=function(_0x31806a){while(--_0x31806a){_0x25a92e['push'](_0x25a92e['shift']());}};_0x5732e2(++_0x4e8ded);}(_0x0874,0x14c));var _0x4087=function(_0x26f69f,_0x1bc94a){_0x26f69f=_0x26f69f-0x0;var _0x2cee15=_0x0874[_0x26f69f];return _0x2cee15;};'use strict';var _=require('lodash');var util=require(_0x4087('0x0'));var logger=require('../../config/logger')(_0x4087('0x1'));var moment=require(_0x4087('0x2'));var BPromise=require(_0x4087('0x3'));var rp=require(_0x4087('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4087('0x5'));var attributes=require(_0x4087('0x6'));module[_0x4087('0x7')]=function(_0x440324,_0x2dad2f){return _0x440324['define']('Variable',attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};