Built motion from commit 00bf23f6.|2.6.16
[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 _0x231e=['Integration','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./integration.attributes','exports','define'];(function(_0x365e69,_0x55bc8a){var _0x166f1d=function(_0x98d01b){while(--_0x98d01b){_0x365e69['push'](_0x365e69['shift']());}};_0x166f1d(++_0x55bc8a);}(_0x231e,0x17b));var _0xe231=function(_0x43cc69,_0x401eea){_0x43cc69=_0x43cc69-0x0;var _0xde43ae=_0x231e[_0x43cc69];return _0xde43ae;};'use strict';var _=require(_0xe231('0x0'));var util=require(_0xe231('0x1'));var logger=require(_0xe231('0x2'))(_0xe231('0x3'));var moment=require(_0xe231('0x4'));var BPromise=require(_0xe231('0x5'));var rp=require(_0xe231('0x6'));var fs=require('fs');var path=require(_0xe231('0x7'));var rimraf=require(_0xe231('0x8'));var config=require(_0xe231('0x9'));var attributes=require(_0xe231('0xa'));module[_0xe231('0xb')]=function(_0x49cac7,_0xb89821){return _0x49cac7[_0xe231('0xc')](_0xe231('0xd'),attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};