Built motion from commit (unavailable).|2.5.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 _0x32ea=['bluebird','request-promise','path','rimraf','../../config/environment','exports','lodash','util','api','moment'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x32ea,0xec));var _0xa32e=function(_0x4c321c,_0x3e9da0){_0x4c321c=_0x4c321c-0x0;var _0x25accb=_0x32ea[_0x4c321c];return _0x25accb;};'use strict';var _=require(_0xa32e('0x0'));var util=require(_0xa32e('0x1'));var logger=require('../../config/logger')(_0xa32e('0x2'));var moment=require(_0xa32e('0x3'));var BPromise=require(_0xa32e('0x4'));var rp=require(_0xa32e('0x5'));var fs=require('fs');var path=require(_0xa32e('0x6'));var rimraf=require(_0xa32e('0x7'));var config=require(_0xa32e('0x8'));var attributes=require('./integration.attributes');module[_0xa32e('0x9')]=function(_0x472188,_0x111338){return _0x472188['define']('Integration',attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};