Built motion from commit (unavailable).|2.2.0
[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 _0x5873=['api','bluebird','./pause.attributes','exports','define','Pause','tools_pauses','util','../../config/logger'];(function(_0x30affd,_0x47df28){var _0x97122d=function(_0x282511){while(--_0x282511){_0x30affd['push'](_0x30affd['shift']());}};_0x97122d(++_0x47df28);}(_0x5873,0x142));var _0x3587=function(_0x15c9cb,_0x17b646){_0x15c9cb=_0x15c9cb-0x0;var _0xe44c70=_0x5873[_0x15c9cb];return _0xe44c70;};'use strict';var _=require('lodash');var util=require(_0x3587('0x0'));var logger=require(_0x3587('0x1'))(_0x3587('0x2'));var moment=require('moment');var BPromise=require(_0x3587('0x3'));var rp=require('request-promise');var attributes=require(_0x3587('0x4'));module[_0x3587('0x5')]=function(_0x500ef3,_0x37ceb1){return _0x500ef3[_0x3587('0x6')](_0x3587('0x7'),attributes,{'tableName':_0x3587('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};