7f9e845d8928de8ebf54e17947dbd5c57b161279
[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 _0x650b=['report_chat_transfer','uniqueid','lodash','util','moment','bluebird','path','../../config/environment','./chatTransferReport.attributes','exports'];(function(_0xd67fe7,_0x550eb3){var _0xc77018=function(_0x2dc040){while(--_0x2dc040){_0xd67fe7['push'](_0xd67fe7['shift']());}};_0xc77018(++_0x550eb3);}(_0x650b,0x11a));var _0xb650=function(_0x188586,_0x5093ca){_0x188586=_0x188586-0x0;var _0x5bcfca=_0x650b[_0x188586];return _0x5bcfca;};'use strict';var _=require(_0xb650('0x0'));var util=require(_0xb650('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xb650('0x2'));var BPromise=require(_0xb650('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb650('0x4'));var rimraf=require('rimraf');var config=require(_0xb650('0x5'));var attributes=require(_0xb650('0x6'));module[_0xb650('0x7')]=function(_0x3a328d,_0x78b5e9){return _0x3a328d['define']('ChatTransferReport',attributes,{'tableName':_0xb650('0x8'),'paranoid':![],'indexes':[{'name':_0xb650('0x9'),'fields':[_0xb650('0x9')]}],'timestamps':!![]});};