512665c0ccd1ed9d0136f71aa4160ff188ae9dcc
[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 _0x96ca=['./chatTransferReport.attributes','ChatTransferReport','uniqueid','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x346737,_0x3e6081){var _0x1ade2e=function(_0x15e50e){while(--_0x15e50e){_0x346737['push'](_0x346737['shift']());}};_0x1ade2e(++_0x3e6081);}(_0x96ca,0x19a));var _0xa96c=function(_0x1acc01,_0x5cb80c){_0x1acc01=_0x1acc01-0x0;var _0x5603f1=_0x96ca[_0x1acc01];return _0x5603f1;};'use strict';var _=require(_0xa96c('0x0'));var util=require(_0xa96c('0x1'));var logger=require(_0xa96c('0x2'))('api');var moment=require(_0xa96c('0x3'));var BPromise=require('bluebird');var rp=require(_0xa96c('0x4'));var fs=require('fs');var path=require(_0xa96c('0x5'));var rimraf=require(_0xa96c('0x6'));var config=require(_0xa96c('0x7'));var attributes=require(_0xa96c('0x8'));module['exports']=function(_0x5ca4d5,_0xf0cabb){return _0x5ca4d5['define'](_0xa96c('0x9'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0xa96c('0xa'),'fields':[_0xa96c('0xa')]}],'timestamps':!![]});};