Built motion from commit (unavailable).|2.0.72
[motion2.git] / server / api / pause / pause.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 _0x6f39=['request-promise','./pause.attributes','Pause','tools_pauses','util','api','moment','bluebird'];(function(_0xc09922,_0xd99d6f){var _0xd56caf=function(_0x200478){while(--_0x200478){_0xc09922['push'](_0xc09922['shift']());}};_0xd56caf(++_0xd99d6f);}(_0x6f39,0x164));var _0x96f3=function(_0x119d13,_0x263cd2){_0x119d13=_0x119d13-0x0;var _0x333c35=_0x6f39[_0x119d13];return _0x333c35;};'use strict';var _=require('lodash');var util=require(_0x96f3('0x0'));var logger=require('../../config/logger')(_0x96f3('0x1'));var moment=require(_0x96f3('0x2'));var BPromise=require(_0x96f3('0x3'));var rp=require(_0x96f3('0x4'));var attributes=require(_0x96f3('0x5'));module['exports']=function(_0xf81304,_0xcedf36){return _0xf81304['define'](_0x96f3('0x6'),attributes,{'tableName':_0x96f3('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};