88666489b3bbfb02af6f640a72ca24fa9ed8dc7f
[motion2.git] / server / api / squareRecording / squareRecording.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 _0x806b=['./squareRecording.attributes','exports','define','SquareRecording','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x2d061e,_0x8b97da){var _0x4d3b98=function(_0x1066a6){while(--_0x1066a6){_0x2d061e['push'](_0x2d061e['shift']());}};_0x4d3b98(++_0x8b97da);}(_0x806b,0x163));var _0xb806=function(_0x42192b,_0x15fcf9){_0x42192b=_0x42192b-0x0;var _0x4ecd1d=_0x806b[_0x42192b];return _0x4ecd1d;};'use strict';var _=require(_0xb806('0x0'));var util=require(_0xb806('0x1'));var logger=require(_0xb806('0x2'))(_0xb806('0x3'));var moment=require(_0xb806('0x4'));var BPromise=require(_0xb806('0x5'));var rp=require(_0xb806('0x6'));var fs=require('fs');var path=require(_0xb806('0x7'));var rimraf=require('rimraf');var config=require(_0xb806('0x8'));var attributes=require(_0xb806('0x9'));module[_0xb806('0xa')]=function(_0xc0353b,_0x52107e){return _0xc0353b[_0xb806('0xb')](_0xb806('0xc'),attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};