Built motion from commit 3c2ce842.|2.6.31
[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 _0xef8b=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','report_chat_transfer','uniqueid','lodash','../../config/logger','api'];(function(_0x2fac87,_0xaa7130){var _0x48342e=function(_0x2cb396){while(--_0x2cb396){_0x2fac87['push'](_0x2fac87['shift']());}};_0x48342e(++_0xaa7130);}(_0xef8b,0xc0));var _0xbef8=function(_0x2c69a1,_0x201903){_0x2c69a1=_0x2c69a1-0x0;var _0x24bb91=_0xef8b[_0x2c69a1];return _0x24bb91;};'use strict';var _=require(_0xbef8('0x0'));var util=require('util');var logger=require(_0xbef8('0x1'))(_0xbef8('0x2'));var moment=require(_0xbef8('0x3'));var BPromise=require(_0xbef8('0x4'));var rp=require(_0xbef8('0x5'));var fs=require('fs');var path=require(_0xbef8('0x6'));var rimraf=require(_0xbef8('0x7'));var config=require(_0xbef8('0x8'));var attributes=require('./chatTransferReport.attributes');module[_0xbef8('0x9')]=function(_0x937386,_0x71f715){return _0x937386[_0xbef8('0xa')]('ChatTransferReport',attributes,{'tableName':_0xbef8('0xb'),'paranoid':![],'indexes':[{'name':_0xbef8('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};