Built motion from commit 67e5df37.|2.0.66
[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 _0x651d=['exports','define','Pause','lodash','util','api','moment','bluebird','./pause.attributes'];(function(_0x14d939,_0x4c5e9e){var _0x111f26=function(_0x2c3970){while(--_0x2c3970){_0x14d939['push'](_0x14d939['shift']());}};_0x111f26(++_0x4c5e9e);}(_0x651d,0x12c));var _0xd651=function(_0xe1b5f6,_0x210c09){_0xe1b5f6=_0xe1b5f6-0x0;var _0x44636e=_0x651d[_0xe1b5f6];return _0x44636e;};'use strict';var _=require(_0xd651('0x0'));var util=require(_0xd651('0x1'));var logger=require('../../config/logger')(_0xd651('0x2'));var moment=require(_0xd651('0x3'));var BPromise=require(_0xd651('0x4'));var rp=require('request-promise');var attributes=require(_0xd651('0x5'));module[_0xd651('0x6')]=function(_0x16a527,_0x440e67){return _0x16a527[_0xd651('0x7')](_0xd651('0x8'),attributes,{'tableName':'tools_pauses','paranoid':![],'indexes':[],'timestamps':!![]});};