8241e2ca432dee6799a7be1d8824d02f4facf0f9
[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 _0x3a90=['getDataValue','savePath','lastIndexOf','sequelize','STRING'];(function(_0x4b5b07,_0x4daff4){var _0x2527f3=function(_0xf6c33c){while(--_0xf6c33c){_0x4b5b07['push'](_0x4b5b07['shift']());}};_0x2527f3(++_0x4daff4);}(_0x3a90,0x1f2));var _0x03a9=function(_0x41fc54,_0x3b3312){_0x41fc54=_0x41fc54-0x0;var _0x13409e=_0x3a90[_0x41fc54];return _0x13409e;};'use strict';var Sequelize=require(_0x03a9('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0x03a9('0x1')]},'callerid':{'type':Sequelize[_0x03a9('0x1')]},'calleridname':{'type':Sequelize[_0x03a9('0x1')]},'context':{'type':Sequelize[_0x03a9('0x1')]},'extension':{'type':Sequelize[_0x03a9('0x1')]},'priority':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x03a9('0x1')]},'dnid':{'type':Sequelize[_0x03a9('0x1')]},'projectName':{'type':Sequelize[_0x03a9('0x1')]},'saveName':{'type':Sequelize[_0x03a9('0x1')]},'filename':{'type':Sequelize[_0x03a9('0x1')]},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x389209='';var _0x409693=this[_0x03a9('0x2')](_0x03a9('0x3'));if(_0x409693){_0x389209=_0x409693['substring'](_0x409693[_0x03a9('0x4')]('.'));}return _0x389209;}}};