Built motion from commit 9d1906d1.|2.5.40
[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 _0x8b41=['define','ChatTransferReport','uniqueid','lodash','../../config/logger','api','moment','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports'];(function(_0x2b3e0a,_0x2b6f62){var _0x38c5d6=function(_0x3bafc6){while(--_0x3bafc6){_0x2b3e0a['push'](_0x2b3e0a['shift']());}};_0x38c5d6(++_0x2b6f62);}(_0x8b41,0x13b));var _0x18b4=function(_0x514a7f,_0x4fcf5e){_0x514a7f=_0x514a7f-0x0;var _0x27fbb1=_0x8b41[_0x514a7f];return _0x27fbb1;};'use strict';var _=require(_0x18b4('0x0'));var util=require('util');var logger=require(_0x18b4('0x1'))(_0x18b4('0x2'));var moment=require(_0x18b4('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x18b4('0x4'));var rimraf=require(_0x18b4('0x5'));var config=require(_0x18b4('0x6'));var attributes=require(_0x18b4('0x7'));module[_0x18b4('0x8')]=function(_0x45788f,_0x3fd197){return _0x45788f[_0x18b4('0x9')](_0x18b4('0xa'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0x18b4('0xb'),'fields':[_0x18b4('0xb')]}],'timestamps':!![]});};