Built motion from commit e02f907f.|2.6.14
[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 _0x707d=['../../config/environment','./squareRecording.attributes','exports','define','square_recordings','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x54a2f5,_0x5e81c7){var _0x2fae34=function(_0x5496b0){while(--_0x5496b0){_0x54a2f5['push'](_0x54a2f5['shift']());}};_0x2fae34(++_0x5e81c7);}(_0x707d,0x18b));var _0xd707=function(_0x3779f1,_0x523806){_0x3779f1=_0x3779f1-0x0;var _0x51bd0f=_0x707d[_0x3779f1];return _0x51bd0f;};'use strict';var _=require(_0xd707('0x0'));var util=require(_0xd707('0x1'));var logger=require(_0xd707('0x2'))(_0xd707('0x3'));var moment=require(_0xd707('0x4'));var BPromise=require(_0xd707('0x5'));var rp=require(_0xd707('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd707('0x7'));var config=require(_0xd707('0x8'));var attributes=require(_0xd707('0x9'));module[_0xd707('0xa')]=function(_0x4d817d,_0x1327cb){return _0x4d817d[_0xd707('0xb')]('SquareRecording',attributes,{'tableName':_0xd707('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};