Built motion from commit (unavailable).|2.5.0
[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 _0xbc18=['api','moment','request-promise','rimraf','../../config/environment','./integration.attributes','exports','define','Integration','lodash','util','../../config/logger'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0xbc18,0x75));var _0x8bc1=function(_0x69ea92,_0x14506b){_0x69ea92=_0x69ea92-0x0;var _0x45b8ea=_0xbc18[_0x69ea92];return _0x45b8ea;};'use strict';var _=require(_0x8bc1('0x0'));var util=require(_0x8bc1('0x1'));var logger=require(_0x8bc1('0x2'))(_0x8bc1('0x3'));var moment=require(_0x8bc1('0x4'));var BPromise=require('bluebird');var rp=require(_0x8bc1('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8bc1('0x6'));var config=require(_0x8bc1('0x7'));var attributes=require(_0x8bc1('0x8'));module[_0x8bc1('0x9')]=function(_0x4cc497,_0x17920d){return _0x4cc497[_0x8bc1('0xa')](_0x8bc1('0xb'),attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};