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 _0xe88d=['./variable.attributes','exports','define','Variable','tools_variables','lodash','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x40583f,_0x97213b){var _0xead80b=function(_0x258943){while(--_0x258943){_0x40583f['push'](_0x40583f['shift']());}};_0xead80b(++_0x97213b);}(_0xe88d,0x71));var _0xde88=function(_0xf10840,_0xad3916){_0xf10840=_0xf10840-0x0;var _0x1fdf7e=_0xe88d[_0xf10840];return _0x1fdf7e;};'use strict';var _=require(_0xde88('0x0'));var util=require('util');var logger=require(_0xde88('0x1'))('api');var moment=require('moment');var BPromise=require(_0xde88('0x2'));var rp=require(_0xde88('0x3'));var fs=require('fs');var path=require(_0xde88('0x4'));var rimraf=require(_0xde88('0x5'));var config=require(_0xde88('0x6'));var attributes=require(_0xde88('0x7'));module[_0xde88('0x8')]=function(_0x52c2bb,_0x123f7d){return _0x52c2bb[_0xde88('0x9')](_0xde88('0xa'),attributes,{'tableName':_0xde88('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};