Built motion from commit 5b761a7b.|2.5.36
[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 _0x0396=['bluebird','path','rimraf','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','uniqueid','lodash','util','api'];(function(_0x27cc70,_0x5b3157){var _0x43472e=function(_0x164f94){while(--_0x164f94){_0x27cc70['push'](_0x27cc70['shift']());}};_0x43472e(++_0x5b3157);}(_0x0396,0x13c));var _0x6039=function(_0x4bb66f,_0x3cd682){_0x4bb66f=_0x4bb66f-0x0;var _0xf2772f=_0x0396[_0x4bb66f];return _0xf2772f;};'use strict';var _=require(_0x6039('0x0'));var util=require(_0x6039('0x1'));var logger=require('../../config/logger')(_0x6039('0x2'));var moment=require('moment');var BPromise=require(_0x6039('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6039('0x4'));var rimraf=require(_0x6039('0x5'));var config=require('../../config/environment');var attributes=require(_0x6039('0x6'));module[_0x6039('0x7')]=function(_0x2192d9,_0x2b7f31){return _0x2192d9[_0x6039('0x8')](_0x6039('0x9'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x6039('0xa')]}],'timestamps':!![]});};