Built motion from commit 511216ff.|2.6.34
[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 _0x1664=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./openchannelTransferReport.attributes','define','OpenchannelTransferReport','uniqueid'];(function(_0x1fb620,_0x471543){var _0x3142cd=function(_0x4594cd){while(--_0x4594cd){_0x1fb620['push'](_0x1fb620['shift']());}};_0x3142cd(++_0x471543);}(_0x1664,0x145));var _0x4166=function(_0x4ae6ef,_0xc2af80){_0x4ae6ef=_0x4ae6ef-0x0;var _0x3cbb4e=_0x1664[_0x4ae6ef];return _0x3cbb4e;};'use strict';var _=require(_0x4166('0x0'));var util=require(_0x4166('0x1'));var logger=require(_0x4166('0x2'))(_0x4166('0x3'));var moment=require(_0x4166('0x4'));var BPromise=require(_0x4166('0x5'));var rp=require(_0x4166('0x6'));var fs=require('fs');var path=require(_0x4166('0x7'));var rimraf=require(_0x4166('0x8'));var config=require('../../config/environment');var attributes=require(_0x4166('0x9'));module['exports']=function(_0x12de5b,_0x5ce8ad){return _0x12de5b[_0x4166('0xa')](_0x4166('0xb'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x4166('0xc'),'fields':[_0x4166('0xc')]}],'timestamps':!![]});};