Built motion from commit 753c950e.|2.5.42
[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 _0x5655=['../../config/logger','api','moment','bluebird','rimraf','./squareRecording.attributes','exports','define','square_recordings','lodash','util'];(function(_0x209941,_0x5c9988){var _0x1e8729=function(_0x51a9b8){while(--_0x51a9b8){_0x209941['push'](_0x209941['shift']());}};_0x1e8729(++_0x5c9988);}(_0x5655,0x15e));var _0x5565=function(_0x98f05c,_0x5e478e){_0x98f05c=_0x98f05c-0x0;var _0x568e07=_0x5655[_0x98f05c];return _0x568e07;};'use strict';var _=require(_0x5565('0x0'));var util=require(_0x5565('0x1'));var logger=require(_0x5565('0x2'))(_0x5565('0x3'));var moment=require(_0x5565('0x4'));var BPromise=require(_0x5565('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x5565('0x6'));var config=require('../../config/environment');var attributes=require(_0x5565('0x7'));module[_0x5565('0x8')]=function(_0x37954f,_0x93a8e5){return _0x37954f[_0x5565('0x9')]('SquareRecording',attributes,{'tableName':_0x5565('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};