4a5db15068202cf00a2d3d2927a78d68af8613d8
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.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 _0x5a65=['../../config/environment','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x5a65,0x71));var _0x55a6=function(_0x55101b,_0x4135e1){_0x55101b=_0x55101b-0x0;var _0x887298=_0x5a65[_0x55101b];return _0x887298;};'use strict';var _=require(_0x55a6('0x0'));var util=require(_0x55a6('0x1'));var logger=require(_0x55a6('0x2'))('api');var moment=require(_0x55a6('0x3'));var BPromise=require(_0x55a6('0x4'));var rp=require(_0x55a6('0x5'));var fs=require('fs');var path=require(_0x55a6('0x6'));var rimraf=require('rimraf');var config=require(_0x55a6('0x7'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x55a6('0x8')]=function(_0x591338,_0x5af78f){return _0x591338[_0x55a6('0x9')](_0x55a6('0xa'),attributes,{'tableName':_0x55a6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};