Built motion from commit (unavailable).|2.5.19
[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 _0x89c7=['bluebird','request-promise','path','../../config/environment','./openchannelQueue.attributes','exports','lodash','../../config/logger','api','moment'];(function(_0x23f6af,_0x1eff78){var _0x1e9c7c=function(_0x31c227){while(--_0x31c227){_0x23f6af['push'](_0x23f6af['shift']());}};_0x1e9c7c(++_0x1eff78);}(_0x89c7,0xd8));var _0x789c=function(_0x1753e0,_0x32ccd4){_0x1753e0=_0x1753e0-0x0;var _0xc9f908=_0x89c7[_0x1753e0];return _0xc9f908;};'use strict';var _=require(_0x789c('0x0'));var util=require('util');var logger=require(_0x789c('0x1'))(_0x789c('0x2'));var moment=require(_0x789c('0x3'));var BPromise=require(_0x789c('0x4'));var rp=require(_0x789c('0x5'));var fs=require('fs');var path=require(_0x789c('0x6'));var rimraf=require('rimraf');var config=require(_0x789c('0x7'));var attributes=require(_0x789c('0x8'));module[_0x789c('0x9')]=function(_0x479f52,_0x111286){return _0x479f52['define']('OpenchannelQueue',attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};