Built motion from commit (unavailable).|2.5.3
[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 _0x6491=['define','VoiceCallReport','report_call','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports'];(function(_0x1121bc,_0x1b4a4f){var _0x3715c9=function(_0x43bc12){while(--_0x43bc12){_0x1121bc['push'](_0x1121bc['shift']());}};_0x3715c9(++_0x1b4a4f);}(_0x6491,0x9f));var _0x1649=function(_0x15693a,_0xe53a9f){_0x15693a=_0x15693a-0x0;var _0x596951=_0x6491[_0x15693a];return _0x596951;};'use strict';var _=require('lodash');var util=require(_0x1649('0x0'));var logger=require(_0x1649('0x1'))('api');var moment=require(_0x1649('0x2'));var BPromise=require(_0x1649('0x3'));var rp=require(_0x1649('0x4'));var fs=require('fs');var path=require(_0x1649('0x5'));var rimraf=require(_0x1649('0x6'));var config=require(_0x1649('0x7'));var attributes=require(_0x1649('0x8'));module[_0x1649('0x9')]=function(_0x2157e3,_0x4aae34){return _0x2157e3[_0x1649('0xa')](_0x1649('0xb'),attributes,{'tableName':_0x1649('0xc'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};