Built motion from commit c738b9ac.|2.6.25
[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 _0x8ff7=['tools_variables','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./variable.attributes','exports','define'];(function(_0x1d9331,_0x28c525){var _0x5eb0d3=function(_0x4309d9){while(--_0x4309d9){_0x1d9331['push'](_0x1d9331['shift']());}};_0x5eb0d3(++_0x28c525);}(_0x8ff7,0x16c));var _0x78ff=function(_0x26ff45,_0x3daf67){_0x26ff45=_0x26ff45-0x0;var _0x141f51=_0x8ff7[_0x26ff45];return _0x141f51;};'use strict';var _=require('lodash');var util=require(_0x78ff('0x0'));var logger=require(_0x78ff('0x1'))(_0x78ff('0x2'));var moment=require('moment');var BPromise=require(_0x78ff('0x3'));var rp=require(_0x78ff('0x4'));var fs=require('fs');var path=require(_0x78ff('0x5'));var rimraf=require(_0x78ff('0x6'));var config=require('../../config/environment');var attributes=require(_0x78ff('0x7'));module[_0x78ff('0x8')]=function(_0x2b66c9,_0x59ebf1){return _0x2b66c9[_0x78ff('0x9')]('Variable',attributes,{'tableName':_0x78ff('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};