88a5d1a065f841310e8d3b1bcc9997a6896f30a3
[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 _0x48af=['../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x388063,_0x24b2b2){var _0x314290=function(_0x1d1a52){while(--_0x1d1a52){_0x388063['push'](_0x388063['shift']());}};_0x314290(++_0x24b2b2);}(_0x48af,0x110));var _0xf48a=function(_0x16b672,_0x29071e){_0x16b672=_0x16b672-0x0;var _0x2d69d2=_0x48af[_0x16b672];return _0x2d69d2;};'use strict';var _=require(_0xf48a('0x0'));var util=require(_0xf48a('0x1'));var logger=require(_0xf48a('0x2'))(_0xf48a('0x3'));var moment=require(_0xf48a('0x4'));var BPromise=require(_0xf48a('0x5'));var rp=require(_0xf48a('0x6'));var fs=require('fs');var path=require(_0xf48a('0x7'));var rimraf=require('rimraf');var config=require(_0xf48a('0x8'));var attributes=require(_0xf48a('0x9'));module[_0xf48a('0xa')]=function(_0x3a2eb9,_0x47424b){return _0x3a2eb9['define'](_0xf48a('0xb'),attributes,{'tableName':_0xf48a('0xc'),'paranoid':![],'indexes':[{'name':_0xf48a('0xd'),'fields':[_0xf48a('0xd')]}],'timestamps':!![]});};