29590f981d992e879604e8571d3552cade0d45a2
[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 _0x493f=['uniqueid','util','../../config/logger','api','request-promise','../../config/environment','./cmHopperFinal.attributes','define','CmHopperFinal','calleridnum'];(function(_0x1d87fc,_0x1e5321){var _0x492b56=function(_0x4c6b16){while(--_0x4c6b16){_0x1d87fc['push'](_0x1d87fc['shift']());}};_0x492b56(++_0x1e5321);}(_0x493f,0x1c3));var _0xf493=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x493f[_0x2641f9];return _0x585741;};'use strict';var _=require('lodash');var util=require(_0xf493('0x0'));var logger=require(_0xf493('0x1'))(_0xf493('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf493('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf493('0x4'));var attributes=require(_0xf493('0x5'));module['exports']=function(_0x81e9a7,_0x25f826){return _0x81e9a7[_0xf493('0x6')](_0xf493('0x7'),attributes,{'tableName':'cm_hopper_final','paranoid':![],'indexes':[{'name':_0xf493('0x8'),'fields':[_0xf493('0x8')]},{'name':'uniqueid','fields':[_0xf493('0x9')]}],'timestamps':!![]});};