Built motion from commit 19a84241.|2.5.34
[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 _0x7495=['Variable','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./variable.attributes','define'];(function(_0x377fe3,_0xc6fe7){var _0x44d1b7=function(_0x2d621d){while(--_0x2d621d){_0x377fe3['push'](_0x377fe3['shift']());}};_0x44d1b7(++_0xc6fe7);}(_0x7495,0xb5));var _0x5749=function(_0x2ca616,_0x384ec8){_0x2ca616=_0x2ca616-0x0;var _0x53155f=_0x7495[_0x2ca616];return _0x53155f;};'use strict';var _=require(_0x5749('0x0'));var util=require(_0x5749('0x1'));var logger=require(_0x5749('0x2'))(_0x5749('0x3'));var moment=require(_0x5749('0x4'));var BPromise=require(_0x5749('0x5'));var rp=require(_0x5749('0x6'));var fs=require('fs');var path=require(_0x5749('0x7'));var rimraf=require(_0x5749('0x8'));var config=require('../../config/environment');var attributes=require(_0x5749('0x9'));module['exports']=function(_0x5b31d4,_0x1adb23){return _0x5b31d4[_0x5749('0xa')](_0x5749('0xb'),attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};