Built motion from commit (unavailable).|2.4.18
[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 _0xcff2=['exports','CmHopperHistory','endtime','uniqueid','lodash','util','../../config/logger','bluebird','request-promise','path','../../config/environment','./cmHopperHistory.attributes'];(function(_0x57516d,_0x98bf20){var _0x1fe2dc=function(_0x189bb6){while(--_0x189bb6){_0x57516d['push'](_0x57516d['shift']());}};_0x1fe2dc(++_0x98bf20);}(_0xcff2,0x1f0));var _0x2cff=function(_0x1bb812,_0x23eacc){_0x1bb812=_0x1bb812-0x0;var _0x372adb=_0xcff2[_0x1bb812];return _0x372adb;};'use strict';var _=require(_0x2cff('0x0'));var util=require(_0x2cff('0x1'));var logger=require(_0x2cff('0x2'))('api');var moment=require('moment');var BPromise=require(_0x2cff('0x3'));var rp=require(_0x2cff('0x4'));var fs=require('fs');var path=require(_0x2cff('0x5'));var rimraf=require('rimraf');var config=require(_0x2cff('0x6'));var attributes=require(_0x2cff('0x7'));module[_0x2cff('0x8')]=function(_0x3b9209,_0x559c81){return _0x3b9209['define'](_0x2cff('0x9'),attributes,{'tableName':'cm_hopper_history','paranoid':![],'indexes':[{'name':_0x2cff('0xa'),'fields':[_0x2cff('0xa')]},{'name':'uniqueid','fields':[_0x2cff('0xb')]}],'timestamps':!![]});};