86acfb870dc71e70675e3f9061a60a2fda27b70c
[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 _0x74e2=['exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x471452,_0x157074){var _0x1220ac=function(_0x404d5c){while(--_0x404d5c){_0x471452['push'](_0x471452['shift']());}};_0x1220ac(++_0x157074);}(_0x74e2,0x1cc));var _0x274e=function(_0xb4b23d,_0x1b251b){_0xb4b23d=_0xb4b23d-0x0;var _0x34db8f=_0x74e2[_0xb4b23d];return _0x34db8f;};'use strict';var _=require('lodash');var util=require(_0x274e('0x0'));var logger=require(_0x274e('0x1'))('api');var moment=require(_0x274e('0x2'));var BPromise=require(_0x274e('0x3'));var rp=require(_0x274e('0x4'));var fs=require('fs');var path=require(_0x274e('0x5'));var rimraf=require(_0x274e('0x6'));var config=require(_0x274e('0x7'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x274e('0x8')]=function(_0x350db2,_0x367ab9){return _0x350db2[_0x274e('0x9')](_0x274e('0xa'),attributes,{'tableName':_0x274e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};