5c00515fe75012af94b71c5bb1f0545f21e525bf
[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 _0x5919=['sequelize','STRING','getDataValue','savePath','substring','lastIndexOf'];(function(_0x194c44,_0x3666eb){var _0x3a7b15=function(_0xe90aa){while(--_0xe90aa){_0x194c44['push'](_0x194c44['shift']());}};_0x3a7b15(++_0x3666eb);}(_0x5919,0x198));var _0x9591=function(_0x3f36f2,_0x380621){_0x3f36f2=_0x3f36f2-0x0;var _0x15821b=_0x5919[_0x3f36f2];return _0x15821b;};'use strict';var Sequelize=require(_0x9591('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0x9591('0x1')]},'callerid':{'type':Sequelize[_0x9591('0x1')]},'calleridname':{'type':Sequelize[_0x9591('0x1')]},'context':{'type':Sequelize[_0x9591('0x1')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x9591('0x1')]},'accountcode':{'type':Sequelize[_0x9591('0x1')]},'dnid':{'type':Sequelize[_0x9591('0x1')]},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize[_0x9591('0x1')]},'filename':{'type':Sequelize[_0x9591('0x1')]},'savePath':{'type':Sequelize[_0x9591('0x1')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x3239e2='';var _0x360d03=this[_0x9591('0x2')](_0x9591('0x3'));if(_0x360d03){_0x3239e2=_0x360d03[_0x9591('0x4')](_0x360d03[_0x9591('0x5')]('.'));}return _0x3239e2;}}};