ee5d64c3f3b90a6567680ce3f6a3ea3d12d540d0
[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 _0xa408=['api','moment','bluebird','path','../../config/environment','./chatTransferReport.attributes','exports','define','report_chat_transfer','uniqueid','lodash','../../config/logger'];(function(_0x534c61,_0x2e7fae){var _0x51cf56=function(_0x34e45e){while(--_0x34e45e){_0x534c61['push'](_0x534c61['shift']());}};_0x51cf56(++_0x2e7fae);}(_0xa408,0x166));var _0x8a40=function(_0x31b9cf,_0x1a809b){_0x31b9cf=_0x31b9cf-0x0;var _0x357b8a=_0xa408[_0x31b9cf];return _0x357b8a;};'use strict';var _=require(_0x8a40('0x0'));var util=require('util');var logger=require(_0x8a40('0x1'))(_0x8a40('0x2'));var moment=require(_0x8a40('0x3'));var BPromise=require(_0x8a40('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8a40('0x5'));var rimraf=require('rimraf');var config=require(_0x8a40('0x6'));var attributes=require(_0x8a40('0x7'));module[_0x8a40('0x8')]=function(_0x2d1fca,_0xcbf868){return _0x2d1fca[_0x8a40('0x9')]('ChatTransferReport',attributes,{'tableName':_0x8a40('0xa'),'paranoid':![],'indexes':[{'name':_0x8a40('0xb'),'fields':[_0x8a40('0xb')]}],'timestamps':!![]});};