Built motion from commit b0a9a629.|2.6.33
[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 _0x0a93=['path','define','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x2f95c4,_0x3e0358){var _0x1739c3=function(_0xae2aa4){while(--_0xae2aa4){_0x2f95c4['push'](_0x2f95c4['shift']());}};_0x1739c3(++_0x3e0358);}(_0x0a93,0x6a));var _0x30a9=function(_0x887d8a,_0x37540b){_0x887d8a=_0x887d8a-0x0;var _0xfb8036=_0x0a93[_0x887d8a];return _0xfb8036;};'use strict';var _=require(_0x30a9('0x0'));var util=require(_0x30a9('0x1'));var logger=require(_0x30a9('0x2'))('api');var moment=require(_0x30a9('0x3'));var BPromise=require(_0x30a9('0x4'));var rp=require(_0x30a9('0x5'));var fs=require('fs');var path=require(_0x30a9('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./squareRecording.attributes');module['exports']=function(_0x4a7409,_0xe09c11){return _0x4a7409[_0x30a9('0x7')]('SquareRecording',attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};