Built motion from commit 97153652.|2.6.26
[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 _0xae7a=['path','rimraf','./integration.attributes','exports','define','integrations','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x21cb7f,_0x48cd16){var _0x5a079a=function(_0x569a4f){while(--_0x569a4f){_0x21cb7f['push'](_0x21cb7f['shift']());}};_0x5a079a(++_0x48cd16);}(_0xae7a,0x7e));var _0xaae7=function(_0xc0da83,_0x593052){_0xc0da83=_0xc0da83-0x0;var _0x3e2841=_0xae7a[_0xc0da83];return _0x3e2841;};'use strict';var _=require(_0xaae7('0x0'));var util=require(_0xaae7('0x1'));var logger=require(_0xaae7('0x2'))(_0xaae7('0x3'));var moment=require(_0xaae7('0x4'));var BPromise=require(_0xaae7('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xaae7('0x6'));var rimraf=require(_0xaae7('0x7'));var config=require('../../config/environment');var attributes=require(_0xaae7('0x8'));module[_0xaae7('0x9')]=function(_0x24bb0c,_0x2497db){return _0x24bb0c[_0xaae7('0xa')]('Integration',attributes,{'tableName':_0xaae7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};