219256c39b01fccfa073738e4ea578ad018d9d03
[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 _0xfc58=['lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','./cmHopperFinal.attributes','exports','define','cm_hopper_final','calleridnum','uniqueid'];(function(_0x1e644b,_0x28f130){var _0x585ecb=function(_0x27aa26){while(--_0x27aa26){_0x1e644b['push'](_0x1e644b['shift']());}};_0x585ecb(++_0x28f130);}(_0xfc58,0xc4));var _0x8fc5=function(_0x53c1a1,_0x1f401c){_0x53c1a1=_0x53c1a1-0x0;var _0x4f2ddf=_0xfc58[_0x53c1a1];return _0x4f2ddf;};'use strict';var _=require(_0x8fc5('0x0'));var util=require(_0x8fc5('0x1'));var logger=require(_0x8fc5('0x2'))(_0x8fc5('0x3'));var moment=require(_0x8fc5('0x4'));var BPromise=require('bluebird');var rp=require(_0x8fc5('0x5'));var fs=require('fs');var path=require(_0x8fc5('0x6'));var rimraf=require(_0x8fc5('0x7'));var config=require('../../config/environment');var attributes=require(_0x8fc5('0x8'));module[_0x8fc5('0x9')]=function(_0x3c42b5,_0x38b9b9){return _0x3c42b5[_0x8fc5('0xa')]('CmHopperFinal',attributes,{'tableName':_0x8fc5('0xb'),'paranoid':![],'indexes':[{'name':_0x8fc5('0xc'),'fields':[_0x8fc5('0xc')]},{'name':_0x8fc5('0xd'),'fields':[_0x8fc5('0xd')]}],'timestamps':!![]});};