Built motion from commit 3e059bc2.|2.5.32
[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 _0xac75=['../../config/environment','./integration.attributes','define','Integration','integrations','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x488a32,_0x1b58f2){var _0x258cc5=function(_0x321942){while(--_0x321942){_0x488a32['push'](_0x488a32['shift']());}};_0x258cc5(++_0x1b58f2);}(_0xac75,0x13d));var _0x5ac7=function(_0x5c7c4b,_0x511783){_0x5c7c4b=_0x5c7c4b-0x0;var _0x5496ff=_0xac75[_0x5c7c4b];return _0x5496ff;};'use strict';var _=require(_0x5ac7('0x0'));var util=require(_0x5ac7('0x1'));var logger=require(_0x5ac7('0x2'))(_0x5ac7('0x3'));var moment=require('moment');var BPromise=require(_0x5ac7('0x4'));var rp=require(_0x5ac7('0x5'));var fs=require('fs');var path=require(_0x5ac7('0x6'));var rimraf=require(_0x5ac7('0x7'));var config=require(_0x5ac7('0x8'));var attributes=require(_0x5ac7('0x9'));module['exports']=function(_0x7053ea,_0x4ee31b){return _0x7053ea[_0x5ac7('0xa')](_0x5ac7('0xb'),attributes,{'tableName':_0x5ac7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};