Built motion from commit (unavailable).|2.5.31
[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 _0xdce2=['exports','define','Integration','integrations','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./integration.attributes'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xdce2,0xba));var _0x2dce=function(_0xfa634c,_0x414e0e){_0xfa634c=_0xfa634c-0x0;var _0x73e478=_0xdce2[_0xfa634c];return _0x73e478;};'use strict';var _=require('lodash');var util=require(_0x2dce('0x0'));var logger=require(_0x2dce('0x1'))(_0x2dce('0x2'));var moment=require(_0x2dce('0x3'));var BPromise=require(_0x2dce('0x4'));var rp=require(_0x2dce('0x5'));var fs=require('fs');var path=require(_0x2dce('0x6'));var rimraf=require(_0x2dce('0x7'));var config=require(_0x2dce('0x8'));var attributes=require(_0x2dce('0x9'));module[_0x2dce('0xa')]=function(_0x597eeb,_0x1ecf4f){return _0x597eeb[_0x2dce('0xb')](_0x2dce('0xc'),attributes,{'tableName':_0x2dce('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};