421557fb4ef8a8a347ce52d19030f60b70ca1103
[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 _0x9609=['exports','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4bb72e,_0x31bb09){var _0x5217c0=function(_0x36efbb){while(--_0x36efbb){_0x4bb72e['push'](_0x4bb72e['shift']());}};_0x5217c0(++_0x31bb09);}(_0x9609,0x9f));var _0x9960=function(_0x29d358,_0x506f23){_0x29d358=_0x29d358-0x0;var _0x5f05a5=_0x9609[_0x29d358];return _0x5f05a5;};'use strict';var _=require(_0x9960('0x0'));var util=require(_0x9960('0x1'));var logger=require(_0x9960('0x2'))(_0x9960('0x3'));var moment=require(_0x9960('0x4'));var BPromise=require(_0x9960('0x5'));var rp=require(_0x9960('0x6'));var fs=require('fs');var path=require(_0x9960('0x7'));var rimraf=require(_0x9960('0x8'));var config=require(_0x9960('0x9'));var attributes=require('./chatTransferReport.attributes');module[_0x9960('0xa')]=function(_0x4b4b7e,_0x1212c0){return _0x4b4b7e['define']('ChatTransferReport',attributes,{'tableName':_0x9960('0xb'),'paranoid':![],'indexes':[{'name':_0x9960('0xc'),'fields':[_0x9960('0xc')]}],'timestamps':!![]});};