Built motion from commit (unavailable).|2.5.4
[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 _0xf362=['../../config/environment','./squareRecording.attributes','exports','define','square_recordings','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf'];(function(_0x1486a4,_0x2a076b){var _0x27025a=function(_0x449932){while(--_0x449932){_0x1486a4['push'](_0x1486a4['shift']());}};_0x27025a(++_0x2a076b);}(_0xf362,0x1b5));var _0x2f36=function(_0x1b292a,_0x46e1f5){_0x1b292a=_0x1b292a-0x0;var _0x5089d5=_0xf362[_0x1b292a];return _0x5089d5;};'use strict';var _=require(_0x2f36('0x0'));var util=require(_0x2f36('0x1'));var logger=require(_0x2f36('0x2'))(_0x2f36('0x3'));var moment=require('moment');var BPromise=require(_0x2f36('0x4'));var rp=require(_0x2f36('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2f36('0x6'));var config=require(_0x2f36('0x7'));var attributes=require(_0x2f36('0x8'));module[_0x2f36('0x9')]=function(_0x12f017,_0x5cab8f){return _0x12f017[_0x2f36('0xa')]('SquareRecording',attributes,{'tableName':_0x2f36('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};