cc1a97b7470662df9bd6b67f661e3f2076800237
[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 _0xee9d=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./variable.attributes','define','Variable','tools_variables','util','../../config/logger'];(function(_0x209635,_0x71da56){var _0x25c097=function(_0x4f179e){while(--_0x4f179e){_0x209635['push'](_0x209635['shift']());}};_0x25c097(++_0x71da56);}(_0xee9d,0x1c5));var _0xdee9=function(_0x266c09,_0x34ca33){_0x266c09=_0x266c09-0x0;var _0x2afcfb=_0xee9d[_0x266c09];return _0x2afcfb;};'use strict';var _=require('lodash');var util=require(_0xdee9('0x0'));var logger=require(_0xdee9('0x1'))(_0xdee9('0x2'));var moment=require(_0xdee9('0x3'));var BPromise=require(_0xdee9('0x4'));var rp=require(_0xdee9('0x5'));var fs=require('fs');var path=require(_0xdee9('0x6'));var rimraf=require(_0xdee9('0x7'));var config=require(_0xdee9('0x8'));var attributes=require(_0xdee9('0x9'));module['exports']=function(_0x50125e,_0x29f2bc){return _0x50125e[_0xdee9('0xa')](_0xdee9('0xb'),attributes,{'tableName':_0xdee9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};