Built motion from commit (unavailable).|2.5.11
[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(_0xdf14a5,_0x4ecb69){var _0x335b1b=function(_0x3ce418){while(--_0x3ce418){_0xdf14a5['push'](_0xdf14a5['shift']());}};_0x335b1b(++_0x4ecb69);}(_0x5919,0x198));var _0x9591=function(_0x461f3b,_0x2de1e3){_0x461f3b=_0x461f3b-0x0;var _0x51106b=_0x5919[_0x461f3b];return _0x51106b;};'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;}}};