Built motion from commit (unavailable).|2.5.5
[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 _0xd27c=['rimraf','exports','define','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x1c892b,_0x79131b){var _0x4b0e9e=function(_0x425811){while(--_0x425811){_0x1c892b['push'](_0x1c892b['shift']());}};_0x4b0e9e(++_0x79131b);}(_0xd27c,0x99));var _0xcd27=function(_0x31b57a,_0x3dddf3){_0x31b57a=_0x31b57a-0x0;var _0x2df3dd=_0xd27c[_0x31b57a];return _0x2df3dd;};'use strict';var _=require('lodash');var util=require(_0xcd27('0x0'));var logger=require(_0xcd27('0x1'))(_0xcd27('0x2'));var moment=require(_0xcd27('0x3'));var BPromise=require(_0xcd27('0x4'));var rp=require(_0xcd27('0x5'));var fs=require('fs');var path=require(_0xcd27('0x6'));var rimraf=require(_0xcd27('0x7'));var config=require('../../config/environment');var attributes=require('./integrationReport.attributes');module[_0xcd27('0x8')]=function(_0x2593f4,_0xa5c468){return _0x2593f4[_0xcd27('0x9')]('IntegrationReport',attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};