4f3d1e04e9b4d163e7c7af91e35343bf5a106f94
[motion2.git] / server / api / cmHopper / cmHopper.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 _0x2097=['define','scheduledat','phone','priority','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./cmHopper.attributes'];(function(_0x355259,_0x11fed7){var _0x1776eb=function(_0x2042dc){while(--_0x2042dc){_0x355259['push'](_0x355259['shift']());}};_0x1776eb(++_0x11fed7);}(_0x2097,0xfb));var _0x7209=function(_0x136319,_0x3d8c76){_0x136319=_0x136319-0x0;var _0x75ef6c=_0x2097[_0x136319];return _0x75ef6c;};'use strict';var _=require(_0x7209('0x0'));var util=require(_0x7209('0x1'));var logger=require(_0x7209('0x2'))('api');var moment=require('moment');var BPromise=require(_0x7209('0x3'));var rp=require(_0x7209('0x4'));var fs=require('fs');var path=require(_0x7209('0x5'));var rimraf=require(_0x7209('0x6'));var config=require(_0x7209('0x7'));var attributes=require(_0x7209('0x8'));module['exports']=function(_0xc48138,_0x709bdf){return _0xc48138[_0x7209('0x9')]('CmHopper',attributes,{'tableName':'cm_hopper','paranoid':![],'indexes':[{'name':_0x7209('0xa'),'fields':[_0x7209('0xa')]},{'name':_0x7209('0xb'),'fields':[_0x7209('0xb')]},{'name':_0x7209('0xc'),'fields':[_0x7209('0xc')]}],'timestamps':!![]});};