Built motion from commit (unavailable).|2.5.6
[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 _0x6cb2=['lastIndexOf','exports','STRING','getDataValue','substring'];(function(_0x2287c4,_0x56e8a7){var _0xb35ed5=function(_0x43f6df){while(--_0x43f6df){_0x2287c4['push'](_0x2287c4['shift']());}};_0xb35ed5(++_0x56e8a7);}(_0x6cb2,0x6a));var _0x26cb=function(_0x82129b,_0x484ae9){_0x82129b=_0x82129b-0x0;var _0x2ae5dc=_0x6cb2[_0x82129b];return _0x2ae5dc;};'use strict';var Sequelize=require('sequelize');module[_0x26cb('0x0')]={'uniqueid':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0x26cb('0x1')]},'calleridname':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x26cb('0x1')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize[_0x26cb('0x1')]},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize[_0x26cb('0x1')]},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x9b13ce='';var _0x281b34=this[_0x26cb('0x2')]('savePath');if(_0x281b34){_0x9b13ce=_0x281b34[_0x26cb('0x3')](_0x281b34[_0x26cb('0x4')]('.'));}return _0x9b13ce;}}};