Built motion from commit (unavailable).|2.5.4
[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 _0x262a=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./variable.attributes','exports','tools_variables','lodash'];(function(_0xdbd251,_0x5a10f5){var _0x47ff35=function(_0x4321c3){while(--_0x4321c3){_0xdbd251['push'](_0xdbd251['shift']());}};_0x47ff35(++_0x5a10f5);}(_0x262a,0x178));var _0xa262=function(_0x34c553,_0x3e7dfc){_0x34c553=_0x34c553-0x0;var _0x1357d2=_0x262a[_0x34c553];return _0x1357d2;};'use strict';var _=require(_0xa262('0x0'));var util=require(_0xa262('0x1'));var logger=require(_0xa262('0x2'))(_0xa262('0x3'));var moment=require(_0xa262('0x4'));var BPromise=require(_0xa262('0x5'));var rp=require(_0xa262('0x6'));var fs=require('fs');var path=require(_0xa262('0x7'));var rimraf=require(_0xa262('0x8'));var config=require(_0xa262('0x9'));var attributes=require(_0xa262('0xa'));module[_0xa262('0xb')]=function(_0x35c7ba,_0x5a2a98){return _0x35c7ba['define']('Variable',attributes,{'tableName':_0xa262('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};