4e3b15a6f2fe5473981ccc5749550b8e9ada6e39
[motion2.git] / server / api / variable / variable.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4ee0=['../../config/environment','./variable.attributes','define','Variable','tools_variables','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x3d491d,_0x1a7ff7){var _0x3e27da=function(_0xc80c34){while(--_0xc80c34){_0x3d491d['push'](_0x3d491d['shift']());}};_0x3e27da(++_0x1a7ff7);}(_0x4ee0,0x149));var _0x04ee=function(_0x5a776b,_0x46f785){_0x5a776b=_0x5a776b-0x0;var _0xbbef59=_0x4ee0[_0x5a776b];return _0xbbef59;};'use strict';var _=require(_0x04ee('0x0'));var util=require(_0x04ee('0x1'));var logger=require('../../config/logger')(_0x04ee('0x2'));var moment=require(_0x04ee('0x3'));var BPromise=require('bluebird');var rp=require(_0x04ee('0x4'));var fs=require('fs');var path=require(_0x04ee('0x5'));var rimraf=require(_0x04ee('0x6'));var config=require(_0x04ee('0x7'));var attributes=require(_0x04ee('0x8'));module['exports']=function(_0x2e8600,_0x5bd545){return _0x2e8600[_0x04ee('0x9')](_0x04ee('0xa'),attributes,{'tableName':_0x04ee('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};