Built motion from commit (unavailable).|2.5.9
[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 _0xed69=['api','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','report_chat_transfer','uniqueid','util','../../config/logger'];(function(_0x5317bf,_0x2e8fab){var _0x1894b4=function(_0x27794f){while(--_0x27794f){_0x5317bf['push'](_0x5317bf['shift']());}};_0x1894b4(++_0x2e8fab);}(_0xed69,0x1c6));var _0x9ed6=function(_0x47bc58,_0x1e1998){_0x47bc58=_0x47bc58-0x0;var _0x4a0860=_0xed69[_0x47bc58];return _0x4a0860;};'use strict';var _=require('lodash');var util=require(_0x9ed6('0x0'));var logger=require(_0x9ed6('0x1'))(_0x9ed6('0x2'));var moment=require('moment');var BPromise=require(_0x9ed6('0x3'));var rp=require(_0x9ed6('0x4'));var fs=require('fs');var path=require(_0x9ed6('0x5'));var rimraf=require(_0x9ed6('0x6'));var config=require(_0x9ed6('0x7'));var attributes=require('./chatTransferReport.attributes');module[_0x9ed6('0x8')]=function(_0x400ccb,_0x54cc56){return _0x400ccb[_0x9ed6('0x9')]('ChatTransferReport',attributes,{'tableName':_0x9ed6('0xa'),'paranoid':![],'indexes':[{'name':_0x9ed6('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};