Built motion from commit 3e059bc2.|2.5.32
[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 _0x5ea7=['api','bluebird','request-promise','path','../../config/environment','./openchannelTransferReport.attributes','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger'];(function(_0x4618da,_0x27c024){var _0xede04a=function(_0x2bdf4c){while(--_0x2bdf4c){_0x4618da['push'](_0x4618da['shift']());}};_0xede04a(++_0x27c024);}(_0x5ea7,0x106));var _0x75ea=function(_0x30abff,_0x5f2c5f){_0x30abff=_0x30abff-0x0;var _0x4c571e=_0x5ea7[_0x30abff];return _0x4c571e;};'use strict';var _=require('lodash');var util=require(_0x75ea('0x0'));var logger=require(_0x75ea('0x1'))(_0x75ea('0x2'));var moment=require('moment');var BPromise=require(_0x75ea('0x3'));var rp=require(_0x75ea('0x4'));var fs=require('fs');var path=require(_0x75ea('0x5'));var rimraf=require('rimraf');var config=require(_0x75ea('0x6'));var attributes=require(_0x75ea('0x7'));module['exports']=function(_0x3b8daa,_0xb676d2){return _0x3b8daa['define'](_0x75ea('0x8'),attributes,{'tableName':_0x75ea('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x75ea('0xa')]}],'timestamps':!![]});};