Built motion from commit (unavailable).|2.5.5
[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 _0xfc9f=['Variable','tools_variables','lodash','../../config/logger','api','moment','bluebird','request-promise','path','./variable.attributes'];(function(_0x3d0743,_0x2a211b){var _0x4d0697=function(_0x39ba03){while(--_0x39ba03){_0x3d0743['push'](_0x3d0743['shift']());}};_0x4d0697(++_0x2a211b);}(_0xfc9f,0x7a));var _0xffc9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfc9f[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xffc9('0x0'));var util=require('util');var logger=require(_0xffc9('0x1'))(_0xffc9('0x2'));var moment=require(_0xffc9('0x3'));var BPromise=require(_0xffc9('0x4'));var rp=require(_0xffc9('0x5'));var fs=require('fs');var path=require(_0xffc9('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xffc9('0x7'));module['exports']=function(_0x155cef,_0x122a56){return _0x155cef['define'](_0xffc9('0x8'),attributes,{'tableName':_0xffc9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};