9580dc78c44ff8b44ec30b5d5979219fc82b4cad
[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 _0x6c14=['square_recordings','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','./squareRecording.attributes','exports','define','SquareRecording'];(function(_0x33c763,_0xd31f24){var _0x403d7b=function(_0x219c58){while(--_0x219c58){_0x33c763['push'](_0x33c763['shift']());}};_0x403d7b(++_0xd31f24);}(_0x6c14,0xd1));var _0x46c1=function(_0x4cbbdd,_0x45d0d7){_0x4cbbdd=_0x4cbbdd-0x0;var _0x5c4957=_0x6c14[_0x4cbbdd];return _0x5c4957;};'use strict';var _=require(_0x46c1('0x0'));var util=require(_0x46c1('0x1'));var logger=require(_0x46c1('0x2'))(_0x46c1('0x3'));var moment=require(_0x46c1('0x4'));var BPromise=require('bluebird');var rp=require(_0x46c1('0x5'));var fs=require('fs');var path=require(_0x46c1('0x6'));var rimraf=require(_0x46c1('0x7'));var config=require('../../config/environment');var attributes=require(_0x46c1('0x8'));module[_0x46c1('0x9')]=function(_0x30120b,_0x270204){return _0x30120b[_0x46c1('0xa')](_0x46c1('0xb'),attributes,{'tableName':_0x46c1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};