Built motion from commit (unavailable).|2.5.16
[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 _0xaa32=['getDataValue','substring','lastIndexOf','exports','STRING'];(function(_0x1517b1,_0x574d50){var _0x519ca2=function(_0x1b9493){while(--_0x1b9493){_0x1517b1['push'](_0x1517b1['shift']());}};_0x519ca2(++_0x574d50);}(_0xaa32,0xb2));var _0x2aa3=function(_0x2093e3,_0x8eb650){_0x2093e3=_0x2093e3-0x0;var _0x841d6=_0xaa32[_0x2093e3];return _0x841d6;};'use strict';var Sequelize=require('sequelize');module[_0x2aa3('0x0')]={'uniqueid':{'type':Sequelize[_0x2aa3('0x1')]},'callerid':{'type':Sequelize[_0x2aa3('0x1')]},'calleridname':{'type':Sequelize[_0x2aa3('0x1')]},'context':{'type':Sequelize['STRING']},'extension':{'type':Sequelize[_0x2aa3('0x1')]},'priority':{'type':Sequelize[_0x2aa3('0x1')]},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize[_0x2aa3('0x1')]},'filename':{'type':Sequelize[_0x2aa3('0x1')]},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x55e567='';var _0x486700=this[_0x2aa3('0x2')]('savePath');if(_0x486700){_0x55e567=_0x486700[_0x2aa3('0x3')](_0x486700[_0x2aa3('0x4')]('.'));}return _0x55e567;}}};