Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.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 _0x57e4=['./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','lodash','../../config/logger','api','bluebird','request-promise','path','../../config/environment'];(function(_0xc61ea8,_0x56e451){var _0x22c845=function(_0x143785){while(--_0x143785){_0xc61ea8['push'](_0xc61ea8['shift']());}};_0x22c845(++_0x56e451);}(_0x57e4,0x1e5));var _0x457e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x57e4[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x457e('0x0'));var util=require('util');var logger=require(_0x457e('0x1'))(_0x457e('0x2'));var moment=require('moment');var BPromise=require(_0x457e('0x3'));var rp=require(_0x457e('0x4'));var fs=require('fs');var path=require(_0x457e('0x5'));var rimraf=require('rimraf');var config=require(_0x457e('0x6'));var attributes=require(_0x457e('0x7'));module[_0x457e('0x8')]=function(_0x3ef97e,_0x2a21f1){return _0x3ef97e[_0x457e('0x9')](_0x457e('0xa'),attributes,{'tableName':_0x457e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};