Built motion from commit 1fa89557.|2.6.10
[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 _0x2020=['util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./variable.attributes','exports','define','Variable','tools_variables','lodash'];(function(_0x5a9c52,_0xf01e57){var _0x4732eb=function(_0x500fd8){while(--_0x500fd8){_0x5a9c52['push'](_0x5a9c52['shift']());}};_0x4732eb(++_0xf01e57);}(_0x2020,0x141));var _0x0202=function(_0xe961c3,_0x250d67){_0xe961c3=_0xe961c3-0x0;var _0x212827=_0x2020[_0xe961c3];return _0x212827;};'use strict';var _=require(_0x0202('0x0'));var util=require(_0x0202('0x1'));var logger=require(_0x0202('0x2'))(_0x0202('0x3'));var moment=require(_0x0202('0x4'));var BPromise=require('bluebird');var rp=require(_0x0202('0x5'));var fs=require('fs');var path=require(_0x0202('0x6'));var rimraf=require(_0x0202('0x7'));var config=require(_0x0202('0x8'));var attributes=require(_0x0202('0x9'));module[_0x0202('0xa')]=function(_0x33f6b4,_0x445041){return _0x33f6b4[_0x0202('0xb')](_0x0202('0xc'),attributes,{'tableName':_0x0202('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};