Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0x4a6b=['request-promise','rimraf','../../config/environment','./voiceCallReport.attributes','define','VoiceCallReport','report_call','util','../../config/logger','api','moment','bluebird'];(function(_0x57576c,_0x533a55){var _0x3b03ff=function(_0x1765c5){while(--_0x1765c5){_0x57576c['push'](_0x57576c['shift']());}};_0x3b03ff(++_0x533a55);}(_0x4a6b,0xa3));var _0xb4a6=function(_0x19b3e4,_0x400d22){_0x19b3e4=_0x19b3e4-0x0;var _0x27b7b5=_0x4a6b[_0x19b3e4];return _0x27b7b5;};'use strict';var _=require('lodash');var util=require(_0xb4a6('0x0'));var logger=require(_0xb4a6('0x1'))(_0xb4a6('0x2'));var moment=require(_0xb4a6('0x3'));var BPromise=require(_0xb4a6('0x4'));var rp=require(_0xb4a6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb4a6('0x6'));var config=require(_0xb4a6('0x7'));var attributes=require(_0xb4a6('0x8'));module['exports']=function(_0xaf475c,_0x485b6f){return _0xaf475c[_0xb4a6('0x9')](_0xb4a6('0xa'),attributes,{'tableName':_0xb4a6('0xb'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};