Built motion from commit ce97982f.|2.6.29
[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 _0x9ba2=['rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','report_openchannel_transfer','uniqueid','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x35fcd8,_0x5ba4a0){var _0x526766=function(_0x558075){while(--_0x558075){_0x35fcd8['push'](_0x35fcd8['shift']());}};_0x526766(++_0x5ba4a0);}(_0x9ba2,0xe4));var _0x29ba=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x9ba2[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require(_0x29ba('0x0'));var logger=require(_0x29ba('0x1'))(_0x29ba('0x2'));var moment=require('moment');var BPromise=require(_0x29ba('0x3'));var rp=require(_0x29ba('0x4'));var fs=require('fs');var path=require(_0x29ba('0x5'));var rimraf=require(_0x29ba('0x6'));var config=require(_0x29ba('0x7'));var attributes=require(_0x29ba('0x8'));module[_0x29ba('0x9')]=function(_0x46a4fc,_0x213ddb){return _0x46a4fc[_0x29ba('0xa')]('OpenchannelTransferReport',attributes,{'tableName':_0x29ba('0xb'),'paranoid':![],'indexes':[{'name':_0x29ba('0xc'),'fields':[_0x29ba('0xc')]}],'timestamps':!![]});};