722105e1512730b0b710f0d7985fcf25a118cc8a
[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 _0x6ff4=['../../config/environment','./integration.attributes','define','Integration','integrations','lodash','moment','bluebird','request-promise','path','rimraf'];(function(_0x4f431d,_0xd51a3b){var _0x4f31e1=function(_0x1c688d){while(--_0x1c688d){_0x4f431d['push'](_0x4f431d['shift']());}};_0x4f31e1(++_0xd51a3b);}(_0x6ff4,0x191));var _0x46ff=function(_0xf130d,_0x3bc2c9){_0xf130d=_0xf130d-0x0;var _0x58c72c=_0x6ff4[_0xf130d];return _0x58c72c;};'use strict';var _=require(_0x46ff('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x46ff('0x1'));var BPromise=require(_0x46ff('0x2'));var rp=require(_0x46ff('0x3'));var fs=require('fs');var path=require(_0x46ff('0x4'));var rimraf=require(_0x46ff('0x5'));var config=require(_0x46ff('0x6'));var attributes=require(_0x46ff('0x7'));module['exports']=function(_0x564ff3,_0xbca6e9){return _0x564ff3[_0x46ff('0x8')](_0x46ff('0x9'),attributes,{'tableName':_0x46ff('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};