f18e3898990b1f115e403a6a6d7b584d74ae7d2e
[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 _0x8990=['path','rimraf','./squareRecording.attributes','SquareRecording','square_recordings','util','api','moment','bluebird','request-promise'];(function(_0x56bfcc,_0x4caeee){var _0x136a3a=function(_0x499e8f){while(--_0x499e8f){_0x56bfcc['push'](_0x56bfcc['shift']());}};_0x136a3a(++_0x4caeee);}(_0x8990,0x1ef));var _0x0899=function(_0x1cb18a,_0x33167a){_0x1cb18a=_0x1cb18a-0x0;var _0x22442e=_0x8990[_0x1cb18a];return _0x22442e;};'use strict';var _=require('lodash');var util=require(_0x0899('0x0'));var logger=require('../../config/logger')(_0x0899('0x1'));var moment=require(_0x0899('0x2'));var BPromise=require(_0x0899('0x3'));var rp=require(_0x0899('0x4'));var fs=require('fs');var path=require(_0x0899('0x5'));var rimraf=require(_0x0899('0x6'));var config=require('../../config/environment');var attributes=require(_0x0899('0x7'));module['exports']=function(_0x468893,_0x1ea6f9){return _0x468893['define'](_0x0899('0x8'),attributes,{'tableName':_0x0899('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};