Built motion from commit 14588770.|2.5.38
[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 _0x82fc=['tools_variables','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./variable.attributes','exports','Variable'];(function(_0x4b7102,_0x468f98){var _0xa3c743=function(_0x456160){while(--_0x456160){_0x4b7102['push'](_0x4b7102['shift']());}};_0xa3c743(++_0x468f98);}(_0x82fc,0x1ae));var _0xc82f=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0x82fc[_0x465028];return _0xb783d4;};'use strict';var _=require(_0xc82f('0x0'));var util=require(_0xc82f('0x1'));var logger=require(_0xc82f('0x2'))(_0xc82f('0x3'));var moment=require('moment');var BPromise=require(_0xc82f('0x4'));var rp=require(_0xc82f('0x5'));var fs=require('fs');var path=require(_0xc82f('0x6'));var rimraf=require(_0xc82f('0x7'));var config=require(_0xc82f('0x8'));var attributes=require(_0xc82f('0x9'));module[_0xc82f('0xa')]=function(_0x4492fa,_0x1b480d){return _0x4492fa['define'](_0xc82f('0xb'),attributes,{'tableName':_0xc82f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};