Built motion from commit (unavailable).|2.0.83
[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 _0x66fa=['cm_hopper_final','calleridnum','uniqueid','lodash','util','api','moment','bluebird','request-promise','./cmHopperFinal.attributes','exports','CmHopperFinal'];(function(_0x69c346,_0x335e7f){var _0x2581cf=function(_0x3d90a0){while(--_0x3d90a0){_0x69c346['push'](_0x69c346['shift']());}};_0x2581cf(++_0x335e7f);}(_0x66fa,0x117));var _0xa66f=function(_0x56c483,_0x3d79c2){_0x56c483=_0x56c483-0x0;var _0x130287=_0x66fa[_0x56c483];return _0x130287;};'use strict';var _=require(_0xa66f('0x0'));var util=require(_0xa66f('0x1'));var logger=require('../../config/logger')(_0xa66f('0x2'));var moment=require(_0xa66f('0x3'));var BPromise=require(_0xa66f('0x4'));var rp=require(_0xa66f('0x5'));var attributes=require(_0xa66f('0x6'));module[_0xa66f('0x7')]=function(_0x3f4904,_0x5ebea5){return _0x3f4904['define'](_0xa66f('0x8'),attributes,{'tableName':_0xa66f('0x9'),'paranoid':![],'indexes':[{'name':_0xa66f('0xa'),'fields':[_0xa66f('0xa')]},{'name':_0xa66f('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};