Built motion from commit (unavailable).|2.5.4
[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 _0xcf4c=['api','moment','request-promise','path','rimraf','./userVoiceQueue.attributes','exports','define','UserVoiceQueue','user_has_voice_queues','util','../../config/logger'];(function(_0xd80954,_0x1ce8c2){var _0x8085dd=function(_0x57fd80){while(--_0x57fd80){_0xd80954['push'](_0xd80954['shift']());}};_0x8085dd(++_0x1ce8c2);}(_0xcf4c,0x166));var _0xccf4=function(_0xbc8751,_0x3e64c0){_0xbc8751=_0xbc8751-0x0;var _0x10923a=_0xcf4c[_0xbc8751];return _0x10923a;};'use strict';var _=require('lodash');var util=require(_0xccf4('0x0'));var logger=require(_0xccf4('0x1'))(_0xccf4('0x2'));var moment=require(_0xccf4('0x3'));var BPromise=require('bluebird');var rp=require(_0xccf4('0x4'));var fs=require('fs');var path=require(_0xccf4('0x5'));var rimraf=require(_0xccf4('0x6'));var config=require('../../config/environment');var attributes=require(_0xccf4('0x7'));module[_0xccf4('0x8')]=function(_0x403452,_0x1cfb78){return _0x403452[_0xccf4('0x9')](_0xccf4('0xa'),attributes,{'tableName':_0xccf4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};