Built motion from commit (unavailable).|2.5.13
[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 _0x1074=['report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','exports','define','OpenchannelTransferReport'];(function(_0x42738a,_0x5d542d){var _0x4df921=function(_0x4452fa){while(--_0x4452fa){_0x42738a['push'](_0x42738a['shift']());}};_0x4df921(++_0x5d542d);}(_0x1074,0x6a));var _0x4107=function(_0x30dca2,_0x170b45){_0x30dca2=_0x30dca2-0x0;var _0x4befc5=_0x1074[_0x30dca2];return _0x4befc5;};'use strict';var _=require(_0x4107('0x0'));var util=require(_0x4107('0x1'));var logger=require(_0x4107('0x2'))('api');var moment=require(_0x4107('0x3'));var BPromise=require(_0x4107('0x4'));var rp=require(_0x4107('0x5'));var fs=require('fs');var path=require(_0x4107('0x6'));var rimraf=require(_0x4107('0x7'));var config=require('../../config/environment');var attributes=require('./openchannelTransferReport.attributes');module[_0x4107('0x8')]=function(_0x551899,_0x491d57){return _0x551899[_0x4107('0x9')](_0x4107('0xa'),attributes,{'tableName':_0x4107('0xb'),'paranoid':![],'indexes':[{'name':_0x4107('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};