Built motion from commit 14588770.|2.5.38
[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 _0x4d3e=['exports','Integration','integrations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./integration.attributes'];(function(_0x4b3c97,_0x3b6169){var _0x3ac2db=function(_0x547dfe){while(--_0x547dfe){_0x4b3c97['push'](_0x4b3c97['shift']());}};_0x3ac2db(++_0x3b6169);}(_0x4d3e,0x1a3));var _0xe4d3=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0x4d3e[_0xbb091];return _0x467a04;};'use strict';var _=require(_0xe4d3('0x0'));var util=require(_0xe4d3('0x1'));var logger=require(_0xe4d3('0x2'))(_0xe4d3('0x3'));var moment=require(_0xe4d3('0x4'));var BPromise=require(_0xe4d3('0x5'));var rp=require(_0xe4d3('0x6'));var fs=require('fs');var path=require(_0xe4d3('0x7'));var rimraf=require('rimraf');var config=require(_0xe4d3('0x8'));var attributes=require(_0xe4d3('0x9'));module[_0xe4d3('0xa')]=function(_0x46f3e6,_0xc437f7){return _0x46f3e6['define'](_0xe4d3('0xb'),attributes,{'tableName':_0xe4d3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};