Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / integrationReport / integrationReport.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 _0x4399=['lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports','report_integration'];(function(_0x4d07cc,_0x587613){var _0x42de3b=function(_0x201f78){while(--_0x201f78){_0x4d07cc['push'](_0x4d07cc['shift']());}};_0x42de3b(++_0x587613);}(_0x4399,0x1d9));var _0x9439=function(_0xe9bba5,_0x39f7ec){_0xe9bba5=_0xe9bba5-0x0;var _0x200478=_0x4399[_0xe9bba5];return _0x200478;};'use strict';var _=require(_0x9439('0x0'));var util=require(_0x9439('0x1'));var logger=require(_0x9439('0x2'))(_0x9439('0x3'));var moment=require(_0x9439('0x4'));var BPromise=require('bluebird');var rp=require(_0x9439('0x5'));var fs=require('fs');var path=require(_0x9439('0x6'));var rimraf=require(_0x9439('0x7'));var config=require(_0x9439('0x8'));var attributes=require('./integrationReport.attributes');module[_0x9439('0x9')]=function(_0x2210c0,_0x4e1bfc){return _0x2210c0['define']('IntegrationReport',attributes,{'tableName':_0x9439('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};