Built motion from commit (unavailable).|2.4.4
[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 _0x4f2d=['api','request-promise','path','rimraf','define','SquareRecording','lodash','../../config/logger'];(function(_0x302574,_0x5def0a){var _0x3934aa=function(_0x191f67){while(--_0x191f67){_0x302574['push'](_0x302574['shift']());}};_0x3934aa(++_0x5def0a);}(_0x4f2d,0x6e));var _0xd4f2=function(_0x363685,_0x89c5f8){_0x363685=_0x363685-0x0;var _0x4567af=_0x4f2d[_0x363685];return _0x4567af;};'use strict';var _=require(_0xd4f2('0x0'));var util=require('util');var logger=require(_0xd4f2('0x1'))(_0xd4f2('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xd4f2('0x3'));var fs=require('fs');var path=require(_0xd4f2('0x4'));var rimraf=require(_0xd4f2('0x5'));var config=require('../../config/environment');var attributes=require('./squareRecording.attributes');module['exports']=function(_0x5cf9c4,_0x36c777){return _0x5cf9c4[_0xd4f2('0x6')](_0xd4f2('0x7'),attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};