Built motion from commit e6806ed6.|2.6.0
[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 _0xb1eb=['./variable.attributes','exports','define','Variable','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4bae95,_0x2dbbc6){var _0x41fd70=function(_0x227ea1){while(--_0x227ea1){_0x4bae95['push'](_0x4bae95['shift']());}};_0x41fd70(++_0x2dbbc6);}(_0xb1eb,0xc4));var _0xbb1e=function(_0x4a7737,_0x477216){_0x4a7737=_0x4a7737-0x0;var _0x3a7c73=_0xb1eb[_0x4a7737];return _0x3a7c73;};'use strict';var _=require(_0xbb1e('0x0'));var util=require('util');var logger=require(_0xbb1e('0x1'))('api');var moment=require(_0xbb1e('0x2'));var BPromise=require(_0xbb1e('0x3'));var rp=require(_0xbb1e('0x4'));var fs=require('fs');var path=require(_0xbb1e('0x5'));var rimraf=require(_0xbb1e('0x6'));var config=require(_0xbb1e('0x7'));var attributes=require(_0xbb1e('0x8'));module[_0xbb1e('0x9')]=function(_0x533a1f,_0x41a04f){return _0x533a1f[_0xbb1e('0xa')](_0xbb1e('0xb'),attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};