Built motion from commit efa66e19.|2.6.22
[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 _0x8f72=['api','moment','bluebird','../../config/environment','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','util','../../config/logger'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x8f72,0x1cc));var _0x28f7=function(_0x40a991,_0x342255){_0x40a991=_0x40a991-0x0;var _0x4b5769=_0x8f72[_0x40a991];return _0x4b5769;};'use strict';var _=require('lodash');var util=require(_0x28f7('0x0'));var logger=require(_0x28f7('0x1'))(_0x28f7('0x2'));var moment=require(_0x28f7('0x3'));var BPromise=require(_0x28f7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x28f7('0x5'));var attributes=require(_0x28f7('0x6'));module[_0x28f7('0x7')]=function(_0x593057,_0x24af60){return _0x593057[_0x28f7('0x8')](_0x28f7('0x9'),attributes,{'tableName':_0x28f7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};