Built motion from commit 10af8726.|2.6.34
[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 _0x839a=['uniqueid','lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','report_chat_transfer'];(function(_0x142a91,_0x2040e7){var _0x5e4b7b=function(_0x54439b){while(--_0x54439b){_0x142a91['push'](_0x142a91['shift']());}};_0x5e4b7b(++_0x2040e7);}(_0x839a,0x139));var _0xa839=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0x839a[_0x2b4411];return _0x8e41ef;};'use strict';var _=require(_0xa839('0x0'));var util=require(_0xa839('0x1'));var logger=require(_0xa839('0x2'))(_0xa839('0x3'));var moment=require('moment');var BPromise=require(_0xa839('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa839('0x5'));var config=require(_0xa839('0x6'));var attributes=require(_0xa839('0x7'));module[_0xa839('0x8')]=function(_0x513558,_0x497d5e){return _0x513558[_0xa839('0x9')]('ChatTransferReport',attributes,{'tableName':_0xa839('0xa'),'paranoid':![],'indexes':[{'name':_0xa839('0xb'),'fields':[_0xa839('0xb')]}],'timestamps':!![]});};