Built motion from commit (unavailable).|2.4.19
[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 _0x041f=['define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','../../config/logger','api','bluebird','../../config/environment','./openchannelTransferReport.attributes'];(function(_0x460765,_0x713339){var _0x5732e5=function(_0x1517da){while(--_0x1517da){_0x460765['push'](_0x460765['shift']());}};_0x5732e5(++_0x713339);}(_0x041f,0x124));var _0xf041=function(_0x47db1b,_0x4adcf3){_0x47db1b=_0x47db1b-0x0;var _0xe134a0=_0x041f[_0x47db1b];return _0xe134a0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf041('0x0'))(_0xf041('0x1'));var moment=require('moment');var BPromise=require(_0xf041('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf041('0x3'));var attributes=require(_0xf041('0x4'));module['exports']=function(_0x59ca32,_0x5729fd){return _0x59ca32[_0xf041('0x5')](_0xf041('0x6'),attributes,{'tableName':_0xf041('0x7'),'paranoid':![],'indexes':[{'name':_0xf041('0x8'),'fields':[_0xf041('0x8')]}],'timestamps':!![]});};