bcdff74ecde1e6291b89b28948c3a000bf5518b0
[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 _0x4ce5=['../../config/environment','./variable.attributes','define','Variable','tools_variables','lodash','../../config/logger','api','request-promise','path','rimraf'];(function(_0x54aea3,_0xae7d81){var _0x21ae46=function(_0xe16dbc){while(--_0xe16dbc){_0x54aea3['push'](_0x54aea3['shift']());}};_0x21ae46(++_0xae7d81);}(_0x4ce5,0x1b2));var _0x54ce=function(_0x3248af,_0x57f475){_0x3248af=_0x3248af-0x0;var _0x27462a=_0x4ce5[_0x3248af];return _0x27462a;};'use strict';var _=require(_0x54ce('0x0'));var util=require('util');var logger=require(_0x54ce('0x1'))(_0x54ce('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x54ce('0x3'));var fs=require('fs');var path=require(_0x54ce('0x4'));var rimraf=require(_0x54ce('0x5'));var config=require(_0x54ce('0x6'));var attributes=require(_0x54ce('0x7'));module['exports']=function(_0x4baee7,_0x390e82){return _0x4baee7[_0x54ce('0x8')](_0x54ce('0x9'),attributes,{'tableName':_0x54ce('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};