e0467c6e6e7b27d2ed902949e68cacb79be7ceea
[motion2.git] / server / api / chatTransferReport / chatTransferReport.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 _0xe373=['define','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','path','rimraf','./chatTransferReport.attributes','exports'];(function(_0x263c22,_0x4cf32e){var _0x51f11c=function(_0x1bce74){while(--_0x1bce74){_0x263c22['push'](_0x263c22['shift']());}};_0x51f11c(++_0x4cf32e);}(_0xe373,0xc9));var _0x3e37=function(_0xfb358b,_0xda57fb){_0xfb358b=_0xfb358b-0x0;var _0x2ba9fd=_0xe373[_0xfb358b];return _0x2ba9fd;};'use strict';var _=require(_0x3e37('0x0'));var util=require(_0x3e37('0x1'));var logger=require(_0x3e37('0x2'))(_0x3e37('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3e37('0x4'));var rimraf=require(_0x3e37('0x5'));var config=require('../../config/environment');var attributes=require(_0x3e37('0x6'));module[_0x3e37('0x7')]=function(_0x2fea1f,_0xc4225a){return _0x2fea1f[_0x3e37('0x8')]('ChatTransferReport',attributes,{'tableName':_0x3e37('0x9'),'paranoid':![],'indexes':[{'name':_0x3e37('0xa'),'fields':[_0x3e37('0xa')]}],'timestamps':!![]});};