8c71ef17eec06503ce05991f942c97dc1291a631
[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 _0xd89d=['lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','exports','define','report_openchannel_transfer','uniqueid'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0xd89d,0x114));var _0xdd89=function(_0x415667,_0x59b228){_0x415667=_0x415667-0x0;var _0x5cd315=_0xd89d[_0x415667];return _0x5cd315;};'use strict';var _=require(_0xdd89('0x0'));var util=require(_0xdd89('0x1'));var logger=require(_0xdd89('0x2'))(_0xdd89('0x3'));var moment=require(_0xdd89('0x4'));var BPromise=require(_0xdd89('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdd89('0x6'));var rimraf=require(_0xdd89('0x7'));var config=require('../../config/environment');var attributes=require('./openchannelTransferReport.attributes');module[_0xdd89('0x8')]=function(_0x585566,_0x203f17){return _0x585566[_0xdd89('0x9')]('OpenchannelTransferReport',attributes,{'tableName':_0xdd89('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xdd89('0xb')]}],'timestamps':!![]});};