Built motion from commit efa66e19.|2.6.22
[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 _0x6e70=['OpenchannelQueue','openchannel_queues','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','./openchannelQueue.attributes','exports'];(function(_0xff2dac,_0x24506f){var _0x603430=function(_0x4a4ec9){while(--_0x4a4ec9){_0xff2dac['push'](_0xff2dac['shift']());}};_0x603430(++_0x24506f);}(_0x6e70,0x91));var _0x06e7=function(_0x72814d,_0x35cd78){_0x72814d=_0x72814d-0x0;var _0x4b06ec=_0x6e70[_0x72814d];return _0x4b06ec;};'use strict';var _=require(_0x06e7('0x0'));var util=require(_0x06e7('0x1'));var logger=require(_0x06e7('0x2'))('api');var moment=require(_0x06e7('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x06e7('0x4'));var rimraf=require(_0x06e7('0x5'));var config=require(_0x06e7('0x6'));var attributes=require(_0x06e7('0x7'));module[_0x06e7('0x8')]=function(_0x2101f9,_0x2390b0){return _0x2101f9['define'](_0x06e7('0x9'),attributes,{'tableName':_0x06e7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};