6d4ce549fa139373d0372f8a71ead11c9c95d037
[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 _0x83fd=['./integration.attributes','integrations','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2075ea,_0x28b503){var _0x1be11c=function(_0x2265d0){while(--_0x2265d0){_0x2075ea['push'](_0x2075ea['shift']());}};_0x1be11c(++_0x28b503);}(_0x83fd,0xde));var _0xd83f=function(_0x51f4b4,_0x43a9a8){_0x51f4b4=_0x51f4b4-0x0;var _0x22cc7b=_0x83fd[_0x51f4b4];return _0x22cc7b;};'use strict';var _=require(_0xd83f('0x0'));var util=require(_0xd83f('0x1'));var logger=require(_0xd83f('0x2'))('api');var moment=require(_0xd83f('0x3'));var BPromise=require(_0xd83f('0x4'));var rp=require(_0xd83f('0x5'));var fs=require('fs');var path=require(_0xd83f('0x6'));var rimraf=require(_0xd83f('0x7'));var config=require(_0xd83f('0x8'));var attributes=require(_0xd83f('0x9'));module['exports']=function(_0x599a80,_0x1f36d7){return _0x599a80['define']('Integration',attributes,{'tableName':_0xd83f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};