9f68b4ba57022ed23b9fbbdc23c4cc6208677877
[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 _0x7764=['OpenchannelTransferReport','uniqueid','lodash','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define'];(function(_0x33092d,_0x46f6e4){var _0x3b824c=function(_0x2cb0da){while(--_0x2cb0da){_0x33092d['push'](_0x33092d['shift']());}};_0x3b824c(++_0x46f6e4);}(_0x7764,0x106));var _0x4776=function(_0x17c483,_0xc69535){_0x17c483=_0x17c483-0x0;var _0x112bdb=_0x7764[_0x17c483];return _0x112bdb;};'use strict';var _=require(_0x4776('0x0'));var util=require('util');var logger=require(_0x4776('0x1'))(_0x4776('0x2'));var moment=require(_0x4776('0x3'));var BPromise=require(_0x4776('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4776('0x5'));var rimraf=require(_0x4776('0x6'));var config=require(_0x4776('0x7'));var attributes=require(_0x4776('0x8'));module[_0x4776('0x9')]=function(_0xf34848,_0x50fc76){return _0xf34848[_0x4776('0xa')](_0x4776('0xb'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x4776('0xc'),'fields':[_0x4776('0xc')]}],'timestamps':!![]});};