Built motion from commit (unavailable).|2.4.20
[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 _0xeeba=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./integration.attributes','define','Integration','integrations'];(function(_0xd12328,_0x31a737){var _0x5a3614=function(_0x1b35ad){while(--_0x1b35ad){_0xd12328['push'](_0xd12328['shift']());}};_0x5a3614(++_0x31a737);}(_0xeeba,0x75));var _0xaeeb=function(_0x7dc9f,_0x12df6b){_0x7dc9f=_0x7dc9f-0x0;var _0x97ded1=_0xeeba[_0x7dc9f];return _0x97ded1;};'use strict';var _=require(_0xaeeb('0x0'));var util=require(_0xaeeb('0x1'));var logger=require(_0xaeeb('0x2'))(_0xaeeb('0x3'));var moment=require('moment');var BPromise=require(_0xaeeb('0x4'));var rp=require(_0xaeeb('0x5'));var fs=require('fs');var path=require(_0xaeeb('0x6'));var rimraf=require(_0xaeeb('0x7'));var config=require(_0xaeeb('0x8'));var attributes=require(_0xaeeb('0x9'));module['exports']=function(_0x42414b,_0x13bb17){return _0x42414b[_0xaeeb('0xa')](_0xaeeb('0xb'),attributes,{'tableName':_0xaeeb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};