9dbd3aa35fea63ef46039439788c1bc05fa806ee
[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 _0xd943=['util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','square_recordings','lodash'];(function(_0x45eff8,_0x45ed69){var _0x111115=function(_0x536f51){while(--_0x536f51){_0x45eff8['push'](_0x45eff8['shift']());}};_0x111115(++_0x45ed69);}(_0xd943,0x15d));var _0x3d94=function(_0x17ef65,_0x4b8d5f){_0x17ef65=_0x17ef65-0x0;var _0x2d36c5=_0xd943[_0x17ef65];return _0x2d36c5;};'use strict';var _=require(_0x3d94('0x0'));var util=require(_0x3d94('0x1'));var logger=require(_0x3d94('0x2'))(_0x3d94('0x3'));var moment=require('moment');var BPromise=require(_0x3d94('0x4'));var rp=require(_0x3d94('0x5'));var fs=require('fs');var path=require(_0x3d94('0x6'));var rimraf=require(_0x3d94('0x7'));var config=require(_0x3d94('0x8'));var attributes=require('./squareRecording.attributes');module['exports']=function(_0x34c9c3,_0x51cf1f){return _0x34c9c3['define']('SquareRecording',attributes,{'tableName':_0x3d94('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};