7cf62a346e93b363fe6f675b871265c47689dd01
[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 _0xf567=['rimraf','../../config/environment','./squareRecording.attributes','define','square_recordings','lodash','util','../../config/logger','moment','bluebird','path'];(function(_0xf46074,_0x296efa){var _0x11066f=function(_0x175b4b){while(--_0x175b4b){_0xf46074['push'](_0xf46074['shift']());}};_0x11066f(++_0x296efa);}(_0xf567,0x118));var _0x7f56=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xf567[_0x2c91e9];return _0x13f0ff;};'use strict';var _=require(_0x7f56('0x0'));var util=require(_0x7f56('0x1'));var logger=require(_0x7f56('0x2'))('api');var moment=require(_0x7f56('0x3'));var BPromise=require(_0x7f56('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7f56('0x5'));var rimraf=require(_0x7f56('0x6'));var config=require(_0x7f56('0x7'));var attributes=require(_0x7f56('0x8'));module['exports']=function(_0x444b66,_0x215ff1){return _0x444b66[_0x7f56('0x9')]('SquareRecording',attributes,{'tableName':_0x7f56('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};