Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / integration / integration.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 _0x0e56=['lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./integration.attributes','define','Integration','integrations'];(function(_0x125dea,_0xb160c1){var _0x3f612a=function(_0x307677){while(--_0x307677){_0x125dea['push'](_0x125dea['shift']());}};_0x3f612a(++_0xb160c1);}(_0x0e56,0x18c));var _0x60e5=function(_0xeead8a,_0x3d2400){_0xeead8a=_0xeead8a-0x0;var _0x24742c=_0x0e56[_0xeead8a];return _0x24742c;};'use strict';var _=require(_0x60e5('0x0'));var util=require(_0x60e5('0x1'));var logger=require(_0x60e5('0x2'))('api');var moment=require(_0x60e5('0x3'));var BPromise=require('bluebird');var rp=require(_0x60e5('0x4'));var fs=require('fs');var path=require(_0x60e5('0x5'));var rimraf=require(_0x60e5('0x6'));var config=require(_0x60e5('0x7'));var attributes=require(_0x60e5('0x8'));module['exports']=function(_0x5a6e4e,_0x40ef55){return _0x5a6e4e[_0x60e5('0x9')](_0x60e5('0xa'),attributes,{'tableName':_0x60e5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};