Built motion from commit (unavailable).|2.4.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 _0x8890=['Pause','tools_pauses','lodash','api','moment','bluebird','request-promise','path','../../config/environment','./pause.attributes','exports','define'];(function(_0x563ba6,_0x34d48e){var _0x8b8b0f=function(_0x3790f4){while(--_0x3790f4){_0x563ba6['push'](_0x563ba6['shift']());}};_0x8b8b0f(++_0x34d48e);}(_0x8890,0xce));var _0x0889=function(_0x1577ab,_0x34b052){_0x1577ab=_0x1577ab-0x0;var _0x5abfdc=_0x8890[_0x1577ab];return _0x5abfdc;};'use strict';var _=require(_0x0889('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0889('0x1'));var moment=require(_0x0889('0x2'));var BPromise=require(_0x0889('0x3'));var rp=require(_0x0889('0x4'));var fs=require('fs');var path=require(_0x0889('0x5'));var rimraf=require('rimraf');var config=require(_0x0889('0x6'));var attributes=require(_0x0889('0x7'));module[_0x0889('0x8')]=function(_0x5d9d66,_0x2250d3){return _0x5d9d66[_0x0889('0x9')](_0x0889('0xa'),attributes,{'tableName':_0x0889('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};