Built motion from commit (unavailable).|2.4.20
[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 _0x8fcf=['../../config/environment','./variable.attributes','exports','define','Variable','lodash','util','../../config/logger','moment','rimraf'];(function(_0x3c5512,_0x3429f1){var _0x2bea5b=function(_0x25ea2b){while(--_0x25ea2b){_0x3c5512['push'](_0x3c5512['shift']());}};_0x2bea5b(++_0x3429f1);}(_0x8fcf,0x1db));var _0xf8fc=function(_0x8c2cff,_0x457a9f){_0x8c2cff=_0x8c2cff-0x0;var _0x372e93=_0x8fcf[_0x8c2cff];return _0x372e93;};'use strict';var _=require(_0xf8fc('0x0'));var util=require(_0xf8fc('0x1'));var logger=require(_0xf8fc('0x2'))('api');var moment=require(_0xf8fc('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf8fc('0x4'));var config=require(_0xf8fc('0x5'));var attributes=require(_0xf8fc('0x6'));module[_0xf8fc('0x7')]=function(_0x33fdc1,_0x292131){return _0x33fdc1[_0xf8fc('0x8')](_0xf8fc('0x9'),attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};