Built motion from commit (unavailable).|2.5.14
[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 _0x0105=['rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','api','request-promise','path'];(function(_0x43aee5,_0x11268b){var _0x76d1d0=function(_0x3faee6){while(--_0x3faee6){_0x43aee5['push'](_0x43aee5['shift']());}};_0x76d1d0(++_0x11268b);}(_0x0105,0x1dc));var _0x5010=function(_0x391299,_0x1a8ea4){_0x391299=_0x391299-0x0;var _0x13353e=_0x0105[_0x391299];return _0x13353e;};'use strict';var _=require(_0x5010('0x0'));var util=require(_0x5010('0x1'));var logger=require('../../config/logger')(_0x5010('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5010('0x3'));var fs=require('fs');var path=require(_0x5010('0x4'));var rimraf=require(_0x5010('0x5'));var config=require(_0x5010('0x6'));var attributes=require(_0x5010('0x7'));module[_0x5010('0x8')]=function(_0x565f9b,_0x2d0500){return _0x565f9b[_0x5010('0x9')](_0x5010('0xa'),attributes,{'tableName':_0x5010('0xb'),'paranoid':![],'indexes':[{'name':_0x5010('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};