Built motion from commit fa4c4286.|2.6.29
[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 _0xc537=['../../config/environment','./variable.attributes','define','Variable','tools_variables','lodash','util','../../config/logger','bluebird'];(function(_0x28da10,_0x29470c){var _0x298372=function(_0x4acba9){while(--_0x4acba9){_0x28da10['push'](_0x28da10['shift']());}};_0x298372(++_0x29470c);}(_0xc537,0x152));var _0x7c53=function(_0x14ebec,_0x24d65f){_0x14ebec=_0x14ebec-0x0;var _0x10b6df=_0xc537[_0x14ebec];return _0x10b6df;};'use strict';var _=require(_0x7c53('0x0'));var util=require(_0x7c53('0x1'));var logger=require(_0x7c53('0x2'))('api');var moment=require('moment');var BPromise=require(_0x7c53('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x7c53('0x4'));var attributes=require(_0x7c53('0x5'));module['exports']=function(_0x1fda6e,_0x7d0697){return _0x1fda6e[_0x7c53('0x6')](_0x7c53('0x7'),attributes,{'tableName':_0x7c53('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};