Built motion from commit b5996064.|2.6.21
[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 _0x9ae6=['lodash','util','moment','bluebird','request-promise','./integration.attributes','define','Integration','integrations'];(function(_0x4eed73,_0xf736d4){var _0x297e1a=function(_0x1e0ced){while(--_0x1e0ced){_0x4eed73['push'](_0x4eed73['shift']());}};_0x297e1a(++_0xf736d4);}(_0x9ae6,0x17a));var _0x69ae=function(_0x5815af,_0x361f0b){_0x5815af=_0x5815af-0x0;var _0x3f14cb=_0x9ae6[_0x5815af];return _0x3f14cb;};'use strict';var _=require(_0x69ae('0x0'));var util=require(_0x69ae('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x69ae('0x2'));var BPromise=require(_0x69ae('0x3'));var rp=require(_0x69ae('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x69ae('0x5'));module['exports']=function(_0x28ba83,_0x25c230){return _0x28ba83[_0x69ae('0x6')](_0x69ae('0x7'),attributes,{'tableName':_0x69ae('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};