Built motion from commit f0b1811d.|2.6.6
[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 _0x60db=['exports','define','report_openchannel_transfer','uniqueid','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes'];(function(_0x2f4e27,_0x4df9e2){var _0xc36999=function(_0x223a74){while(--_0x223a74){_0x2f4e27['push'](_0x2f4e27['shift']());}};_0xc36999(++_0x4df9e2);}(_0x60db,0x1e5));var _0xb60d=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0x60db[_0x5bd426];return _0x23a7eb;};'use strict';var _=require('lodash');var util=require(_0xb60d('0x0'));var logger=require(_0xb60d('0x1'))('api');var moment=require(_0xb60d('0x2'));var BPromise=require(_0xb60d('0x3'));var rp=require(_0xb60d('0x4'));var fs=require('fs');var path=require(_0xb60d('0x5'));var rimraf=require(_0xb60d('0x6'));var config=require(_0xb60d('0x7'));var attributes=require(_0xb60d('0x8'));module[_0xb60d('0x9')]=function(_0x1c7ef8,_0x54e442){return _0x1c7ef8[_0xb60d('0xa')]('OpenchannelTransferReport',attributes,{'tableName':_0xb60d('0xb'),'paranoid':![],'indexes':[{'name':_0xb60d('0xc'),'fields':[_0xb60d('0xc')]}],'timestamps':!![]});};