Built motion from commit (unavailable).|2.5.8
[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 _0x3329=['lodash','util','../../config/logger','moment','bluebird','request-promise','../../config/environment','exports','define','report_openchannel_transfer','uniqueid'];(function(_0x13ed74,_0x7fb503){var _0x3dcf38=function(_0x495973){while(--_0x495973){_0x13ed74['push'](_0x13ed74['shift']());}};_0x3dcf38(++_0x7fb503);}(_0x3329,0x6e));var _0x9332=function(_0x132108,_0x167861){_0x132108=_0x132108-0x0;var _0x113110=_0x3329[_0x132108];return _0x113110;};'use strict';var _=require(_0x9332('0x0'));var util=require(_0x9332('0x1'));var logger=require(_0x9332('0x2'))('api');var moment=require(_0x9332('0x3'));var BPromise=require(_0x9332('0x4'));var rp=require(_0x9332('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x9332('0x6'));var attributes=require('./openchannelTransferReport.attributes');module[_0x9332('0x7')]=function(_0xd6f282,_0x28fc51){return _0xd6f282[_0x9332('0x8')]('OpenchannelTransferReport',attributes,{'tableName':_0x9332('0x9'),'paranoid':![],'indexes':[{'name':_0x9332('0xa'),'fields':[_0x9332('0xa')]}],'timestamps':!![]});};