a9c25e0a84fd58563e5cc083408cbe50a3c44e92
[motion2.git] / server / api / teamVoiceQueue / teamVoiceQueue.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 _0x5eb8=['define','TeamVoiceQueue','team_has_voice_queues','util','../../config/logger','bluebird','request-promise','rimraf','../../config/environment','./teamVoiceQueue.attributes','exports'];(function(_0x2e4c3f,_0x590cb7){var _0x3ad19d=function(_0x16a2a7){while(--_0x16a2a7){_0x2e4c3f['push'](_0x2e4c3f['shift']());}};_0x3ad19d(++_0x590cb7);}(_0x5eb8,0x1d1));var _0x85eb=function(_0x5ca3d6,_0x5c7599){_0x5ca3d6=_0x5ca3d6-0x0;var _0x3a1032=_0x5eb8[_0x5ca3d6];return _0x3a1032;};'use strict';var _=require('lodash');var util=require(_0x85eb('0x0'));var logger=require(_0x85eb('0x1'))('api');var moment=require('moment');var BPromise=require(_0x85eb('0x2'));var rp=require(_0x85eb('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x85eb('0x4'));var config=require(_0x85eb('0x5'));var attributes=require(_0x85eb('0x6'));module[_0x85eb('0x7')]=function(_0x4c6606,_0xec020a){return _0x4c6606[_0x85eb('0x8')](_0x85eb('0x9'),attributes,{'tableName':_0x85eb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};