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 _0xae87=['moment','bluebird','path','./squareRecording.attributes','exports','SquareRecording','square_recordings'];(function(_0x440b58,_0x3fae1e){var _0x3d9d04=function(_0x2853f4){while(--_0x2853f4){_0x440b58['push'](_0x440b58['shift']());}};_0x3d9d04(++_0x3fae1e);}(_0xae87,0x1ce));var _0x7ae8=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0xae87[_0x4154a6];return _0x3b2786;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x7ae8('0x0'));var BPromise=require(_0x7ae8('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7ae8('0x2'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x7ae8('0x3'));module[_0x7ae8('0x4')]=function(_0x141978,_0x3b6a2d){return _0x141978['define'](_0x7ae8('0x5'),attributes,{'tableName':_0x7ae8('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};