Built motion from commit 14588770.|2.5.38
[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 _0x4468=['define','ChatTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./chatTransferReport.attributes'];(function(_0x149f9f,_0x43fc13){var _0x47646c=function(_0x1557eb){while(--_0x1557eb){_0x149f9f['push'](_0x149f9f['shift']());}};_0x47646c(++_0x43fc13);}(_0x4468,0xdb));var _0x8446=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x4468[_0x4565bf];return _0x5610ba;};'use strict';var _=require(_0x8446('0x0'));var util=require(_0x8446('0x1'));var logger=require(_0x8446('0x2'))(_0x8446('0x3'));var moment=require(_0x8446('0x4'));var BPromise=require(_0x8446('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8446('0x6'));var rimraf=require('rimraf');var config=require(_0x8446('0x7'));var attributes=require(_0x8446('0x8'));module['exports']=function(_0x3c452e,_0x1a0ae8){return _0x3c452e[_0x8446('0x9')](_0x8446('0xa'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0x8446('0xb'),'fields':[_0x8446('0xb')]}],'timestamps':!![]});};