Built motion from commit d5e4af8c.|2.6.23
[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 _0xef02=['lodash','api','moment','bluebird','request-promise','path','../../config/environment','define','uniqueid'];(function(_0x544e2b,_0x10a25e){var _0x479085=function(_0x40a526){while(--_0x40a526){_0x544e2b['push'](_0x544e2b['shift']());}};_0x479085(++_0x10a25e);}(_0xef02,0x1cb));var _0x2ef0=function(_0xee2e7a,_0x58354d){_0xee2e7a=_0xee2e7a-0x0;var _0x319dd3=_0xef02[_0xee2e7a];return _0x319dd3;};'use strict';var _=require(_0x2ef0('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x2ef0('0x1'));var moment=require(_0x2ef0('0x2'));var BPromise=require(_0x2ef0('0x3'));var rp=require(_0x2ef0('0x4'));var fs=require('fs');var path=require(_0x2ef0('0x5'));var rimraf=require('rimraf');var config=require(_0x2ef0('0x6'));var attributes=require('./chatTransferReport.attributes');module['exports']=function(_0x349af5,_0x4c680b){return _0x349af5[_0x2ef0('0x7')]('ChatTransferReport',attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x2ef0('0x8')]}],'timestamps':!![]});};