45d5c7c72a886f51e68840d3922b6fe206115694
[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 _0x27eb=['exports','define','SquareRecording','square_recordings','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','./squareRecording.attributes'];(function(_0x4de2de,_0x2171db){var _0x2e3372=function(_0x2d37bd){while(--_0x2d37bd){_0x4de2de['push'](_0x4de2de['shift']());}};_0x2e3372(++_0x2171db);}(_0x27eb,0xd0));var _0xb27e=function(_0x4fbb41,_0x21e2c4){_0x4fbb41=_0x4fbb41-0x0;var _0x3fd22b=_0x27eb[_0x4fbb41];return _0x3fd22b;};'use strict';var _=require(_0xb27e('0x0'));var util=require(_0xb27e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xb27e('0x2'));var BPromise=require(_0xb27e('0x3'));var rp=require(_0xb27e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb27e('0x5'));var config=require(_0xb27e('0x6'));var attributes=require(_0xb27e('0x7'));module[_0xb27e('0x8')]=function(_0x50c715,_0x5e0e4a){return _0x50c715[_0xb27e('0x9')](_0xb27e('0xa'),attributes,{'tableName':_0xb27e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};