8fb5fe6f9136120bba07695c565d7ddf3c216397
[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 _0x06f0=['bluebird','request-promise','../../config/environment','UserVoiceQueueRt','lodash','util','../../config/logger','moment'];(function(_0x226cca,_0xc7facd){var _0x2e0be8=function(_0x57e38c){while(--_0x57e38c){_0x226cca['push'](_0x226cca['shift']());}};_0x2e0be8(++_0xc7facd);}(_0x06f0,0x1d4));var _0x006f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x06f0[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x006f('0x0'));var util=require(_0x006f('0x1'));var logger=require(_0x006f('0x2'))('api');var moment=require(_0x006f('0x3'));var BPromise=require(_0x006f('0x4'));var rp=require(_0x006f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x006f('0x6'));var attributes=require('./userVoiceQueueRt.attributes');module['exports']=function(_0x1d3ef7,_0x2fc812){return _0x1d3ef7['define'](_0x006f('0x7'),attributes,{'tableName':'user_has_voice_queues_rt','paranoid':![],'indexes':[],'timestamps':!![]});};