Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / api / cmHopperFinal / cmHopperFinal.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 _0xcb7e=['path','rimraf','./cmHopperFinal.attributes','exports','CmHopperFinal','calleridnum','uniqueid','lodash','util','api','moment','request-promise'];(function(_0x1ab4a4,_0xa5b45c){var _0x42c3a8=function(_0x41cc9b){while(--_0x41cc9b){_0x1ab4a4['push'](_0x1ab4a4['shift']());}};_0x42c3a8(++_0xa5b45c);}(_0xcb7e,0x17b));var _0xecb7=function(_0x36845e,_0xeead32){_0x36845e=_0x36845e-0x0;var _0x4bdab7=_0xcb7e[_0x36845e];return _0x4bdab7;};'use strict';var _=require(_0xecb7('0x0'));var util=require(_0xecb7('0x1'));var logger=require('../../config/logger')(_0xecb7('0x2'));var moment=require(_0xecb7('0x3'));var BPromise=require('bluebird');var rp=require(_0xecb7('0x4'));var fs=require('fs');var path=require(_0xecb7('0x5'));var rimraf=require(_0xecb7('0x6'));var config=require('../../config/environment');var attributes=require(_0xecb7('0x7'));module[_0xecb7('0x8')]=function(_0x52f6b4,_0xeee3fa){return _0x52f6b4['define'](_0xecb7('0x9'),attributes,{'tableName':'cm_hopper_final','paranoid':![],'indexes':[{'name':_0xecb7('0xa'),'fields':[_0xecb7('0xa')]},{'name':'uniqueid','fields':[_0xecb7('0xb')]}],'timestamps':!![]});};