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 _0xe1d7=['SquareRecording','square_recordings','util','bluebird','request-promise','path','../../config/environment','./squareRecording.attributes','exports'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0xe1d7,0x1a9));var _0x7e1d=function(_0x33925b,_0x95cfc6){_0x33925b=_0x33925b-0x0;var _0x375e21=_0xe1d7[_0x33925b];return _0x375e21;};'use strict';var _=require('lodash');var util=require(_0x7e1d('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x7e1d('0x1'));var rp=require(_0x7e1d('0x2'));var fs=require('fs');var path=require(_0x7e1d('0x3'));var rimraf=require('rimraf');var config=require(_0x7e1d('0x4'));var attributes=require(_0x7e1d('0x5'));module[_0x7e1d('0x6')]=function(_0x4e9e2d,_0x467d6e){return _0x4e9e2d['define'](_0x7e1d('0x7'),attributes,{'tableName':_0x7e1d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};