1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x9ab8=['bluebird','path','rimraf','./squareRecording.attributes','exports','define','SquareRecording','square_recordings','lodash','util','../../config/logger'];(function(_0x4e9861,_0x25fe5f){var _0x49802f=function(_0x76932){while(--_0x76932){_0x4e9861['push'](_0x4e9861['shift']());}};_0x49802f(++_0x25fe5f);}(_0x9ab8,0x81));var _0x89ab=function(_0x8c353c,_0x488212){_0x8c353c=_0x8c353c-0x0;var _0x55b1e3=_0x9ab8[_0x8c353c];return _0x55b1e3;};'use strict';var _=require(_0x89ab('0x0'));var util=require(_0x89ab('0x1'));var logger=require(_0x89ab('0x2'))('api');var moment=require('moment');var BPromise=require(_0x89ab('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x89ab('0x4'));var rimraf=require(_0x89ab('0x5'));var config=require('../../config/environment');var attributes=require(_0x89ab('0x6'));module[_0x89ab('0x7')]=function(_0x2dcf12,_0xb9ec6e){return _0x2dcf12[_0x89ab('0x8')](_0x89ab('0x9'),attributes,{'tableName':_0x89ab('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};