e21d43c2c0ed1bbfe8710ff5b765c824ae4489df
[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 _0xcd14=['./chatTransferReport.attributes','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0xc6be3a,_0x540e05){var _0x56a310=function(_0x50a144){while(--_0x50a144){_0xc6be3a['push'](_0xc6be3a['shift']());}};_0x56a310(++_0x540e05);}(_0xcd14,0x65));var _0x4cd1=function(_0x3e2647,_0x1dc100){_0x3e2647=_0x3e2647-0x0;var _0x38fb6f=_0xcd14[_0x3e2647];return _0x38fb6f;};'use strict';var _=require(_0x4cd1('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x4cd1('0x1'));var BPromise=require(_0x4cd1('0x2'));var rp=require(_0x4cd1('0x3'));var fs=require('fs');var path=require(_0x4cd1('0x4'));var rimraf=require(_0x4cd1('0x5'));var config=require(_0x4cd1('0x6'));var attributes=require(_0x4cd1('0x7'));module['exports']=function(_0x552c3c,_0x38f6a3){return _0x552c3c[_0x4cd1('0x8')](_0x4cd1('0x9'),attributes,{'tableName':_0x4cd1('0xa'),'paranoid':![],'indexes':[{'name':_0x4cd1('0xb'),'fields':[_0x4cd1('0xb')]}],'timestamps':!![]});};