439845fd23f19277f7bb08f3630e5e2545d6abb5
[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 _0x55e8=['util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./cmHopperHistory.attributes','exports','cm_hopper_history','endtime','uniqueid','lodash'];(function(_0x13fef4,_0x5b5610){var _0x518aef=function(_0x315cd9){while(--_0x315cd9){_0x13fef4['push'](_0x13fef4['shift']());}};_0x518aef(++_0x5b5610);}(_0x55e8,0x110));var _0x855e=function(_0x168816,_0x45a9f9){_0x168816=_0x168816-0x0;var _0x36e529=_0x55e8[_0x168816];return _0x36e529;};'use strict';var _=require(_0x855e('0x0'));var util=require(_0x855e('0x1'));var logger=require(_0x855e('0x2'))(_0x855e('0x3'));var moment=require(_0x855e('0x4'));var BPromise=require(_0x855e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x855e('0x6'));var config=require(_0x855e('0x7'));var attributes=require(_0x855e('0x8'));module[_0x855e('0x9')]=function(_0x332740,_0x3c7500){return _0x332740['define']('CmHopperHistory',attributes,{'tableName':_0x855e('0xa'),'paranoid':![],'indexes':[{'name':_0x855e('0xb'),'fields':[_0x855e('0xb')]},{'name':_0x855e('0xc'),'fields':[_0x855e('0xc')]}],'timestamps':!![]});};