453a88953b38e3a2a4bc14a044c6f98d9d8b0d3a
[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 _0x5eca=['request-promise','path','rimraf','./userVoiceQueue.attributes','exports','define','UserVoiceQueue','api','moment','bluebird'];(function(_0x2d4544,_0x4051ed){var _0x144d20=function(_0x5d8129){while(--_0x5d8129){_0x2d4544['push'](_0x2d4544['shift']());}};_0x144d20(++_0x4051ed);}(_0x5eca,0x1a1));var _0xa5ec=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x5eca[_0xfae23b];return _0x200640;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xa5ec('0x0'));var moment=require(_0xa5ec('0x1'));var BPromise=require(_0xa5ec('0x2'));var rp=require(_0xa5ec('0x3'));var fs=require('fs');var path=require(_0xa5ec('0x4'));var rimraf=require(_0xa5ec('0x5'));var config=require('../../config/environment');var attributes=require(_0xa5ec('0x6'));module[_0xa5ec('0x7')]=function(_0x3528fb,_0x13e5ad){return _0x3528fb[_0xa5ec('0x8')](_0xa5ec('0x9'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};