Built motion from commit 953226e6.|2.6.32
[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 _0x4146=['exports','define','uniqueid','lodash','../../config/logger','moment','bluebird','request-promise','../../config/environment','./openchannelTransferReport.attributes'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x4146,0x1ed));var _0x6414=function(_0x5c7bd0,_0x3264cd){_0x5c7bd0=_0x5c7bd0-0x0;var _0x47b3af=_0x4146[_0x5c7bd0];return _0x47b3af;};'use strict';var _=require(_0x6414('0x0'));var util=require('util');var logger=require(_0x6414('0x1'))('api');var moment=require(_0x6414('0x2'));var BPromise=require(_0x6414('0x3'));var rp=require(_0x6414('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6414('0x5'));var attributes=require(_0x6414('0x6'));module[_0x6414('0x7')]=function(_0x40cdee,_0x4ea0fc){return _0x40cdee[_0x6414('0x8')]('OpenchannelTransferReport',attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x6414('0x9'),'fields':[_0x6414('0x9')]}],'timestamps':!![]});};