e95f82c8bd7bd3524046bf5468d47853822f1cdd
[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 _0x927d=['openchannel_queues','util','api','moment','bluebird','rimraf','../../config/environment','exports','OpenchannelQueue'];(function(_0x5da49e,_0x46be22){var _0x33da90=function(_0x212eca){while(--_0x212eca){_0x5da49e['push'](_0x5da49e['shift']());}};_0x33da90(++_0x46be22);}(_0x927d,0x88));var _0xd927=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x927d[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xd927('0x0'));var logger=require('../../config/logger')(_0xd927('0x1'));var moment=require(_0xd927('0x2'));var BPromise=require(_0xd927('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd927('0x4'));var config=require(_0xd927('0x5'));var attributes=require('./openchannelQueue.attributes');module[_0xd927('0x6')]=function(_0x5810d9,_0x17ee19){return _0x5810d9['define'](_0xd927('0x7'),attributes,{'tableName':_0xd927('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};