e097743497d77e56424cf8782a424613df712aba
[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 _0x341a=['util','api','moment','bluebird','request-promise','path','./cmHopperFinal.attributes','exports','define','cm_hopper_final','calleridnum','uniqueid','lodash'];(function(_0x55c5d3,_0x4c07cd){var _0x2a2622=function(_0xb23bcc){while(--_0xb23bcc){_0x55c5d3['push'](_0x55c5d3['shift']());}};_0x2a2622(++_0x4c07cd);}(_0x341a,0x12a));var _0xa341=function(_0xaf35c9,_0x4b5dff){_0xaf35c9=_0xaf35c9-0x0;var _0x2f9c88=_0x341a[_0xaf35c9];return _0x2f9c88;};'use strict';var _=require(_0xa341('0x0'));var util=require(_0xa341('0x1'));var logger=require('../../config/logger')(_0xa341('0x2'));var moment=require(_0xa341('0x3'));var BPromise=require(_0xa341('0x4'));var rp=require(_0xa341('0x5'));var fs=require('fs');var path=require(_0xa341('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa341('0x7'));module[_0xa341('0x8')]=function(_0x27f7bc,_0x51fd79){return _0x27f7bc[_0xa341('0x9')]('CmHopperFinal',attributes,{'tableName':_0xa341('0xa'),'paranoid':![],'indexes':[{'name':_0xa341('0xb'),'fields':[_0xa341('0xb')]},{'name':_0xa341('0xc'),'fields':[_0xa341('0xc')]}],'timestamps':!![]});};