Built motion from commit (unavailable).|2.5.24
[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 _0x7da9=['moment','request-promise','path','rimraf','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api'];(function(_0x3143c8,_0x2ebbd9){var _0x54d072=function(_0x167093){while(--_0x167093){_0x3143c8['push'](_0x3143c8['shift']());}};_0x54d072(++_0x2ebbd9);}(_0x7da9,0xf8));var _0x97da=function(_0x2a3702,_0x3d9ef4){_0x2a3702=_0x2a3702-0x0;var _0x4616cc=_0x7da9[_0x2a3702];return _0x4616cc;};'use strict';var _=require(_0x97da('0x0'));var util=require(_0x97da('0x1'));var logger=require(_0x97da('0x2'))(_0x97da('0x3'));var moment=require(_0x97da('0x4'));var BPromise=require('bluebird');var rp=require(_0x97da('0x5'));var fs=require('fs');var path=require(_0x97da('0x6'));var rimraf=require(_0x97da('0x7'));var config=require('../../config/environment');var attributes=require(_0x97da('0x8'));module[_0x97da('0x9')]=function(_0x588741,_0xd45005){return _0x588741[_0x97da('0xa')](_0x97da('0xb'),attributes,{'tableName':_0x97da('0xc'),'paranoid':![],'indexes':[{'name':_0x97da('0xd'),'fields':[_0x97da('0xd')]}],'timestamps':!![]});};