Built motion from commit 3061e47c.|2.6.31
[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 _0xedaa=['../../config/logger','api','bluebird','request-promise','path','../../config/environment','./chatTransferReport.attributes','ChatTransferReport','report_chat_transfer','uniqueid','util'];(function(_0x3b10bf,_0x10ecf7){var _0x53a0fd=function(_0x186a0b){while(--_0x186a0b){_0x3b10bf['push'](_0x3b10bf['shift']());}};_0x53a0fd(++_0x10ecf7);}(_0xedaa,0x13e));var _0xaeda=function(_0x31b93b,_0x5b5a24){_0x31b93b=_0x31b93b-0x0;var _0x4a6d36=_0xedaa[_0x31b93b];return _0x4a6d36;};'use strict';var _=require('lodash');var util=require(_0xaeda('0x0'));var logger=require(_0xaeda('0x1'))(_0xaeda('0x2'));var moment=require('moment');var BPromise=require(_0xaeda('0x3'));var rp=require(_0xaeda('0x4'));var fs=require('fs');var path=require(_0xaeda('0x5'));var rimraf=require('rimraf');var config=require(_0xaeda('0x6'));var attributes=require(_0xaeda('0x7'));module['exports']=function(_0x32b789,_0x5b3eef){return _0x32b789['define'](_0xaeda('0x8'),attributes,{'tableName':_0xaeda('0x9'),'paranoid':![],'indexes':[{'name':_0xaeda('0xa'),'fields':[_0xaeda('0xa')]}],'timestamps':!![]});};