Built motion from commit 9efc8423.|2.6.31
[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 _0xe4aa=['../../config/environment','exports','define','lodash','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x4475f6,_0x339b39){var _0x9e87fa=function(_0x5718c3){while(--_0x5718c3){_0x4475f6['push'](_0x4475f6['shift']());}};_0x9e87fa(++_0x339b39);}(_0xe4aa,0xc1));var _0xae4a=function(_0x22b0bb,_0x2c58e0){_0x22b0bb=_0x22b0bb-0x0;var _0x21c4ec=_0xe4aa[_0x22b0bb];return _0x21c4ec;};'use strict';var _=require(_0xae4a('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xae4a('0x1'));var moment=require(_0xae4a('0x2'));var BPromise=require(_0xae4a('0x3'));var rp=require(_0xae4a('0x4'));var fs=require('fs');var path=require(_0xae4a('0x5'));var rimraf=require(_0xae4a('0x6'));var config=require(_0xae4a('0x7'));var attributes=require('./integration.attributes');module[_0xae4a('0x8')]=function(_0x470506,_0x4b168d){return _0x470506[_0xae4a('0x9')]('Integration',attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};