35027959159a28e1bce642409bb4b4b7174f2d7b
[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 _0x7037=['rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','report_chat_transfer','uniqueid','lodash','util','moment','request-promise'];(function(_0x305e0a,_0x461a01){var _0x2b31f6=function(_0x3d6eb6){while(--_0x3d6eb6){_0x305e0a['push'](_0x305e0a['shift']());}};_0x2b31f6(++_0x461a01);}(_0x7037,0x19e));var _0x7703=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0x7037[_0x5d6456];return _0x4d66c1;};'use strict';var _=require(_0x7703('0x0'));var util=require(_0x7703('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7703('0x2'));var BPromise=require('bluebird');var rp=require(_0x7703('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7703('0x4'));var config=require(_0x7703('0x5'));var attributes=require(_0x7703('0x6'));module[_0x7703('0x7')]=function(_0x230234,_0x83b115){return _0x230234[_0x7703('0x8')]('ChatTransferReport',attributes,{'tableName':_0x7703('0x9'),'paranoid':![],'indexes':[{'name':_0x7703('0xa'),'fields':[_0x7703('0xa')]}],'timestamps':!![]});};