26c08cedc72ef22489d387e3816b4b9f5c1846ea
[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 _0xb8f0=['bluebird','request-promise','path','rimraf','../../config/environment','./integration.attributes','exports','Integration','integrations','lodash','util','../../config/logger','api','moment'];(function(_0x20f7db,_0x20f85e){var _0x4d4568=function(_0x897c7f){while(--_0x897c7f){_0x20f7db['push'](_0x20f7db['shift']());}};_0x4d4568(++_0x20f85e);}(_0xb8f0,0x95));var _0x0b8f=function(_0xecfe7e,_0xa375a1){_0xecfe7e=_0xecfe7e-0x0;var _0x42dc84=_0xb8f0[_0xecfe7e];return _0x42dc84;};'use strict';var _=require(_0x0b8f('0x0'));var util=require(_0x0b8f('0x1'));var logger=require(_0x0b8f('0x2'))(_0x0b8f('0x3'));var moment=require(_0x0b8f('0x4'));var BPromise=require(_0x0b8f('0x5'));var rp=require(_0x0b8f('0x6'));var fs=require('fs');var path=require(_0x0b8f('0x7'));var rimraf=require(_0x0b8f('0x8'));var config=require(_0x0b8f('0x9'));var attributes=require(_0x0b8f('0xa'));module[_0x0b8f('0xb')]=function(_0x8548db,_0x4ac368){return _0x8548db['define'](_0x0b8f('0xc'),attributes,{'tableName':_0x0b8f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};