ffff963d9180601a5a1166f874c85d63a93f0dac
[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 _0x4cd5=['./chatTransferReport.attributes','exports','define','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x45a92c,_0x4d81a7){var _0x1f3097=function(_0x5c889f){while(--_0x5c889f){_0x45a92c['push'](_0x45a92c['shift']());}};_0x1f3097(++_0x4d81a7);}(_0x4cd5,0xe1));var _0x54cd=function(_0x4de2c0,_0x4822ea){_0x4de2c0=_0x4de2c0-0x0;var _0x440f3d=_0x4cd5[_0x4de2c0];return _0x440f3d;};'use strict';var _=require(_0x54cd('0x0'));var util=require('util');var logger=require(_0x54cd('0x1'))(_0x54cd('0x2'));var moment=require(_0x54cd('0x3'));var BPromise=require(_0x54cd('0x4'));var rp=require(_0x54cd('0x5'));var fs=require('fs');var path=require(_0x54cd('0x6'));var rimraf=require(_0x54cd('0x7'));var config=require(_0x54cd('0x8'));var attributes=require(_0x54cd('0x9'));module[_0x54cd('0xa')]=function(_0x1802ea,_0x23b2bb){return _0x1802ea[_0x54cd('0xb')]('ChatTransferReport',attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x54cd('0xc')]}],'timestamps':!![]});};