Built motion from commit (unavailable).|2.4.19
[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 _0xe41d=['../../config/environment','define','Integration','integrations','util','../../config/logger','api'];(function(_0x726b28,_0x308f6){var _0x2e5208=function(_0x1864b2){while(--_0x1864b2){_0x726b28['push'](_0x726b28['shift']());}};_0x2e5208(++_0x308f6);}(_0xe41d,0xd6));var _0xde41=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xe41d[_0x3ab51d];return _0x29a04e;};'use strict';var _=require('lodash');var util=require(_0xde41('0x0'));var logger=require(_0xde41('0x1'))(_0xde41('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xde41('0x3'));var attributes=require('./integration.attributes');module['exports']=function(_0x3ce2c7,_0x4d7aa3){return _0x3ce2c7[_0xde41('0x4')](_0xde41('0x5'),attributes,{'tableName':_0xde41('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};