33b11a25e29fe7505d061a7b5dedcdc8b164b98c
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0xf5f9=['OpenchannelQueue','openchannel_queues','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueue.attributes','define'];(function(_0x442374,_0x5bfafe){var _0x2f1b5e=function(_0x138eb2){while(--_0x138eb2){_0x442374['push'](_0x442374['shift']());}};_0x2f1b5e(++_0x5bfafe);}(_0xf5f9,0x10a));var _0x9f5f=function(_0xc12ef6,_0x3f3852){_0xc12ef6=_0xc12ef6-0x0;var _0x242bd0=_0xf5f9[_0xc12ef6];return _0x242bd0;};'use strict';var _=require(_0x9f5f('0x0'));var util=require('util');var logger=require(_0x9f5f('0x1'))(_0x9f5f('0x2'));var moment=require('moment');var BPromise=require(_0x9f5f('0x3'));var rp=require(_0x9f5f('0x4'));var fs=require('fs');var path=require(_0x9f5f('0x5'));var rimraf=require(_0x9f5f('0x6'));var config=require(_0x9f5f('0x7'));var attributes=require(_0x9f5f('0x8'));module['exports']=function(_0x10c9bf,_0x489bcd){return _0x10c9bf[_0x9f5f('0x9')](_0x9f5f('0xa'),attributes,{'tableName':_0x9f5f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};