Built motion from commit f74363e9.|2.6.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 _0x8753=['api','moment','bluebird','request-promise','path','../../config/environment','./variable.attributes','exports','define','Variable','lodash','util','../../config/logger'];(function(_0x2923bc,_0x6df3f2){var _0x43b272=function(_0x589a28){while(--_0x589a28){_0x2923bc['push'](_0x2923bc['shift']());}};_0x43b272(++_0x6df3f2);}(_0x8753,0xc0));var _0x3875=function(_0x3ded99,_0x4b1012){_0x3ded99=_0x3ded99-0x0;var _0x57e135=_0x8753[_0x3ded99];return _0x57e135;};'use strict';var _=require(_0x3875('0x0'));var util=require(_0x3875('0x1'));var logger=require(_0x3875('0x2'))(_0x3875('0x3'));var moment=require(_0x3875('0x4'));var BPromise=require(_0x3875('0x5'));var rp=require(_0x3875('0x6'));var fs=require('fs');var path=require(_0x3875('0x7'));var rimraf=require('rimraf');var config=require(_0x3875('0x8'));var attributes=require(_0x3875('0x9'));module[_0x3875('0xa')]=function(_0x204726,_0xba3c22){return _0x204726[_0x3875('0xb')](_0x3875('0xc'),attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};