Built motion from commit b5413ace.|2.6.9
[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 _0x9c16=['report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./openchannelTransferReport.attributes','define','OpenchannelTransferReport'];(function(_0x44dcea,_0x260db4){var _0xcae3f6=function(_0x277817){while(--_0x277817){_0x44dcea['push'](_0x44dcea['shift']());}};_0xcae3f6(++_0x260db4);}(_0x9c16,0x1d0));var _0x69c1=function(_0x4c504f,_0x4ea68c){_0x4c504f=_0x4c504f-0x0;var _0x19cbd0=_0x9c16[_0x4c504f];return _0x19cbd0;};'use strict';var _=require(_0x69c1('0x0'));var util=require(_0x69c1('0x1'));var logger=require(_0x69c1('0x2'))(_0x69c1('0x3'));var moment=require(_0x69c1('0x4'));var BPromise=require(_0x69c1('0x5'));var rp=require(_0x69c1('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x69c1('0x7'));var config=require(_0x69c1('0x8'));var attributes=require(_0x69c1('0x9'));module['exports']=function(_0x17c3ab,_0x40936f){return _0x17c3ab[_0x69c1('0xa')](_0x69c1('0xb'),attributes,{'tableName':_0x69c1('0xc'),'paranoid':![],'indexes':[{'name':_0x69c1('0xd'),'fields':[_0x69c1('0xd')]}],'timestamps':!![]});};