e656cfe60add19a433700f3477d7d33938fa3389
[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 _0x1fb4=['./integration.attributes','exports','define','Integration','integrations','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x48e3ee,_0xea8388){var _0x248950=function(_0x1d656b){while(--_0x1d656b){_0x48e3ee['push'](_0x48e3ee['shift']());}};_0x248950(++_0xea8388);}(_0x1fb4,0x157));var _0x41fb=function(_0x5dc064,_0x719fb2){_0x5dc064=_0x5dc064-0x0;var _0x79f053=_0x1fb4[_0x5dc064];return _0x79f053;};'use strict';var _=require(_0x41fb('0x0'));var util=require(_0x41fb('0x1'));var logger=require('../../config/logger')(_0x41fb('0x2'));var moment=require(_0x41fb('0x3'));var BPromise=require(_0x41fb('0x4'));var rp=require(_0x41fb('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x41fb('0x6'));var config=require(_0x41fb('0x7'));var attributes=require(_0x41fb('0x8'));module[_0x41fb('0x9')]=function(_0x1e77e7,_0x344ebc){return _0x1e77e7[_0x41fb('0xa')](_0x41fb('0xb'),attributes,{'tableName':_0x41fb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};