Built motion from commit (unavailable).|2.5.7
[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 _0x645e=['Integration','integrations','bluebird','request-promise','path','rimraf','../../config/environment','./integration.attributes','define'];(function(_0x253ecd,_0x229401){var _0x3993c3=function(_0x5012e4){while(--_0x5012e4){_0x253ecd['push'](_0x253ecd['shift']());}};_0x3993c3(++_0x229401);}(_0x645e,0xd1));var _0xe645=function(_0x20980a,_0x343f58){_0x20980a=_0x20980a-0x0;var _0x438f7a=_0x645e[_0x20980a];return _0x438f7a;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xe645('0x0'));var rp=require(_0xe645('0x1'));var fs=require('fs');var path=require(_0xe645('0x2'));var rimraf=require(_0xe645('0x3'));var config=require(_0xe645('0x4'));var attributes=require(_0xe645('0x5'));module['exports']=function(_0x2b767b,_0x2d5215){return _0x2b767b[_0xe645('0x6')](_0xe645('0x7'),attributes,{'tableName':_0xe645('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};