Built motion from commit (unavailable).|2.5.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 _0x9234=['tools_variables','lodash','../../config/logger','api','moment','bluebird','path','rimraf','./variable.attributes','exports','define','Variable'];(function(_0x2775b4,_0x22b5e8){var _0x2025dd=function(_0x41d4e5){while(--_0x41d4e5){_0x2775b4['push'](_0x2775b4['shift']());}};_0x2025dd(++_0x22b5e8);}(_0x9234,0x1bd));var _0x4923=function(_0x58ceb9,_0x5601df){_0x58ceb9=_0x58ceb9-0x0;var _0x3d0ff5=_0x9234[_0x58ceb9];return _0x3d0ff5;};'use strict';var _=require(_0x4923('0x0'));var util=require('util');var logger=require(_0x4923('0x1'))(_0x4923('0x2'));var moment=require(_0x4923('0x3'));var BPromise=require(_0x4923('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4923('0x5'));var rimraf=require(_0x4923('0x6'));var config=require('../../config/environment');var attributes=require(_0x4923('0x7'));module[_0x4923('0x8')]=function(_0x526ad7,_0x3c5e3f){return _0x526ad7[_0x4923('0x9')](_0x4923('0xa'),attributes,{'tableName':_0x4923('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};