Built motion from commit 775e2a94.|2.6.3
[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 _0x0540=['../../config/logger','api','moment','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer','uniqueid'];(function(_0x1b7368,_0x3286ed){var _0x25d54c=function(_0x2366da){while(--_0x2366da){_0x1b7368['push'](_0x1b7368['shift']());}};_0x25d54c(++_0x3286ed);}(_0x0540,0x14a));var _0x0054=function(_0x169d71,_0x41a7d7){_0x169d71=_0x169d71-0x0;var _0x55a48e=_0x0540[_0x169d71];return _0x55a48e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x0054('0x0'))(_0x0054('0x1'));var moment=require(_0x0054('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0054('0x3'));var rimraf=require(_0x0054('0x4'));var config=require(_0x0054('0x5'));var attributes=require(_0x0054('0x6'));module[_0x0054('0x7')]=function(_0x4d87e3,_0x139339){return _0x4d87e3['define'](_0x0054('0x8'),attributes,{'tableName':_0x0054('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x0054('0xa')]}],'timestamps':!![]});};