Built motion from commit (unavailable).|2.6.0
[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 _0xa551=['exports','define','TeamVoiceQueue','../../config/logger','api','moment','request-promise','rimraf','../../config/environment'];(function(_0x431b57,_0x338845){var _0x49ddcf=function(_0x59613d){while(--_0x59613d){_0x431b57['push'](_0x431b57['shift']());}};_0x49ddcf(++_0x338845);}(_0xa551,0x108));var _0x1a55=function(_0x5bcbc8,_0x481a22){_0x5bcbc8=_0x5bcbc8-0x0;var _0x15ac4d=_0xa551[_0x5bcbc8];return _0x15ac4d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x1a55('0x0'))(_0x1a55('0x1'));var moment=require(_0x1a55('0x2'));var BPromise=require('bluebird');var rp=require(_0x1a55('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1a55('0x4'));var config=require(_0x1a55('0x5'));var attributes=require('./teamVoiceQueue.attributes');module[_0x1a55('0x6')]=function(_0x4f969e,_0x18fd97){return _0x4f969e[_0x1a55('0x7')](_0x1a55('0x8'),attributes,{'tableName':'team_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};