Built motion from commit (unavailable).|2.5.4
[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 _0x43b5=['cm_hopper_history','endtime','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmHopperHistory.attributes','exports'];(function(_0x2a1fc0,_0x5d8d63){var _0x2b805c=function(_0x3d5d40){while(--_0x3d5d40){_0x2a1fc0['push'](_0x2a1fc0['shift']());}};_0x2b805c(++_0x5d8d63);}(_0x43b5,0x17a));var _0x543b=function(_0x205c95,_0x18a8d2){_0x205c95=_0x205c95-0x0;var _0x18db6b=_0x43b5[_0x205c95];return _0x18db6b;};'use strict';var _=require(_0x543b('0x0'));var util=require(_0x543b('0x1'));var logger=require(_0x543b('0x2'))(_0x543b('0x3'));var moment=require(_0x543b('0x4'));var BPromise=require(_0x543b('0x5'));var rp=require(_0x543b('0x6'));var fs=require('fs');var path=require(_0x543b('0x7'));var rimraf=require(_0x543b('0x8'));var config=require(_0x543b('0x9'));var attributes=require(_0x543b('0xa'));module[_0x543b('0xb')]=function(_0x2c0b7b,_0x4a63b1){return _0x2c0b7b['define']('CmHopperHistory',attributes,{'tableName':_0x543b('0xc'),'paranoid':![],'indexes':[{'name':'endtime','fields':[_0x543b('0xd')]},{'name':_0x543b('0xe'),'fields':[_0x543b('0xe')]}],'timestamps':!![]});};