Built motion from commit (unavailable).|2.5.4
[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 _0x5f39=['exports','define','Pause','tools_pauses','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./pause.attributes'];(function(_0x21d07b,_0x358223){var _0x576f85=function(_0xc4e61c){while(--_0xc4e61c){_0x21d07b['push'](_0x21d07b['shift']());}};_0x576f85(++_0x358223);}(_0x5f39,0x1b1));var _0x95f3=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x5f39[_0x122ef9];return _0x42fba0;};'use strict';var _=require(_0x95f3('0x0'));var util=require(_0x95f3('0x1'));var logger=require(_0x95f3('0x2'))('api');var moment=require('moment');var BPromise=require(_0x95f3('0x3'));var rp=require(_0x95f3('0x4'));var fs=require('fs');var path=require(_0x95f3('0x5'));var rimraf=require(_0x95f3('0x6'));var config=require(_0x95f3('0x7'));var attributes=require(_0x95f3('0x8'));module[_0x95f3('0x9')]=function(_0x42101a,_0x2eddf2){return _0x42101a[_0x95f3('0xa')](_0x95f3('0xb'),attributes,{'tableName':_0x95f3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};