Built motion from commit a61a4a20.|2.5.46
[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 _0x46cb=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./squareRecording.attributes','exports','define','square_recordings'];(function(_0x19681d,_0x4fdf76){var _0xce3c25=function(_0x13621e){while(--_0x13621e){_0x19681d['push'](_0x19681d['shift']());}};_0xce3c25(++_0x4fdf76);}(_0x46cb,0x84));var _0xb46c=function(_0x439790,_0x2f4e02){_0x439790=_0x439790-0x0;var _0x1275ab=_0x46cb[_0x439790];return _0x1275ab;};'use strict';var _=require(_0xb46c('0x0'));var util=require(_0xb46c('0x1'));var logger=require(_0xb46c('0x2'))(_0xb46c('0x3'));var moment=require('moment');var BPromise=require(_0xb46c('0x4'));var rp=require(_0xb46c('0x5'));var fs=require('fs');var path=require(_0xb46c('0x6'));var rimraf=require(_0xb46c('0x7'));var config=require('../../config/environment');var attributes=require(_0xb46c('0x8'));module[_0xb46c('0x9')]=function(_0x3a2fa2,_0x53bb7c){return _0x3a2fa2[_0xb46c('0xa')]('SquareRecording',attributes,{'tableName':_0xb46c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};