c9c806da11692a4b8e04a42245e09d6ef07a97c0
[motion2.git] / server / api / userVoiceQueue / userVoiceQueue.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 _0x45c9=['moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','user_has_voice_queues','lodash','util','../../config/logger','api'];(function(_0x22117d,_0x5f1aca){var _0x27a087=function(_0x3644aa){while(--_0x3644aa){_0x22117d['push'](_0x22117d['shift']());}};_0x27a087(++_0x5f1aca);}(_0x45c9,0xe0));var _0x945c=function(_0x200e2d,_0xa6b814){_0x200e2d=_0x200e2d-0x0;var _0x31bf6b=_0x45c9[_0x200e2d];return _0x31bf6b;};'use strict';var _=require(_0x945c('0x0'));var util=require(_0x945c('0x1'));var logger=require(_0x945c('0x2'))(_0x945c('0x3'));var moment=require(_0x945c('0x4'));var BPromise=require(_0x945c('0x5'));var rp=require(_0x945c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x945c('0x7'));var config=require(_0x945c('0x8'));var attributes=require('./userVoiceQueue.attributes');module[_0x945c('0x9')]=function(_0x1b3fbd,_0xd45765){return _0x1b3fbd[_0x945c('0xa')]('UserVoiceQueue',attributes,{'tableName':_0x945c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};