Built motion from commit (unavailable).|2.5.14
[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 _0x215f=['bluebird','request-promise','path','../../config/environment','./integration.attributes','exports','define','Integration','integrations','util','../../config/logger','moment'];(function(_0x2a3234,_0x442c61){var _0x3b6730=function(_0x1d1683){while(--_0x1d1683){_0x2a3234['push'](_0x2a3234['shift']());}};_0x3b6730(++_0x442c61);}(_0x215f,0x81));var _0xf215=function(_0x958f81,_0x18f637){_0x958f81=_0x958f81-0x0;var _0x2d502a=_0x215f[_0x958f81];return _0x2d502a;};'use strict';var _=require('lodash');var util=require(_0xf215('0x0'));var logger=require(_0xf215('0x1'))('api');var moment=require(_0xf215('0x2'));var BPromise=require(_0xf215('0x3'));var rp=require(_0xf215('0x4'));var fs=require('fs');var path=require(_0xf215('0x5'));var rimraf=require('rimraf');var config=require(_0xf215('0x6'));var attributes=require(_0xf215('0x7'));module[_0xf215('0x8')]=function(_0x112800,_0x9ddd90){return _0x112800[_0xf215('0x9')](_0xf215('0xa'),attributes,{'tableName':_0xf215('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};