Built motion from commit b0a9a629.|2.6.33
[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 _0xd733=['./variable.attributes','exports','Variable','tools_variables','lodash','util','moment','bluebird','request-promise','path','rimraf'];(function(_0x5dbeb0,_0x5dd49a){var _0x49a622=function(_0x2e4135){while(--_0x2e4135){_0x5dbeb0['push'](_0x5dbeb0['shift']());}};_0x49a622(++_0x5dd49a);}(_0xd733,0x164));var _0x3d73=function(_0x87239,_0x38c793){_0x87239=_0x87239-0x0;var _0x53af1e=_0xd733[_0x87239];return _0x53af1e;};'use strict';var _=require(_0x3d73('0x0'));var util=require(_0x3d73('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x3d73('0x2'));var BPromise=require(_0x3d73('0x3'));var rp=require(_0x3d73('0x4'));var fs=require('fs');var path=require(_0x3d73('0x5'));var rimraf=require(_0x3d73('0x6'));var config=require('../../config/environment');var attributes=require(_0x3d73('0x7'));module[_0x3d73('0x8')]=function(_0x40e99d,_0x137948){return _0x40e99d['define'](_0x3d73('0x9'),attributes,{'tableName':_0x3d73('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};