Built motion from commit 013e4bb4.|2.6.18
[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 _0x8bce=['request-promise','path','rimraf','../../config/environment','./chatTransferReport.attributes','ChatTransferReport','uniqueid','lodash','util','moment'];(function(_0x5dfd07,_0x11f42e){var _0x10cd46=function(_0x16b929){while(--_0x16b929){_0x5dfd07['push'](_0x5dfd07['shift']());}};_0x10cd46(++_0x11f42e);}(_0x8bce,0x197));var _0xe8bc=function(_0x4a0873,_0x20d853){_0x4a0873=_0x4a0873-0x0;var _0x44e7b6=_0x8bce[_0x4a0873];return _0x44e7b6;};'use strict';var _=require(_0xe8bc('0x0'));var util=require(_0xe8bc('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xe8bc('0x2'));var BPromise=require('bluebird');var rp=require(_0xe8bc('0x3'));var fs=require('fs');var path=require(_0xe8bc('0x4'));var rimraf=require(_0xe8bc('0x5'));var config=require(_0xe8bc('0x6'));var attributes=require(_0xe8bc('0x7'));module['exports']=function(_0x39bab4,_0x3b1e2b){return _0x39bab4['define'](_0xe8bc('0x8'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xe8bc('0x9')]}],'timestamps':!![]});};