Built motion from commit (unavailable).|2.5.29
[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 _0xa0d3=['bluebird','request-promise','rimraf','../../config/environment','./cmHopperHistory.attributes','exports','define','CmHopperHistory','cm_hopper_history','endtime','uniqueid','lodash','../../config/logger','api','moment'];(function(_0x772b65,_0x335b39){var _0x5e88be=function(_0x6bef01){while(--_0x6bef01){_0x772b65['push'](_0x772b65['shift']());}};_0x5e88be(++_0x335b39);}(_0xa0d3,0xec));var _0x3a0d=function(_0x44044a,_0x3a0097){_0x44044a=_0x44044a-0x0;var _0x43bb6e=_0xa0d3[_0x44044a];return _0x43bb6e;};'use strict';var _=require(_0x3a0d('0x0'));var util=require('util');var logger=require(_0x3a0d('0x1'))(_0x3a0d('0x2'));var moment=require(_0x3a0d('0x3'));var BPromise=require(_0x3a0d('0x4'));var rp=require(_0x3a0d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3a0d('0x6'));var config=require(_0x3a0d('0x7'));var attributes=require(_0x3a0d('0x8'));module[_0x3a0d('0x9')]=function(_0x4e1d57,_0x5bb444){return _0x4e1d57[_0x3a0d('0xa')](_0x3a0d('0xb'),attributes,{'tableName':_0x3a0d('0xc'),'paranoid':![],'indexes':[{'name':_0x3a0d('0xd'),'fields':[_0x3a0d('0xd')]},{'name':_0x3a0d('0xe'),'fields':[_0x3a0d('0xe')]}],'timestamps':!![]});};