Built motion from commit (unavailable).|2.5.3
[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 _0x5127=['define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports'];(function(_0x33af5e,_0x3c4bb7){var _0x4d7043=function(_0x255654){while(--_0x255654){_0x33af5e['push'](_0x33af5e['shift']());}};_0x4d7043(++_0x3c4bb7);}(_0x5127,0xe1));var _0x7512=function(_0x17c487,_0x2b72f1){_0x17c487=_0x17c487-0x0;var _0x3feeb8=_0x5127[_0x17c487];return _0x3feeb8;};'use strict';var _=require('lodash');var util=require(_0x7512('0x0'));var logger=require(_0x7512('0x1'))(_0x7512('0x2'));var moment=require(_0x7512('0x3'));var BPromise=require(_0x7512('0x4'));var rp=require(_0x7512('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7512('0x6'));var config=require(_0x7512('0x7'));var attributes=require('./openchannelTransferReport.attributes');module[_0x7512('0x8')]=function(_0x4ccc17,_0xa9177b){return _0x4ccc17[_0x7512('0x9')](_0x7512('0xa'),attributes,{'tableName':_0x7512('0xb'),'paranoid':![],'indexes':[{'name':_0x7512('0xc'),'fields':[_0x7512('0xc')]}],'timestamps':!![]});};