Built motion from commit (unavailable).|2.5.4
[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 _0x9c0f=['request-promise','path','../../config/environment','exports','define','Plugin','plugins','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x1fd675,_0x165dfe){var _0x16b554=function(_0x5761ff){while(--_0x5761ff){_0x1fd675['push'](_0x1fd675['shift']());}};_0x16b554(++_0x165dfe);}(_0x9c0f,0x1c1));var _0xf9c0=function(_0x3d131a,_0x2ee691){_0x3d131a=_0x3d131a-0x0;var _0x44c22d=_0x9c0f[_0x3d131a];return _0x44c22d;};'use strict';var _=require(_0xf9c0('0x0'));var util=require(_0xf9c0('0x1'));var logger=require(_0xf9c0('0x2'))(_0xf9c0('0x3'));var moment=require(_0xf9c0('0x4'));var BPromise=require(_0xf9c0('0x5'));var rp=require(_0xf9c0('0x6'));var fs=require('fs');var path=require(_0xf9c0('0x7'));var rimraf=require('rimraf');var config=require(_0xf9c0('0x8'));var attributes=require('./plugin.attributes');module[_0xf9c0('0x9')]=function(_0x4df646,_0x1903f3){return _0x4df646[_0xf9c0('0xa')](_0xf9c0('0xb'),attributes,{'tableName':_0xf9c0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};