340ebb3197a1eaf8e7449198388a4fc8e1079661
[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 _0x06a6=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','OpenchannelTransferReport','uniqueid','lodash','api'];(function(_0x48c03c,_0x3a0d41){var _0x33b898=function(_0x1d5f1a){while(--_0x1d5f1a){_0x48c03c['push'](_0x48c03c['shift']());}};_0x33b898(++_0x3a0d41);}(_0x06a6,0x1b6));var _0x606a=function(_0x29b67a,_0x45b0f0){_0x29b67a=_0x29b67a-0x0;var _0x575714=_0x06a6[_0x29b67a];return _0x575714;};'use strict';var _=require(_0x606a('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x606a('0x1'));var moment=require(_0x606a('0x2'));var BPromise=require(_0x606a('0x3'));var rp=require(_0x606a('0x4'));var fs=require('fs');var path=require(_0x606a('0x5'));var rimraf=require(_0x606a('0x6'));var config=require(_0x606a('0x7'));var attributes=require(_0x606a('0x8'));module['exports']=function(_0x3d9cb1,_0x2d3fa0){return _0x3d9cb1['define'](_0x606a('0x9'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x606a('0xa'),'fields':[_0x606a('0xa')]}],'timestamps':!![]});};