Built motion from commit 092f8824.|2.5.49
[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 _0xa03a=['api','moment','request-promise','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger'];(function(_0x185dbf,_0x54b7ba){var _0x4ff4c9=function(_0x503806){while(--_0x503806){_0x185dbf['push'](_0x185dbf['shift']());}};_0x4ff4c9(++_0x54b7ba);}(_0xa03a,0x1a1));var _0xaa03=function(_0x4a53d,_0x58a95e){_0x4a53d=_0x4a53d-0x0;var _0x27410e=_0xa03a[_0x4a53d];return _0x27410e;};'use strict';var _=require(_0xaa03('0x0'));var util=require(_0xaa03('0x1'));var logger=require(_0xaa03('0x2'))(_0xaa03('0x3'));var moment=require(_0xaa03('0x4'));var BPromise=require('bluebird');var rp=require(_0xaa03('0x5'));var fs=require('fs');var path=require(_0xaa03('0x6'));var rimraf=require(_0xaa03('0x7'));var config=require(_0xaa03('0x8'));var attributes=require(_0xaa03('0x9'));module[_0xaa03('0xa')]=function(_0x557afd,_0x12568b){return _0x557afd['define'](_0xaa03('0xb'),attributes,{'tableName':_0xaa03('0xc'),'paranoid':![],'indexes':[{'name':_0xaa03('0xd'),'fields':[_0xaa03('0xd')]}],'timestamps':!![]});};