df3f6c75152deb9e7aafd6ba714f6d2174b20591
[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 _0x99b1=['exports','define','report_chat_transfer','uniqueid','util','moment','bluebird','request-promise','rimraf','../../config/environment','./chatTransferReport.attributes'];(function(_0x46bd55,_0xab2c60){var _0x37c3a7=function(_0x3dc1ea){while(--_0x3dc1ea){_0x46bd55['push'](_0x46bd55['shift']());}};_0x37c3a7(++_0xab2c60);}(_0x99b1,0x1d2));var _0x199b=function(_0x4ca678,_0x5c41b2){_0x4ca678=_0x4ca678-0x0;var _0x21bd42=_0x99b1[_0x4ca678];return _0x21bd42;};'use strict';var _=require('lodash');var util=require(_0x199b('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x199b('0x1'));var BPromise=require(_0x199b('0x2'));var rp=require(_0x199b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x199b('0x4'));var config=require(_0x199b('0x5'));var attributes=require(_0x199b('0x6'));module[_0x199b('0x7')]=function(_0xee622,_0x139067){return _0xee622[_0x199b('0x8')]('ChatTransferReport',attributes,{'tableName':_0x199b('0x9'),'paranoid':![],'indexes':[{'name':_0x199b('0xa'),'fields':[_0x199b('0xa')]}],'timestamps':!![]});};