Built motion from commit (unavailable).|2.5.28
[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 _0x4b1d=['util','../../config/logger','api','moment','bluebird','path','../../config/environment','./chatTransferReport.attributes','exports','define','ChatTransferReport','uniqueid','lodash'];(function(_0x3d7b32,_0x52517f){var _0x4fbdf6=function(_0x543d2c){while(--_0x543d2c){_0x3d7b32['push'](_0x3d7b32['shift']());}};_0x4fbdf6(++_0x52517f);}(_0x4b1d,0x16b));var _0xd4b1=function(_0x48f651,_0x5ed0e1){_0x48f651=_0x48f651-0x0;var _0x113270=_0x4b1d[_0x48f651];return _0x113270;};'use strict';var _=require(_0xd4b1('0x0'));var util=require(_0xd4b1('0x1'));var logger=require(_0xd4b1('0x2'))(_0xd4b1('0x3'));var moment=require(_0xd4b1('0x4'));var BPromise=require(_0xd4b1('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd4b1('0x6'));var rimraf=require('rimraf');var config=require(_0xd4b1('0x7'));var attributes=require(_0xd4b1('0x8'));module[_0xd4b1('0x9')]=function(_0xdb52a9,_0x51e271){return _0xdb52a9[_0xd4b1('0xa')](_0xd4b1('0xb'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0xd4b1('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};