Built motion from commit da617fac.|2.6.6
[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 _0xe953=['bluebird','request-promise','path','rimraf','../../config/environment','./squareRecording.attributes','SquareRecording','lodash','util','../../config/logger','moment'];(function(_0x30120a,_0x16adc6){var _0x5ede87=function(_0x5eb178){while(--_0x5eb178){_0x30120a['push'](_0x30120a['shift']());}};_0x5ede87(++_0x16adc6);}(_0xe953,0xf9));var _0x3e95=function(_0xf84870,_0x4dc38f){_0xf84870=_0xf84870-0x0;var _0x4541a4=_0xe953[_0xf84870];return _0x4541a4;};'use strict';var _=require(_0x3e95('0x0'));var util=require(_0x3e95('0x1'));var logger=require(_0x3e95('0x2'))('api');var moment=require(_0x3e95('0x3'));var BPromise=require(_0x3e95('0x4'));var rp=require(_0x3e95('0x5'));var fs=require('fs');var path=require(_0x3e95('0x6'));var rimraf=require(_0x3e95('0x7'));var config=require(_0x3e95('0x8'));var attributes=require(_0x3e95('0x9'));module['exports']=function(_0x4ec1b2,_0x2aaa3e){return _0x4ec1b2['define'](_0x3e95('0xa'),attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};