4ae49d4c6decb5123748b02353b6f92c3e2481c4
[motion2.git] / server / api / cmHopperHistory / cmHopperHistory.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 _0xc19f=['exports','cm_hopper_history','endtime','uniqueid','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./cmHopperHistory.attributes'];(function(_0x2ee83d,_0xe17c3){var _0x37f316=function(_0xf545d6){while(--_0xf545d6){_0x2ee83d['push'](_0x2ee83d['shift']());}};_0x37f316(++_0xe17c3);}(_0xc19f,0x164));var _0xfc19=function(_0x3ebcab,_0x482df2){_0x3ebcab=_0x3ebcab-0x0;var _0x4074d3=_0xc19f[_0x3ebcab];return _0x4074d3;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xfc19('0x0'))(_0xfc19('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xfc19('0x2'));var fs=require('fs');var path=require(_0xfc19('0x3'));var rimraf=require(_0xfc19('0x4'));var config=require(_0xfc19('0x5'));var attributes=require(_0xfc19('0x6'));module[_0xfc19('0x7')]=function(_0x3ca66e,_0x56332d){return _0x3ca66e['define']('CmHopperHistory',attributes,{'tableName':_0xfc19('0x8'),'paranoid':![],'indexes':[{'name':_0xfc19('0x9'),'fields':[_0xfc19('0x9')]},{'name':_0xfc19('0xa'),'fields':[_0xfc19('0xa')]}],'timestamps':!![]});};