e94c47a754e704c00a7e787eb8764dce66d14066
[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 _0x94db=['./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x42c0b6,_0x29e33b){var _0x34ba91=function(_0x2be231){while(--_0x2be231){_0x42c0b6['push'](_0x42c0b6['shift']());}};_0x34ba91(++_0x29e33b);}(_0x94db,0xd6));var _0xb94d=function(_0x263f00,_0x309307){_0x263f00=_0x263f00-0x0;var _0x5f4d60=_0x94db[_0x263f00];return _0x5f4d60;};'use strict';var _=require(_0xb94d('0x0'));var util=require('util');var logger=require(_0xb94d('0x1'))('api');var moment=require(_0xb94d('0x2'));var BPromise=require('bluebird');var rp=require(_0xb94d('0x3'));var fs=require('fs');var path=require(_0xb94d('0x4'));var rimraf=require(_0xb94d('0x5'));var config=require(_0xb94d('0x6'));var attributes=require(_0xb94d('0x7'));module[_0xb94d('0x8')]=function(_0x2bd221,_0x4b8af5){return _0x2bd221[_0xb94d('0x9')](_0xb94d('0xa'),attributes,{'tableName':_0xb94d('0xb'),'paranoid':![],'indexes':[{'name':_0xb94d('0xc'),'fields':[_0xb94d('0xc')]}],'timestamps':!![]});};