Built motion from commit 19a84241.|2.5.34
[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 _0x21b7=['../../config/environment','./squareRecording.attributes','exports','define','square_recordings','api','moment','bluebird','request-promise'];(function(_0xe2b605,_0x54af15){var _0x36685f=function(_0x5081e7){while(--_0x5081e7){_0xe2b605['push'](_0xe2b605['shift']());}};_0x36685f(++_0x54af15);}(_0x21b7,0xef));var _0x721b=function(_0x2a8901,_0x996b09){_0x2a8901=_0x2a8901-0x0;var _0x1e1123=_0x21b7[_0x2a8901];return _0x1e1123;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x721b('0x0'));var moment=require(_0x721b('0x1'));var BPromise=require(_0x721b('0x2'));var rp=require(_0x721b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x721b('0x4'));var attributes=require(_0x721b('0x5'));module[_0x721b('0x6')]=function(_0x343cd3,_0x168d33){return _0x343cd3[_0x721b('0x7')]('SquareRecording',attributes,{'tableName':_0x721b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};