822c3d428cd20f03e057a2665b0d4f5e8c934265
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.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 _0x121d=['request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','event_dtm','dtm','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4ee89a,_0x56d642){var _0x42aca9=function(_0xa1f425){while(--_0xa1f425){_0x4ee89a['push'](_0x4ee89a['shift']());}};_0x42aca9(++_0x56d642);}(_0x121d,0xea));var _0xd121=function(_0x413fd4,_0x4da888){_0x413fd4=_0x413fd4-0x0;var _0x23c70b=_0x121d[_0x413fd4];return _0x23c70b;};'use strict';var _=require(_0xd121('0x0'));var util=require(_0xd121('0x1'));var logger=require(_0xd121('0x2'))(_0xd121('0x3'));var moment=require(_0xd121('0x4'));var BPromise=require(_0xd121('0x5'));var rp=require(_0xd121('0x6'));var fs=require('fs');var path=require(_0xd121('0x7'));var rimraf=require(_0xd121('0x8'));var config=require(_0xd121('0x9'));var attributes=require(_0xd121('0xa'));module[_0xd121('0xb')]=function(_0x2b2f41,_0x31c727){return _0x2b2f41['define'](_0xd121('0xc'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xd121('0xd'),'fields':['event',_0xd121('0xe')]}],'timestamps':![]});};