f8aab7e1fa026d144ba809d727bf726085805926
[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 _0xdc83=['path','../../config/environment','./openchannelTransferReport.attributes','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x43a17a,_0x4fc0aa){var _0x3aed05=function(_0x18fac9){while(--_0x18fac9){_0x43a17a['push'](_0x43a17a['shift']());}};_0x3aed05(++_0x4fc0aa);}(_0xdc83,0x103));var _0x3dc8=function(_0x8ddd56,_0x10f63c){_0x8ddd56=_0x8ddd56-0x0;var _0x5668f8=_0xdc83[_0x8ddd56];return _0x5668f8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x3dc8('0x0'))(_0x3dc8('0x1'));var moment=require(_0x3dc8('0x2'));var BPromise=require(_0x3dc8('0x3'));var rp=require(_0x3dc8('0x4'));var fs=require('fs');var path=require(_0x3dc8('0x5'));var rimraf=require('rimraf');var config=require(_0x3dc8('0x6'));var attributes=require(_0x3dc8('0x7'));module['exports']=function(_0x1abd8e,_0x583c8b){return _0x1abd8e['define'](_0x3dc8('0x8'),attributes,{'tableName':_0x3dc8('0x9'),'paranoid':![],'indexes':[{'name':_0x3dc8('0xa'),'fields':[_0x3dc8('0xa')]}],'timestamps':!![]});};