f62c01c60d736c9767de595b396e04fe0c2ec6d1
[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 _0x3837=['getDataValue','savePath','lastIndexOf','exports','STRING','VIRTUAL'];(function(_0x5a7e3c,_0xdc9219){var _0x59252b=function(_0x29655c){while(--_0x29655c){_0x5a7e3c['push'](_0x5a7e3c['shift']());}};_0x59252b(++_0xdc9219);}(_0x3837,0x1d1));var _0x7383=function(_0xd54ad2,_0x299134){_0xd54ad2=_0xd54ad2-0x0;var _0x321f3b=_0x3837[_0xd54ad2];return _0x321f3b;};'use strict';var Sequelize=require('sequelize');module[_0x7383('0x0')]={'uniqueid':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0x7383('0x1')]},'calleridname':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x7383('0x1')]},'extension':{'type':Sequelize[_0x7383('0x1')]},'priority':{'type':Sequelize[_0x7383('0x1')]},'accountcode':{'type':Sequelize[_0x7383('0x1')]},'dnid':{'type':Sequelize[_0x7383('0x1')]},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize[_0x7383('0x1')]},'savePath':{'type':Sequelize[_0x7383('0x1')]},'format':{'type':Sequelize[_0x7383('0x2')],'get':function(){var _0x286aa2='';var _0x193cbf=this[_0x7383('0x3')](_0x7383('0x4'));if(_0x193cbf){_0x286aa2=_0x193cbf['substring'](_0x193cbf[_0x7383('0x5')]('.'));}return _0x286aa2;}}};