77e6022f4d2c5007c56d153882857bbc7a70b935
[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 _0xf647=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./integration.attributes','define','Integration','integrations','lodash','../../config/logger'];(function(_0x7d4ffd,_0x2a3a0a){var _0x5e061b=function(_0x511bcc){while(--_0x511bcc){_0x7d4ffd['push'](_0x7d4ffd['shift']());}};_0x5e061b(++_0x2a3a0a);}(_0xf647,0x106));var _0x7f64=function(_0x119886,_0x5adb3b){_0x119886=_0x119886-0x0;var _0x37a640=_0xf647[_0x119886];return _0x37a640;};'use strict';var _=require(_0x7f64('0x0'));var util=require('util');var logger=require(_0x7f64('0x1'))(_0x7f64('0x2'));var moment=require(_0x7f64('0x3'));var BPromise=require(_0x7f64('0x4'));var rp=require(_0x7f64('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7f64('0x6'));var config=require(_0x7f64('0x7'));var attributes=require(_0x7f64('0x8'));module['exports']=function(_0x535ae4,_0xe85c7){return _0x535ae4[_0x7f64('0x9')](_0x7f64('0xa'),attributes,{'tableName':_0x7f64('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};