6b325cb04f65ea4bafc49f22bf9d2e30f92e285a
[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 _0x1c01=['./squareRecording.attributes','exports','define','square_recordings','lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment'];(function(_0x3f9606,_0x5b0a04){var _0x4487d6=function(_0xc2dbd5){while(--_0xc2dbd5){_0x3f9606['push'](_0x3f9606['shift']());}};_0x4487d6(++_0x5b0a04);}(_0x1c01,0x190));var _0x11c0=function(_0x42841e,_0x3bf835){_0x42841e=_0x42841e-0x0;var _0x4be906=_0x1c01[_0x42841e];return _0x4be906;};'use strict';var _=require(_0x11c0('0x0'));var util=require(_0x11c0('0x1'));var logger=require(_0x11c0('0x2'))(_0x11c0('0x3'));var moment=require('moment');var BPromise=require(_0x11c0('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x11c0('0x5'));var config=require(_0x11c0('0x6'));var attributes=require(_0x11c0('0x7'));module[_0x11c0('0x8')]=function(_0x38c591,_0x5190a4){return _0x38c591[_0x11c0('0x9')]('SquareRecording',attributes,{'tableName':_0x11c0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};