Built motion from commit (unavailable).|2.5.10
[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 _0x6edc=['exports','Pause','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment'];(function(_0x3ce035,_0x38310a){var _0x392ee8=function(_0x39085c){while(--_0x39085c){_0x3ce035['push'](_0x3ce035['shift']());}};_0x392ee8(++_0x38310a);}(_0x6edc,0x138));var _0xc6ed=function(_0xc28341,_0x3bdf3f){_0xc28341=_0xc28341-0x0;var _0x1b6a24=_0x6edc[_0xc28341];return _0x1b6a24;};'use strict';var _=require(_0xc6ed('0x0'));var util=require(_0xc6ed('0x1'));var logger=require(_0xc6ed('0x2'))(_0xc6ed('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc6ed('0x4'));var fs=require('fs');var path=require(_0xc6ed('0x5'));var rimraf=require(_0xc6ed('0x6'));var config=require(_0xc6ed('0x7'));var attributes=require('./pause.attributes');module[_0xc6ed('0x8')]=function(_0x442466,_0x2b3e56){return _0x442466['define'](_0xc6ed('0x9'),attributes,{'tableName':'tools_pauses','paranoid':![],'indexes':[],'timestamps':!![]});};