efeb2cb20e8e8e3388b3ba42826518184528f10f
[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 _0x43f5=['uniqueid','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','report_chat_transfer'];(function(_0x4d05dd,_0x258cdd){var _0x1c5226=function(_0x1a857c){while(--_0x1a857c){_0x4d05dd['push'](_0x4d05dd['shift']());}};_0x1c5226(++_0x258cdd);}(_0x43f5,0x9d));var _0x543f=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x43f5[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0x543f('0x0'));var util=require(_0x543f('0x1'));var logger=require('../../config/logger')(_0x543f('0x2'));var moment=require(_0x543f('0x3'));var BPromise=require(_0x543f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x543f('0x5'));var rimraf=require(_0x543f('0x6'));var config=require(_0x543f('0x7'));var attributes=require(_0x543f('0x8'));module[_0x543f('0x9')]=function(_0x284dc4,_0x477fa7){return _0x284dc4[_0x543f('0xa')]('ChatTransferReport',attributes,{'tableName':_0x543f('0xb'),'paranoid':![],'indexes':[{'name':_0x543f('0xc'),'fields':[_0x543f('0xc')]}],'timestamps':!![]});};