25324adc3ad5503c5153d3b2f5ee459704b7f660
[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 _0x391e=['savePath','substring','lastIndexOf','exports','STRING'];(function(_0x5e2862,_0x4760eb){var _0x8dcad4=function(_0x205ddf){while(--_0x205ddf){_0x5e2862['push'](_0x5e2862['shift']());}};_0x8dcad4(++_0x4760eb);}(_0x391e,0x1cf));var _0xe391=function(_0x474bc0,_0x26989c){_0x474bc0=_0x474bc0-0x0;var _0x4b24cf=_0x391e[_0x474bc0];return _0x4b24cf;};'use strict';var Sequelize=require('sequelize');module[_0xe391('0x0')]={'uniqueid':{'type':Sequelize[_0xe391('0x1')]},'callerid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xe391('0x1')]},'context':{'type':Sequelize[_0xe391('0x1')]},'extension':{'type':Sequelize[_0xe391('0x1')]},'priority':{'type':Sequelize[_0xe391('0x1')]},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize[_0xe391('0x1')]},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize[_0xe391('0x1')]},'savePath':{'type':Sequelize[_0xe391('0x1')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x1630d4='';var _0x3c2ea2=this['getDataValue'](_0xe391('0x2'));if(_0x3c2ea2){_0x1630d4=_0x3c2ea2[_0xe391('0x3')](_0x3c2ea2[_0xe391('0x4')]('.'));}return _0x1630d4;}}};