1e2b24dd0a4bdbc5fd46ec3e635f217b8de58170
[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 _0x4d28=['sequelize','exports','STRING','substring','lastIndexOf'];(function(_0x466282,_0x4527f0){var _0x12dee9=function(_0x2a7991){while(--_0x2a7991){_0x466282['push'](_0x466282['shift']());}};_0x12dee9(++_0x4527f0);}(_0x4d28,0x69));var _0x84d2=function(_0x45ccd2,_0x4ecb10){_0x45ccd2=_0x45ccd2-0x0;var _0x554dff=_0x4d28[_0x45ccd2];return _0x554dff;};'use strict';var Sequelize=require(_0x84d2('0x0'));module[_0x84d2('0x1')]={'uniqueid':{'type':Sequelize[_0x84d2('0x2')]},'callerid':{'type':Sequelize[_0x84d2('0x2')]},'calleridname':{'type':Sequelize[_0x84d2('0x2')]},'context':{'type':Sequelize[_0x84d2('0x2')]},'extension':{'type':Sequelize[_0x84d2('0x2')]},'priority':{'type':Sequelize[_0x84d2('0x2')]},'accountcode':{'type':Sequelize[_0x84d2('0x2')]},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize[_0x84d2('0x2')]},'saveName':{'type':Sequelize[_0x84d2('0x2')]},'filename':{'type':Sequelize[_0x84d2('0x2')]},'savePath':{'type':Sequelize[_0x84d2('0x2')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0xd343b2='';var _0x2c6c66=this['getDataValue']('savePath');if(_0x2c6c66){_0xd343b2=_0x2c6c66[_0x84d2('0x3')](_0x2c6c66[_0x84d2('0x4')]('.'));}return _0xd343b2;}}};