f96dfac94ed7224ad5591d297747c8c1e4d0ceac
[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 _0xf562=['moment','bluebird','request-promise','path','rimraf','./variable.attributes','define','Variable','tools_variables','lodash','util','../../config/logger','api'];(function(_0x591d0d,_0x45ebb5){var _0x88ff5e=function(_0x4aca8e){while(--_0x4aca8e){_0x591d0d['push'](_0x591d0d['shift']());}};_0x88ff5e(++_0x45ebb5);}(_0xf562,0x100));var _0x2f56=function(_0x5dffc0,_0x38a88d){_0x5dffc0=_0x5dffc0-0x0;var _0x2b47ef=_0xf562[_0x5dffc0];return _0x2b47ef;};'use strict';var _=require(_0x2f56('0x0'));var util=require(_0x2f56('0x1'));var logger=require(_0x2f56('0x2'))(_0x2f56('0x3'));var moment=require(_0x2f56('0x4'));var BPromise=require(_0x2f56('0x5'));var rp=require(_0x2f56('0x6'));var fs=require('fs');var path=require(_0x2f56('0x7'));var rimraf=require(_0x2f56('0x8'));var config=require('../../config/environment');var attributes=require(_0x2f56('0x9'));module['exports']=function(_0x14436b,_0x5b3784){return _0x14436b[_0x2f56('0xa')](_0x2f56('0xb'),attributes,{'tableName':_0x2f56('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};