a430b2faded5911c1fcc8a9612d601bf2e92d4b5
[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 _0xe7f5=['rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','ChatTransferReport','uniqueid','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x527f0a,_0x6c54af){var _0x758028=function(_0x3d6d82){while(--_0x3d6d82){_0x527f0a['push'](_0x527f0a['shift']());}};_0x758028(++_0x6c54af);}(_0xe7f5,0x11f));var _0x5e7f=function(_0x54c877,_0x17ba52){_0x54c877=_0x54c877-0x0;var _0x281de3=_0xe7f5[_0x54c877];return _0x281de3;};'use strict';var _=require(_0x5e7f('0x0'));var util=require(_0x5e7f('0x1'));var logger=require(_0x5e7f('0x2'))(_0x5e7f('0x3'));var moment=require('moment');var BPromise=require(_0x5e7f('0x4'));var rp=require(_0x5e7f('0x5'));var fs=require('fs');var path=require(_0x5e7f('0x6'));var rimraf=require(_0x5e7f('0x7'));var config=require(_0x5e7f('0x8'));var attributes=require(_0x5e7f('0x9'));module[_0x5e7f('0xa')]=function(_0x3840f3,_0x11d0d5){return _0x3840f3[_0x5e7f('0xb')](_0x5e7f('0xc'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0x5e7f('0xd'),'fields':[_0x5e7f('0xd')]}],'timestamps':!![]});};