c686d908f795b517455eeaf1cfce3a2d7654876f
[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 _0x202a=['util','../../config/logger','api','bluebird','../../config/environment','./squareRecording.attributes'];(function(_0x445608,_0x569aaa){var _0x544038=function(_0x3ac781){while(--_0x3ac781){_0x445608['push'](_0x445608['shift']());}};_0x544038(++_0x569aaa);}(_0x202a,0xc0));var _0xa202=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x202a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xa202('0x0'));var logger=require(_0xa202('0x1'))(_0xa202('0x2'));var moment=require('moment');var BPromise=require(_0xa202('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa202('0x4'));var attributes=require(_0xa202('0x5'));module['exports']=function(_0x49e186,_0x8e05f0){return _0x49e186['define']('SquareRecording',attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};