Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0x45c8=['bluebird','./openchannelQueue.attributes','exports','define','openchannel_queues','lodash','../../config/logger','api','moment'];(function(_0xa22a94,_0x298d75){var _0x444cef=function(_0x10cf83){while(--_0x10cf83){_0xa22a94['push'](_0xa22a94['shift']());}};_0x444cef(++_0x298d75);}(_0x45c8,0xef));var _0x845c=function(_0x3c3987,_0x1ecc48){_0x3c3987=_0x3c3987-0x0;var _0x200366=_0x45c8[_0x3c3987];return _0x200366;};'use strict';var _=require(_0x845c('0x0'));var util=require('util');var logger=require(_0x845c('0x1'))(_0x845c('0x2'));var moment=require(_0x845c('0x3'));var BPromise=require(_0x845c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x845c('0x5'));module[_0x845c('0x6')]=function(_0x1ff5c6,_0x4e0242){return _0x1ff5c6[_0x845c('0x7')]('OpenchannelQueue',attributes,{'tableName':_0x845c('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};