Built motion from commit f74363e9.|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 _0x56b9=['OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define'];(function(_0x2c90c1,_0x446eda){var _0xcb55d4=function(_0x30e230){while(--_0x30e230){_0x2c90c1['push'](_0x2c90c1['shift']());}};_0xcb55d4(++_0x446eda);}(_0x56b9,0xb7));var _0x956b=function(_0x237fd6,_0x59d931){_0x237fd6=_0x237fd6-0x0;var _0x253f77=_0x56b9[_0x237fd6];return _0x253f77;};'use strict';var _=require('lodash');var util=require(_0x956b('0x0'));var logger=require(_0x956b('0x1'))(_0x956b('0x2'));var moment=require(_0x956b('0x3'));var BPromise=require(_0x956b('0x4'));var rp=require(_0x956b('0x5'));var fs=require('fs');var path=require(_0x956b('0x6'));var rimraf=require(_0x956b('0x7'));var config=require(_0x956b('0x8'));var attributes=require(_0x956b('0x9'));module[_0x956b('0xa')]=function(_0x509ad8,_0x19a84e){return _0x509ad8[_0x956b('0xb')](_0x956b('0xc'),attributes,{'tableName':_0x956b('0xd'),'paranoid':![],'indexes':[{'name':_0x956b('0xe'),'fields':[_0x956b('0xe')]}],'timestamps':!![]});};