cdb6c5241d86ee3caa4447b51d7cf33144562391
[motion2.git] / server / api / plugin / plugin.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 _0x567f=['rimraf','../../config/environment','./plugin.attributes','exports','plugins','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x5d0e7b,_0x541ed1){var _0x400159=function(_0x4c582a){while(--_0x4c582a){_0x5d0e7b['push'](_0x5d0e7b['shift']());}};_0x400159(++_0x541ed1);}(_0x567f,0x123));var _0xf567=function(_0x1b4912,_0x3e8bb9){_0x1b4912=_0x1b4912-0x0;var _0x48cac5=_0x567f[_0x1b4912];return _0x48cac5;};'use strict';var _=require(_0xf567('0x0'));var util=require(_0xf567('0x1'));var logger=require(_0xf567('0x2'))('api');var moment=require(_0xf567('0x3'));var BPromise=require(_0xf567('0x4'));var rp=require(_0xf567('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf567('0x6'));var config=require(_0xf567('0x7'));var attributes=require(_0xf567('0x8'));module[_0xf567('0x9')]=function(_0x52cf79,_0x28c81f){return _0x52cf79['define']('Plugin',attributes,{'tableName':_0xf567('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};