83467d21c910615d98b6b89d6799eefe449d302c
[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 _0xae92=['uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./cmHopperFinal.attributes','exports','define','calleridnum'];(function(_0x192237,_0x1112d9){var _0x50e633=function(_0xf5ce6d){while(--_0xf5ce6d){_0x192237['push'](_0x192237['shift']());}};_0x50e633(++_0x1112d9);}(_0xae92,0xd1));var _0x2ae9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xae92[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x2ae9('0x0'));var util=require(_0x2ae9('0x1'));var logger=require(_0x2ae9('0x2'))(_0x2ae9('0x3'));var moment=require(_0x2ae9('0x4'));var BPromise=require('bluebird');var rp=require(_0x2ae9('0x5'));var fs=require('fs');var path=require(_0x2ae9('0x6'));var rimraf=require('rimraf');var config=require(_0x2ae9('0x7'));var attributes=require(_0x2ae9('0x8'));module[_0x2ae9('0x9')]=function(_0x483c67,_0x288e5b){return _0x483c67[_0x2ae9('0xa')]('CmHopperFinal',attributes,{'tableName':'cm_hopper_final','paranoid':![],'indexes':[{'name':_0x2ae9('0xb'),'fields':['calleridnum']},{'name':'uniqueid','fields':[_0x2ae9('0xc')]}],'timestamps':!![]});};