Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / squareRecording / squareRecording.attributes.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 _0xb554=['sequelize','STRING','getDataValue','savePath','substring'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0xb554,0x73));var _0x4b55=function(_0x5698b2,_0x47420c){_0x5698b2=_0x5698b2-0x0;var _0x3584b1=_0xb554[_0x5698b2];return _0x3584b1;};'use strict';var Sequelize=require(_0x4b55('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0x4b55('0x1')]},'callerid':{'type':Sequelize[_0x4b55('0x1')]},'calleridname':{'type':Sequelize[_0x4b55('0x1')]},'context':{'type':Sequelize['STRING']},'extension':{'type':Sequelize[_0x4b55('0x1')]},'priority':{'type':Sequelize[_0x4b55('0x1')]},'accountcode':{'type':Sequelize[_0x4b55('0x1')]},'dnid':{'type':Sequelize[_0x4b55('0x1')]},'projectName':{'type':Sequelize[_0x4b55('0x1')]},'saveName':{'type':Sequelize[_0x4b55('0x1')]},'filename':{'type':Sequelize['STRING']},'savePath':{'type':Sequelize[_0x4b55('0x1')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x423b5e='';var _0x438d28=this[_0x4b55('0x2')](_0x4b55('0x3'));if(_0x438d28){_0x423b5e=_0x438d28[_0x4b55('0x4')](_0x438d28['lastIndexOf']('.'));}return _0x423b5e;}}};