Built motion from commit 96f8de6d.|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 _0x004b=['request-promise','path','./integration.attributes','exports','Integration','integrations','lodash','util','api'];(function(_0xab6f3e,_0xc2fe9f){var _0x1eed95=function(_0x40f494){while(--_0x40f494){_0xab6f3e['push'](_0xab6f3e['shift']());}};_0x1eed95(++_0xc2fe9f);}(_0x004b,0xba));var _0xb004=function(_0x4770a2,_0x151269){_0x4770a2=_0x4770a2-0x0;var _0x5148b7=_0x004b[_0x4770a2];return _0x5148b7;};'use strict';var _=require(_0xb004('0x0'));var util=require(_0xb004('0x1'));var logger=require('../../config/logger')(_0xb004('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xb004('0x3'));var fs=require('fs');var path=require(_0xb004('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb004('0x5'));module[_0xb004('0x6')]=function(_0x2d23d5,_0x3a338d){return _0x2d23d5['define'](_0xb004('0x7'),attributes,{'tableName':_0xb004('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};