23ad4e0a90403dd0aec8260835f2d22da2bf8ebf
[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 _0x817f=['ChatTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','rimraf','./chatTransferReport.attributes','exports','define'];(function(_0x32b122,_0x1ad490){var _0x4ad25a=function(_0x590ee6){while(--_0x590ee6){_0x32b122['push'](_0x32b122['shift']());}};_0x4ad25a(++_0x1ad490);}(_0x817f,0xfe));var _0xf817=function(_0x51821c,_0x2e39c5){_0x51821c=_0x51821c-0x0;var _0x20bde8=_0x817f[_0x51821c];return _0x20bde8;};'use strict';var _=require(_0xf817('0x0'));var util=require(_0xf817('0x1'));var logger=require(_0xf817('0x2'))(_0xf817('0x3'));var moment=require(_0xf817('0x4'));var BPromise=require('bluebird');var rp=require(_0xf817('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf817('0x6'));var config=require('../../config/environment');var attributes=require(_0xf817('0x7'));module[_0xf817('0x8')]=function(_0x20c3fa,_0x13e1de){return _0x20c3fa[_0xf817('0x9')](_0xf817('0xa'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xf817('0xb')]}],'timestamps':!![]});};