Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / api / voiceDialReport / voiceDialReport.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 _0x42ea=['exports','define','VoiceDialReport','report_dial','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x9b4cda,_0x206ec1){var _0x1ac6c5=function(_0x4ba0a3){while(--_0x4ba0a3){_0x9b4cda['push'](_0x9b4cda['shift']());}};_0x1ac6c5(++_0x206ec1);}(_0x42ea,0x1de));var _0xa42e=function(_0x49b379,_0x293993){_0x49b379=_0x49b379-0x0;var _0x4cd09b=_0x42ea[_0x49b379];return _0x4cd09b;};'use strict';var _=require(_0xa42e('0x0'));var util=require(_0xa42e('0x1'));var logger=require(_0xa42e('0x2'))('api');var moment=require(_0xa42e('0x3'));var BPromise=require(_0xa42e('0x4'));var rp=require(_0xa42e('0x5'));var attributes=require('./voiceDialReport.attributes');module[_0xa42e('0x6')]=function(_0xe55f2b,_0x2d5aa7){return _0xe55f2b[_0xa42e('0x7')](_0xa42e('0x8'),attributes,{'tableName':_0xa42e('0x9'),'paranoid':![],'indexes':[{'fields':[_0xa42e('0xa')]}],'timestamps':!![]});};