3b3564c729fcd2833ff593c8f471f23a87b7ead8
[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 _0x4605=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./integration.attributes','exports','Integration','lodash','util','../../config/logger'];(function(_0xb7cb72,_0x19d391){var _0x4b7570=function(_0x5a4a93){while(--_0x5a4a93){_0xb7cb72['push'](_0xb7cb72['shift']());}};_0x4b7570(++_0x19d391);}(_0x4605,0x1a1));var _0x5460=function(_0x5be892,_0x68238a){_0x5be892=_0x5be892-0x0;var _0x53fc35=_0x4605[_0x5be892];return _0x53fc35;};'use strict';var _=require(_0x5460('0x0'));var util=require(_0x5460('0x1'));var logger=require(_0x5460('0x2'))(_0x5460('0x3'));var moment=require(_0x5460('0x4'));var BPromise=require(_0x5460('0x5'));var rp=require(_0x5460('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5460('0x7'));var config=require(_0x5460('0x8'));var attributes=require(_0x5460('0x9'));module[_0x5460('0xa')]=function(_0x504e21,_0x26727c){return _0x504e21['define'](_0x5460('0xb'),attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};