Built motion from commit (unavailable).|2.5.30
[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 _0xfd6e=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmHopperHistory.attributes','exports','define','CmHopperHistory','cm_hopper_history','endtime','uniqueid','lodash','../../config/logger'];(function(_0x70e542,_0xd14785){var _0x1ff3f9=function(_0x17c731){while(--_0x17c731){_0x70e542['push'](_0x70e542['shift']());}};_0x1ff3f9(++_0xd14785);}(_0xfd6e,0x13e));var _0xefd6=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xfd6e[_0x3ab51d];return _0x29a04e;};'use strict';var _=require(_0xefd6('0x0'));var util=require('util');var logger=require(_0xefd6('0x1'))(_0xefd6('0x2'));var moment=require(_0xefd6('0x3'));var BPromise=require(_0xefd6('0x4'));var rp=require(_0xefd6('0x5'));var fs=require('fs');var path=require(_0xefd6('0x6'));var rimraf=require(_0xefd6('0x7'));var config=require(_0xefd6('0x8'));var attributes=require(_0xefd6('0x9'));module[_0xefd6('0xa')]=function(_0x433ebe,_0x2f8706){return _0x433ebe[_0xefd6('0xb')](_0xefd6('0xc'),attributes,{'tableName':_0xefd6('0xd'),'paranoid':![],'indexes':[{'name':_0xefd6('0xe'),'fields':[_0xefd6('0xe')]},{'name':_0xefd6('0xf'),'fields':[_0xefd6('0xf')]}],'timestamps':!![]});};