896ced9c10d0ab0294c9527044ced561789568d8
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.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 _0x08bf=['uniqueid','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','OpenchannelTransferReport','report_openchannel_transfer'];(function(_0x31ce14,_0x5749c6){var _0x4ba40=function(_0xf5acda){while(--_0xf5acda){_0x31ce14['push'](_0x31ce14['shift']());}};_0x4ba40(++_0x5749c6);}(_0x08bf,0x115));var _0xf08b=function(_0x4e09b0,_0x9fed36){_0x4e09b0=_0x4e09b0-0x0;var _0x100e9e=_0x08bf[_0x4e09b0];return _0x100e9e;};'use strict';var _=require(_0xf08b('0x0'));var util=require(_0xf08b('0x1'));var logger=require(_0xf08b('0x2'))('api');var moment=require(_0xf08b('0x3'));var BPromise=require('bluebird');var rp=require(_0xf08b('0x4'));var fs=require('fs');var path=require(_0xf08b('0x5'));var rimraf=require(_0xf08b('0x6'));var config=require(_0xf08b('0x7'));var attributes=require(_0xf08b('0x8'));module['exports']=function(_0x55f9f6,_0x4ffb0e){return _0x55f9f6['define'](_0xf08b('0x9'),attributes,{'tableName':_0xf08b('0xa'),'paranoid':![],'indexes':[{'name':_0xf08b('0xb'),'fields':[_0xf08b('0xb')]}],'timestamps':!![]});};