ffa175f62de2261063669d050d054cdc3f503dde
[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 _0xfe7e=['./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x28104d,_0x1ddce1){var _0xca609b=function(_0x2b3b26){while(--_0x2b3b26){_0x28104d['push'](_0x28104d['shift']());}};_0xca609b(++_0x1ddce1);}(_0xfe7e,0x92));var _0xefe7=function(_0x120e85,_0x591c7f){_0x120e85=_0x120e85-0x0;var _0x34c819=_0xfe7e[_0x120e85];return _0x34c819;};'use strict';var _=require(_0xefe7('0x0'));var util=require(_0xefe7('0x1'));var logger=require(_0xefe7('0x2'))(_0xefe7('0x3'));var moment=require(_0xefe7('0x4'));var BPromise=require(_0xefe7('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xefe7('0x6'));var config=require(_0xefe7('0x7'));var attributes=require(_0xefe7('0x8'));module[_0xefe7('0x9')]=function(_0x28652f,_0x473558){return _0x28652f[_0xefe7('0xa')](_0xefe7('0xb'),attributes,{'tableName':_0xefe7('0xc'),'paranoid':![],'indexes':[{'name':_0xefe7('0xd'),'fields':[_0xefe7('0xd')]}],'timestamps':!![]});};