Built motion from commit (unavailable).|2.5.30
[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 _0xe946=['../../config/environment','./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xe946,0x158));var _0x6e94=function(_0x40e261,_0xd9207){_0x40e261=_0x40e261-0x0;var _0x465b67=_0xe946[_0x40e261];return _0x465b67;};'use strict';var _=require('lodash');var util=require(_0x6e94('0x0'));var logger=require(_0x6e94('0x1'))(_0x6e94('0x2'));var moment=require(_0x6e94('0x3'));var BPromise=require(_0x6e94('0x4'));var rp=require(_0x6e94('0x5'));var fs=require('fs');var path=require(_0x6e94('0x6'));var rimraf=require('rimraf');var config=require(_0x6e94('0x7'));var attributes=require(_0x6e94('0x8'));module[_0x6e94('0x9')]=function(_0x4ad551,_0x1741da){return _0x4ad551['define'](_0x6e94('0xa'),attributes,{'tableName':_0x6e94('0xb'),'paranoid':![],'indexes':[{'name':_0x6e94('0xc'),'fields':[_0x6e94('0xc')]}],'timestamps':!![]});};