Built motion from commit (unavailable).|2.4.21
[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 _0xb201=['tools_variables','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./variable.attributes','exports','Variable'];(function(_0x7e8777,_0x1c55ee){var _0x5c290c=function(_0x175c0b){while(--_0x175c0b){_0x7e8777['push'](_0x7e8777['shift']());}};_0x5c290c(++_0x1c55ee);}(_0xb201,0x1b1));var _0x1b20=function(_0x56010f,_0x361d8e){_0x56010f=_0x56010f-0x0;var _0x387ad5=_0xb201[_0x56010f];return _0x387ad5;};'use strict';var _=require(_0x1b20('0x0'));var util=require('util');var logger=require(_0x1b20('0x1'))(_0x1b20('0x2'));var moment=require(_0x1b20('0x3'));var BPromise=require(_0x1b20('0x4'));var rp=require(_0x1b20('0x5'));var fs=require('fs');var path=require(_0x1b20('0x6'));var rimraf=require('rimraf');var config=require(_0x1b20('0x7'));var attributes=require(_0x1b20('0x8'));module[_0x1b20('0x9')]=function(_0x4da5a7,_0x29fbc1){return _0x4da5a7['define'](_0x1b20('0xa'),attributes,{'tableName':_0x1b20('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};