bbf36c03e6f5fde3ff531be262a0faa573fa260f
[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 _0xed5a=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./plugin.attributes','exports','plugins'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0xed5a,0xb6));var _0xaed5=function(_0x58a4ac,_0x43fd42){_0x58a4ac=_0x58a4ac-0x0;var _0x545810=_0xed5a[_0x58a4ac];return _0x545810;};'use strict';var _=require(_0xaed5('0x0'));var util=require(_0xaed5('0x1'));var logger=require(_0xaed5('0x2'))(_0xaed5('0x3'));var moment=require(_0xaed5('0x4'));var BPromise=require(_0xaed5('0x5'));var rp=require(_0xaed5('0x6'));var fs=require('fs');var path=require(_0xaed5('0x7'));var rimraf=require(_0xaed5('0x8'));var config=require(_0xaed5('0x9'));var attributes=require(_0xaed5('0xa'));module[_0xaed5('0xb')]=function(_0x5a0173,_0x3902c8){return _0x5a0173['define']('Plugin',attributes,{'tableName':_0xaed5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};