bd27e446e99c21ebd211cada3bc5d83313dc73bb
[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 _0x6d1f=['lodash','util','../../config/logger','moment','bluebird','rimraf','../../config/environment','./userVoiceQueue.attributes','define'];(function(_0x13ac10,_0x46e79e){var _0x28eda2=function(_0x169ef0){while(--_0x169ef0){_0x13ac10['push'](_0x13ac10['shift']());}};_0x28eda2(++_0x46e79e);}(_0x6d1f,0x168));var _0xf6d1=function(_0x7acccb,_0x4e00f3){_0x7acccb=_0x7acccb-0x0;var _0x54d740=_0x6d1f[_0x7acccb];return _0x54d740;};'use strict';var _=require(_0xf6d1('0x0'));var util=require(_0xf6d1('0x1'));var logger=require(_0xf6d1('0x2'))('api');var moment=require(_0xf6d1('0x3'));var BPromise=require(_0xf6d1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf6d1('0x5'));var config=require(_0xf6d1('0x6'));var attributes=require(_0xf6d1('0x7'));module['exports']=function(_0x4c9cb4,_0x44cf43){return _0x4c9cb4[_0xf6d1('0x8')]('UserVoiceQueue',attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};