13071e299a3cb8206ac5e2b0c44b5bb4bbc7f68b
[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 _0x6f50=['report_openchannel_transfer','uniqueid','util','../../config/logger','moment','bluebird','request-promise','../../config/environment','exports','define'];(function(_0x57fb5a,_0x34b80d){var _0x326e76=function(_0x534919){while(--_0x534919){_0x57fb5a['push'](_0x57fb5a['shift']());}};_0x326e76(++_0x34b80d);}(_0x6f50,0xd4));var _0x06f5=function(_0x235c18,_0x3c524c){_0x235c18=_0x235c18-0x0;var _0x2328aa=_0x6f50[_0x235c18];return _0x2328aa;};'use strict';var _=require('lodash');var util=require(_0x06f5('0x0'));var logger=require(_0x06f5('0x1'))('api');var moment=require(_0x06f5('0x2'));var BPromise=require(_0x06f5('0x3'));var rp=require(_0x06f5('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x06f5('0x5'));var attributes=require('./openchannelTransferReport.attributes');module[_0x06f5('0x6')]=function(_0x517601,_0x10b461){return _0x517601[_0x06f5('0x7')]('OpenchannelTransferReport',attributes,{'tableName':_0x06f5('0x8'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x06f5('0x9')]}],'timestamps':!![]});};