a62f64affb0198a6fb5266c4ff180860b63db2f4
[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 _0x60ae=['path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x55f76d,_0x5b7fb9){var _0x598b0e=function(_0x57c395){while(--_0x57c395){_0x55f76d['push'](_0x55f76d['shift']());}};_0x598b0e(++_0x5b7fb9);}(_0x60ae,0x1a7));var _0xe60a=function(_0x5c6289,_0x4a6832){_0x5c6289=_0x5c6289-0x0;var _0x33fa33=_0x60ae[_0x5c6289];return _0x33fa33;};'use strict';var _=require(_0xe60a('0x0'));var util=require(_0xe60a('0x1'));var logger=require(_0xe60a('0x2'))('api');var moment=require(_0xe60a('0x3'));var BPromise=require(_0xe60a('0x4'));var rp=require(_0xe60a('0x5'));var fs=require('fs');var path=require(_0xe60a('0x6'));var rimraf=require(_0xe60a('0x7'));var config=require(_0xe60a('0x8'));var attributes=require(_0xe60a('0x9'));module[_0xe60a('0xa')]=function(_0x5057e1,_0x1d6bf9){return _0x5057e1['define'](_0xe60a('0xb'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0xe60a('0xc'),'fields':[_0xe60a('0xc')]}],'timestamps':!![]});};