ed13e083a531894a91e9f0688f385ec6cde8882a
[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 _0xcfbf=['exports','define','CmHopperFinal','calleridnum','uniqueid','lodash','util','moment','request-promise','path','rimraf','../../config/environment','./cmHopperFinal.attributes'];(function(_0x2345a3,_0x466c85){var _0x42be42=function(_0x31cee8){while(--_0x31cee8){_0x2345a3['push'](_0x2345a3['shift']());}};_0x42be42(++_0x466c85);}(_0xcfbf,0xc8));var _0xfcfb=function(_0x5518ff,_0x29b6c8){_0x5518ff=_0x5518ff-0x0;var _0x284e55=_0xcfbf[_0x5518ff];return _0x284e55;};'use strict';var _=require(_0xfcfb('0x0'));var util=require(_0xfcfb('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xfcfb('0x2'));var BPromise=require('bluebird');var rp=require(_0xfcfb('0x3'));var fs=require('fs');var path=require(_0xfcfb('0x4'));var rimraf=require(_0xfcfb('0x5'));var config=require(_0xfcfb('0x6'));var attributes=require(_0xfcfb('0x7'));module[_0xfcfb('0x8')]=function(_0x9701d7,_0x5677b9){return _0x9701d7[_0xfcfb('0x9')](_0xfcfb('0xa'),attributes,{'tableName':'cm_hopper_final','paranoid':![],'indexes':[{'name':_0xfcfb('0xb'),'fields':[_0xfcfb('0xb')]},{'name':_0xfcfb('0xc'),'fields':[_0xfcfb('0xc')]}],'timestamps':!![]});};