Built motion from commit 775e2a94.|2.6.3
[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 _0xdf09=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','exports','define','integrations','util'];(function(_0x3680dd,_0x1b53ec){var _0x3c2196=function(_0x3ac000){while(--_0x3ac000){_0x3680dd['push'](_0x3680dd['shift']());}};_0x3c2196(++_0x1b53ec);}(_0xdf09,0x154));var _0x9df0=function(_0x1923b6,_0x3e2204){_0x1923b6=_0x1923b6-0x0;var _0x34afff=_0xdf09[_0x1923b6];return _0x34afff;};'use strict';var _=require('lodash');var util=require(_0x9df0('0x0'));var logger=require(_0x9df0('0x1'))(_0x9df0('0x2'));var moment=require(_0x9df0('0x3'));var BPromise=require(_0x9df0('0x4'));var rp=require(_0x9df0('0x5'));var fs=require('fs');var path=require(_0x9df0('0x6'));var rimraf=require('rimraf');var config=require(_0x9df0('0x7'));var attributes=require('./integration.attributes');module[_0x9df0('0x8')]=function(_0xd87ff2,_0x1b8b33){return _0xd87ff2[_0x9df0('0x9')]('Integration',attributes,{'tableName':_0x9df0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};