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 _0xad08=['square_recordings','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./squareRecording.attributes','exports','define','SquareRecording'];(function(_0x57ceea,_0x15f069){var _0x311583=function(_0x2f5963){while(--_0x2f5963){_0x57ceea['push'](_0x57ceea['shift']());}};_0x311583(++_0x15f069);}(_0xad08,0x156));var _0x8ad0=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xad08[_0x501510];return _0x1e6ee5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x8ad0('0x0'))('api');var moment=require(_0x8ad0('0x1'));var BPromise=require(_0x8ad0('0x2'));var rp=require(_0x8ad0('0x3'));var fs=require('fs');var path=require(_0x8ad0('0x4'));var rimraf=require('rimraf');var config=require(_0x8ad0('0x5'));var attributes=require(_0x8ad0('0x6'));module[_0x8ad0('0x7')]=function(_0x5f5b61,_0x349ca5){return _0x5f5b61[_0x8ad0('0x8')](_0x8ad0('0x9'),attributes,{'tableName':_0x8ad0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};