e1695fd3e1933ae5efd8fac832c89acfec5d2279
[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 _0x8ec1=['define','OpenchannelQueue','openchannel_queues','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./openchannelQueue.attributes','exports'];(function(_0x5c50f7,_0xeaf9b9){var _0xec8fcc=function(_0x2b9d00){while(--_0x2b9d00){_0x5c50f7['push'](_0x5c50f7['shift']());}};_0xec8fcc(++_0xeaf9b9);}(_0x8ec1,0x1e3));var _0x18ec=function(_0x3caeb5,_0x219363){_0x3caeb5=_0x3caeb5-0x0;var _0x5eca7e=_0x8ec1[_0x3caeb5];return _0x5eca7e;};'use strict';var _=require('lodash');var util=require(_0x18ec('0x0'));var logger=require(_0x18ec('0x1'))(_0x18ec('0x2'));var moment=require(_0x18ec('0x3'));var BPromise=require(_0x18ec('0x4'));var rp=require(_0x18ec('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x18ec('0x6'));var attributes=require(_0x18ec('0x7'));module[_0x18ec('0x8')]=function(_0x4b45cc,_0x171688){return _0x4b45cc[_0x18ec('0x9')](_0x18ec('0xa'),attributes,{'tableName':_0x18ec('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};