Built motion from commit 3c2ce842.|2.6.31
[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 _0x2d0b=['rimraf','./squareRecording.attributes','define','SquareRecording','square_recordings','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x3a6a27,_0x2d372f){var _0x3f81df=function(_0x411e12){while(--_0x411e12){_0x3a6a27['push'](_0x3a6a27['shift']());}};_0x3f81df(++_0x2d372f);}(_0x2d0b,0x102));var _0xb2d0=function(_0x3eb916,_0x4a7814){_0x3eb916=_0x3eb916-0x0;var _0xf810bd=_0x2d0b[_0x3eb916];return _0xf810bd;};'use strict';var _=require('lodash');var util=require(_0xb2d0('0x0'));var logger=require(_0xb2d0('0x1'))(_0xb2d0('0x2'));var moment=require('moment');var BPromise=require(_0xb2d0('0x3'));var rp=require(_0xb2d0('0x4'));var fs=require('fs');var path=require(_0xb2d0('0x5'));var rimraf=require(_0xb2d0('0x6'));var config=require('../../config/environment');var attributes=require(_0xb2d0('0x7'));module['exports']=function(_0x395e69,_0x41521f){return _0x395e69[_0xb2d0('0x8')](_0xb2d0('0x9'),attributes,{'tableName':_0xb2d0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};