Built motion from commit (unavailable).|2.2.0
[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 _0x0f99=['util','../../config/logger','api','moment','request-promise','./plugin.attributes','exports','Plugin','plugins','lodash'];(function(_0x50408a,_0x590209){var _0x2f0060=function(_0x39e274){while(--_0x39e274){_0x50408a['push'](_0x50408a['shift']());}};_0x2f0060(++_0x590209);}(_0x0f99,0x167));var _0x90f9=function(_0x20b9e1,_0x4e5081){_0x20b9e1=_0x20b9e1-0x0;var _0x42fdcf=_0x0f99[_0x20b9e1];return _0x42fdcf;};'use strict';var _=require(_0x90f9('0x0'));var util=require(_0x90f9('0x1'));var logger=require(_0x90f9('0x2'))(_0x90f9('0x3'));var moment=require(_0x90f9('0x4'));var BPromise=require('bluebird');var rp=require(_0x90f9('0x5'));var attributes=require(_0x90f9('0x6'));module[_0x90f9('0x7')]=function(_0xe5d345,_0x5c72da){return _0xe5d345['define'](_0x90f9('0x8'),attributes,{'tableName':_0x90f9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};